# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Web module Models # # Class representing the Key Vault container for certificate purchased # through Azure # class CertificateOrderCertificate < MsRestAzure::Resource include MsRestAzure # @return [String] Key Vault Csm resource Id attr_accessor :key_vault_id # @return [String] Key Vault secret name attr_accessor :key_vault_secret_name # @return [KeyVaultSecretStatus] Status of the Key Vault secret. # Possible values include: 'Initialized', 'WaitingOnCertificateOrder', # 'Succeeded', 'CertificateOrderFailed', # 'OperationNotPermittedOnKeyVault', # 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', # 'KeyVaultSecretDoesNotExist', 'UnknownError', 'Unknown' attr_accessor :provisioning_state # # Mapper for CertificateOrderCertificate class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'CertificateOrderCertificate', type: { name: 'Composite', class_name: 'CertificateOrderCertificate', model_properties: { id: { required: false, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, serialized_name: 'name', type: { name: 'String' } }, kind: { required: false, serialized_name: 'kind', type: { name: 'String' } }, location: { required: true, serialized_name: 'location', type: { name: 'String' } }, type: { required: false, serialized_name: 'type', type: { name: 'String' } }, tags: { required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, key_vault_id: { required: false, serialized_name: 'properties.keyVaultId', type: { name: 'String' } }, key_vault_secret_name: { required: false, serialized_name: 'properties.keyVaultSecretName', type: { name: 'String' } }, provisioning_state: { required: false, serialized_name: 'properties.provisioningState', type: { name: 'Enum', module: 'KeyVaultSecretStatus' } } } } } end end end end