共用方式為


ServiceTopologyResource Constructors

Definition

Overloads

ServiceTopologyResource()

Initializes a new instance of the ServiceTopologyResource class.

ServiceTopologyResource(String, String, String, String, IDictionary<String,String>, String)

Initializes a new instance of the ServiceTopologyResource class.

ServiceTopologyResource()

Initializes a new instance of the ServiceTopologyResource class.

public ServiceTopologyResource ();
Public Sub New ()

Applies to

ServiceTopologyResource(String, String, String, String, IDictionary<String,String>, String)

Initializes a new instance of the ServiceTopologyResource class.

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

Parameters

location
String

The geo-location where the resource lives

id
String

Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

tags
IDictionary<String,String>

Resource tags.

artifactSourceId
String

The resource Id of the artifact source that contains the artifacts that can be referenced in the service units.

Applies to