Class: Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificatePatchResource

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

Overview

Key Vault container ARM resource for a certificate that is purchased through Azure.

Instance Attribute Summary collapse

Attributes inherited from ProxyOnlyResource

#id, #kind, #name, #type

Class Method Summary collapse

Instance Attribute Details

#key_vault_idString

Returns Key Vault resource Id.

Returns:

  • (String)

    Key Vault resource Id.



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

def key_vault_id
  @key_vault_id
end

#key_vault_secret_nameString

Returns Key Vault secret name.

Returns:

  • (String)

    Key Vault secret name.



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

def key_vault_secret_name
  @key_vault_secret_name
end

#provisioning_stateKeyVaultSecretStatus

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

Returns:



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

def provisioning_state
  @provisioning_state
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_patch_resource.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AppServiceCertificatePatchResource',
    type: {
      name: 'Composite',
      class_name: 'AppServiceCertificatePatchResource',
      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'
          }
        },
        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'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'Enum',
            module: 'KeyVaultSecretStatus'
          }
        }
      }
    }
  }
end