Sha256: 19e4f645a2c734aa0962b927f685dba8f9e2bedb1a9049ff230c8976000b9e6e

Contents?: true

Size: 1.86 KB

Versions: 3

Compression:

Stored size: 1.86 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::RecoveryServices::Mgmt::V2016_06_01
  module Models
    #
    # Identity for the resource.
    #
    class IdentityData

      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 [ResourceIdentityType] The identity type. Possible values
      # include: 'SystemAssigned', 'None'
      attr_accessor :type


      #
      # Mapper for IdentityData class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'IdentityData',
          type: {
            name: 'Composite',
            class_name: 'IdentityData',
            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,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_recovery_services-0.18.2 lib/2016-06-01/generated/azure_mgmt_recovery_services/models/identity_data.rb
azure_mgmt_recovery_services-0.18.1 lib/2016-06-01/generated/azure_mgmt_recovery_services/models/identity_data.rb
azure_mgmt_recovery_services-0.18.0 lib/2016-06-01/generated/azure_mgmt_recovery_services/models/identity_data.rb