Sha256: bb6318206f08059797c79400ee492d69c1b1ab2beaeec6beea84b7b09c8c5493

Contents?: true

Size: 1.89 KB

Versions: 7

Compression:

Stored size: 1.89 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Resources::Mgmt::V2018_06_01
  module Models
    #
    # The managed application provider authorization.
    #
    class ApplicationProviderAuthorization

      include MsRestAzure

      # @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.
      attr_accessor :principal_id

      # @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.
      attr_accessor :role_definition_id


      #
      # Mapper for ApplicationProviderAuthorization class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
azure_mgmt_resources2-0.19.0 lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb
azure_mgmt_resources2-0.18.2 lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb
azure_mgmt_resources-0.18.2 lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb
azure_mgmt_resources-0.18.1 lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb
azure_mgmt_resources-0.18.0 lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb
azure_mgmt_resources-0.17.9 lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb
azure_mgmt_resources-0.17.8 lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb