ISubscriptionOperations.RegisterResourceAsync Method

Definition

Register a resource with your subscription.

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> RegisterResourceAsync (string resourceName, System.Threading.CancellationToken cancellationToken);
abstract member RegisterResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function RegisterResourceAsync (resourceName As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

resourceName
String

Name of the resource to register.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to