Interface CertificateContract
public interface CertificateContract
An immutable client-side representation of CertificateContract.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the CertificateContract definition.static interfaceThe CertificateContract definition stages.static interfaceThe template for CertificateContract update.static interfaceThe CertificateContract update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the expirationDate property: Expiration date of the certificate.id()Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.CertificateContractInner object.keyVault()Gets the keyVault property: KeyVault location details of the certificate.name()Gets the name property: The name of the resource.refresh()Refreshes the resource to sync with Azure.refresh(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.From KeyVault, Refresh the certificate being used for authentication with the backend.com.azure.core.http.rest.Response<CertificateContract> refreshSecretWithResponse(com.azure.core.util.Context context) From KeyVault, Refresh the certificate being used for authentication with the backend.Gets the name of the resource group.subject()Gets the subject property: Subject attribute of the certificate.Gets the thumbprint property: Thumbprint of the certificate.type()Gets the type property: The type of the resource.update()Begins update for the CertificateContract resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
subject
String subject()Gets the subject property: Subject attribute of the certificate.- Returns:
- the subject value.
-
thumbprint
String thumbprint()Gets the thumbprint property: Thumbprint of the certificate.- Returns:
- the thumbprint value.
-
expirationDate
OffsetDateTime expirationDate()Gets the expirationDate property: Expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.- Returns:
- the expirationDate value.
-
keyVault
KeyVaultContractProperties keyVault()Gets the keyVault property: KeyVault location details of the certificate.- Returns:
- the keyVault value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
CertificateContractInner innerModel()Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.CertificateContractInner object.- Returns:
- the inner object.
-
update
CertificateContract.Update update()Begins update for the CertificateContract resource.- Returns:
- the stage of resource update.
-
refresh
CertificateContract refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context- The context to associate with this operation.- Returns:
- the refreshed resource.
-
refreshSecretWithResponse
com.azure.core.http.rest.Response<CertificateContract> refreshSecretWithResponse(com.azure.core.util.Context context) From KeyVault, Refresh the certificate being used for authentication with the backend.- Parameters:
context- The context to associate with this operation.- Returns:
- certificate details.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
refreshSecret
CertificateContract refreshSecret()From KeyVault, Refresh the certificate being used for authentication with the backend.- Returns:
- certificate details.
- Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-