共用方式為


ServiceUnit Constructors

Definition

Overloads

ServiceUnit()

Initializes a new instance of the ServiceUnit class.

ServiceUnit(String, DeploymentMode, ServiceUnitArtifacts, String, IList<RolloutStep>)

Initializes a new instance of the ServiceUnit class.

ServiceUnit()

Initializes a new instance of the ServiceUnit class.

public ServiceUnit ();
Public Sub New ()

Applies to

ServiceUnit(String, DeploymentMode, ServiceUnitArtifacts, String, IList<RolloutStep>)

Initializes a new instance of the ServiceUnit class.

public ServiceUnit (string targetResourceGroup, Microsoft.Azure.Management.DeploymentManager.Models.DeploymentMode deploymentMode, Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitArtifacts artifacts = default, string name = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DeploymentManager.Models.RolloutStep> steps = default);
new Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnit : string * Microsoft.Azure.Management.DeploymentManager.Models.DeploymentMode * Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitArtifacts * string * System.Collections.Generic.IList<Microsoft.Azure.Management.DeploymentManager.Models.RolloutStep> -> Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnit
Public Sub New (targetResourceGroup As String, deploymentMode As DeploymentMode, Optional artifacts As ServiceUnitArtifacts = Nothing, Optional name As String = Nothing, Optional steps As IList(Of RolloutStep) = Nothing)

Parameters

targetResourceGroup
String

The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.

deploymentMode
DeploymentMode

Describes the type of ARM deployment to be performed on the resource. Possible values include: 'Incremental', 'Complete'

artifacts
ServiceUnitArtifacts

The artifacts for the service unit.

name
String

Name of the service unit.

steps
IList<RolloutStep>

Detailed step information, if present.

Applies to