次の方法で共有


CloudServiceRoleInstanceResource.GetInstanceViewAsync メソッド

定義

クラウド サービスのロール インスタンスの実行時状態に関する情報を取得します。

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

パラメーター

cancellationToken
CancellationToken

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

戻り値

適用対象