class Azure::ManagedApplications::Mgmt::V2016_09_01_preview::Models::ApplianceProviderAuthorization

The appliance 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 appliance 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 appliance'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 ApplianceProviderAuthorization class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/models/appliance_provider_authorization.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplianceProviderAuthorization',
    type: {
      name: 'Composite',
      class_name: 'ApplianceProviderAuthorization',
      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