ElasticPoolCollection Class

Definition

A class representing a collection of ElasticPoolResource and their operations. Each ElasticPoolResource in the collection will belong to the same instance of SqlServerResource. To get an ElasticPoolCollection instance call the GetElasticPools method from an instance of SqlServerResource.

public class ElasticPoolCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Sql.ElasticPoolResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.ElasticPoolResource>
type ElasticPoolCollection = class
    inherit ArmCollection
    interface seq<ElasticPoolResource>
    interface IEnumerable
    interface IAsyncEnumerable<ElasticPoolResource>
Public Class ElasticPoolCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ElasticPoolResource), IEnumerable(Of ElasticPoolResource)
Inheritance
ElasticPoolCollection
Implements

Constructors

ElasticPoolCollection()

Initializes a new instance of the ElasticPoolCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, ElasticPoolData, CancellationToken)

Creates or updates an elastic pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}
  • Operation Id: ElasticPools_CreateOrUpdate
  • Default Api Version: 2022-08-01-preview
  • Resource: ElasticPoolResource
CreateOrUpdateAsync(WaitUntil, String, ElasticPoolData, CancellationToken)

Creates or updates an elastic pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}
  • Operation Id: ElasticPools_CreateOrUpdate
  • Default Api Version: 2022-08-01-preview
  • Resource: ElasticPoolResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}
  • Operation Id: ElasticPools_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: ElasticPoolResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}
  • Operation Id: ElasticPools_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: ElasticPoolResource
Get(String, CancellationToken)

Gets an elastic pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}
  • Operation Id: ElasticPools_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: ElasticPoolResource
GetAll(Nullable<Int64>, CancellationToken)

Gets all elastic pools in a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools
  • Operation Id: ElasticPools_ListByServer
  • Default Api Version: 2022-08-01-preview
  • Resource: ElasticPoolResource
GetAllAsync(Nullable<Int64>, CancellationToken)

Gets all elastic pools in a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools
  • Operation Id: ElasticPools_ListByServer
  • Default Api Version: 2022-08-01-preview
  • Resource: ElasticPoolResource
GetAsync(String, CancellationToken)

Gets an elastic pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}
  • Operation Id: ElasticPools_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: ElasticPoolResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}
  • Operation Id: ElasticPools_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: ElasticPoolResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}
  • Operation Id: ElasticPools_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: ElasticPoolResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<ElasticPoolResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ElasticPoolResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to