SubscriptionOperationsExtensions::RegisterResource Method (ISubscriptionOperations^, String^)

 

Registers a resource with a subscription.

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

public:
[ExtensionAttribute]
static AzureOperationResponse^ RegisterResource(
	ISubscriptionOperations^ operations,
	String^ resourceName
)

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: Microsoft.Azure::AzureOperationResponse^

An OperationResponse object that includes an HTTP status code and request ID.

Return to top
Show: