class Azure::Graph::Mgmt::V1_6::Models::ApplicationCreateParameters

Request parameters for creating a new application.

Attributes

available_to_other_tenants[RW]

@return [Boolean] Whether the application is available to other tenants.

display_name[RW]

@return [String] The display name of the application.

homepage[RW]

@return [String] The home page of the application.

identifier_uris[RW]

@return [Array<String>] A collection of URIs for the application.

key_credentials[RW]

@return [Array<KeyCredential>] The list of KeyCredential objects.

oauth2allow_implicit_flow[RW]

@return [Boolean] Whether to allow implicit grant flow for OAuth2

password_credentials[RW]

@return [Array<PasswordCredential>] The list of PasswordCredential objects.

reply_urls[RW]

@return [Array<String>] A collection of reply URLs for the application.

required_resource_access[RW]

@return [Array<RequiredResourceAccess>] Specifies resources that this application requires access to and the set of OAuth permission scopes and application roles that it needs under each of those resources. This pre-configuration of required resource access drives the consent experience.

Private Class Methods

mapper() click to toggle source

Mapper for ApplicationCreateParameters class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/1.6/generated/azure_mgmt_graph/models/application_create_parameters.rb, line 53
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationCreateParameters',
    type: {
      name: 'Composite',
      class_name: 'ApplicationCreateParameters',
      model_properties: {
        available_to_other_tenants: {
          client_side_validation: true,
          required: true,
          serialized_name: 'availableToOtherTenants',
          type: {
            name: 'Boolean'
          }
        },
        display_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'displayName',
          type: {
            name: 'String'
          }
        },
        homepage: {
          client_side_validation: true,
          required: false,
          serialized_name: 'homepage',
          type: {
            name: 'String'
          }
        },
        identifier_uris: {
          client_side_validation: true,
          required: true,
          serialized_name: 'identifierUris',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        reply_urls: {
          client_side_validation: true,
          required: false,
          serialized_name: 'replyUrls',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        key_credentials: {
          client_side_validation: true,
          required: false,
          serialized_name: 'keyCredentials',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'KeyCredentialElementType',
                type: {
                  name: 'Composite',
                  class_name: 'KeyCredential'
                }
            }
          }
        },
        password_credentials: {
          client_side_validation: true,
          required: false,
          serialized_name: 'passwordCredentials',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PasswordCredentialElementType',
                type: {
                  name: 'Composite',
                  class_name: 'PasswordCredential'
                }
            }
          }
        },
        oauth2allow_implicit_flow: {
          client_side_validation: true,
          required: false,
          serialized_name: 'oauth2AllowImplicitFlow',
          type: {
            name: 'Boolean'
          }
        },
        required_resource_access: {
          client_side_validation: true,
          required: false,
          serialized_name: 'requiredResourceAccess',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'RequiredResourceAccessElementType',
                type: {
                  name: 'Composite',
                  class_name: 'RequiredResourceAccess'
                }
            }
          }
        }
      }
    }
  }
end