共用方式為


MachineLearningEnvironmentContainerCollection Class

Definition

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

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

Constructors

MachineLearningEnvironmentContainerCollection()

Initializes a new instance of the MachineLearningEnvironmentContainerCollection 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, MachineLearningEnvironmentContainerData, CancellationToken)

Create or update container.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}
  • Operation Id: EnvironmentContainers_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningEnvironmentContainerResource
CreateOrUpdateAsync(WaitUntil, String, MachineLearningEnvironmentContainerData, CancellationToken)

Create or update container.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}
  • Operation Id: EnvironmentContainers_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningEnvironmentContainerResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}
  • Operation Id: EnvironmentContainers_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningEnvironmentContainerResource
Get(String, CancellationToken)

Get container.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}
  • Operation Id: EnvironmentContainers_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningEnvironmentContainerResource
GetAll(String, Nullable<MachineLearningListViewType>, CancellationToken)

List environment containers.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments
  • Operation Id: EnvironmentContainers_List
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningEnvironmentContainerResource
GetAllAsync(String, Nullable<MachineLearningListViewType>, CancellationToken)

List environment containers.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments
  • Operation Id: EnvironmentContainers_List
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningEnvironmentContainerResource
GetAsync(String, CancellationToken)

Get container.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}
  • Operation Id: EnvironmentContainers_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningEnvironmentContainerResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}
  • Operation Id: EnvironmentContainers_Get
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningEnvironmentContainerResource
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<MachineLearningEnvironmentContainerResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MachineLearningEnvironmentContainerResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to