Sprog

SqlExtensions.GetSubscriptionLongTermRetentionBackups Method

Definition

Gets a collection of SubscriptionLongTermRetentionBackups in the SubscriptionResource<item> Mocking. To mock this method, please mock GetSubscriptionLongTermRetentionBackups(AzureLocation, String, String) instead. </item>

public static Azure.ResourceManager.Sql.SubscriptionLongTermRetentionBackupCollection GetSubscriptionLongTermRetentionBackups(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName);
static member GetSubscriptionLongTermRetentionBackups : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * string -> Azure.ResourceManager.Sql.SubscriptionLongTermRetentionBackupCollection
<Extension()>
Public Function GetSubscriptionLongTermRetentionBackups (subscriptionResource As SubscriptionResource, locationName As AzureLocation, longTermRetentionServerName As String, longTermRetentionDatabaseName As String) As SubscriptionLongTermRetentionBackupCollection

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource 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 SubscriptionLongTermRetentionBackups and their operations over a SubscriptionLongTermRetentionBackupResource.

Exceptions

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

subscriptionResource is null.

Applies to