CloudServiceManagementClient.EntitleResourceAsync Method

Definition

EntitleResource is used only for 3rd party Store providers. Each subscription must be entitled for the resource before creating that particular type of resource.

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> EntitleResourceAsync (Microsoft.WindowsAzure.Management.Scheduler.Models.EntitleResourceParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member EntitleResourceAsync : Microsoft.WindowsAzure.Management.Scheduler.Models.EntitleResourceParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
override this.EntitleResourceAsync : Microsoft.WindowsAzure.Management.Scheduler.Models.EntitleResourceParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function EntitleResourceAsync (parameters As EntitleResourceParameters, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

parameters
EntitleResourceParameters

Required. Parameters provided to the EntitleResource method.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Implements

Applies to