DevTestLabUserResource.GetDevTestLabEnvironmentAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
環境を取得します。
- Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}
- 操作IdEnvironments_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabEnvironmentResource>> GetDevTestLabEnvironmentAsync (string name, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDevTestLabEnvironmentAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabEnvironmentResource>>
override this.GetDevTestLabEnvironmentAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabEnvironmentResource>>
Public Overridable Function GetDevTestLabEnvironmentAsync (name As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DevTestLabEnvironmentResource))
パラメーター
- name
- String
環境の名前。
- expand
- String
$expand クエリを指定します。 例: 'properties($select=deploymentProperties)'
- cancellationToken
- CancellationToken
使用する取り消しトークン。
戻り値
例外
name
は空の文字列であり、空でないと想定されていました。
name
が null です。