次の方法で共有


HostedServiceOperationsExtensions.BeginAddingExtensionAsync メソッド

定義

[拡張機能の追加の開始] 操作により、クラウド サービスに使用可能な拡張機能が追加されます。 Azure では、プロセスはクラウド サービスの拡張機能として実行できます。 たとえば、リモート デスクトップ アクセスまたは Azure Diagnostics エージェントは、クラウド サービスの拡張機能として実行できます。 使用可能な拡張機能を見つけるには、使用可能な拡張機能の一覧表示操作を使用します。 (詳細については、 を参照してください http://msdn.microsoft.com/en-us/library/windowsazure/dn169558.aspx )

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> BeginAddingExtensionAsync (this Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations operations, string serviceName, Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceAddExtensionParameters parameters);
static member BeginAddingExtensionAsync : Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations * string * Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceAddExtensionParameters -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function BeginAddingExtensionAsync (operations As IHostedServiceOperations, serviceName As String, parameters As HostedServiceAddExtensionParameters) As Task(Of AzureOperationResponse)

パラメーター

operations
IHostedServiceOperations

Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations への参照。

serviceName
String

必須。 クラウド サービスの名前。

parameters
HostedServiceAddExtensionParameters

必須。 拡張の追加を開始操作に指定されたパラメーター。

戻り値

Task<Microsoft.Azure.AzureOperationResponse>

HTTP 状態コードと要求 ID を含む標準のサービス応答。

適用対象