次の方法で共有


CloudServiceOperatingSystemsOperationsExtensions.ListOSFamiliesAsync メソッド

定義

クラウド サービスの XML サービス構成 (.cscfg) で指定できるすべてのゲスト オペレーティング システム ファミリの一覧を取得します。 応答で nextLink プロパティを使用して、OS ファミリの次のページを取得します。 すべての OS ファミリをフェッチするには、nextLink が null になるまでこれを行います。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.OSFamily>> ListOSFamiliesAsync (this Microsoft.Azure.Management.Compute.ICloudServiceOperatingSystemsOperations operations, string location, System.Threading.CancellationToken cancellationToken = default);
static member ListOSFamiliesAsync : Microsoft.Azure.Management.Compute.ICloudServiceOperatingSystemsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.OSFamily>>
<Extension()>
Public Function ListOSFamiliesAsync (operations As ICloudServiceOperatingSystemsOperations, location As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of OSFamily))

パラメーター

operations
ICloudServiceOperatingSystemsOperations

この拡張メソッドの操作グループ。

location
String

OS ファミリが関連する場所の名前。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象