CosmosDBSqlDatabase.FromExisting(IConstruct, String, CosmosDBAccount) Method

Definition

Creates a new instance of the CosmosDBAccount class referencing an existing instance.

public static Azure.Provisioning.CosmosDB.CosmosDBSqlDatabase FromExisting (Azure.Provisioning.IConstruct scope, string name, Azure.Provisioning.CosmosDB.CosmosDBAccount parent);
static member FromExisting : Azure.Provisioning.IConstruct * string * Azure.Provisioning.CosmosDB.CosmosDBAccount -> Azure.Provisioning.CosmosDB.CosmosDBSqlDatabase
Public Shared Function FromExisting (scope As IConstruct, name As String, parent As CosmosDBAccount) As CosmosDBSqlDatabase

Parameters

scope
IConstruct

The scope.

name
String

The resource name.

parent
CosmosDBAccount

The resource group.

Returns

The KeyVault instance.

Applies to