Partilhar via


ServiceUnitResource Construtores

Definição

Sobrecargas

ServiceUnitResource()

Inicializa uma nova instância da classe ServiceUnitResource.

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

Inicializa uma nova instância da classe ServiceUnitResource.

ServiceUnitResource()

Inicializa uma nova instância da classe ServiceUnitResource.

public ServiceUnitResource ();
Public Sub New ()

Aplica-se a

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

Inicializa uma nova instância da classe ServiceUnitResource.

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)

Parâmetros

location
String

A localização geográfica onde o recurso reside

targetResourceGroup
String

O Grupo de Recursos do Azure ao qual os recursos na unidade de serviço pertencem ou devem ser implantados.

deploymentMode
DeploymentMode

Descreve o tipo de implantação do ARM a ser executado no recurso. Os valores possíveis incluem: 'Incremental', 'Complete'

id
String

ID de recurso totalmente qualificado para o recurso. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

O nome do recurso

type
String

Tipo do recurso. Por exemplo: Microsoft.Compute/virtualMachines ou Microsoft.Storage/storageAccounts.

tags
IDictionary<String,String>

Marcas de recurso.

artifacts
ServiceUnitArtifacts

Os artefatos da unidade de serviço.

Aplica-se a