次の方法で共有


ComputeFleetCollection Class

Definition

A class representing a collection of ComputeFleetResource and their operations. Each ComputeFleetResource in the collection will belong to the same instance of ResourceGroupResource. To get a ComputeFleetCollection instance call the GetComputeFleets method from an instance of ResourceGroupResource.

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

Constructors

ComputeFleetCollection()

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

Create a Fleet

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{fleetName}
  • Operation Id: Fleet_CreateOrUpdate
  • Default Api Version: 2024-11-01
  • Resource: ComputeFleetResource
CreateOrUpdateAsync(WaitUntil, String, ComputeFleetData, CancellationToken)

Create a Fleet

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{fleetName}
  • Operation Id: Fleet_CreateOrUpdate
  • Default Api Version: 2024-11-01
  • Resource: ComputeFleetResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{fleetName}
  • Operation Id: Fleet_Get
  • Default Api Version: 2024-11-01
  • Resource: ComputeFleetResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{fleetName}
  • Operation Id: Fleet_Get
  • Default Api Version: 2024-11-01
  • Resource: ComputeFleetResource
Get(String, CancellationToken)

Get a Fleet

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{fleetName}
  • Operation Id: Fleet_Get
  • Default Api Version: 2024-11-01
  • Resource: ComputeFleetResource
GetAll(CancellationToken)

List Fleet resources by resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets
  • Operation Id: Fleet_ListByResourceGroup
  • Default Api Version: 2024-11-01
  • Resource: ComputeFleetResource
GetAllAsync(CancellationToken)

List Fleet resources by resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets
  • Operation Id: Fleet_ListByResourceGroup
  • Default Api Version: 2024-11-01
  • Resource: ComputeFleetResource
GetAsync(String, CancellationToken)

Get a Fleet

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{fleetName}
  • Operation Id: Fleet_Get
  • Default Api Version: 2024-11-01
  • Resource: ComputeFleetResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{fleetName}
  • Operation Id: Fleet_Get
  • Default Api Version: 2024-11-01
  • Resource: ComputeFleetResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{fleetName}
  • Operation Id: Fleet_Get
  • Default Api Version: 2024-11-01
  • Resource: ComputeFleetResource
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<ComputeFleetResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ComputeFleetResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to