次の方法で共有


ManagedClusterVersionOperationsExtensions.ListByEnvironmentAsync メソッド

定義

指定した環境で使用できる Service Fabric クラスター コード バージョンの一覧を取得します。

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ManagedClusterCodeVersionResult>> ListByEnvironmentAsync(this Microsoft.Azure.Management.ServiceFabricManagedClusters.IManagedClusterVersionOperations operations, string location, System.Threading.CancellationToken cancellationToken = default);
static member ListByEnvironmentAsync : Microsoft.Azure.Management.ServiceFabricManagedClusters.IManagedClusterVersionOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ManagedClusterCodeVersionResult>>
<Extension()>
Public Function ListByEnvironmentAsync (operations As IManagedClusterVersionOperations, location As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of ManagedClusterCodeVersionResult))

パラメーター

operations
IManagedClusterVersionOperations

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

location
String

クラスター コード バージョンの場所。 これはクラスターの場所とは異なります。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

環境別に Service Fabric クラスター リソースで使用可能なすべてのコード バージョンを取得します。

適用対象