Freigeben über


MachineLearningEnvironmentContainerCollection.GetIfExists Methode

Definition

Versucht, Details für diese Ressource vom Dienst abzurufen.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}
  • Vorgangs-IdEnvironmentContainers_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningEnvironmentContainerResource> GetIfExists (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningEnvironmentContainerResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningEnvironmentContainerResource>
Public Overridable Function GetIfExists (name As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of MachineLearningEnvironmentContainerResource)

Parameter

name
String

Der Containername. Hierbei muss die Groß-/Kleinschreibung beachtet werden.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

name ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

name ist NULL.

Gilt für: