Share via


AvsPrivateCloudAddonCollection Class

Definition

A class representing a collection of AvsPrivateCloudAddonResource and their operations. Each AvsPrivateCloudAddonResource in the collection will belong to the same instance of AvsPrivateCloudResource. To get an AvsPrivateCloudAddonCollection instance call the GetAvsPrivateCloudAddons method from an instance of AvsPrivateCloudResource.

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

Constructors

AvsPrivateCloudAddonCollection()

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

Create or update a addon in a private cloud

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}
  • Operation Id: Addons_CreateOrUpdate
  • Default Api Version: 2023-03-01
  • Resource: AvsPrivateCloudAddonResource
CreateOrUpdateAsync(WaitUntil, String, AvsPrivateCloudAddonData, CancellationToken)

Create or update a addon in a private cloud

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}
  • Operation Id: Addons_CreateOrUpdate
  • Default Api Version: 2023-03-01
  • Resource: AvsPrivateCloudAddonResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}
  • Operation Id: Addons_Get
  • Default Api Version: 2023-03-01
  • Resource: AvsPrivateCloudAddonResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}
  • Operation Id: Addons_Get
  • Default Api Version: 2023-03-01
  • Resource: AvsPrivateCloudAddonResource
Get(String, CancellationToken)

Get an addon by name in a private cloud

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}
  • Operation Id: Addons_Get
  • Default Api Version: 2023-03-01
  • Resource: AvsPrivateCloudAddonResource
GetAll(CancellationToken)

List addons in a private cloud

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons
  • Operation Id: Addons_List
  • Default Api Version: 2023-03-01
  • Resource: AvsPrivateCloudAddonResource
GetAllAsync(CancellationToken)

List addons in a private cloud

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons
  • Operation Id: Addons_List
  • Default Api Version: 2023-03-01
  • Resource: AvsPrivateCloudAddonResource
GetAsync(String, CancellationToken)

Get an addon by name in a private cloud

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}
  • Operation Id: Addons_Get
  • Default Api Version: 2023-03-01
  • Resource: AvsPrivateCloudAddonResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}
  • Operation Id: Addons_Get
  • Default Api Version: 2023-03-01
  • Resource: AvsPrivateCloudAddonResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}
  • Operation Id: Addons_Get
  • Default Api Version: 2023-03-01
  • Resource: AvsPrivateCloudAddonResource
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<AvsPrivateCloudAddonResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AvsPrivateCloudAddonResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to