Class CertificatePatchResource
java.lang.Object
com.microsoft.azure.ProxyResource
com.microsoft.azure.management.appservice.ProxyOnlyResource
com.microsoft.azure.management.appservice.CertificatePatchResource
ARM resource for a certificate.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet CNAME of the certificate to be issued via free certificate.byte[]
cerBlob()
Get raw bytes of .cer file.org.joda.time.DateTime
Get certificate expiration date.Get friendly name of the certificate.Get specification for the App Service Environment to use for the certificate.Get host names the certificate applies to.org.joda.time.DateTime
Get certificate issue Date.issuer()
Get certificate issuer.Get key Vault Csm resource Id.Get key Vault secret name.Get status of the Key Vault secret.password()
Get certificate password.byte[]
pfxBlob()
Get pfx blob.Get public key hash.selfLink()
Get self link.Get resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".siteName()
Get app name.Get subject name of the certificate.Get certificate thumbprint.valid()
Get is the certificate valid?.withCanonicalName
(String canonicalName) Set CNAME of the certificate to be issued via free certificate.withHostNames
(List<String> hostNames) Set host names the certificate applies to.withKeyVaultId
(String keyVaultId) Set key Vault Csm resource Id.withKeyVaultSecretName
(String keyVaultSecretName) Set key Vault secret name.withPassword
(String password) Set certificate password.withPfxBlob
(byte[] pfxBlob) Set pfx blob.withServerFarmId
(String serverFarmId) Set resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".Methods inherited from class com.microsoft.azure.management.appservice.ProxyOnlyResource
kind, withKind
Methods inherited from class com.microsoft.azure.ProxyResource
id, name, type
-
Constructor Details
-
CertificatePatchResource
public CertificatePatchResource()
-
-
Method Details
-
friendlyName
Get friendly name of the certificate.- Returns:
- the friendlyName value
-
subjectName
Get subject name of the certificate.- Returns:
- the subjectName value
-
hostNames
Get host names the certificate applies to.- Returns:
- the hostNames value
-
withHostNames
Set host names the certificate applies to.- Parameters:
hostNames
- the hostNames value to set- Returns:
- the CertificatePatchResource object itself.
-
pfxBlob
public byte[] pfxBlob()Get pfx blob.- Returns:
- the pfxBlob value
-
withPfxBlob
Set pfx blob.- Parameters:
pfxBlob
- the pfxBlob value to set- Returns:
- the CertificatePatchResource object itself.
-
siteName
Get app name.- Returns:
- the siteName value
-
selfLink
Get self link.- Returns:
- the selfLink value
-
issuer
Get certificate issuer.- Returns:
- the issuer value
-
issueDate
public org.joda.time.DateTime issueDate()Get certificate issue Date.- Returns:
- the issueDate value
-
expirationDate
public org.joda.time.DateTime expirationDate()Get certificate expiration date.- Returns:
- the expirationDate value
-
password
Get certificate password.- Returns:
- the password value
-
withPassword
Set certificate password.- Parameters:
password
- the password value to set- Returns:
- the CertificatePatchResource object itself.
-
thumbprint
Get certificate thumbprint.- Returns:
- the thumbprint value
-
valid
Get is the certificate valid?.- Returns:
- the valid value
-
cerBlob
public byte[] cerBlob()Get raw bytes of .cer file.- Returns:
- the cerBlob value
-
publicKeyHash
Get public key hash.- Returns:
- the publicKeyHash value
-
hostingEnvironmentProfile
Get specification for the App Service Environment to use for the certificate.- Returns:
- the hostingEnvironmentProfile value
-
keyVaultId
Get key Vault Csm resource Id.- Returns:
- the keyVaultId value
-
withKeyVaultId
Set key Vault Csm resource Id.- Parameters:
keyVaultId
- the keyVaultId value to set- Returns:
- the CertificatePatchResource object itself.
-
keyVaultSecretName
Get key Vault secret name.- Returns:
- the keyVaultSecretName value
-
withKeyVaultSecretName
Set key Vault secret name.- Parameters:
keyVaultSecretName
- the keyVaultSecretName value to set- Returns:
- the CertificatePatchResource object itself.
-
keyVaultSecretStatus
Get status of the Key Vault secret. Possible values include: 'Initialized', 'WaitingOnCertificateOrder', 'Succeeded', 'CertificateOrderFailed', 'OperationNotPermittedOnKeyVault', 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', 'Unknown'.- Returns:
- the keyVaultSecretStatus value
-
serverFarmId
Get resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".- Returns:
- the serverFarmId value
-
withServerFarmId
Set resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".- Parameters:
serverFarmId
- the serverFarmId value to set- Returns:
- the CertificatePatchResource object itself.
-
canonicalName
Get CNAME of the certificate to be issued via free certificate.- Returns:
- the canonicalName value
-
withCanonicalName
Set CNAME of the certificate to be issued via free certificate.- Parameters:
canonicalName
- the canonicalName value to set- Returns:
- the CertificatePatchResource object itself.
-