Partilhar via


RestorePointGroupCollection Class

Definition

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

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

Constructors

RestorePointGroupCollection()

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

The operation to create or update the restore point collection. Please refer to https://aka.ms/RestorePoints for more details. When updating a restore point collection, only tags may be modified.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}
  • Operation Id: RestorePointCollections_CreateOrUpdate
  • Default Api Version: 2024-07-01
  • Resource: RestorePointGroupResource
CreateOrUpdateAsync(WaitUntil, String, RestorePointGroupData, CancellationToken)

The operation to create or update the restore point collection. Please refer to https://aka.ms/RestorePoints for more details. When updating a restore point collection, only tags may be modified.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}
  • Operation Id: RestorePointCollections_CreateOrUpdate
  • Default Api Version: 2024-07-01
  • Resource: RestorePointGroupResource
Exists(String, Nullable<RestorePointGroupExpand>, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}
  • Operation Id: RestorePointCollections_Get
  • Default Api Version: 2024-07-01
  • Resource: RestorePointGroupResource
ExistsAsync(String, Nullable<RestorePointGroupExpand>, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}
  • Operation Id: RestorePointCollections_Get
  • Default Api Version: 2024-07-01
  • Resource: RestorePointGroupResource
Get(String, Nullable<RestorePointGroupExpand>, CancellationToken)

The operation to get the restore point collection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}
  • Operation Id: RestorePointCollections_Get
  • Default Api Version: 2024-07-01
  • Resource: RestorePointGroupResource
GetAll(CancellationToken)

Gets the list of restore point collections in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections
  • Operation Id: RestorePointCollections_List
  • Default Api Version: 2024-07-01
  • Resource: RestorePointGroupResource
GetAllAsync(CancellationToken)

Gets the list of restore point collections in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections
  • Operation Id: RestorePointCollections_List
  • Default Api Version: 2024-07-01
  • Resource: RestorePointGroupResource
GetAsync(String, Nullable<RestorePointGroupExpand>, CancellationToken)

The operation to get the restore point collection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}
  • Operation Id: RestorePointCollections_Get
  • Default Api Version: 2024-07-01
  • Resource: RestorePointGroupResource
GetIfExists(String, Nullable<RestorePointGroupExpand>, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}
  • Operation Id: RestorePointCollections_Get
  • Default Api Version: 2024-07-01
  • Resource: RestorePointGroupResource
GetIfExistsAsync(String, Nullable<RestorePointGroupExpand>, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}
  • Operation Id: RestorePointCollections_Get
  • Default Api Version: 2024-07-01
  • Resource: RestorePointGroupResource
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<RestorePointGroupResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<RestorePointGroupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to