Class SolutionPlan
java.lang.Object
com.azure.resourcemanager.operationsmanagement.models.SolutionPlan
Plan for solution object supported by the OperationsManagement resource provider.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: name of the solution to be created.product()
Get the product property: name of the solution to enabled/add.Get the promotionCode property: promotionCode, Not really used now, can you left as empty.Get the publisher property: Publisher name.void
validate()
Validates the instance.Set the name property: name of the solution to be created.withProduct
(String product) Set the product property: name of the solution to enabled/add.withPromotionCode
(String promotionCode) Set the promotionCode property: promotionCode, Not really used now, can you left as empty.withPublisher
(String publisher) Set the publisher property: Publisher name.
-
Constructor Details
-
SolutionPlan
public SolutionPlan()Creates an instance of SolutionPlan class.
-
-
Method Details
-
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
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
Get the publisher property: Publisher name. For gallery solution, it is Microsoft.- Returns:
- the publisher value.
-
withPublisher
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
Get the promotionCode property: promotionCode, Not really used now, can you left as empty.- Returns:
- the promotionCode value.
-
withPromotionCode
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
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
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.
-