Compartilhar via


ArmCosmosDBModelFactory.GraphApiComputeServiceProperties Method

Definition

Initializes a new instance of GraphApiComputeServiceProperties.

public static Azure.ResourceManager.CosmosDB.Models.GraphApiComputeServiceProperties GraphApiComputeServiceProperties (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, string graphApiComputeEndpoint = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.GraphApiComputeRegionalService> locations = default);
static member GraphApiComputeServiceProperties : Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceSize> * Nullable<int> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceStatus> * System.Collections.Generic.IDictionary<string, BinaryData> * string * seq<Azure.ResourceManager.CosmosDB.Models.GraphApiComputeRegionalService> -> Azure.ResourceManager.CosmosDB.Models.GraphApiComputeServiceProperties
Public Shared Function GraphApiComputeServiceProperties (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 graphApiComputeEndpoint As String = Nothing, Optional locations As IEnumerable(Of GraphApiComputeRegionalService) = Nothing) As GraphApiComputeServiceProperties

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.

graphApiComputeEndpoint
String

GraphAPICompute endpoint for the service.

locations
IEnumerable<GraphApiComputeRegionalService>

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

Returns

A new GraphApiComputeServiceProperties instance for mocking.

Applies to