共用方式為


SynapseGeoBackupPolicyCollection Class

Definition

A class representing a collection of SynapseGeoBackupPolicyResource and their operations. Each SynapseGeoBackupPolicyResource in the collection will belong to the same instance of SynapseSqlPoolResource. To get a SynapseGeoBackupPolicyCollection instance call the GetSynapseGeoBackupPolicies method from an instance of SynapseSqlPoolResource.

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

Constructors

SynapseGeoBackupPolicyCollection()

Initializes a new instance of the SynapseGeoBackupPolicyCollection 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, SynapseGeoBackupPolicyName, SynapseGeoBackupPolicyData, CancellationToken)

Updates a SQL Pool geo backup policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/geoBackupPolicies/{geoBackupPolicyName}
  • Operation Id: SqlPoolGeoBackupPolicies_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, SynapseGeoBackupPolicyName, SynapseGeoBackupPolicyData, CancellationToken)

Updates a SQL Pool geo backup policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/geoBackupPolicies/{geoBackupPolicyName}
  • Operation Id: SqlPoolGeoBackupPolicies_CreateOrUpdate
Exists(SynapseGeoBackupPolicyName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/geoBackupPolicies/{geoBackupPolicyName}
  • Operation Id: SqlPoolGeoBackupPolicies_Get
ExistsAsync(SynapseGeoBackupPolicyName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/geoBackupPolicies/{geoBackupPolicyName}
  • Operation Id: SqlPoolGeoBackupPolicies_Get
Get(SynapseGeoBackupPolicyName, CancellationToken)

Get the specified SQL pool geo backup policy

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/geoBackupPolicies/{geoBackupPolicyName}
  • Operation Id: SqlPoolGeoBackupPolicies_Get
GetAll(CancellationToken)

Get list of SQL pool geo backup policies

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/geoBackupPolicies
  • Operation Id: SqlPoolGeoBackupPolicies_List
GetAllAsync(CancellationToken)

Get list of SQL pool geo backup policies

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/geoBackupPolicies
  • Operation Id: SqlPoolGeoBackupPolicies_List
GetAsync(SynapseGeoBackupPolicyName, CancellationToken)

Get the specified SQL pool geo backup policy

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/geoBackupPolicies/{geoBackupPolicyName}
  • Operation Id: SqlPoolGeoBackupPolicies_Get
GetIfExists(SynapseGeoBackupPolicyName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/geoBackupPolicies/{geoBackupPolicyName}
  • Operation Id: SqlPoolGeoBackupPolicies_Get
GetIfExistsAsync(SynapseGeoBackupPolicyName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/geoBackupPolicies/{geoBackupPolicyName}
  • Operation Id: SqlPoolGeoBackupPolicies_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<SynapseGeoBackupPolicyResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SynapseGeoBackupPolicyResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to