Language

SqlExtensions.GetResourceGroupLongTermRetentionBackups Method

Definition

Gets a collection of ResourceGroupLongTermRetentionBackups in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetResourceGroupLongTermRetentionBackups(AzureLocation, String, String) instead. </item>

public static Azure.ResourceManager.Sql.ResourceGroupLongTermRetentionBackupCollection GetResourceGroupLongTermRetentionBackups(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName);
static member GetResourceGroupLongTermRetentionBackups : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * string * string -> Azure.ResourceManager.Sql.ResourceGroupLongTermRetentionBackupCollection
<Extension()>
Public Function GetResourceGroupLongTermRetentionBackups (resourceGroupResource As ResourceGroupResource, locationName As AzureLocation, longTermRetentionServerName As String, longTermRetentionDatabaseName As String) As ResourceGroupLongTermRetentionBackupCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource the method will execute against.

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 an empty string, and was expected to be non-empty.

resourceGroupResource is null.

Applies to