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 | Description |
---|---|
Service |
Creates an instance of Service |
Modifier and Type | Method and Description |
---|---|
Service |
artifacts()
Get the artifacts property: The artifacts for the service unit. |
Deployment |
deployment Get the deployment |
String |
target Get the target |
void |
validate()
Validates the instance. |
Service |
with Set the artifacts property: The artifacts for the service unit. |
Service |
with Set the deployment |
Service |
with |
Service |
with |
Service |
with Set the target |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
ServiceUnitResourceInner
public ServiceUnitResourceInner()
Creates an instance of ServiceUnitResourceInner class.
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:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: