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