MockableSqlSubscriptionResource.GetDeletedServers 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.
Overloads
GetDeletedServers(AzureLocation) |
Gets a collection of DeletedServerResources in the SubscriptionResource. |
GetDeletedServers(CancellationToken) |
Gets a list of all deleted servers in a subscription.
|
GetDeletedServers(AzureLocation)
Gets a collection of DeletedServerResources in the SubscriptionResource.
public virtual Azure.ResourceManager.Sql.DeletedServerCollection GetDeletedServers (Azure.Core.AzureLocation locationName);
abstract member GetDeletedServers : Azure.Core.AzureLocation -> Azure.ResourceManager.Sql.DeletedServerCollection
override this.GetDeletedServers : Azure.Core.AzureLocation -> Azure.ResourceManager.Sql.DeletedServerCollection
Public Overridable Function GetDeletedServers (locationName As AzureLocation) As DeletedServerCollection
Parameters
- locationName
- AzureLocation
The name of the region where the resource is located.
Returns
An object representing collection of DeletedServerResources and their operations over a DeletedServerResource.
Applies to
GetDeletedServers(CancellationToken)
Gets a list of all deleted servers in a subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Sql/deletedServers
- Operation Id: DeletedServers_List
- Default Api Version: 2020-11-01-preview
- Resource: DeletedServerResource
public virtual Azure.Pageable<Azure.ResourceManager.Sql.DeletedServerResource> GetDeletedServers (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeletedServers : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.DeletedServerResource>
override this.GetDeletedServers : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.DeletedServerResource>
Public Overridable Function GetDeletedServers (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DeletedServerResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of DeletedServerResource that may take multiple service requests to iterate over.
Applies to
Azure SDK for .NET