Sha256: 552137e81d10a7bd74455764472fa5ebedd05abe64d70195f062e44b77d56ff2

Contents?: true

Size: 1.62 KB

Versions: 3

Compression:

Stored size: 1.62 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::ServiceFabric::V6_5_0_36
  module Models
    #
    # Describes a single user-assigned identity associated with the
    # application.
    #
    class IdentityItemDescription

      include MsRestAzure

      # @return [String] the object identifier of the Service Principal which
      # this identity represents.
      attr_accessor :principal_id

      # @return [String] the client identifier of the Service Principal which
      # this identity represents.
      attr_accessor :client_id


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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.5.0.36/generated/azure_service_fabric/models/identity_item_description.rb
azure_service_fabric-0.18.0 lib/6.5.0.36/generated/azure_service_fabric/models/identity_item_description.rb
azure_service_fabric-0.17.2 lib/6.5.0.36/generated/azure_service_fabric/models/identity_item_description.rb