Freigeben über


ServiceUnitResource Konstruktoren

Definition

Überlädt

ServiceUnitResource()

Initialisiert eine neue instance der ServiceUnitResource-Klasse.

ServiceUnitResource(String, String, DeploymentMode, String, String, String, IDictionary<String,String>, ServiceUnitArtifacts)

Initialisiert eine neue instance der ServiceUnitResource-Klasse.

ServiceUnitResource()

Initialisiert eine neue instance der ServiceUnitResource-Klasse.

public ServiceUnitResource ();
Public Sub New ()

Gilt für:

ServiceUnitResource(String, String, DeploymentMode, String, String, String, IDictionary<String,String>, ServiceUnitArtifacts)

Initialisiert eine neue instance der ServiceUnitResource-Klasse.

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

Parameter

location
String

Der geografische Standort, an dem sich die Ressource befindet

targetResourceGroup
String

Die Azure-Ressourcengruppe, zu der die Ressourcen in der Diensteinheit gehören oder in bereitgestellt werden sollen.

deploymentMode
DeploymentMode

Beschreibt den Typ der ARM-Bereitstellung, die für die Ressource ausgeführt werden soll. Mögliche Werte: "Inkrementell", "Vollständig"

id
String

Vollqualifizierte Ressourcen-ID für die Ressource. Beispiel: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

Der Name der Ressource

type
String

Der Typ der Ressource. Beispiel: Microsoft.Compute/virtualMachines oder Microsoft.Storage/storageAccounts.

tags
IDictionary<String,String>

Ressourcentags.

artifacts
ServiceUnitArtifacts

Die Artefakte für die Diensteinheit.

Gilt für: