SqlExtensions.GetSubscriptionLongTermRetentionBackups 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 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.