Megosztás a következőn keresztül:


SqlExtensions.GetResourceGroupLongTermRetentionManagedInstanceBackups Method

Definition

Gets a collection of ResourceGroupLongTermRetentionManagedInstanceBackupResources in the ResourceGroupResource. MockingTo mock this method, please mock GetResourceGroupLongTermRetentionManagedInstanceBackups(AzureLocation, String, String) instead.

public static Azure.ResourceManager.Sql.ResourceGroupLongTermRetentionManagedInstanceBackupCollection GetResourceGroupLongTermRetentionManagedInstanceBackups (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation locationName, string managedInstanceName, string databaseName);
static member GetResourceGroupLongTermRetentionManagedInstanceBackups : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * string * string -> Azure.ResourceManager.Sql.ResourceGroupLongTermRetentionManagedInstanceBackupCollection
<Extension()>
Public Function GetResourceGroupLongTermRetentionManagedInstanceBackups (resourceGroupResource As ResourceGroupResource, locationName As AzureLocation, managedInstanceName As String, databaseName As String) As ResourceGroupLongTermRetentionManagedInstanceBackupCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource 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 ResourceGroupLongTermRetentionManagedInstanceBackupResources and their operations over a ResourceGroupLongTermRetentionManagedInstanceBackupResource.

Exceptions

resourceGroupResource, managedInstanceName or databaseName is null.

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

Applies to