ScopedDeployment Class
- java.
lang. Object - com.
azure. resourcemanager. resources. deployments. models. ScopedDeployment
- com.
Implements
public final class ScopedDeployment
implements JsonSerializable<ScopedDeployment>
Deployment operation parameters.
Constructor Summary
| Constructor | Description |
|---|---|
| ScopedDeployment() |
Creates an instance of Scoped |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Scoped |
fromJson(JsonReader jsonReader)
Reads an instance of Scoped |
| String |
location()
Get the location property: The location to store the deployment data. |
|
Deployment |
properties()
Get the properties property: The deployment properties. |
| Map<String,String> |
tags()
Get the tags property: Deployment tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Scoped |
withLocation(String location)
Set the location property: The location to store the deployment data. |
|
Scoped |
withProperties(DeploymentProperties properties)
Set the properties property: The deployment properties. |
|
Scoped |
withTags(Map<String,String> tags)
Set the tags property: Deployment tags. |
Methods inherited from java.lang.Object
Constructor Details
ScopedDeployment
public ScopedDeployment()
Creates an instance of ScopedDeployment class.
Method Details
fromJson
public static ScopedDeployment fromJson(JsonReader jsonReader)
Reads an instance of ScopedDeployment from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: The location to store the deployment data.
Returns:
properties
public DeploymentProperties properties()
Get the properties property: The deployment properties.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Deployment tags.
Returns:
toJson
withLocation
public ScopedDeployment withLocation(String location)
Set the location property: The location to store the deployment data.
Parameters:
Returns:
withProperties
public ScopedDeployment withProperties(DeploymentProperties properties)
Set the properties property: The deployment properties.
Parameters:
Returns:
withTags
public ScopedDeployment withTags(Map<String,String> tags)
Set the tags property: Deployment tags.
Parameters:
Returns: