CertificatesInner.update Method

Definition

Overloads

update(String resourceGroupName, String accountName, String certificateName, CertificateCreateOrUpdateParameters parameters)

Updates the properties of an existing certificate.

update(String resourceGroupName, String accountName, String certificateName, CertificateCreateOrUpdateParameters parameters, String ifMatch)

Updates the properties of an existing certificate.

update(String resourceGroupName, String accountName, String certificateName, CertificateCreateOrUpdateParameters parameters)

Updates the properties of an existing certificate.

public CertificateInner update(String resourceGroupName, String accountName, String certificateName, CertificateCreateOrUpdateParameters parameters)

Parameters

resourceGroupName
String

The name of the resource group that contains the Batch account.

accountName
String

The name of the Batch account.

certificateName
String

The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5.

parameters
CertificateCreateOrUpdateParameters

Certificate entity to update.

Returns

the CertificateInner object if successful.

Exceptions

IllegalArgumentException

thrown if parameters fail the validation

CloudException

thrown if the request is rejected by server

RuntimeException

all other wrapped checked exceptions if the request fails to be sent

update(String resourceGroupName, String accountName, String certificateName, CertificateCreateOrUpdateParameters parameters, String ifMatch)

Updates the properties of an existing certificate.

public CertificateInner update(String resourceGroupName, String accountName, String certificateName, CertificateCreateOrUpdateParameters parameters, String ifMatch)

Parameters

resourceGroupName
String

The name of the resource group that contains the Batch account.

accountName
String

The name of the Batch account.

certificateName
String

The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5.

parameters
CertificateCreateOrUpdateParameters

Certificate entity to update.

ifMatch
String

The entity state (ETag) version of the certificate to update. This value can be omitted or set to "*" to apply the operation unconditionally.

Returns

the CertificateInner object if successful.

Exceptions

IllegalArgumentException

thrown if parameters fail the validation

CloudException

thrown if the request is rejected by server

RuntimeException

all other wrapped checked exceptions if the request fails to be sent

Applies to