SubscriptionLongTermRetentionManagedInstanceBackupCollection Class

Definition

A class representing a collection of SubscriptionLongTermRetentionManagedInstanceBackupResource and their operations. Each SubscriptionLongTermRetentionManagedInstanceBackupResource in the collection will belong to the same instance of SubscriptionResource. To get a SubscriptionLongTermRetentionManagedInstanceBackupCollection instance call the GetSubscriptionLongTermRetentionManagedInstanceBackups method from an instance of SubscriptionResource.

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

Constructors

SubscriptionLongTermRetentionManagedInstanceBackupCollection()

Initializes a new instance of the SubscriptionLongTermRetentionManagedInstanceBackupCollection 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}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}
  • Operation Id: LongTermRetentionManagedInstanceBackups_Get
  • Default Api Version: 2021-05-01-preview
  • Resource: SubscriptionLongTermRetentionManagedInstanceBackupResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}
  • Operation Id: LongTermRetentionManagedInstanceBackups_Get
  • Default Api Version: 2021-05-01-preview
  • Resource: SubscriptionLongTermRetentionManagedInstanceBackupResource
Get(String, CancellationToken)

Gets a long term retention backup for a managed database.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}
  • Operation Id: LongTermRetentionManagedInstanceBackups_Get
  • Default Api Version: 2021-05-01-preview
  • Resource: SubscriptionLongTermRetentionManagedInstanceBackupResource
GetAll(Nullable<Boolean>, Nullable<SqlDatabaseState>, CancellationToken)

Lists all long term retention backups for a managed database.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups
  • Operation Id: LongTermRetentionManagedInstanceBackups_ListByDatabase
  • Default Api Version: 2021-05-01-preview
  • Resource: SubscriptionLongTermRetentionManagedInstanceBackupResource
GetAllAsync(Nullable<Boolean>, Nullable<SqlDatabaseState>, CancellationToken)

Lists all long term retention backups for a managed database.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups
  • Operation Id: LongTermRetentionManagedInstanceBackups_ListByDatabase
  • Default Api Version: 2021-05-01-preview
  • Resource: SubscriptionLongTermRetentionManagedInstanceBackupResource
GetAsync(String, CancellationToken)

Gets a long term retention backup for a managed database.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}
  • Operation Id: LongTermRetentionManagedInstanceBackups_Get
  • Default Api Version: 2021-05-01-preview
  • Resource: SubscriptionLongTermRetentionManagedInstanceBackupResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}
  • Operation Id: LongTermRetentionManagedInstanceBackups_Get
  • Default Api Version: 2021-05-01-preview
  • Resource: SubscriptionLongTermRetentionManagedInstanceBackupResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}
  • Operation Id: LongTermRetentionManagedInstanceBackups_Get
  • Default Api Version: 2021-05-01-preview
  • Resource: SubscriptionLongTermRetentionManagedInstanceBackupResource
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<SubscriptionLongTermRetentionManagedInstanceBackupResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SubscriptionLongTermRetentionManagedInstanceBackupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to