Share via


StaticSiteBuildDatabaseConnectionCollection Class

Definition

A class representing a collection of StaticSiteBuildDatabaseConnectionResource and their operations. Each StaticSiteBuildDatabaseConnectionResource in the collection will belong to the same instance of StaticSiteBuildResource. To get a StaticSiteBuildDatabaseConnectionCollection instance call the GetStaticSiteBuildDatabaseConnections method from an instance of StaticSiteBuildResource.

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

Constructors

StaticSiteBuildDatabaseConnectionCollection()

Initializes a new instance of the StaticSiteBuildDatabaseConnectionCollection 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 build

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

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

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

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

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

Returns overviews of database connections for a static site build

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

Returns overviews of database connections for a static site build

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

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

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<StaticSiteBuildDatabaseConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to