共用方式為


PostgreSqlLtrServerBackupOperationCollection Class

Definition

A class representing a collection of PostgreSqlLtrServerBackupOperationResource and their operations. Each PostgreSqlLtrServerBackupOperationResource in the collection will belong to the same instance of PostgreSqlFlexibleServerResource. To get a PostgreSqlLtrServerBackupOperationCollection instance call the GetPostgreSqlLtrServerBackupOperations method from an instance of PostgreSqlFlexibleServerResource.

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

Constructors

PostgreSqlLtrServerBackupOperationCollection()

Initializes a new instance of the PostgreSqlLtrServerBackupOperationCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations/{backupName}
  • Operation Id: ltrBackupOperations_Get
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlLtrServerBackupOperationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations/{backupName}
  • Operation Id: ltrBackupOperations_Get
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlLtrServerBackupOperationResource
Get(String, CancellationToken)

Gets the result of the give long term retention backup operation for the flexible server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations/{backupName}
  • Operation Id: ltrBackupOperations_Get
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlLtrServerBackupOperationResource
GetAll(CancellationToken)

Gets the result of the give long term retention backup operations for the flexible server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations
  • Operation Id: ltrBackupOperations_ListByServer
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlLtrServerBackupOperationResource
GetAllAsync(CancellationToken)

Gets the result of the give long term retention backup operations for the flexible server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations
  • Operation Id: ltrBackupOperations_ListByServer
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlLtrServerBackupOperationResource
GetAsync(String, CancellationToken)

Gets the result of the give long term retention backup operation for the flexible server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations/{backupName}
  • Operation Id: ltrBackupOperations_Get
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlLtrServerBackupOperationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations/{backupName}
  • Operation Id: ltrBackupOperations_Get
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlLtrServerBackupOperationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations/{backupName}
  • Operation Id: ltrBackupOperations_Get
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlLtrServerBackupOperationResource
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<PostgreSqlLtrServerBackupOperationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PostgreSqlLtrServerBackupOperationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to