Sha256: 1ec40d34d4181510fbb9639f0ef177581e7ace7eff4773caa748c4295be0e265

Contents?: true

Size: 1.52 KB

Versions: 1

Compression:

Stored size: 1.52 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::V2021_01_01
  module Models
    #
    # UserAssignedIdentity for the resource.
    #
    class UserAssignedIdentity

      include MsRestAzure

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

      # @return [String] The client ID of the identity.
      attr_accessor :client_id


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.23.0 lib/2021-01-01/generated/azure_mgmt_storage/models/user_assigned_identity.rb