MockableSqlVirtualMachineSubscriptionResource.GetSqlVms 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 all SQL virtual machines in a subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines
- Operation Id: SqlVirtualMachines_List
public virtual Azure.Pageable<Azure.ResourceManager.SqlVirtualMachine.SqlVmResource> GetSqlVms (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSqlVms : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SqlVirtualMachine.SqlVmResource>
override this.GetSqlVms : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SqlVirtualMachine.SqlVmResource>
Public Overridable Function GetSqlVms (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SqlVmResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of SqlVmResource that may take multiple service requests to iterate over.