Class: Azure::Batch::Mgmt::V2019_08_01::Models::CertificateCreateOrUpdateParameters
- Inherits:
-
ProxyResource
- Object
- ProxyResource
- Azure::Batch::Mgmt::V2019_08_01::Models::CertificateCreateOrUpdateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_create_or_update_parameters.rb
Overview
Contains information about a certificate.
Instance Attribute Summary collapse
-
#data ⇒ String
maximum size is 10KB.
-
#format ⇒ CertificateFormat
or Cer.
-
#password ⇒ String
This is required if the certificate format is pfx and must be omitted if the certificate format is cer.
-
#thumbprint ⇒ String
thumbprint from the name.
-
#thumbprint_algorithm ⇒ String
match the first portion of the certificate name.
Attributes inherited from ProxyResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CertificateCreateOrUpdateParameters class as Ruby Hash.
Instance Attribute Details
#data ⇒ String
maximum size is 10KB.
31 32 33 |
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_create_or_update_parameters.rb', line 31 def data @data end |
#format ⇒ CertificateFormat
or Cer. If omitted, the default is Pfx. Possible values include: ‘Pfx’, ‘Cer’
27 28 29 |
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_create_or_update_parameters.rb', line 27 def format @format end |
#password ⇒ String
This is required if the certificate format is pfx and must be omitted if the certificate format is cer.
36 37 38 |
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_create_or_update_parameters.rb', line 36 def password @password end |
#thumbprint ⇒ String
thumbprint from the name.
22 23 24 |
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_create_or_update_parameters.rb', line 22 def thumbprint @thumbprint end |
#thumbprint_algorithm ⇒ String
match the first portion of the certificate name. Currently required to be ‘SHA1’.
18 19 20 |
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_create_or_update_parameters.rb', line 18 def thumbprint_algorithm @thumbprint_algorithm end |
Class Method Details
.mapper ⇒ Object
Mapper for CertificateCreateOrUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.
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 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_create_or_update_parameters.rb', line 43 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CertificateCreateOrUpdateParameters', type: { name: 'Composite', class_name: 'CertificateCreateOrUpdateParameters', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, etag: { client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', type: { name: 'String' } }, thumbprint_algorithm: { client_side_validation: true, required: false, serialized_name: 'properties.thumbprintAlgorithm', type: { name: 'String' } }, thumbprint: { client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { name: 'String' } }, format: { client_side_validation: true, required: false, serialized_name: 'properties.format', type: { name: 'Enum', module: 'CertificateFormat' } }, data: { client_side_validation: true, required: true, serialized_name: 'properties.data', type: { name: 'String' } }, password: { client_side_validation: true, required: false, serialized_name: 'properties.password', type: { name: 'String' } } } } } end |