Partilhar via


ArmDeploymentManagerModelFactory.ServiceUnit Método

Definição

Inicializa uma nova instância do ServiceUnit.

public static Azure.ResourceManager.DeploymentManager.Models.ServiceUnit ServiceUnit (string targetResourceGroup = default, Azure.ResourceManager.DeploymentManager.Models.DeploymentMode deploymentMode = Azure.ResourceManager.DeploymentManager.Models.DeploymentMode.Incremental, Azure.ResourceManager.DeploymentManager.Models.ServiceUnitArtifacts artifacts = default, string name = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeploymentManager.Models.RolloutStep> steps = default);
static member ServiceUnit : string * Azure.ResourceManager.DeploymentManager.Models.DeploymentMode * Azure.ResourceManager.DeploymentManager.Models.ServiceUnitArtifacts * string * seq<Azure.ResourceManager.DeploymentManager.Models.RolloutStep> -> Azure.ResourceManager.DeploymentManager.Models.ServiceUnit
Public Shared Function ServiceUnit (Optional targetResourceGroup As String = Nothing, Optional deploymentMode As DeploymentMode = Azure.ResourceManager.DeploymentManager.Models.DeploymentMode.Incremental, Optional artifacts As ServiceUnitArtifacts = Nothing, Optional name As String = Nothing, Optional steps As IEnumerable(Of RolloutStep) = Nothing) As ServiceUnit

Parâmetros

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.

artifacts
ServiceUnitArtifacts

Os artefatos da unidade de serviço.

name
String

Nome da unidade de serviço.

steps
IEnumerable<RolloutStep>

Informações detalhadas da etapa, se estiverem presentes.

Retornos

Uma nova ServiceUnit instância para zombar.

Aplica-se a