共用方式為


BatchPrivateEndpointConnectionCollection Class

Definition

A class representing a collection of BatchPrivateEndpointConnectionResource and their operations. Each BatchPrivateEndpointConnectionResource in the collection will belong to the same instance of BatchAccountResource. To get a BatchPrivateEndpointConnectionCollection instance call the GetBatchPrivateEndpointConnections method from an instance of BatchAccountResource.

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

Constructors

BatchPrivateEndpointConnectionCollection()

Initializes a new instance of the BatchPrivateEndpointConnectionCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnection_Get
  • Default Api Version: 2024-07-01
  • Resource: BatchPrivateEndpointConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnection_Get
  • Default Api Version: 2024-07-01
  • Resource: BatchPrivateEndpointConnectionResource
Get(String, CancellationToken)

Gets information about the specified private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnection_Get
  • Default Api Version: 2024-07-01
  • Resource: BatchPrivateEndpointConnectionResource
GetAll(Nullable<Int32>, CancellationToken)

Lists all of the private endpoint connections in the specified account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnection_ListByBatchAccount
  • Default Api Version: 2024-07-01
  • Resource: BatchPrivateEndpointConnectionResource
GetAllAsync(Nullable<Int32>, CancellationToken)

Lists all of the private endpoint connections in the specified account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnection_ListByBatchAccount
  • Default Api Version: 2024-07-01
  • Resource: BatchPrivateEndpointConnectionResource
GetAsync(String, CancellationToken)

Gets information about the specified private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnection_Get
  • Default Api Version: 2024-07-01
  • Resource: BatchPrivateEndpointConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnection_Get
  • Default Api Version: 2024-07-01
  • Resource: BatchPrivateEndpointConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnection_Get
  • Default Api Version: 2024-07-01
  • Resource: BatchPrivateEndpointConnectionResource
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<BatchPrivateEndpointConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BatchPrivateEndpointConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to