DeploymentResourceWhatIfPrediction Class
- java.
lang. Object - com.
azure. resourcemanager. resources. deployments. models. DeploymentResourceWhatIfPrediction
- com.
Implements
public final class DeploymentResourceWhatIfPrediction
implements JsonSerializable<DeploymentResourceWhatIfPrediction>
A prediction for a deployment resource by its symbolic name path.
Constructor Summary
| Constructor | Description |
|---|---|
| DeploymentResourceWhatIfPrediction() |
Creates an instance of Deployment |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
apiVersion()
Get the api |
|
Deployment |
extension()
Get the extension property: The predicted extension usage. |
|
static
Deployment |
fromJson(JsonReader jsonReader)
Reads an instance of Deployment |
|
Binary |
identifiers()
Get the identifiers property: The predicted extensible resource identifiers. |
| String |
resourceId()
Get the resource |
| String |
resourceType()
Get the resource |
| List<String> |
symbolicNamePath()
Get the symbolic |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Deployment |
withApiVersion(String apiVersion)
Set the api |
|
Deployment |
withExtension(DeploymentExtensionDefinition extension)
Set the extension property: The predicted extension usage. |
|
Deployment |
withIdentifiers(BinaryData identifiers)
Set the identifiers property: The predicted extensible resource identifiers. |
|
Deployment |
withResourceId(String resourceId)
Set the resource |
|
Deployment |
withResourceType(String resourceType)
Set the resource |
|
Deployment |
withSymbolicNamePath(List<String> symbolicNamePath)
Set the symbolic |
Methods inherited from java.lang.Object
Constructor Details
DeploymentResourceWhatIfPrediction
public DeploymentResourceWhatIfPrediction()
Creates an instance of DeploymentResourceWhatIfPrediction class.
Method Details
apiVersion
public String apiVersion()
Get the apiVersion property: The predicted API version.
Returns:
extension
public DeploymentExtensionDefinition extension()
Get the extension property: The predicted extension usage.
Returns:
fromJson
public static DeploymentResourceWhatIfPrediction fromJson(JsonReader jsonReader)
Reads an instance of DeploymentResourceWhatIfPrediction from the JsonReader.
Parameters:
Returns:
Throws:
identifiers
public BinaryData identifiers()
Get the identifiers property: The predicted extensible resource identifiers.
Returns:
resourceId
public String resourceId()
Get the resourceId property: The predicted fully-qualified Azure resource ID.
Returns:
resourceType
public String resourceType()
Get the resourceType property: The predicted resource type.
Returns:
symbolicNamePath
public List<String> symbolicNamePath()
Get the symbolicNamePath property: The symbolic name path to the resource in the deployment template, including nested deployment(s) and extension if applicable.
Returns:
toJson
withApiVersion
public DeploymentResourceWhatIfPrediction withApiVersion(String apiVersion)
Set the apiVersion property: The predicted API version.
Parameters:
Returns:
withExtension
public DeploymentResourceWhatIfPrediction withExtension(DeploymentExtensionDefinition extension)
Set the extension property: The predicted extension usage.
Parameters:
Returns:
withIdentifiers
public DeploymentResourceWhatIfPrediction withIdentifiers(BinaryData identifiers)
Set the identifiers property: The predicted extensible resource identifiers.
Parameters:
Returns:
withResourceId
public DeploymentResourceWhatIfPrediction withResourceId(String resourceId)
Set the resourceId property: The predicted fully-qualified Azure resource ID.
Parameters:
Returns:
withResourceType
public DeploymentResourceWhatIfPrediction withResourceType(String resourceType)
Set the resourceType property: The predicted resource type.
Parameters:
Returns:
withSymbolicNamePath
public DeploymentResourceWhatIfPrediction withSymbolicNamePath(List<String> symbolicNamePath)
Set the symbolicNamePath property: The symbolic name path to the resource in the deployment template, including nested deployment(s) and extension if applicable.
Parameters:
Returns: