次の方法で共有


CloudServiceOSFamilyCollection.Get(String, CancellationToken) メソッド

定義

クラウド サービスの XML サービス構成 (.cscfg) で指定できるゲスト オペレーティング システム ファミリのプロパティを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies/{osFamilyName}
  • 操作IdCloudServiceOperatingSystems_GetOSFamily
public virtual Azure.Response<Azure.ResourceManager.Compute.CloudServiceOSFamilyResource> Get (string osFamilyName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.CloudServiceOSFamilyResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.CloudServiceOSFamilyResource>
Public Overridable Function Get (osFamilyName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CloudServiceOSFamilyResource)

パラメーター

osFamilyName
String

OS ファミリの名前。

cancellationToken
CancellationToken

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

戻り値

例外

osFamilyName は空の文字列であり、空でないと想定されていました。

osFamilyName が null です。

適用対象