Dela via


BatchAccountDetectorCollection Class

Definition

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

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

Constructors

BatchAccountDetectorCollection()

Initializes a new instance of the BatchAccountDetectorCollection 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}/detectors/{detectorId}
  • Operation Id: BatchAccount_GetDetector
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountDetectorResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Gets information about the given detector for a given Batch account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectors/{detectorId}
  • Operation Id: BatchAccount_GetDetector
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountDetectorResource
GetAll(CancellationToken)

Gets information about the detectors available for a given Batch account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectors
  • Operation Id: BatchAccount_ListDetectors
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountDetectorResource
GetAllAsync(CancellationToken)

Gets information about the detectors available for a given Batch account.

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

Gets information about the given detector for a given Batch account.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BatchAccountDetectorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to