Método SubscriptionOperationsExtensions.RegisterResourceAsync (ISubscriptionOperations, String)
Modo assíncrono registra um recurso com uma assinatura.
Namespace: Microsoft.WindowsAzure.Management
Assembly: Microsoft.WindowsAzure.Management (em Microsoft.WindowsAzure.Management.dll)
Sintaxe
public static Task<AzureOperationResponse> RegisterResourceAsync(
this ISubscriptionOperations operations,
string resourceName
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ RegisterResourceAsync(
ISubscriptionOperations^ operations,
String^ resourceName
)
static member RegisterResourceAsync :
operations:ISubscriptionOperations *
resourceName:string -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function RegisterResourceAsync (
operations As ISubscriptionOperations,
resourceName As String
) As Task(Of AzureOperationResponse)
Parâmetros
operations
Type: Microsoft.WindowsAzure.Management.ISubscriptionOperationsO ISubscriptionOperations objeto que define as operações de assinatura.
resourceName
Type: System.StringO nome do recurso para registrar.
Valor de retorno
Type: System.Threading.Tasks.Task<AzureOperationResponse>
Um objeto OperationResponse que inclui um ID de solicitação e o código de status HTTP
Consulte também
Classe SubscriptionOperationsExtensions
Namespace Microsoft.WindowsAzure.Management
Retornar ao topo