Sha256: 57556c20347d6b7b946fcbf8f1b179244cac3bf9544fe5f8313f9c3b454cd40e

Contents?: true

Size: 1.68 KB

Versions: 5

Compression:

Stored size: 1.68 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::Mgmt::V2017_07_01_preview
  module Models
    #
    # Describes the client certificate details using thumbprint.
    #
    class ClientCertificateThumbprint

      include MsRestAzure

      # @return [Boolean] Indicates if the client certificate has admin access
      # to the cluster. Non admin clients can perform only read only operations
      # on the cluster.
      attr_accessor :is_admin

      # @return [String] The thumbprint of the client certificate.
      attr_accessor :certificate_thumbprint


      #
      # Mapper for ClientCertificateThumbprint class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ClientCertificateThumbprint',
          type: {
            name: 'Composite',
            class_name: 'ClientCertificateThumbprint',
            model_properties: {
              is_admin: {
                client_side_validation: true,
                required: true,
                serialized_name: 'isAdmin',
                type: {
                  name: 'Boolean'
                }
              },
              certificate_thumbprint: {
                client_side_validation: true,
                required: true,
                serialized_name: 'certificateThumbprint',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_service_fabric-0.17.3 lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/client_certificate_thumbprint.rb
azure_mgmt_service_fabric-0.17.2 lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/client_certificate_thumbprint.rb
azure_mgmt_service_fabric-0.17.1 lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/client_certificate_thumbprint.rb
azure_mgmt_service_fabric-0.17.0 lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/client_certificate_thumbprint.rb
azure_mgmt_service_fabric-0.16.0 lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/client_certificate_thumbprint.rb