SubscriptionOperationsExtensions.RegisterResource Method (ISubscriptionOperations, String)
Registers a resource with a subscription.
Namespace: Microsoft.WindowsAzure.Management
Assembly: Microsoft.WindowsAzure.Management (in Microsoft.WindowsAzure.Management.dll)
Syntax
public static AzureOperationResponse RegisterResource(
this ISubscriptionOperations operations,
string resourceName
)
public:
[ExtensionAttribute]
static AzureOperationResponse^ RegisterResource(
ISubscriptionOperations^ operations,
String^ resourceName
)
static member RegisterResource :
operations:ISubscriptionOperations *
resourceName:string -> AzureOperationResponse
<ExtensionAttribute>
Public Shared Function RegisterResource (
operations As ISubscriptionOperations,
resourceName As String
) As AzureOperationResponse
Parameters
operations
Type: Microsoft.WindowsAzure.Management.ISubscriptionOperationsThe ISubscriptionOperations object that defines subscription operations.
resourceName
Type: System.StringThe name of the resource to register.
Return Value
Type: Microsoft.Azure.AzureOperationResponse
An OperationResponse object that includes an HTTP status code and request ID.
See Also
SubscriptionOperationsExtensions Class
Microsoft.WindowsAzure.Management Namespace
Return to top