Class SolutionProperties
java.lang.Object
com.azure.resourcemanager.operationsmanagement.models.SolutionProperties
Solution properties supported by the OperationsManagement resource provider.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the containedResources property: The azure resources that will be contained within the solutions.Get the provisioningState property: The provisioning state for the solution.Get the referencedResources property: The resources that will be referenced from this solution.void
validate()
Validates the instance.withContainedResources
(List<String> containedResources) Set the containedResources property: The azure resources that will be contained within the solutions.withReferencedResources
(List<String> referencedResources) Set the referencedResources property: The resources that will be referenced from this solution.withWorkspaceResourceId
(String workspaceResourceId) Set the workspaceResourceId property: The azure resourceId for the workspace where the solution will be deployed/enabled.Get the workspaceResourceId property: The azure resourceId for the workspace where the solution will be deployed/enabled.
-
Constructor Details
-
SolutionProperties
public SolutionProperties()Creates an instance of SolutionProperties class.
-
-
Method Details
-
workspaceResourceId
Get the workspaceResourceId property: The azure resourceId for the workspace where the solution will be deployed/enabled.- Returns:
- the workspaceResourceId value.
-
withWorkspaceResourceId
Set the workspaceResourceId property: The azure resourceId for the workspace where the solution will be deployed/enabled.- Parameters:
workspaceResourceId
- the workspaceResourceId value to set.- Returns:
- the SolutionProperties object itself.
-
provisioningState
Get the provisioningState property: The provisioning state for the solution.- Returns:
- the provisioningState value.
-
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:
- the containedResources value.
-
withContainedResources
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:
containedResources
- the containedResources value to set.- Returns:
- the SolutionProperties object itself.
-
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:
- the referencedResources value.
-
withReferencedResources
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:
referencedResources
- the referencedResources value to set.- Returns:
- the SolutionProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-