SubscriptionOperationsExtensions.RegisterResourceAsync Method (ISubscriptionOperations, String)
Asynchronously registers a resource with a subscription.
Assembly: Microsoft.WindowsAzure.Management (in Microsoft.WindowsAzure.Management.dll)
<ExtensionAttribute> Public Shared Function RegisterResourceAsync ( operations As ISubscriptionOperations, resourceName As String ) As Task(Of AzureOperationResponse)
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.ISubscriptionOperations
The ISubscriptionOperations object that defines subscription operations.
- resourceName
-
Type:
System.String
The name of the resource to register.
Return Value
Type: System.Threading.Tasks.Task(Of AzureOperationResponse)An OperationResponse object that includes an HTTP status code and request ID.
Show: