Partager via


ServiceResource Constructors

Definition

Overloads

ServiceResource()

Initializes a new instance of the ServiceResource class.

ServiceResource(String, String, String, ServiceResourceProperties)

Initializes a new instance of the ServiceResource class.

ServiceResource()

Initializes a new instance of the ServiceResource class.

public ServiceResource ();
Public Sub New ()

Applies to

ServiceResource(String, String, String, ServiceResourceProperties)

Initializes a new instance of the ServiceResource class.

public ServiceResource (string id = default, string name = default, string type = default, Microsoft.Azure.Management.CosmosDB.Models.ServiceResourceProperties properties = default);
new Microsoft.Azure.Management.CosmosDB.Models.ServiceResource : string * string * string * Microsoft.Azure.Management.CosmosDB.Models.ServiceResourceProperties -> Microsoft.Azure.Management.CosmosDB.Models.ServiceResource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional properties As ServiceResourceProperties = Nothing)

Parameters

id
String

The unique resource identifier of the database account.

name
String

The name of the database account.

type
String

The type of Azure resource.

properties
ServiceResourceProperties

Services response resource.

Applies to