CertificatesInner.beginCreateAsync Method

Definition

Overloads

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

Creates a new certificate inside the specified account.

beginCreateAsync(String resourceGroupName, String accountName, String certificateName, CertificateCreateOrUpdateParameters parameters, final ServiceCallback<CertificateInner> serviceCallback)

Creates a new certificate inside the specified account.

beginCreateAsync(String resourceGroupName, String accountName, String certificateName, CertificateCreateOrUpdateParameters parameters, String ifMatch, String ifNoneMatch)

Creates a new certificate inside the specified account.

beginCreateAsync(String resourceGroupName, String accountName, String certificateName, CertificateCreateOrUpdateParameters parameters, String ifMatch, String ifNoneMatch, final ServiceCallback<CertificateInner> serviceCallback)

Creates a new certificate inside the specified account.

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

Creates a new certificate inside the specified account.

public Observable<CertificateInner> beginCreateAsync(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

Additional parameters for certificate creation.

Returns

Observable<CertificateInner>

the observable to the CertificateInner object

Exceptions

IllegalArgumentException

thrown if parameters fail the validation

beginCreateAsync(String resourceGroupName, String accountName, String certificateName, CertificateCreateOrUpdateParameters parameters, final ServiceCallback<CertificateInner> serviceCallback)

Creates a new certificate inside the specified account.

public ServiceFuture<CertificateInner> beginCreateAsync(String resourceGroupName, String accountName, String certificateName, CertificateCreateOrUpdateParameters parameters, final ServiceCallback<CertificateInner> serviceCallback)

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

Additional parameters for certificate creation.

serviceCallback
final ServiceCallback<CertificateInner>

the async ServiceCallback to handle successful and failed responses.

Returns

ServiceFuture<CertificateInner>

the ServiceFuture object

Exceptions

IllegalArgumentException

thrown if parameters fail the validation

beginCreateAsync(String resourceGroupName, String accountName, String certificateName, CertificateCreateOrUpdateParameters parameters, String ifMatch, String ifNoneMatch)

Creates a new certificate inside the specified account.

public Observable<CertificateInner> beginCreateAsync(String resourceGroupName, String accountName, String certificateName, CertificateCreateOrUpdateParameters parameters, String ifMatch, String ifNoneMatch)

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

Additional parameters for certificate creation.

ifMatch
String

The entity state (ETag) version of the certificate to update. A value of "*" can be used to apply the operation only if the certificate already exists. If omitted, this operation will always be applied.

ifNoneMatch
String

Set to '*' to allow a new certificate to be created, but to prevent updating an existing certificate. Other values will be ignored.

Returns

Observable<CertificateInner>

the observable to the CertificateInner object

Exceptions

IllegalArgumentException

thrown if parameters fail the validation

beginCreateAsync(String resourceGroupName, String accountName, String certificateName, CertificateCreateOrUpdateParameters parameters, String ifMatch, String ifNoneMatch, final ServiceCallback<CertificateInner> serviceCallback)

Creates a new certificate inside the specified account.

public ServiceFuture<CertificateInner> beginCreateAsync(String resourceGroupName, String accountName, String certificateName, CertificateCreateOrUpdateParameters parameters, String ifMatch, String ifNoneMatch, final ServiceCallback<CertificateInner> serviceCallback)

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

Additional parameters for certificate creation.

ifMatch
String

The entity state (ETag) version of the certificate to update. A value of "*" can be used to apply the operation only if the certificate already exists. If omitted, this operation will always be applied.

ifNoneMatch
String

Set to '*' to allow a new certificate to be created, but to prevent updating an existing certificate. Other values will be ignored.

serviceCallback
final ServiceCallback<CertificateInner>

the async ServiceCallback to handle successful and failed responses.

Returns

ServiceFuture<CertificateInner>

the ServiceFuture object

Exceptions

IllegalArgumentException

thrown if parameters fail the validation

Applies to