Compartilhar via


ArmCosmosDBModelFactory.GraphApiComputeRegionalService Method

Definition

Initializes a new instance of GraphApiComputeRegionalService.

public static Azure.ResourceManager.CosmosDB.Models.GraphApiComputeRegionalService GraphApiComputeRegionalService (string name = default, Azure.Core.AzureLocation? location = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceStatus? status = default, string graphApiComputeEndpoint = default);
static member GraphApiComputeRegionalService : string * Nullable<Azure.Core.AzureLocation> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceStatus> * string -> Azure.ResourceManager.CosmosDB.Models.GraphApiComputeRegionalService
Public Shared Function GraphApiComputeRegionalService (Optional name As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional status As Nullable(Of CosmosDBServiceStatus) = Nothing, Optional graphApiComputeEndpoint As String = Nothing) As GraphApiComputeRegionalService

Parameters

name
String

The regional service name.

location
Nullable<AzureLocation>

The location name.

status
Nullable<CosmosDBServiceStatus>

Describes the status of a service.

graphApiComputeEndpoint
String

The regional endpoint for GraphAPICompute.

Returns

A new GraphApiComputeRegionalService instance for mocking.

Applies to