Sha256: c7798c9ffa5ce9a9995a157b3693df2c6794b96bdf8bd079d2e957b27cfe8aea
Contents?: true
Size: 1.94 KB
Versions: 15
Compression:
Stored size: 1.94 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_02_01 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 [ResourceIdentityType] The identity type. Possible values # include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, # UserAssigned', 'None' 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: false, serialized_name: 'type', type: { name: 'Enum', module: 'ResourceIdentityType' } } } } } end end end end
Version data entries
15 entries across 15 versions & 2 rubygems