Condividi tramite


MockableSqlSubscriptionResource.GetSubscriptionLongTermRetentionManagedInstanceBackups Method

Definition

Gets a collection of SubscriptionLongTermRetentionManagedInstanceBackupResources in the SubscriptionResource.

public virtual Azure.ResourceManager.Sql.SubscriptionLongTermRetentionManagedInstanceBackupCollection GetSubscriptionLongTermRetentionManagedInstanceBackups (Azure.Core.AzureLocation locationName, string managedInstanceName, string databaseName);
abstract member GetSubscriptionLongTermRetentionManagedInstanceBackups : Azure.Core.AzureLocation * string * string -> Azure.ResourceManager.Sql.SubscriptionLongTermRetentionManagedInstanceBackupCollection
override this.GetSubscriptionLongTermRetentionManagedInstanceBackups : Azure.Core.AzureLocation * string * string -> Azure.ResourceManager.Sql.SubscriptionLongTermRetentionManagedInstanceBackupCollection
Public Overridable Function GetSubscriptionLongTermRetentionManagedInstanceBackups (locationName As AzureLocation, managedInstanceName As String, databaseName As String) As SubscriptionLongTermRetentionManagedInstanceBackupCollection

Parameters

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

managedInstanceName or databaseName is null.

managedInstanceName or databaseName is an empty string, and was expected to be non-empty.

Applies to