Class: Azure::Web::Mgmt::V2016_03_01::Models::CertificatePatchResource

Inherits:
ProxyOnlyResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-03-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>



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

def cer_blob
  @cer_blob
end

#expiration_dateDateTime



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

def expiration_date
  @expiration_date
end

#friendly_nameString



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

def friendly_name
  @friendly_name
end

#geo_regionString



77
78
79
# File 'lib/2016-03-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 77

def geo_region
  @geo_region
end

#host_namesArray<String>



22
23
24
# File 'lib/2016-03-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.



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

def hosting_environment_profile
  @hosting_environment_profile
end

#issue_dateDateTime



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

def issue_date
  @issue_date
end

#issuerString



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

def issuer
  @issuer
end

#key_vault_idString



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

def key_vault_id
  @key_vault_id
end

#key_vault_secret_nameString



65
66
67
# File 'lib/2016-03-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’



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

def key_vault_secret_status
  @key_vault_secret_status
end

#passwordString



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

def password
  @password
end

#pfx_blobArray<Integer>



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

def pfx_blob
  @pfx_blob
end

#public_key_hashString



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

def public_key_hash
  @public_key_hash
end


31
32
33
# File 'lib/2016-03-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”.



82
83
84
# File 'lib/2016-03-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 82

def server_farm_id
  @server_farm_id
end

#site_nameString



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

def site_name
  @site_name
end

#subject_nameString



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

def subject_name
  @subject_name
end

#thumbprintString



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

def thumbprint
  @thumbprint
end

#validBoolean



49
50
51
# File 'lib/2016-03-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.



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
309
310
311
312
313
314
315
316
317
318
319
320
# File 'lib/2016-03-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb', line 89

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'
          }
        },
        geo_region: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.geoRegion',
          type: {
            name: 'String'
          }
        },
        server_farm_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serverFarmId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end