ServiceUnitResourceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. deploymentmanager. models. ServiceUnitProperties - com.
azure. resourcemanager. deploymentmanager. fluent. models. ServiceUnitResourceProperties
- com.
- com.
public final class ServiceUnitResourceProperties
extends ServiceUnitProperties
The properties that define the service unit.
Constructor Summary
| Constructor | Description |
|---|---|
| ServiceUnitResourceProperties() |
Creates an instance of Service |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| void |
validate()
Validates the instance. |
|
Service |
withArtifacts(ServiceUnitArtifacts artifacts)
Set the artifacts property: The artifacts for the service unit. |
|
Service |
withDeploymentMode(DeploymentMode deploymentMode)
Set the deployment |
|
Service |
withTargetResourceGroup(String targetResourceGroup)
Set the target |
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:
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:
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: