Class: Azure::ARM::Graph::Models::ApplicationCreateParameters
- Inherits:
-
Object
- Object
- Azure::ARM::Graph::Models::ApplicationCreateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_graph/models/application_create_parameters.rb
Overview
Request parameters for creating a new application.
Instance Attribute Summary collapse
-
#available_to_other_tenants ⇒ Boolean
tenants.
-
#display_name ⇒ String
The display name of the application.
-
#homepage ⇒ String
The home page of the application.
-
#identifier_uris ⇒ Array<String>
A collection of URIs for the application.
-
#key_credentials ⇒ Array<KeyCredential>
The list of KeyCredential objects.
-
#oauth2allow_implicit_flow ⇒ Boolean
Whether to allow implicit grant flow for OAuth2.
-
#password_credentials ⇒ Array<PasswordCredential>
objects.
-
#reply_urls ⇒ Array<String>
A collection of reply URLs for the application.
-
#required_resource_access ⇒ Array<RequiredResourceAccess>
application requires access to and the set of OAuth permission scopes and application roles that it needs under each of those resources.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationCreateParameters class as Ruby Hash.
Instance Attribute Details
#available_to_other_tenants ⇒ Boolean
tenants.
17 18 19 |
# File 'lib/generated/azure_mgmt_graph/models/application_create_parameters.rb', line 17 def available_to_other_tenants @available_to_other_tenants end |
#display_name ⇒ String
Returns The display name of the application.
20 21 22 |
# File 'lib/generated/azure_mgmt_graph/models/application_create_parameters.rb', line 20 def display_name @display_name end |
#homepage ⇒ String
Returns The home page of the application.
23 24 25 |
# File 'lib/generated/azure_mgmt_graph/models/application_create_parameters.rb', line 23 def homepage @homepage end |
#identifier_uris ⇒ Array<String>
Returns A collection of URIs for the application.
26 27 28 |
# File 'lib/generated/azure_mgmt_graph/models/application_create_parameters.rb', line 26 def identifier_uris @identifier_uris end |
#key_credentials ⇒ Array<KeyCredential>
Returns The list of KeyCredential objects.
32 33 34 |
# File 'lib/generated/azure_mgmt_graph/models/application_create_parameters.rb', line 32 def key_credentials @key_credentials end |
#oauth2allow_implicit_flow ⇒ Boolean
Returns Whether to allow implicit grant flow for OAuth2.
39 40 41 |
# File 'lib/generated/azure_mgmt_graph/models/application_create_parameters.rb', line 39 def oauth2allow_implicit_flow @oauth2allow_implicit_flow end |
#password_credentials ⇒ Array<PasswordCredential>
objects.
36 37 38 |
# File 'lib/generated/azure_mgmt_graph/models/application_create_parameters.rb', line 36 def password_credentials @password_credentials end |
#reply_urls ⇒ Array<String>
Returns A collection of reply URLs for the application.
29 30 31 |
# File 'lib/generated/azure_mgmt_graph/models/application_create_parameters.rb', line 29 def reply_urls @reply_urls end |
#required_resource_access ⇒ Array<RequiredResourceAccess>
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.
46 47 48 |
# File 'lib/generated/azure_mgmt_graph/models/application_create_parameters.rb', line 46 def required_resource_access @required_resource_access end |
Class Method Details
.mapper ⇒ Object
Mapper for ApplicationCreateParameters class as Ruby Hash. This will be used for serialization/deserialization.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'lib/generated/azure_mgmt_graph/models/application_create_parameters.rb', line 53 def self.mapper() { required: false, serialized_name: 'ApplicationCreateParameters', type: { name: 'Composite', class_name: 'ApplicationCreateParameters', model_properties: { available_to_other_tenants: { required: true, serialized_name: 'availableToOtherTenants', type: { name: 'Boolean' } }, display_name: { required: true, serialized_name: 'displayName', type: { name: 'String' } }, homepage: { required: false, serialized_name: 'homepage', type: { name: 'String' } }, identifier_uris: { required: true, serialized_name: 'identifierUris', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, reply_urls: { required: false, serialized_name: 'replyUrls', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, key_credentials: { required: false, serialized_name: 'keyCredentials', type: { name: 'Sequence', element: { required: false, serialized_name: 'KeyCredentialElementType', type: { name: 'Composite', class_name: 'KeyCredential' } } } }, password_credentials: { required: false, serialized_name: 'passwordCredentials', type: { name: 'Sequence', element: { required: false, serialized_name: 'PasswordCredentialElementType', type: { name: 'Composite', class_name: 'PasswordCredential' } } } }, oauth2allow_implicit_flow: { required: false, serialized_name: 'oauth2AllowImplicitFlow', type: { name: 'Boolean' } }, required_resource_access: { required: false, serialized_name: 'requiredResourceAccess', type: { name: 'Sequence', element: { required: false, serialized_name: 'RequiredResourceAccessElementType', type: { name: 'Composite', class_name: 'RequiredResourceAccess' } } } } } } } end |