Megosztás a következőn keresztül:


ProximityPlacementGroupCollection Class

Definition

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

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

Constructors

ProximityPlacementGroupCollection()

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

Create or update a proximity placement group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}
  • Operation Id: ProximityPlacementGroups_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ProximityPlacementGroupResource
CreateOrUpdateAsync(WaitUntil, String, ProximityPlacementGroupData, CancellationToken)

Create or update a proximity placement group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}
  • Operation Id: ProximityPlacementGroups_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ProximityPlacementGroupResource
Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}
  • Operation Id: ProximityPlacementGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: ProximityPlacementGroupResource
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}
  • Operation Id: ProximityPlacementGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: ProximityPlacementGroupResource
Get(String, String, CancellationToken)

Retrieves information about a proximity placement group .

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}
  • Operation Id: ProximityPlacementGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: ProximityPlacementGroupResource
GetAll(CancellationToken)

Lists all proximity placement groups in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups
  • Operation Id: ProximityPlacementGroups_ListByResourceGroup
  • Default Api Version: 2024-03-01
  • Resource: ProximityPlacementGroupResource
GetAllAsync(CancellationToken)

Lists all proximity placement groups in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups
  • Operation Id: ProximityPlacementGroups_ListByResourceGroup
  • Default Api Version: 2024-03-01
  • Resource: ProximityPlacementGroupResource
GetAsync(String, String, CancellationToken)

Retrieves information about a proximity placement group .

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}
  • Operation Id: ProximityPlacementGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: ProximityPlacementGroupResource
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}
  • Operation Id: ProximityPlacementGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: ProximityPlacementGroupResource
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}
  • Operation Id: ProximityPlacementGroups_Get
  • Default Api Version: 2024-03-01
  • Resource: ProximityPlacementGroupResource
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<ProximityPlacementGroupResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ProximityPlacementGroupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to