MockableSqlResourceGroupResource.GetResourceGroupLongTermRetentionBackups Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of ResourceGroupLongTermRetentionBackups 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 locationName for the resource.
- longTermRetentionServerName
- String
The longTermRetentionServerName for the resource.
- longTermRetentionDatabaseName
- String
The longTermRetentionDatabaseName for the resource.
Returns
An object representing collection of ResourceGroupLongTermRetentionBackups 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.