Udostępnij za pośrednictwem


ServiceResource Constructors

Definition

Overloads

ServiceResource()

Initializes a new instance of the ServiceResource class.

ServiceResource(String, String, String, String, IDictionary<String,String>, SystemData, 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, String, IDictionary<String,String>, SystemData, ServiceResourceProperties)

Initializes a new instance of the ServiceResource class.

public ServiceResource (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.SystemData systemData = default, Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceResourceProperties properties = default);
new Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceResource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.SystemData * Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceResourceProperties -> Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceResource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional systemData As SystemData = Nothing, Optional properties As ServiceResourceProperties = Nothing)

Parameters

id
String

Azure resource identifier.

name
String

Azure resource name.

type
String

Azure resource type.

location
String

Resource location depends on the parent resource.

tags
IDictionary<String,String>

Azure resource tags.

systemData
SystemData

Applies to