Udostępnij za pośrednictwem


BatchApplicationCollection Class

Definition

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

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

Constructors

BatchApplicationCollection()

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

Adds an application to the specified Batch account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}
  • Operation Id: Application_Create
  • Default Api Version: 2024-07-01
  • Resource: BatchApplicationResource
CreateOrUpdateAsync(WaitUntil, String, BatchApplicationData, CancellationToken)

Adds an application to the specified Batch account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}
  • Operation Id: Application_Create
  • Default Api Version: 2024-07-01
  • Resource: BatchApplicationResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets information about the specified application.

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

Lists all of the applications in the specified account.

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

Lists all of the applications in the specified account.

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

Gets information about the specified application.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BatchApplicationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to