SolutionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. operationsmanagement. models. SolutionProperties
- com.
Implements
public final class SolutionProperties
implements JsonSerializable<SolutionProperties>
Solution properties supported by the OperationsManagement resource provider.
Constructor Summary
| Constructor | Description |
|---|---|
| SolutionProperties() |
Creates an instance of Solution |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
containedResources()
Get the contained |
|
static
Solution |
fromJson(JsonReader jsonReader)
Reads an instance of Solution |
| String |
provisioningState()
Get the provisioning |
| List<String> |
referencedResources()
Get the referenced |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Solution |
withContainedResources(List<String> containedResources)
Set the contained |
|
Solution |
withReferencedResources(List<String> referencedResources)
Set the referenced |
|
Solution |
withWorkspaceResourceId(String workspaceResourceId)
Set the workspace |
| String |
workspaceResourceId()
Get the workspace |
Methods inherited from java.lang.Object
Constructor Details
SolutionProperties
public SolutionProperties()
Creates an instance of SolutionProperties class.
Method Details
containedResources
public List<String> containedResources()
Get the containedResources property: The azure resources that will be contained within the solutions. They will be locked and gets deleted automatically when the solution is deleted.
Returns:
fromJson
public static SolutionProperties fromJson(JsonReader jsonReader)
Reads an instance of SolutionProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioning state for the solution.
Returns:
referencedResources
public List<String> referencedResources()
Get the referencedResources property: The resources that will be referenced from this solution. Deleting any of those solution out of band will break the solution.
Returns:
toJson
validate
public void validate()
Validates the instance.
withContainedResources
public SolutionProperties withContainedResources(List<String> containedResources)
Set the containedResources property: The azure resources that will be contained within the solutions. They will be locked and gets deleted automatically when the solution is deleted.
Parameters:
Returns:
withReferencedResources
public SolutionProperties withReferencedResources(List<String> referencedResources)
Set the referencedResources property: The resources that will be referenced from this solution. Deleting any of those solution out of band will break the solution.
Parameters:
Returns:
withWorkspaceResourceId
public SolutionProperties withWorkspaceResourceId(String workspaceResourceId)
Set the workspaceResourceId property: The azure resourceId for the workspace where the solution will be deployed/enabled.
Parameters:
Returns:
workspaceResourceId
public String workspaceResourceId()
Get the workspaceResourceId property: The azure resourceId for the workspace where the solution will be deployed/enabled.
Returns: