Sha256: 572ea6810a3ef52ac728c1e36dd4cd5d5e3bd001248d7c13e1040715255706f3

Contents?: true

Size: 1.56 KB

Versions: 4

Compression:

Stored size: 1.56 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::V2019_11_01_preview
  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

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_appconfiguration-0.17.4 lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/user_identity.rb
azure_mgmt_appconfiguration-0.17.3 lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/user_identity.rb
azure_mgmt_appconfiguration-0.17.2 lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/user_identity.rb
azure_mgmt_appconfiguration-0.17.1 lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/user_identity.rb