ArmDeploymentManagerModelFactory.ServiceUnitProperties Method

Definition

Initializes a new instance of ServiceUnitProperties.

public static Azure.ResourceManager.DeploymentManager.Models.ServiceUnitProperties ServiceUnitProperties (string targetResourceGroup = default, Azure.ResourceManager.DeploymentManager.Models.DeploymentMode deploymentMode = Azure.ResourceManager.DeploymentManager.Models.DeploymentMode.Incremental, Azure.ResourceManager.DeploymentManager.Models.ServiceUnitArtifacts artifacts = default);
static member ServiceUnitProperties : string * Azure.ResourceManager.DeploymentManager.Models.DeploymentMode * Azure.ResourceManager.DeploymentManager.Models.ServiceUnitArtifacts -> Azure.ResourceManager.DeploymentManager.Models.ServiceUnitProperties
Public Shared Function ServiceUnitProperties (Optional targetResourceGroup As String = Nothing, Optional deploymentMode As DeploymentMode = Azure.ResourceManager.DeploymentManager.Models.DeploymentMode.Incremental, Optional artifacts As ServiceUnitArtifacts = Nothing) As ServiceUnitProperties

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.

Returns

A new ServiceUnitProperties instance for mocking.

Applies to