Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.appservice; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten;
Key Vault container ARM resource for a certificate that is purchased through Azure.
/** * Key Vault container ARM resource for a certificate that is purchased through * Azure. */
@JsonFlatten public class AppServiceCertificatePatchResource extends ProxyOnlyResource {
Key Vault resource Id.
/** * Key Vault resource Id. */
@JsonProperty(value = "properties.keyVaultId") private String keyVaultId;
Key Vault secret name.
/** * Key Vault secret name. */
@JsonProperty(value = "properties.keyVaultSecretName") private String keyVaultSecretName;
Status of the Key Vault secret. Possible values include: 'Initialized', 'WaitingOnCertificateOrder', 'Succeeded', 'CertificateOrderFailed', 'OperationNotPermittedOnKeyVault', 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', 'Unknown'.
/** * Status of the Key Vault secret. Possible values include: 'Initialized', * 'WaitingOnCertificateOrder', 'Succeeded', 'CertificateOrderFailed', * 'OperationNotPermittedOnKeyVault', * 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', * 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', * 'Unknown'. */
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) private KeyVaultSecretStatus provisioningState;
Get key Vault resource Id.
Returns:the keyVaultId value
/** * Get key Vault resource Id. * * @return the keyVaultId value */
public String keyVaultId() { return this.keyVaultId; }
Set key Vault resource Id.
Params:
  • keyVaultId – the keyVaultId value to set
Returns:the AppServiceCertificatePatchResource object itself.
/** * Set key Vault resource Id. * * @param keyVaultId the keyVaultId value to set * @return the AppServiceCertificatePatchResource object itself. */
public AppServiceCertificatePatchResource withKeyVaultId(String keyVaultId) { this.keyVaultId = keyVaultId; return this; }
Get key Vault secret name.
Returns:the keyVaultSecretName value
/** * Get key Vault secret name. * * @return the keyVaultSecretName value */
public String keyVaultSecretName() { return this.keyVaultSecretName; }
Set key Vault secret name.
Params:
  • keyVaultSecretName – the keyVaultSecretName value to set
Returns:the AppServiceCertificatePatchResource object itself.
/** * Set key Vault secret name. * * @param keyVaultSecretName the keyVaultSecretName value to set * @return the AppServiceCertificatePatchResource object itself. */
public AppServiceCertificatePatchResource withKeyVaultSecretName(String keyVaultSecretName) { this.keyVaultSecretName = keyVaultSecretName; return this; }
Get status of the Key Vault secret. Possible values include: 'Initialized', 'WaitingOnCertificateOrder', 'Succeeded', 'CertificateOrderFailed', 'OperationNotPermittedOnKeyVault', 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', 'Unknown'.
Returns:the provisioningState value
/** * Get status of the Key Vault secret. Possible values include: 'Initialized', 'WaitingOnCertificateOrder', 'Succeeded', 'CertificateOrderFailed', 'OperationNotPermittedOnKeyVault', 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', 'Unknown'. * * @return the provisioningState value */
public KeyVaultSecretStatus provisioningState() { return this.provisioningState; } }