Freigeben über


ContainerServiceFleetCollection Class

Definition

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

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

Constructors

ContainerServiceFleetCollection()

Initializes a new instance of the ContainerServiceFleetCollection 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, ContainerServiceFleetData, String, String, CancellationToken)

Creates or updates a Fleet.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}
  • Operation Id: Fleets_CreateOrUpdate
  • Default Api Version: 2024-05-02-preview
  • Resource: ContainerServiceFleetResource
CreateOrUpdateAsync(WaitUntil, String, ContainerServiceFleetData, String, String, CancellationToken)

Creates or updates a Fleet.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}
  • Operation Id: Fleets_CreateOrUpdate
  • Default Api Version: 2024-05-02-preview
  • Resource: ContainerServiceFleetResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}
  • Operation Id: Fleets_Get
  • Default Api Version: 2024-05-02-preview
  • Resource: ContainerServiceFleetResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}
  • Operation Id: Fleets_Get
  • Default Api Version: 2024-05-02-preview
  • Resource: ContainerServiceFleetResource
Get(String, CancellationToken)

Gets a Fleet.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}
  • Operation Id: Fleets_Get
  • Default Api Version: 2024-05-02-preview
  • Resource: ContainerServiceFleetResource
GetAll(CancellationToken)

Lists fleets in the specified subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets
  • Operation Id: Fleets_ListByResourceGroup
  • Default Api Version: 2024-05-02-preview
  • Resource: ContainerServiceFleetResource
GetAllAsync(CancellationToken)

Lists fleets in the specified subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets
  • Operation Id: Fleets_ListByResourceGroup
  • Default Api Version: 2024-05-02-preview
  • Resource: ContainerServiceFleetResource
GetAsync(String, CancellationToken)

Gets a Fleet.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}
  • Operation Id: Fleets_Get
  • Default Api Version: 2024-05-02-preview
  • Resource: ContainerServiceFleetResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}
  • Operation Id: Fleets_Get
  • Default Api Version: 2024-05-02-preview
  • Resource: ContainerServiceFleetResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}
  • Operation Id: Fleets_Get
  • Default Api Version: 2024-05-02-preview
  • Resource: ContainerServiceFleetResource
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<ContainerServiceFleetResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ContainerServiceFleetResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to