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

public final class SolutionPlan extends Object
Plan for solution object supported by the OperationsManagement resource provider.
  • Constructor Details

    • SolutionPlan

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

    • name

      public String name()
      Get the name property: name of the solution to be created. For Microsoft published solution it should be in the format of solutionType(workspaceName). SolutionType part is case sensitive. For third party solution, it can be anything.
      Returns:
      the name value.
    • withName

      public SolutionPlan withName(String name)
      Set the name property: name of the solution to be created. For Microsoft published solution it should be in the format of solutionType(workspaceName). SolutionType part is case sensitive. For third party solution, it can be anything.
      Parameters:
      name - the name value to set.
      Returns:
      the SolutionPlan object itself.
    • publisher

      public String publisher()
      Get the publisher property: Publisher name. For gallery solution, it is Microsoft.
      Returns:
      the publisher value.
    • withPublisher

      public SolutionPlan withPublisher(String publisher)
      Set the publisher property: Publisher name. For gallery solution, it is Microsoft.
      Parameters:
      publisher - the publisher value to set.
      Returns:
      the SolutionPlan object itself.
    • promotionCode

      public String promotionCode()
      Get the promotionCode property: promotionCode, Not really used now, can you left as empty.
      Returns:
      the promotionCode value.
    • withPromotionCode

      public SolutionPlan withPromotionCode(String promotionCode)
      Set the promotionCode property: promotionCode, Not really used now, can you left as empty.
      Parameters:
      promotionCode - the promotionCode value to set.
      Returns:
      the SolutionPlan object itself.
    • product

      public String product()
      Get the product property: name of the solution to enabled/add. For Microsoft published gallery solution it should be in the format of OMSGallery/<solutionType>. This is case sensitive.
      Returns:
      the product value.
    • withProduct

      public SolutionPlan withProduct(String product)
      Set the product property: name of the solution to enabled/add. For Microsoft published gallery solution it should be in the format of OMSGallery/<solutionType>. This is case sensitive.
      Parameters:
      product - the product value to set.
      Returns:
      the SolutionPlan object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.