class Azure::Resources::Mgmt::V2018_06_01::Models::ApplicationProviderAuthorization

The managed application provider authorization.

Attributes

principal_id[RW]

@return [String] The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources.

role_definition_id[RW]

@return [String] The provider's role definition identifier. This role 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.

Public Class Methods

mapper() click to toggle source

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

# 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