ServiceUnitResourceInner Class

public final class ServiceUnitResourceInner
extends Resource

Represents the response of a service unit resource.

Constructor Summary

Constructor Description
ServiceUnitResourceInner()

Creates an instance of ServiceUnitResourceInner class.

Method Summary

Modifier and Type Method and Description
ServiceUnitArtifacts artifacts()

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

DeploymentMode deploymentMode()

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

String targetResourceGroup()

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

void validate()

Validates the instance.

ServiceUnitResourceInner withArtifacts(ServiceUnitArtifacts artifacts)

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

ServiceUnitResourceInner withDeploymentMode(DeploymentMode deploymentMode)

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

ServiceUnitResourceInner withLocation(String location)
ServiceUnitResourceInner withTags(Map<String,String> tags)
ServiceUnitResourceInner 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 ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ServiceUnitResourceInner

public ServiceUnitResourceInner()

Creates an instance of ServiceUnitResourceInner class.

Method Details

artifacts

public ServiceUnitArtifacts artifacts()

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

Returns:

the artifacts value.

deploymentMode

public DeploymentMode deploymentMode()

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

Returns:

the deploymentMode value.

targetResourceGroup

public String targetResourceGroup()

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

Returns:

the targetResourceGroup value.

validate

public void validate()

Validates the instance.

withArtifacts

public ServiceUnitResourceInner withArtifacts(ServiceUnitArtifacts artifacts)

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

Parameters:

artifacts - the artifacts value to set.

Returns:

the ServiceUnitResourceInner object itself.

withDeploymentMode

public ServiceUnitResourceInner withDeploymentMode(DeploymentMode deploymentMode)

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

Parameters:

deploymentMode - the deploymentMode value to set.

Returns:

the ServiceUnitResourceInner object itself.

withLocation

public ServiceUnitResourceInner withLocation(String location)

Overrides:

ServiceUnitResourceInner.withLocation(String location)

Parameters:

location

withTags

public ServiceUnitResourceInner withTags(Map tags)

Overrides:

ServiceUnitResourceInner.withTags(Map<String,String> tags)

Parameters:

tags

withTargetResourceGroup

public ServiceUnitResourceInner 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.

Parameters:

targetResourceGroup - the targetResourceGroup value to set.

Returns:

the ServiceUnitResourceInner object itself.

Applies to