Share via


Solution Class

Definition

The container for solution.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MonitoringSolutions.Models.Api20151101Preview.SolutionTypeConverter))]
public class Solution : Microsoft.Azure.PowerShell.Cmdlets.MonitoringSolutions.Models.Api20151101Preview.ISolution
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MonitoringSolutions.Models.Api20151101Preview.SolutionTypeConverter))>]
type Solution = class
    interface ISolution
    interface IJsonSerializable
Public Class Solution
Implements ISolution
Inheritance
Solution
Attributes
Implements

Constructors

Solution()

Creates an new Solution instance.

Properties

ContainedResource

The azure resources that will be contained within the solutions. They will be locked and gets deleted automatically when the solution is deleted.

Id

Resource ID.

Location

Resource location

Name

Resource name.

PlanName

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.

PlanProduct
PlanPromotionCode

promotionCode, Not really used now, can you left as empty

PlanPublisher

Publisher name. For gallery solution, it is Microsoft.

ProvisioningState

The provisioning state for the solution.

ReferencedResource

The resources that will be referenced from this solution. Deleting any of those solution out of band will break the solution.

Tag

Resource tags

Type

Resource type.

WorkspaceResourceId

The azure resourceId for the workspace where the solution will be deployed/enabled.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Solution.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Solution.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MonitoringSolutions.Models.Api20151101Preview.ISolution.

FromJsonString(String)

Creates a new instance of Solution, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Solution into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to