共用方式為


MongoDBCollection(String, String) Constructor

Definition

Creates a new MongoDBCollection.

public MongoDBCollection (string bicepIdentifier, string? resourceVersion = default);
public MongoDBCollection (string identifierName, string? resourceVersion = default);
new Azure.Provisioning.CosmosDB.MongoDBCollection : string * string -> Azure.Provisioning.CosmosDB.MongoDBCollection
new Azure.Provisioning.CosmosDB.MongoDBCollection : string * string -> Azure.Provisioning.CosmosDB.MongoDBCollection
Public Sub New (bicepIdentifier As String, Optional resourceVersion As String = Nothing)
Public Sub New (identifierName As String, Optional resourceVersion As String = Nothing)

Parameters

bicepIdentifieridentifierName
String

The the Bicep identifier name of the MongoDBCollection 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.

resourceVersion
String

Version of the MongoDBCollection.

Applies to