Sha256: fec75cbe078670dedc10c8eef776227469442e5c1352f4ba31bc0e90bd98a30e

Contents?: true

Size: 1.87 KB

Versions: 2

Compression:

Stored size: 1.87 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::V2016_09_01
  module Models
    #
    # Client certificate details using common name
    #
    class ClientCertificateCommonName

      include MsRestAzure

      # @return [Boolean] Is this certificate used for admin access from the
      # client, if false , it is used or query only access
      attr_accessor :is_admin

      # @return [String] Certificate common name to be granted access; be
      # carefull using wild card common names
      attr_accessor :certificate_common_name

      # @return [String] Certificate issuer thumbprint
      attr_accessor :certificate_issuer_thumbprint


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_service_fabric-0.15.1 lib/2016-09-01/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb
azure_mgmt_service_fabric-0.15.0 lib/2016-09-01/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb