NetAppBackupPolicyCollection Class

Definition

A class representing a collection of NetAppBackupPolicyResource and their operations. Each NetAppBackupPolicyResource in the collection will belong to the same instance of Azure.ResourceManager.NetApp.NetAppAccountResource. To get a NetAppBackupPolicyCollection instance call the GetNetAppBackupPolicies method from an instance of Azure.ResourceManager.NetApp.NetAppAccountResource.

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

Constructors

NetAppBackupPolicyCollection()

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

Create a backup policy for Netapp Account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}
  • Operation Id: BackupPolicies_Create
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupPolicyResource
CreateOrUpdateAsync(WaitUntil, String, NetAppBackupPolicyData, CancellationToken)

Create a backup policy for Netapp Account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}
  • Operation Id: BackupPolicies_Create
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupPolicyResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}
  • Operation Id: BackupPolicies_Get
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupPolicyResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}
  • Operation Id: BackupPolicies_Get
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupPolicyResource
Get(String, CancellationToken)

Get a particular backup Policy

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}
  • Operation Id: BackupPolicies_Get
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupPolicyResource
GetAll(CancellationToken)

List backup policies for Netapp Account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies
  • Operation Id: BackupPolicies_List
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupPolicyResource
GetAllAsync(CancellationToken)

List backup policies for Netapp Account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies
  • Operation Id: BackupPolicies_List
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupPolicyResource
GetAsync(String, CancellationToken)

Get a particular backup Policy

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}
  • Operation Id: BackupPolicies_Get
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupPolicyResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}
  • Operation Id: BackupPolicies_Get
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupPolicyResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}
  • Operation Id: BackupPolicies_Get
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupPolicyResource
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<NetAppBackupPolicyResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetAppBackupPolicyResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to