Aracılığıyla paylaş


ResourceGuardProxyBaseResourceCollection Class

Definition

A class representing a collection of ResourceGuardProxyBaseResource and their operations. Each ResourceGuardProxyBaseResource in the collection will belong to the same instance of DataProtectionBackupVaultResource. To get a ResourceGuardProxyBaseResourceCollection instance call the GetResourceGuardProxyBaseResources method from an instance of DataProtectionBackupVaultResource.

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

Constructors

ResourceGuardProxyBaseResourceCollection()

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

Creates or Updates a ResourceGuardProxy

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
  • Operation Id: DppResourceGuardProxy_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: ResourceGuardProxyBaseResource
CreateOrUpdateAsync(WaitUntil, String, ResourceGuardProxyBaseResourceData, CancellationToken)

Creates or Updates a ResourceGuardProxy

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
  • Operation Id: DppResourceGuardProxy_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: ResourceGuardProxyBaseResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
  • Operation Id: DppResourceGuardProxy_Get
  • Default Api Version: 2024-04-01
  • Resource: ResourceGuardProxyBaseResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
  • Operation Id: DppResourceGuardProxy_Get
  • Default Api Version: 2024-04-01
  • Resource: ResourceGuardProxyBaseResource
Get(String, CancellationToken)

Returns the ResourceGuardProxy object associated with the vault, and that matches the name in the request

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
  • Operation Id: DppResourceGuardProxy_Get
  • Default Api Version: 2024-04-01
  • Resource: ResourceGuardProxyBaseResource
GetAll(CancellationToken)

Returns the list of ResourceGuardProxies associated with the vault

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies
  • Operation Id: DppResourceGuardProxy_List
  • Default Api Version: 2024-04-01
  • Resource: ResourceGuardProxyBaseResource
GetAllAsync(CancellationToken)

Returns the list of ResourceGuardProxies associated with the vault

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies
  • Operation Id: DppResourceGuardProxy_List
  • Default Api Version: 2024-04-01
  • Resource: ResourceGuardProxyBaseResource
GetAsync(String, CancellationToken)

Returns the ResourceGuardProxy object associated with the vault, and that matches the name in the request

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
  • Operation Id: DppResourceGuardProxy_Get
  • Default Api Version: 2024-04-01
  • Resource: ResourceGuardProxyBaseResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
  • Operation Id: DppResourceGuardProxy_Get
  • Default Api Version: 2024-04-01
  • Resource: ResourceGuardProxyBaseResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
  • Operation Id: DppResourceGuardProxy_Get
  • Default Api Version: 2024-04-01
  • Resource: ResourceGuardProxyBaseResource
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<ResourceGuardProxyBaseResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ResourceGuardProxyBaseResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to