Class: Azure::Web::Mgmt::V2018_02_01::Models::CertificatePatchResource

Inherits:
ProxyOnlyResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb

Overview

ARM resource for a certificate.

Instance Attribute Summary collapse

Attributes inherited from ProxyOnlyResource

#id, #kind, #name, #type

Class Method Summary collapse

Instance Attribute Details

#cer_blobArray<Integer>

Returns Raw bytes of .cer file.

Returns:

  • (Array<Integer>)

    Raw bytes of .cer file



52
53
54
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 52

def cer_blob
  @cer_blob
end

#expiration_dateDateTime

Returns Certificate expriration date.

Returns:

  • (DateTime)

    Certificate expriration date.



40
41
42
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 40

def expiration_date
  @expiration_date
end

#friendly_nameString

Returns Friendly name of the certificate.

Returns:

  • (String)

    Friendly name of the certificate.



16
17
18
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 16

def friendly_name
  @friendly_name
end

#host_namesArray<String>

Returns Host names the certificate applies to.

Returns:

  • (Array<String>)

    Host names the certificate applies to.



22
23
24
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 22

def host_names
  @host_names
end

#hosting_environment_profileHostingEnvironmentProfile

Environment to use for the certificate.

Returns:



59
60
61
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 59

def hosting_environment_profile
  @hosting_environment_profile
end

#issue_dateDateTime

Returns Certificate issue Date.

Returns:

  • (DateTime)

    Certificate issue Date.



37
38
39
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 37

def issue_date
  @issue_date
end

#issuerString

Returns Certificate issuer.

Returns:

  • (String)

    Certificate issuer.



34
35
36
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 34

def issuer
  @issuer
end

#key_vault_idString

Returns Key Vault Csm resource Id.

Returns:

  • (String)

    Key Vault Csm resource Id.



62
63
64
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 62

def key_vault_id
  @key_vault_id
end

#key_vault_secret_nameString

Returns Key Vault secret name.

Returns:

  • (String)

    Key Vault secret name.



65
66
67
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 65

def key_vault_secret_name
  @key_vault_secret_name
end

#key_vault_secret_statusKeyVaultSecretStatus

values include: ‘Initialized’, ‘WaitingOnCertificateOrder’, ‘Succeeded’, ‘CertificateOrderFailed’, ‘OperationNotPermittedOnKeyVault’, ‘AzureServiceUnauthorizedToAccessKeyVault’, ‘KeyVaultDoesNotExist’, ‘KeyVaultSecretDoesNotExist’, ‘UnknownError’, ‘ExternalPrivateKey’, ‘Unknown’

Returns:



74
75
76
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 74

def key_vault_secret_status
  @key_vault_secret_status
end

#passwordString

Returns Certificate password.

Returns:

  • (String)

    Certificate password.



43
44
45
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 43

def password
  @password
end

#pfx_blobArray<Integer>

Returns Pfx blob.

Returns:

  • (Array<Integer>)

    Pfx blob.



25
26
27
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 25

def pfx_blob
  @pfx_blob
end

#public_key_hashString

Returns Public key hash.

Returns:

  • (String)

    Public key hash.



55
56
57
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 55

def public_key_hash
  @public_key_hash
end

Returns Self link.

Returns:

  • (String)

    Self link.



31
32
33
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 31

def self_link
  @self_link
end

#server_farm_idString

formatted as: “/subscriptions/subscriptionID/resourceGroups/groupName/providers/Microsoft.Web/serverfarms/appServicePlanName”.

Returns:

  • (String)

    Resource ID of the associated App Service plan,



79
80
81
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 79

def server_farm_id
  @server_farm_id
end

#site_nameString

Returns App name.

Returns:

  • (String)

    App name.



28
29
30
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 28

def site_name
  @site_name
end

#subject_nameString

Returns Subject name of the certificate.

Returns:

  • (String)

    Subject name of the certificate.



19
20
21
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 19

def subject_name
  @subject_name
end

#thumbprintString

Returns Certificate thumbprint.

Returns:

  • (String)

    Certificate thumbprint.



46
47
48
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 46

def thumbprint
  @thumbprint
end

#validBoolean

Returns Is the certificate valid?.

Returns:

  • (Boolean)

    Is the certificate valid?.



49
50
51
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 49

def valid
  @valid
end

Class Method Details

.mapperObject

Mapper for CertificatePatchResource class as Ruby Hash. This will be used for serialization/deserialization.



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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 86

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CertificatePatchResource',
    type: {
      name: 'Composite',
      class_name: 'CertificatePatchResource',
      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'
          }
        },
        kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        friendly_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.friendlyName',
          type: {
            name: 'String'
          }
        },
        subject_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.subjectName',
          type: {
            name: 'String'
          }
        },
        host_names: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.hostNames',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        pfx_blob: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.pfxBlob',
          type: {
            name: 'ByteArray'
          }
        },
        site_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.siteName',
          type: {
            name: 'String'
          }
        },
        self_link: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.selfLink',
          type: {
            name: 'String'
          }
        },
        issuer: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.issuer',
          type: {
            name: 'String'
          }
        },
        issue_date: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.issueDate',
          type: {
            name: 'DateTime'
          }
        },
        expiration_date: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.expirationDate',
          type: {
            name: 'DateTime'
          }
        },
        password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.password',
          type: {
            name: 'String'
          }
        },
        thumbprint: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.thumbprint',
          type: {
            name: 'String'
          }
        },
        valid: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.valid',
          type: {
            name: 'Boolean'
          }
        },
        cer_blob: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.cerBlob',
          type: {
            name: 'ByteArray'
          }
        },
        public_key_hash: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.publicKeyHash',
          type: {
            name: 'String'
          }
        },
        hosting_environment_profile: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.hostingEnvironmentProfile',
          type: {
            name: 'Composite',
            class_name: 'HostingEnvironmentProfile'
          }
        },
        key_vault_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.keyVaultId',
          type: {
            name: 'String'
          }
        },
        key_vault_secret_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.keyVaultSecretName',
          type: {
            name: 'String'
          }
        },
        key_vault_secret_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.keyVaultSecretStatus',
          type: {
            name: 'Enum',
            module: 'KeyVaultSecretStatus'
          }
        },
        server_farm_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serverFarmId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end