Class: Azure::Resources::Mgmt::V2018_06_01::Models::ApplicationProviderAuthorization

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb

Overview

The managed application provider authorization.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#principal_idString

identity that the provider will use to call ARM to manage the managed application resources.

Returns:

  • (String)

    The provider’s principal identifier. This is the



18
19
20
# File 'lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb', line 18

def principal_id
  @principal_id
end

#role_definition_idString

will define all the permissions that the provider must have on the managed application’s container resource group. This role definition cannot have permission to delete the resource group.

Returns:

  • (String)

    The provider’s role definition identifier. This role



24
25
26
# File 'lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb', line 24

def role_definition_id
  @role_definition_id
end

Class Method Details

.mapperObject

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



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# File 'lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationProviderAuthorization',
    type: {
      name: 'Composite',
      class_name: 'ApplicationProviderAuthorization',
      model_properties: {
        principal_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'principalId',
          type: {
            name: 'String'
          }
        },
        role_definition_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'roleDefinitionId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end