Class: Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/1.6/generated/azure_graph_rbac/models/application_create_parameters.rb

Overview

Request parameters for creating a new application.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#additional_propertiesObject

collection

Returns:

  • Unmatched properties from the message are deserialized this



17
18
19
# File 'lib/1.6/generated/azure_graph_rbac/models/application_create_parameters.rb', line 17

def additional_properties
  @additional_properties
end

#available_to_other_tenantsBoolean

tenants.

Returns:

  • (Boolean)

    Whether the application is available to other



21
22
23
# File 'lib/1.6/generated/azure_graph_rbac/models/application_create_parameters.rb', line 21

def available_to_other_tenants
  @available_to_other_tenants
end

#display_nameString

Returns The display name of the application.

Returns:

  • (String)

    The display name of the application.



24
25
26
# File 'lib/1.6/generated/azure_graph_rbac/models/application_create_parameters.rb', line 24

def display_name
  @display_name
end

#homepageString

Returns The home page of the application.

Returns:

  • (String)

    The home page of the application.



27
28
29
# File 'lib/1.6/generated/azure_graph_rbac/models/application_create_parameters.rb', line 27

def homepage
  @homepage
end

#identifier_urisArray<String>

Returns A collection of URIs for the application.

Returns:

  • (Array<String>)

    A collection of URIs for the application.



30
31
32
# File 'lib/1.6/generated/azure_graph_rbac/models/application_create_parameters.rb', line 30

def identifier_uris
  @identifier_uris
end

#key_credentialsArray<KeyCredential>

Returns The list of KeyCredential objects.

Returns:



36
37
38
# File 'lib/1.6/generated/azure_graph_rbac/models/application_create_parameters.rb', line 36

def key_credentials
  @key_credentials
end

#oauth2allow_implicit_flowBoolean

Returns Whether to allow implicit grant flow for OAuth2.

Returns:

  • (Boolean)

    Whether to allow implicit grant flow for OAuth2



43
44
45
# File 'lib/1.6/generated/azure_graph_rbac/models/application_create_parameters.rb', line 43

def oauth2allow_implicit_flow
  @oauth2allow_implicit_flow
end

#password_credentialsArray<PasswordCredential>

objects.

Returns:



40
41
42
# File 'lib/1.6/generated/azure_graph_rbac/models/application_create_parameters.rb', line 40

def password_credentials
  @password_credentials
end

#reply_urlsArray<String>

Returns A collection of reply URLs for the application.

Returns:

  • (Array<String>)

    A collection of reply URLs for the application.



33
34
35
# File 'lib/1.6/generated/azure_graph_rbac/models/application_create_parameters.rb', line 33

def reply_urls
  @reply_urls
end

#required_resource_accessArray<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.

Returns:



50
51
52
# File 'lib/1.6/generated/azure_graph_rbac/models/application_create_parameters.rb', line 50

def required_resource_access
  @required_resource_access
end

Class Method Details

.mapperObject

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



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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
# File 'lib/1.6/generated/azure_graph_rbac/models/application_create_parameters.rb', line 57

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationCreateParameters',
    type: {
      name: 'Composite',
      class_name: 'ApplicationCreateParameters',
      model_properties: {
        additional_properties: {
          client_side_validation: true,
          required: false,
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        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