Delen via


FleetUpdateStrategyCollection Class

Definition

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

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

Constructors

FleetUpdateStrategyCollection()

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

Create a FleetUpdateStrategy

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

Create a FleetUpdateStrategy

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get a FleetUpdateStrategy

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

List FleetUpdateStrategy resources by Fleet

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

List FleetUpdateStrategy resources by Fleet

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

Get a FleetUpdateStrategy

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<FleetUpdateStrategyResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to