共用方式為


MachineLearningWorkspaceConnectionCollection Class

Definition

A class representing a collection of MachineLearningWorkspaceConnectionResource and their operations. Each MachineLearningWorkspaceConnectionResource in the collection will belong to the same instance of MachineLearningWorkspaceResource. To get a MachineLearningWorkspaceConnectionCollection instance call the GetMachineLearningWorkspaceConnections method from an instance of MachineLearningWorkspaceResource.

public class MachineLearningWorkspaceConnectionCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceConnectionResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceConnectionResource>
type MachineLearningWorkspaceConnectionCollection = class
    inherit ArmCollection
    interface seq<MachineLearningWorkspaceConnectionResource>
    interface IEnumerable
    interface IAsyncEnumerable<MachineLearningWorkspaceConnectionResource>
Public Class MachineLearningWorkspaceConnectionCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of MachineLearningWorkspaceConnectionResource), IEnumerable(Of MachineLearningWorkspaceConnectionResource)
Inheritance
MachineLearningWorkspaceConnectionCollection
Implements

Constructors

MachineLearningWorkspaceConnectionCollection()

Initializes a new instance of the MachineLearningWorkspaceConnectionCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, MachineLearningWorkspaceConnectionData, CancellationToken)
  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}
  • Operation Id: WorkspaceConnections_Create
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceConnectionResource
CreateOrUpdateAsync(WaitUntil, String, MachineLearningWorkspaceConnectionData, CancellationToken)
  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}
  • Operation Id: WorkspaceConnections_Create
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}
  • Operation Id: WorkspaceConnections_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}
  • Operation Id: WorkspaceConnections_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceConnectionResource
Get(String, CancellationToken)
  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}
  • Operation Id: WorkspaceConnections_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceConnectionResource
GetAll(String, String, CancellationToken)
  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections
  • Operation Id: WorkspaceConnections_List
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceConnectionResource
GetAllAsync(String, String, CancellationToken)
  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections
  • Operation Id: WorkspaceConnections_List
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceConnectionResource
GetAsync(String, CancellationToken)
  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}
  • Operation Id: WorkspaceConnections_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}
  • Operation Id: WorkspaceConnections_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}
  • Operation Id: WorkspaceConnections_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceConnectionResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<MachineLearningWorkspaceConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MachineLearningWorkspaceConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to