共用方式為


AvsPrivateCloudCollection Class

Definition

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

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

Constructors

AvsPrivateCloudCollection()

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

Create a PrivateCloud

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}
  • Operation Id: PrivateClouds_CreateOrUpdate
  • Default Api Version: 2023-09-01
  • Resource: AvsPrivateCloudResource
CreateOrUpdateAsync(WaitUntil, String, AvsPrivateCloudData, CancellationToken)

Create a PrivateCloud

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get a PrivateCloud

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}
  • Operation Id: PrivateClouds_Get
  • Default Api Version: 2023-09-01
  • Resource: AvsPrivateCloudResource
GetAll(CancellationToken)

List PrivateCloud resources by resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds
  • Operation Id: PrivateClouds_List
  • Default Api Version: 2023-09-01
  • Resource: AvsPrivateCloudResource
GetAllAsync(CancellationToken)

List PrivateCloud resources by resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds
  • Operation Id: PrivateClouds_List
  • Default Api Version: 2023-09-01
  • Resource: AvsPrivateCloudResource
GetAsync(String, CancellationToken)

Get a PrivateCloud

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AvsPrivateCloudResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to