Share via


ArmCosmosDBModelFactory.MaterializedViewDefinition Method

Definition

Initializes a new instance of MaterializedViewDefinition.

public static Azure.ResourceManager.CosmosDB.Models.MaterializedViewDefinition MaterializedViewDefinition (string sourceCollectionRid = default, string sourceCollectionId = default, string definition = default);
static member MaterializedViewDefinition : string * string * string -> Azure.ResourceManager.CosmosDB.Models.MaterializedViewDefinition
Public Shared Function MaterializedViewDefinition (Optional sourceCollectionRid As String = Nothing, Optional sourceCollectionId As String = Nothing, Optional definition As String = Nothing) As MaterializedViewDefinition

Parameters

sourceCollectionRid
String

An unique identifier for the source collection. This is a system generated property.

sourceCollectionId
String

The name of the source container on which the Materialized View will be created.

definition
String

The definition should be an SQL query which would be used to fetch data from the source container to populate into the Materialized View container.

Returns

A new MaterializedViewDefinition instance for mocking.

Applies to