共用方式為


ReplicationProtectionIntentCollection Class

Definition

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

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

Constructors

ReplicationProtectionIntentCollection()

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

The operation to create an ASR replication protection intent item.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents/{intentObjectName}
  • Operation Id: ReplicationProtectionIntents_Create
  • Default Api Version: 2023-08-01
  • Resource: ReplicationProtectionIntentResource
CreateOrUpdateAsync(WaitUntil, String, ReplicationProtectionIntentCreateOrUpdateContent, CancellationToken)

The operation to create an ASR replication protection intent item.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents/{intentObjectName}
  • Operation Id: ReplicationProtectionIntents_Create
  • Default Api Version: 2023-08-01
  • Resource: ReplicationProtectionIntentResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents/{intentObjectName}
  • Operation Id: ReplicationProtectionIntents_Get
  • Default Api Version: 2023-08-01
  • Resource: ReplicationProtectionIntentResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents/{intentObjectName}
  • Operation Id: ReplicationProtectionIntents_Get
  • Default Api Version: 2023-08-01
  • Resource: ReplicationProtectionIntentResource
Get(String, CancellationToken)

Gets the details of an ASR replication protection intent.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents/{intentObjectName}
  • Operation Id: ReplicationProtectionIntents_Get
  • Default Api Version: 2023-08-01
  • Resource: ReplicationProtectionIntentResource
GetAll(String, String, CancellationToken)

Gets the list of ASR replication protection intent objects in the vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents
  • Operation Id: ReplicationProtectionIntents_List
  • Default Api Version: 2023-08-01
  • Resource: ReplicationProtectionIntentResource
GetAllAsync(String, String, CancellationToken)

Gets the list of ASR replication protection intent objects in the vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents
  • Operation Id: ReplicationProtectionIntents_List
  • Default Api Version: 2023-08-01
  • Resource: ReplicationProtectionIntentResource
GetAsync(String, CancellationToken)

Gets the details of an ASR replication protection intent.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents/{intentObjectName}
  • Operation Id: ReplicationProtectionIntents_Get
  • Default Api Version: 2023-08-01
  • Resource: ReplicationProtectionIntentResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents/{intentObjectName}
  • Operation Id: ReplicationProtectionIntents_Get
  • Default Api Version: 2023-08-01
  • Resource: ReplicationProtectionIntentResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents/{intentObjectName}
  • Operation Id: ReplicationProtectionIntents_Get
  • Default Api Version: 2023-08-01
  • Resource: ReplicationProtectionIntentResource
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<ReplicationProtectionIntentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ReplicationProtectionIntentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to