Class SolutionProperties

java.lang.Object
com.azure.resourcemanager.operationsmanagement.models.SolutionProperties

public final class SolutionProperties extends Object
Solution properties supported by the OperationsManagement resource provider.
  • Constructor Details

    • SolutionProperties

      public SolutionProperties()
      Creates an instance of SolutionProperties class.
  • Method Details

    • workspaceResourceId

      public String workspaceResourceId()
      Get the workspaceResourceId property: The azure resourceId for the workspace where the solution will be deployed/enabled.
      Returns:
      the workspaceResourceId value.
    • withWorkspaceResourceId

      public SolutionProperties withWorkspaceResourceId(String workspaceResourceId)
      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

      public String provisioningState()
      Get the provisioningState property: The provisioning state for the solution.
      Returns:
      the provisioningState value.
    • 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:
      the containedResources value.
    • 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:
      containedResources - the containedResources value to set.
      Returns:
      the SolutionProperties object itself.
    • 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:
      the referencedResources value.
    • 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:
      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.