ArmDeploymentManagerModelFactory.ServiceUnit Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
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.
- artifacts
- ServiceUnitArtifacts
The artifacts for the service unit.
- name
- String
Name of the service unit.
- steps
- IEnumerable<RolloutStep>
Detailed step information, if present.
Returns
A new ServiceUnit instance for mocking.
Applies to
Azure SDK for .NET