Class: Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateCommonName
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateCommonName
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb
Overview
Describes the client certificate details using common name.
Instance Attribute Summary collapse
-
#certificate_common_name ⇒ String
The common name of the client certificate.
-
#certificate_issuer_thumbprint ⇒ String
The issuer thumbprint of the client certificate.
-
#is_admin ⇒ Boolean
to the cluster.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ClientCertificateCommonName class as Ruby Hash.
Instance Attribute Details
#certificate_common_name ⇒ String
Returns The common name of the client certificate.
21 22 23 |
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb', line 21 def certificate_common_name @certificate_common_name end |
#certificate_issuer_thumbprint ⇒ String
Returns The issuer thumbprint of the client certificate.
24 25 26 |
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb', line 24 def certificate_issuer_thumbprint @certificate_issuer_thumbprint end |
#is_admin ⇒ Boolean
to the cluster. Non admin clients can perform only read only operations on the cluster.
18 19 20 |
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb', line 18 def is_admin @is_admin end |
Class Method Details
.mapper ⇒ Object
Mapper for ClientCertificateCommonName class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ClientCertificateCommonName', type: { name: 'Composite', class_name: 'ClientCertificateCommonName', model_properties: { is_admin: { client_side_validation: true, required: true, serialized_name: 'isAdmin', type: { name: 'Boolean' } }, certificate_common_name: { client_side_validation: true, required: true, serialized_name: 'certificateCommonName', type: { name: 'String' } }, certificate_issuer_thumbprint: { client_side_validation: true, required: true, serialized_name: 'certificateIssuerThumbprint', type: { name: 'String' } } } } } end |