ServiceUnitResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. deploymentmanager. fluent. models. ServiceUnitResourceInner
- com.
- com.
- com.
public final class ServiceUnitResourceInner
extends Resource
Represents the response of a service unit resource.
Constructor Summary
Constructor | Description |
---|---|
ServiceUnitResourceInner() |
Creates an instance of Service |
Method Summary
Modifier and Type | Method and Description |
---|---|
Service |
artifacts()
Get the artifacts property: The artifacts for the service unit. |
Deployment |
deploymentMode()
Get the deployment |
String |
targetResourceGroup()
Get the target |
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 |
withLocation(String location) |
Service |
withTags(Map<String,String> tags) |
Service |
withTargetResourceGroup(String targetResourceGroup)
Set the target |
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:
deploymentMode
public DeploymentMode deploymentMode()
Get the deploymentMode property: Describes the type of ARM deployment to be performed on the resource.
Returns:
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:
validate
public void validate()
Validates the instance.
withArtifacts
public ServiceUnitResourceInner withArtifacts(ServiceUnitArtifacts artifacts)
Set the artifacts property: The artifacts for the service unit.
Parameters:
Returns:
withDeploymentMode
public ServiceUnitResourceInner withDeploymentMode(DeploymentMode deploymentMode)
Set the deploymentMode property: Describes the type of ARM deployment to be performed on the resource.
Parameters:
Returns:
withLocation
public ServiceUnitResourceInner withLocation(String location)
Overrides:
ServiceUnitResourceInner.withLocation(String location)Parameters:
withTags
public ServiceUnitResourceInner withTags(Map
Overrides:
ServiceUnitResourceInner.withTags(Map<String,String> tags)Parameters:
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:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for