Share via


MockableSqlResourceGroupResource.GetResourceGroupLongTermRetentionManagedInstanceBackups Method

Definition

Gets a collection of ResourceGroupLongTermRetentionManagedInstanceBackupResources in the ResourceGroupResource.

public virtual Azure.ResourceManager.Sql.ResourceGroupLongTermRetentionManagedInstanceBackupCollection GetResourceGroupLongTermRetentionManagedInstanceBackups (Azure.Core.AzureLocation locationName, string managedInstanceName, string databaseName);
abstract member GetResourceGroupLongTermRetentionManagedInstanceBackups : Azure.Core.AzureLocation * string * string -> Azure.ResourceManager.Sql.ResourceGroupLongTermRetentionManagedInstanceBackupCollection
override this.GetResourceGroupLongTermRetentionManagedInstanceBackups : Azure.Core.AzureLocation * string * string -> Azure.ResourceManager.Sql.ResourceGroupLongTermRetentionManagedInstanceBackupCollection
Public Overridable Function GetResourceGroupLongTermRetentionManagedInstanceBackups (locationName As AzureLocation, managedInstanceName As String, databaseName As String) As ResourceGroupLongTermRetentionManagedInstanceBackupCollection

Parameters

locationName
AzureLocation

The location of the database.

managedInstanceName
String

The name of the managed instance.

databaseName
String

The name of the managed database.

Returns

An object representing collection of ResourceGroupLongTermRetentionManagedInstanceBackupResources and their operations over a ResourceGroupLongTermRetentionManagedInstanceBackupResource.

Exceptions

managedInstanceName or databaseName is null.

managedInstanceName or databaseName is an empty string, and was expected to be non-empty.

Applies to