ArmCosmosDBModelFactory.CosmosDBServiceProperties 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 CosmosDBServiceProperties.
public static Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceProperties CosmosDBServiceProperties (DateTimeOffset? createdOn = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceSize? instanceSize = default, int? instanceCount = default, string serviceType = "Unknown", Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceStatus? status = default, System.Collections.Generic.IDictionary<string,BinaryData> additionalProperties = default);
public static Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceProperties CosmosDBServiceProperties (DateTimeOffset? createdOn = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceSize? instanceSize = default, int? instanceCount = default, string serviceType = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceStatus? status = default, System.Collections.Generic.IDictionary<string,BinaryData> additionalProperties = default);
static member CosmosDBServiceProperties : Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceSize> * Nullable<int> * string * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceStatus> * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceProperties
Public Shared Function CosmosDBServiceProperties (Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional instanceSize As Nullable(Of CosmosDBServiceSize) = Nothing, Optional instanceCount As Nullable(Of Integer) = Nothing, Optional serviceType As String = "Unknown", Optional status As Nullable(Of CosmosDBServiceStatus) = Nothing, Optional additionalProperties As IDictionary(Of String, BinaryData) = Nothing) As CosmosDBServiceProperties
Public Shared Function CosmosDBServiceProperties (Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional instanceSize As Nullable(Of CosmosDBServiceSize) = Nothing, Optional instanceCount As Nullable(Of Integer) = Nothing, Optional serviceType As String = Nothing, Optional status As Nullable(Of CosmosDBServiceStatus) = Nothing, Optional additionalProperties As IDictionary(Of String, BinaryData) = Nothing) As CosmosDBServiceProperties
Parameters
- createdOn
- Nullable<DateTimeOffset>
Time of the last state change (ISO-8601 format).
- instanceSize
- Nullable<CosmosDBServiceSize>
Instance type for the service.
- serviceType
- String
ServiceType for the service.
- status
- Nullable<CosmosDBServiceStatus>
Describes the status of a service.
- additionalProperties
- IDictionary<String,BinaryData>
Additional Properties.
Returns
A new CosmosDBServiceProperties instance for mocking.