ServiceResourceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. deploymentmanager. models. ServiceProperties - com.
azure. resourcemanager. deploymentmanager. fluent. models. ServiceResourceProperties
- com.
- com.
public final class ServiceResourceProperties
extends ServiceProperties
The properties that define a service in a service topology.
Constructor Summary
| Constructor | Description |
|---|---|
| ServiceResourceProperties() |
Creates an instance of Service |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| void |
validate()
Validates the instance. |
|
Service |
withTargetLocation(String targetLocation)
Set the target |
|
Service |
withTargetSubscriptionId(String targetSubscriptionId)
Set the target |
Methods inherited from ServiceProperties
Methods inherited from java.lang.Object
Constructor Details
ServiceResourceProperties
public ServiceResourceProperties()
Creates an instance of ServiceResourceProperties class.
Method Details
validate
public void validate()
Validates the instance.
Overrides:
ServiceResourceProperties.validate()withTargetLocation
public ServiceResourceProperties withTargetLocation(String targetLocation)
Set the targetLocation property: The Azure location to which the resources in the service belong to or should be deployed to.
Overrides:
ServiceResourceProperties.withTargetLocation(String targetLocation)Parameters:
withTargetSubscriptionId
public ServiceResourceProperties withTargetSubscriptionId(String targetSubscriptionId)
Set the targetSubscriptionId property: The subscription to which the resources in the service belong to or should be deployed to.
Overrides:
ServiceResourceProperties.withTargetSubscriptionId(String targetSubscriptionId)Parameters: