Compartilhar via


AutoUpgradeProfileCollection Class

Definition

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

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

Constructors

AutoUpgradeProfileCollection()

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

Create a AutoUpgradeProfile

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

Create a AutoUpgradeProfile

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get a AutoUpgradeProfile

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

List AutoUpgradeProfile resources by Fleet

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

List AutoUpgradeProfile resources by Fleet

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

Get a AutoUpgradeProfile

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AutoUpgradeProfileResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to