CertificatesInner.updateWithServiceResponseAsync Method

Definition

Overloads

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

Updates the properties of an existing certificate.

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

Updates the properties of an existing certificate.

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

Updates the properties of an existing certificate.

public Observable<ServiceResponseWithHeaders<CertificateInner, CertificateUpdateHeaders>> updateWithServiceResponseAsync(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

Observable<ServiceResponseWithHeaders<CertificateInner, CertificateUpdateHeaders>>

the observable to the CertificateInner object

Exceptions

IllegalArgumentException

thrown if parameters fail the validation

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

Updates the properties of an existing certificate.

public Observable<ServiceResponseWithHeaders<CertificateInner, CertificateUpdateHeaders>> updateWithServiceResponseAsync(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

Observable<ServiceResponseWithHeaders<CertificateInner, CertificateUpdateHeaders>>

the observable to the CertificateInner object

Exceptions

IllegalArgumentException

thrown if parameters fail the validation

Applies to