次の方法で共有


CloudServiceRoleInstanceResource.GetAsync メソッド

定義

クラウド サービスからロール インスタンスを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}
  • 操作IdCloudServiceRoleInstances_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.CloudServiceRoleInstanceResource>> GetAsync (Azure.ResourceManager.Compute.Models.InstanceViewType? expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Nullable<Azure.ResourceManager.Compute.Models.InstanceViewType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.CloudServiceRoleInstanceResource>>
override this.GetAsync : Nullable<Azure.ResourceManager.Compute.Models.InstanceViewType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.CloudServiceRoleInstanceResource>>
Public Overridable Function GetAsync (Optional expand As Nullable(Of InstanceViewType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CloudServiceRoleInstanceResource))

パラメーター

expand
Nullable<InstanceViewType>

操作に適用する展開式。 'UserData' はクラウド サービスではサポートされていません。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

適用対象