Share via


ArmCosmosDBModelFactory.MaterializedViewsBuilderServiceProperties Method

Definition

Initializes a new instance of MaterializedViewsBuilderServiceProperties.

public static Azure.ResourceManager.CosmosDB.Models.MaterializedViewsBuilderServiceProperties MaterializedViewsBuilderServiceProperties (DateTimeOffset? createdOn = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceSize? instanceSize = default, int? instanceCount = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceStatus? status = default, System.Collections.Generic.IDictionary<string,BinaryData> additionalProperties = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.MaterializedViewsBuilderRegionalService> locations = default);
static member MaterializedViewsBuilderServiceProperties : Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceSize> * Nullable<int> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceStatus> * System.Collections.Generic.IDictionary<string, BinaryData> * seq<Azure.ResourceManager.CosmosDB.Models.MaterializedViewsBuilderRegionalService> -> Azure.ResourceManager.CosmosDB.Models.MaterializedViewsBuilderServiceProperties
Public Shared Function MaterializedViewsBuilderServiceProperties (Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional instanceSize As Nullable(Of CosmosDBServiceSize) = Nothing, Optional instanceCount As Nullable(Of Integer) = Nothing, Optional status As Nullable(Of CosmosDBServiceStatus) = Nothing, Optional additionalProperties As IDictionary(Of String, BinaryData) = Nothing, Optional locations As IEnumerable(Of MaterializedViewsBuilderRegionalService) = Nothing) As MaterializedViewsBuilderServiceProperties

Parameters

createdOn
Nullable<DateTimeOffset>

Time of the last state change (ISO-8601 format).

instanceSize
Nullable<CosmosDBServiceSize>

Instance type for the service.

instanceCount
Nullable<Int32>

Instance count for the service.

status
Nullable<CosmosDBServiceStatus>

Describes the status of a service.

additionalProperties
IDictionary<String,BinaryData>

Additional Properties.

locations
IEnumerable<MaterializedViewsBuilderRegionalService>

An array that contains all of the locations for the service.

Returns

A new MaterializedViewsBuilderServiceProperties instance for mocking.

Applies to