SqlExtensions.GetSubscriptionLongTermRetentionManagedInstanceBackups 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 SubscriptionLongTermRetentionManagedInstanceBackupResources in the SubscriptionResource. MockingTo mock this method, please mock GetSubscriptionLongTermRetentionManagedInstanceBackups(AzureLocation, String, String) instead.
public static Azure.ResourceManager.Sql.SubscriptionLongTermRetentionManagedInstanceBackupCollection GetSubscriptionLongTermRetentionManagedInstanceBackups (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName, string managedInstanceName, string databaseName);
static member GetSubscriptionLongTermRetentionManagedInstanceBackups : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * string -> Azure.ResourceManager.Sql.SubscriptionLongTermRetentionManagedInstanceBackupCollection
<Extension()>
Public Function GetSubscriptionLongTermRetentionManagedInstanceBackups (subscriptionResource As SubscriptionResource, locationName As AzureLocation, managedInstanceName As String, databaseName As String) As SubscriptionLongTermRetentionManagedInstanceBackupCollection
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- locationName
- AzureLocation
The location of the database.
- managedInstanceName
- String
The name of the managed instance.
- databaseName
- String
The name of the managed database.
Returns
An object representing collection of SubscriptionLongTermRetentionManagedInstanceBackupResources and their operations over a SubscriptionLongTermRetentionManagedInstanceBackupResource.
Exceptions
subscriptionResource
, managedInstanceName
or databaseName
is null.
managedInstanceName
or databaseName
is an empty string, and was expected to be non-empty.