MachineLearningOutboundRuleBasicCollection.GetIfExistsAsync メソッド

定義

サービスからこのリソースの詳細の取得を試みます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundRules/{ruleName}
  • 操作IdManagedNetworkSettingsRule_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningOutboundRuleBasicResource>> GetIfExistsAsync (string ruleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningOutboundRuleBasicResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningOutboundRuleBasicResource>>
Public Overridable Function GetIfExistsAsync (ruleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of MachineLearningOutboundRuleBasicResource))

パラメーター

ruleName
String

ワークスペースマネージド ネットワーク送信規則の名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

ruleName が null です。

適用対象