ResourceGuardProxyCollection Class

Definition

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

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

Constructors

ResourceGuardProxyCollection()

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

Add or Update ResourceGuardProxy under vault Secures vault critical operations

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
  • Operation Id: ResourceGuardProxy_Put
CreateOrUpdateAsync(WaitUntil, String, ResourceGuardProxyData, CancellationToken)

Add or Update ResourceGuardProxy under vault Secures vault critical operations

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
  • Operation Id: ResourceGuardProxy_Put
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
  • Operation Id: ResourceGuardProxy_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
  • Operation Id: ResourceGuardProxy_Get
Get(String, CancellationToken)

Returns ResourceGuardProxy under vault and with the name referenced in request

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
  • Operation Id: ResourceGuardProxy_Get
GetAll(CancellationToken)

List the ResourceGuardProxies under vault

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies
  • Operation Id: ResourceGuardProxy_List
GetAllAsync(CancellationToken)

List the ResourceGuardProxies under vault

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies
  • Operation Id: ResourceGuardProxy_List
GetAsync(String, CancellationToken)

Returns ResourceGuardProxy under vault and with the name referenced in request

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
  • Operation Id: ResourceGuardProxy_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
  • Operation Id: ResourceGuardProxy_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
  • Operation Id: ResourceGuardProxy_Get
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<ResourceGuardProxyResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ResourceGuardProxyResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to