Interface CertificateContract


  • public interface CertificateContract
    An immutable client-side representation of CertificateContract.
    • 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.