ServiceUnitResourceProperties Class

public final class ServiceUnitResourceProperties
extends ServiceUnitProperties

The properties that define the service unit.

Constructor Summary

Constructor Description
ServiceUnitResourceProperties()

Creates an instance of ServiceUnitResourceProperties class.

Method Summary

Modifier and Type Method and Description
void validate()

Validates the instance.

ServiceUnitResourceProperties withArtifacts(ServiceUnitArtifacts artifacts)

Set the artifacts property: The artifacts for the service unit.

ServiceUnitResourceProperties withDeploymentMode(DeploymentMode deploymentMode)

Set the deploymentMode property: Describes the type of ARM deployment to be performed on the resource.

ServiceUnitResourceProperties withTargetResourceGroup(String targetResourceGroup)

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

Methods inherited from ServiceUnitProperties

Methods inherited from java.lang.Object

Constructor Details

ServiceUnitResourceProperties

public ServiceUnitResourceProperties()

Creates an instance of ServiceUnitResourceProperties class.

Method Details

validate

public void validate()

Validates the instance.

Overrides:

ServiceUnitResourceProperties.validate()

withArtifacts

public ServiceUnitResourceProperties withArtifacts(ServiceUnitArtifacts artifacts)

Set the artifacts property: The artifacts for the service unit.

Overrides:

ServiceUnitResourceProperties.withArtifacts(ServiceUnitArtifacts artifacts)

Parameters:

artifacts

withDeploymentMode

public ServiceUnitResourceProperties withDeploymentMode(DeploymentMode deploymentMode)

Set the deploymentMode property: Describes the type of ARM deployment to be performed on the resource.

Overrides:

ServiceUnitResourceProperties.withDeploymentMode(DeploymentMode deploymentMode)

Parameters:

deploymentMode

withTargetResourceGroup

public ServiceUnitResourceProperties withTargetResourceGroup(String targetResourceGroup)

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

Overrides:

ServiceUnitResourceProperties.withTargetResourceGroup(String targetResourceGroup)

Parameters:

targetResourceGroup

Applies to