ArmCosmosDBModelFactory.CosmosDBRegionalService Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.