Interface CertificateContract
-
public interface CertificateContract
An immutable client-side representation of CertificateContract.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
CertificateContract.Definition
The entirety of the CertificateContract definition.static interface
CertificateContract.DefinitionStages
The CertificateContract definition stages.static interface
CertificateContract.Update
The template for CertificateContract update.static interface
CertificateContract.UpdateStages
The CertificateContract update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OffsetDateTime
expirationDate()
Gets the expirationDate property: Expiration date of the certificate.String
id()
Gets the id property: Fully qualified resource Id for the resource.CertificateContractInner
innerModel()
Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.CertificateContractInner object.KeyVaultContractProperties
keyVault()
Gets the keyVault property: KeyVault location details of the certificate.String
name()
Gets the name property: The name of the resource.CertificateContract
refresh()
Refreshes the resource to sync with Azure.CertificateContract
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.CertificateContract
refreshSecret()
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.String
subject()
Gets the subject property: Subject attribute of the certificate.String
thumbprint()
Gets the thumbprint property: Thumbprint of the certificate.String
type()
Gets the type property: The type of the resource.CertificateContract.Update
update()
Begins update for the CertificateContract resource.
-
-
-
Method Detail
-
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.
-
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
CertificateContract refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
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.
-
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.
-
-