ScopedDeploymentWhatIf Class
- java.
lang. Object - com.
azure. resourcemanager. resources. deployments. models. ScopedDeploymentWhatIf
- com.
Implements
public final class ScopedDeploymentWhatIf
implements JsonSerializable<ScopedDeploymentWhatIf>
Deployment What-if operation parameters.
Constructor Summary
| Constructor | Description |
|---|---|
| ScopedDeploymentWhatIf() |
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. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Scoped |
withLocation(String location)
Set the location property: The location to store the deployment data. |
|
Scoped |
withProperties(DeploymentWhatIfProperties properties)
Set the properties property: The deployment properties. |
Methods inherited from java.lang.Object
Constructor Details
ScopedDeploymentWhatIf
public ScopedDeploymentWhatIf()
Creates an instance of ScopedDeploymentWhatIf class.
Method Details
fromJson
public static ScopedDeploymentWhatIf fromJson(JsonReader jsonReader)
Reads an instance of ScopedDeploymentWhatIf from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: The location to store the deployment data.
Returns:
properties
public DeploymentWhatIfProperties properties()
Get the properties property: The deployment properties.
Returns:
toJson
withLocation
public ScopedDeploymentWhatIf withLocation(String location)
Set the location property: The location to store the deployment data.
Parameters:
Returns:
withProperties
public ScopedDeploymentWhatIf withProperties(DeploymentWhatIfProperties properties)
Set the properties property: The deployment properties.
Parameters:
Returns: