共用方式為


ArmCosmosDBModelFactory.CosmosDBRegionalService Method

Definition

Initializes a new instance of CosmosDBRegionalService.

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

Parameters

name
String

The regional service name.

location
Nullable<AzureLocation>

The location name.

status
Nullable<CosmosDBServiceStatus>

Describes the status of a service.

Returns

A new CosmosDBRegionalService instance for mocking.

Applies to