Sha256: cfcdd9b5aca837d6e12157095008d7e7d84bc51507e43fd657c6a14389e118e8

Contents?: true

Size: 1.55 KB

Versions: 2

Compression:

Stored size: 1.55 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::Appconfiguration::Mgmt::V2020_06_01
  module Models
    #
    # A resource identity that is managed by the user of the service.
    #
    class UserIdentity

      include MsRestAzure

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

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


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

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_appconfiguration-0.17.4 lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/user_identity.rb
azure_mgmt_appconfiguration-0.17.3 lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/user_identity.rb