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

定義

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

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

パラメーター

osVersionName
String

OS バージョンの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

osVersionName が null です。

適用対象