Share via


ICloudServiceManagementClient.EntitleResourceAsync Method

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

Namespace: Microsoft.WindowsAzure.Management.Scheduler
Assembly: Microsoft.WindowsAzure.Management.Scheduler (in Microsoft.WindowsAzure.Management.Scheduler.dll)

Usage

'Usage
Dim instance As ICloudServiceManagementClient
Dim parameters As EntitleResourceParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of AzureOperationResponse)

returnValue = instance.EntitleResourceAsync(parameters, cancellationToken)

Syntax

'Declaration
Function EntitleResourceAsync ( _
    parameters As EntitleResourceParameters, _
    cancellationToken As CancellationToken _
) As Task(Of AzureOperationResponse)
Task<AzureOperationResponse> EntitleResourceAsync (
    EntitleResourceParameters parameters,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ EntitleResourceAsync (
    EntitleResourceParameters^ parameters, 
    CancellationToken cancellationToken
)
Task<AzureOperationResponse> EntitleResourceAsync (
    EntitleResourceParameters parameters, 
    CancellationToken cancellationToken
)
function EntitleResourceAsync (
    parameters : EntitleResourceParameters, 
    cancellationToken : CancellationToken
) : Task<AzureOperationResponse>

Parameters

  • parameters
    Parameters provided to the EntitleResource method.
  • cancellationToken
    Cancellation token.

Return Value

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

ICloudServiceManagementClient Interface
ICloudServiceManagementClient Members
Microsoft.WindowsAzure.Management.Scheduler Namespace