Partager via


ServiceResourceProperties Constructors

Definition

Overloads

ServiceResourceProperties()

Initializes a new instance of the ServiceResourceProperties class.

ServiceResourceProperties(IDictionary<String,Object>, Nullable<DateTime>, String, Nullable<Int32>, String)

Initializes a new instance of the ServiceResourceProperties class.

ServiceResourceProperties()

Initializes a new instance of the ServiceResourceProperties class.

public ServiceResourceProperties ();
Public Sub New ()

Applies to

ServiceResourceProperties(IDictionary<String,Object>, Nullable<DateTime>, String, Nullable<Int32>, String)

Initializes a new instance of the ServiceResourceProperties class.

public ServiceResourceProperties (System.Collections.Generic.IDictionary<string,object> additionalProperties = default, DateTime? creationTime = default, string instanceSize = default, int? instanceCount = default, string status = default);
new Microsoft.Azure.Management.CosmosDB.Models.ServiceResourceProperties : System.Collections.Generic.IDictionary<string, obj> * Nullable<DateTime> * string * Nullable<int> * string -> Microsoft.Azure.Management.CosmosDB.Models.ServiceResourceProperties
Public Sub New (Optional additionalProperties As IDictionary(Of String, Object) = Nothing, Optional creationTime As Nullable(Of DateTime) = Nothing, Optional instanceSize As String = Nothing, Optional instanceCount As Nullable(Of Integer) = Nothing, Optional status As String = Nothing)

Parameters

additionalProperties
IDictionary<String,Object>

Services response resource.

creationTime
Nullable<DateTime>

Time of the last state change (ISO-8601 format).

instanceSize
String

Instance type for the service. Possible values include: 'Cosmos.D4s', 'Cosmos.D8s', 'Cosmos.D16s'

instanceCount
Nullable<Int32>

Instance count for the service.

status
String

Describes the status of a service. Possible values include: 'Creating', 'Running', 'Updating', 'Deleting', 'Error', 'Stopped'

Applies to