Freigeben über


CosmosDBSqlDatabase Class

Definition

CosmosDBSqlDatabase.

public class CosmosDBSqlDatabase : Azure.Provisioning.Primitives.Resource
type CosmosDBSqlDatabase = class
    inherit Resource
Public Class CosmosDBSqlDatabase
Inherits Resource
Inheritance

Constructors

CosmosDBSqlDatabase(String, String)

Creates a new CosmosDBSqlDatabase.

Properties

DependsOn

Declares explicit dependencies on other resources.

(Inherited from Resource)
Id

Gets the Id.

IdentifierName

Gets or sets the the Bicep identifier name of the resource. This can be used to refer to the resource in expressions, but is not the Azure name of the resource. This value can contain letters, numbers, and underscores.

(Inherited from NamedProvisioningConstruct)
Identity

Identity for the resource.

IsExistingResource

Gets whether this is referencing an existing resource or we're defining a new resource.

(Inherited from Resource)
Location

Gets or sets the Location.

Name

Cosmos DB database name.

Options

A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.

Parent

Gets or sets a reference to the parent CosmosDBAccount.

Resource

The standard JSON format of a SQL database.

ResourceType

Gets the type of the resource.

(Inherited from Resource)
ResourceVersion

Gets or sets the version of the resource.

(Inherited from Resource)
SystemData

Gets the SystemData.

Tags

Gets or sets the Tags.

Methods

Build(ProvisioningContext)

Compose the resource into a provisioning plan that can be saved as Bicep or deployed directly.

(Inherited from Resource)
Compile()

Compile the resource into a set of Bicep statements.

(Inherited from Resource)
FromExisting(String, String)

Creates a reference to an existing CosmosDBSqlDatabase.

GetResources()

Get any resources represented by this object. This will typically only be the object itself for everything but Infrastructure.

(Inherited from Provisionable)
OverrideWithExpression(Expression)

Set this construct to represent the result of an expression. This is primarily meant to be called via FromExpression static methods on specific resources or constructs.

(Inherited from ProvisioningConstruct)
Resolve(ProvisioningContext)

Resolve any resources or properties that were not explicitly specified.

(Inherited from ProvisioningConstruct)
Validate(ProvisioningContext)

Validate the presence of any required members.

(Inherited from Resource)

Applies to