Share via


ResourceGroupLongTermRetentionManagedInstanceBackupCollection Class

Definition

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

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

Constructors

ResourceGroupLongTermRetentionManagedInstanceBackupCollection()

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

Checks to see if the resource exists in azure.

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

Gets a long term retention backup for a managed database.

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

Lists all long term retention backups for a managed database.

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

Lists all long term retention backups for a managed database.

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

Gets a long term retention backup for a managed database.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ResourceGroupLongTermRetentionManagedInstanceBackupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to