Sha256: df04ca7d4720dd7e85e2a338d86df200a3a059ac43b3a97a9708a82446a53607

Contents?: true

Size: 1.88 KB

Versions: 27

Compression:

Stored size: 1.88 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::Storage::Mgmt::V2018_03_01_preview
  module Models
    #
    # Identity for the resource.
    #
    class Identity

      include MsRestAzure

      # @return [String] The principal ID of resource identity.
      attr_accessor :principal_id

      # @return [String] The tenant ID of resource.
      attr_accessor :tenant_id

      # @return [String] The identity type. Default value: 'SystemAssigned' .
      attr_accessor :type


      #
      # Mapper for Identity class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Identity',
          type: {
            name: 'Composite',
            class_name: 'Identity',
            model_properties: {
              principal_id: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'principalId',
                type: {
                  name: 'String'
                }
              },
              tenant_id: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'tenantId',
                type: {
                  name: 'String'
                }
              },
              type: {
                client_side_validation: true,
                required: true,
                is_constant: true,
                serialized_name: 'type',
                default_value: 'SystemAssigned',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.23.0 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.22.0 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.21.2 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.21.1 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.21.0 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.20.1 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.20.0 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.19.3 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.19.2 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.19.1 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.19.0 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.18.2 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.18.1 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.18.0 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.17.10 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.17.9 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.17.8 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.17.7 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.17.6 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb
azure_mgmt_storage-0.17.5 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb