Sha256: aaaea6bcf7b1670c9ee30b8cb412d83b855c35e9a7c8f6891c9701bd85d1cdb6

Contents?: true

Size: 1.62 KB

Versions: 2

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::V7_0_0_42
  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

2 entries across 2 versions & 1 rubygems

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