StaticSiteDatabaseConnectionCollection Class

Definition

A class representing a collection of StaticSiteDatabaseConnectionResource and their operations. Each StaticSiteDatabaseConnectionResource in the collection will belong to the same instance of StaticSiteResource. To get a StaticSiteDatabaseConnectionCollection instance call the GetStaticSiteDatabaseConnections method from an instance of StaticSiteResource.

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

Constructors

StaticSiteDatabaseConnectionCollection()

Initializes a new instance of the StaticSiteDatabaseConnectionCollection 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, StaticSiteDatabaseConnectionData, CancellationToken)

Description for Create or update a database connection for a static site

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}
  • Operation Id: StaticSites_CreateOrUpdateDatabaseConnection
  • Default Api Version: 2024-04-01
  • Resource: StaticSiteDatabaseConnectionResource
CreateOrUpdateAsync(WaitUntil, String, StaticSiteDatabaseConnectionData, CancellationToken)

Description for Create or update a database connection for a static site

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}
  • Operation Id: StaticSites_CreateOrUpdateDatabaseConnection
  • Default Api Version: 2024-04-01
  • Resource: StaticSiteDatabaseConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}
  • Operation Id: StaticSites_GetDatabaseConnection
  • Default Api Version: 2024-04-01
  • Resource: StaticSiteDatabaseConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}
  • Operation Id: StaticSites_GetDatabaseConnection
  • Default Api Version: 2024-04-01
  • Resource: StaticSiteDatabaseConnectionResource
Get(String, CancellationToken)

Returns overview of a database connection for a static site by name

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}
  • Operation Id: StaticSites_GetDatabaseConnection
  • Default Api Version: 2024-04-01
  • Resource: StaticSiteDatabaseConnectionResource
GetAll(CancellationToken)

Returns overviews of database connections for a static site

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections
  • Operation Id: StaticSites_GetDatabaseConnections
  • Default Api Version: 2024-04-01
  • Resource: StaticSiteDatabaseConnectionResource
GetAllAsync(CancellationToken)

Returns overviews of database connections for a static site

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections
  • Operation Id: StaticSites_GetDatabaseConnections
  • Default Api Version: 2024-04-01
  • Resource: StaticSiteDatabaseConnectionResource
GetAsync(String, CancellationToken)

Returns overview of a database connection for a static site by name

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}
  • Operation Id: StaticSites_GetDatabaseConnection
  • Default Api Version: 2024-04-01
  • Resource: StaticSiteDatabaseConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}
  • Operation Id: StaticSites_GetDatabaseConnection
  • Default Api Version: 2024-04-01
  • Resource: StaticSiteDatabaseConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}
  • Operation Id: StaticSites_GetDatabaseConnection
  • Default Api Version: 2024-04-01
  • Resource: StaticSiteDatabaseConnectionResource
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<StaticSiteDatabaseConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<StaticSiteDatabaseConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to