共用方式為


HcxEnterpriseSiteCollection Class

Definition

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

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

Constructors

HcxEnterpriseSiteCollection()

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

Create a HcxEnterpriseSite

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

Create a HcxEnterpriseSite

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get a HcxEnterpriseSite

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

List HcxEnterpriseSite resources by PrivateCloud

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

List HcxEnterpriseSite resources by PrivateCloud

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

Get a HcxEnterpriseSite

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<HcxEnterpriseSiteResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to