Share via


MockableSqlResourceGroupResource.GetResourceGroupLongTermRetentionBackups Method

Definition

Gets a collection of ResourceGroupLongTermRetentionBackupResources in the ResourceGroupResource.

public virtual Azure.ResourceManager.Sql.ResourceGroupLongTermRetentionBackupCollection GetResourceGroupLongTermRetentionBackups (Azure.Core.AzureLocation locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName);
abstract member GetResourceGroupLongTermRetentionBackups : Azure.Core.AzureLocation * string * string -> Azure.ResourceManager.Sql.ResourceGroupLongTermRetentionBackupCollection
override this.GetResourceGroupLongTermRetentionBackups : Azure.Core.AzureLocation * string * string -> Azure.ResourceManager.Sql.ResourceGroupLongTermRetentionBackupCollection
Public Overridable Function GetResourceGroupLongTermRetentionBackups (locationName As AzureLocation, longTermRetentionServerName As String, longTermRetentionDatabaseName As String) As ResourceGroupLongTermRetentionBackupCollection

Parameters

locationName
AzureLocation

The location of the database.

longTermRetentionServerName
String

The name of the server.

longTermRetentionDatabaseName
String

The name of the database.

Returns

An object representing collection of ResourceGroupLongTermRetentionBackupResources and their operations over a ResourceGroupLongTermRetentionBackupResource.

Exceptions

longTermRetentionServerName or longTermRetentionDatabaseName is null.

longTermRetentionServerName or longTermRetentionDatabaseName is an empty string, and was expected to be non-empty.

Applies to