Class: Azure::ApiManagement::Mgmt::V2017_03_01::Models::CertificateConfiguration
- Inherits:
-
Object
- Object
- Azure::ApiManagement::Mgmt::V2017_03_01::Models::CertificateConfiguration
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb
Overview
Certificate configuration which consist of non-trusted intermediates and root certificates.
Instance Attribute Summary collapse
-
#certificate ⇒ CertificateInformation
Certificate information.
-
#certificate_password ⇒ String
Certificate Password.
-
#encoded_certificate ⇒ String
Base64 Encoded certificate.
-
#store_name ⇒ Enum
CertificateAuthority are valid locations.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CertificateConfiguration class as Ruby Hash.
Instance Attribute Details
#certificate ⇒ CertificateInformation
Returns Certificate information.
28 29 30 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb', line 28 def certificate @certificate end |
#certificate_password ⇒ String
Returns Certificate Password.
20 21 22 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb', line 20 def certificate_password @certificate_password end |
#encoded_certificate ⇒ String
Returns Base64 Encoded certificate.
17 18 19 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb', line 17 def encoded_certificate @encoded_certificate end |
#store_name ⇒ Enum
CertificateAuthority are valid locations. Possible values include: ‘CertificateAuthority’, ‘Root’
25 26 27 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb', line 25 def store_name @store_name end |
Class Method Details
.mapper ⇒ Object
Mapper for CertificateConfiguration class as Ruby Hash. This will be used for serialization/deserialization.
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 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CertificateConfiguration', type: { name: 'Composite', class_name: 'CertificateConfiguration', model_properties: { encoded_certificate: { client_side_validation: true, required: false, serialized_name: 'encodedCertificate', type: { name: 'String' } }, certificate_password: { client_side_validation: true, required: false, serialized_name: 'certificatePassword', type: { name: 'String' } }, store_name: { client_side_validation: true, required: true, serialized_name: 'storeName', type: { name: 'String' } }, certificate: { client_side_validation: true, required: false, read_only: true, serialized_name: 'certificate', type: { name: 'Composite', class_name: 'CertificateInformation' } } } } } end |