Langue

SqlExtensions.GetResourceGroupLongTermRetentionManagedInstanceBackups Method

Definition

Gets a collection of ResourceGroupLongTermRetentionManagedInstanceBackups in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetResourceGroupLongTermRetentionManagedInstanceBackups(AzureLocation, String, String) instead. </item>

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 the method will execute against.

locationName
AzureLocation

The locationName for the resource.

managedInstanceName
String

The managedInstanceName for the resource.

databaseName
String

The databaseName for the resource.

Returns

An object representing collection of ResourceGroupLongTermRetentionManagedInstanceBackups and their operations over a ResourceGroupLongTermRetentionManagedInstanceBackupResource.

Exceptions

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

resourceGroupResource is null.

Applies to