1. Packages
  2. Azure Native v2
  3. API Docs
  4. operationsmanagement
  5. getSolution
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.operationsmanagement.getSolution

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Retrieves the user solution. Azure REST API version: 2015-11-01-preview.

Using getSolution

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getSolution(args: GetSolutionArgs, opts?: InvokeOptions): Promise<GetSolutionResult>
function getSolutionOutput(args: GetSolutionOutputArgs, opts?: InvokeOptions): Output<GetSolutionResult>
Copy
def get_solution(resource_group_name: Optional[str] = None,
                 solution_name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetSolutionResult
def get_solution_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                 solution_name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetSolutionResult]
Copy
func LookupSolution(ctx *Context, args *LookupSolutionArgs, opts ...InvokeOption) (*LookupSolutionResult, error)
func LookupSolutionOutput(ctx *Context, args *LookupSolutionOutputArgs, opts ...InvokeOption) LookupSolutionResultOutput
Copy

> Note: This function is named LookupSolution in the Go SDK.

public static class GetSolution 
{
    public static Task<GetSolutionResult> InvokeAsync(GetSolutionArgs args, InvokeOptions? opts = null)
    public static Output<GetSolutionResult> Invoke(GetSolutionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSolutionResult> getSolution(GetSolutionArgs args, InvokeOptions options)
public static Output<GetSolutionResult> getSolution(GetSolutionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:operationsmanagement:getSolution
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group to get. The name is case insensitive.
SolutionName
This property is required.
Changes to this property will trigger replacement.
string
User Solution Name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group to get. The name is case insensitive.
SolutionName
This property is required.
Changes to this property will trigger replacement.
string
User Solution Name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group to get. The name is case insensitive.
solutionName
This property is required.
Changes to this property will trigger replacement.
String
User Solution Name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group to get. The name is case insensitive.
solutionName
This property is required.
Changes to this property will trigger replacement.
string
User Solution Name.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group to get. The name is case insensitive.
solution_name
This property is required.
Changes to this property will trigger replacement.
str
User Solution Name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group to get. The name is case insensitive.
solutionName
This property is required.
Changes to this property will trigger replacement.
String
User Solution Name.

getSolution Result

The following output properties are available:

Id string
Resource ID.
Name string
Resource name.
Properties Pulumi.AzureNative.OperationsManagement.Outputs.SolutionPropertiesResponse
Properties for solution object supported by the OperationsManagement resource provider.
Type string
Resource type.
Location string
Resource location
Plan Pulumi.AzureNative.OperationsManagement.Outputs.SolutionPlanResponse
Plan for solution object supported by the OperationsManagement resource provider.
Tags Dictionary<string, string>
Resource tags
Id string
Resource ID.
Name string
Resource name.
Properties SolutionPropertiesResponse
Properties for solution object supported by the OperationsManagement resource provider.
Type string
Resource type.
Location string
Resource location
Plan SolutionPlanResponse
Plan for solution object supported by the OperationsManagement resource provider.
Tags map[string]string
Resource tags
id String
Resource ID.
name String
Resource name.
properties SolutionPropertiesResponse
Properties for solution object supported by the OperationsManagement resource provider.
type String
Resource type.
location String
Resource location
plan SolutionPlanResponse
Plan for solution object supported by the OperationsManagement resource provider.
tags Map<String,String>
Resource tags
id string
Resource ID.
name string
Resource name.
properties SolutionPropertiesResponse
Properties for solution object supported by the OperationsManagement resource provider.
type string
Resource type.
location string
Resource location
plan SolutionPlanResponse
Plan for solution object supported by the OperationsManagement resource provider.
tags {[key: string]: string}
Resource tags
id str
Resource ID.
name str
Resource name.
properties SolutionPropertiesResponse
Properties for solution object supported by the OperationsManagement resource provider.
type str
Resource type.
location str
Resource location
plan SolutionPlanResponse
Plan for solution object supported by the OperationsManagement resource provider.
tags Mapping[str, str]
Resource tags
id String
Resource ID.
name String
Resource name.
properties Property Map
Properties for solution object supported by the OperationsManagement resource provider.
type String
Resource type.
location String
Resource location
plan Property Map
Plan for solution object supported by the OperationsManagement resource provider.
tags Map<String>
Resource tags

Supporting Types

SolutionPlanResponse

Name string
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.
Product string
name of the solution to enabled/add. For Microsoft published gallery solution it should be in the format of OMSGallery/. This is case sensitive
PromotionCode string
promotionCode, Not really used now, can you left as empty
Publisher string
Publisher name. For gallery solution, it is Microsoft.
Name string
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.
Product string
name of the solution to enabled/add. For Microsoft published gallery solution it should be in the format of OMSGallery/. This is case sensitive
PromotionCode string
promotionCode, Not really used now, can you left as empty
Publisher string
Publisher name. For gallery solution, it is Microsoft.
name String
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.
product String
name of the solution to enabled/add. For Microsoft published gallery solution it should be in the format of OMSGallery/. This is case sensitive
promotionCode String
promotionCode, Not really used now, can you left as empty
publisher String
Publisher name. For gallery solution, it is Microsoft.
name string
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.
product string
name of the solution to enabled/add. For Microsoft published gallery solution it should be in the format of OMSGallery/. This is case sensitive
promotionCode string
promotionCode, Not really used now, can you left as empty
publisher string
Publisher name. For gallery solution, it is Microsoft.
name str
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.
product str
name of the solution to enabled/add. For Microsoft published gallery solution it should be in the format of OMSGallery/. This is case sensitive
promotion_code str
promotionCode, Not really used now, can you left as empty
publisher str
Publisher name. For gallery solution, it is Microsoft.
name String
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.
product String
name of the solution to enabled/add. For Microsoft published gallery solution it should be in the format of OMSGallery/. This is case sensitive
promotionCode String
promotionCode, Not really used now, can you left as empty
publisher String
Publisher name. For gallery solution, it is Microsoft.

SolutionPropertiesResponse

ProvisioningState This property is required. string
The provisioning state for the solution.
WorkspaceResourceId This property is required. string
The azure resourceId for the workspace where the solution will be deployed/enabled.
ContainedResources List<string>
The azure resources that will be contained within the solutions. They will be locked and gets deleted automatically when the solution is deleted.
ReferencedResources List<string>
The resources that will be referenced from this solution. Deleting any of those solution out of band will break the solution.
ProvisioningState This property is required. string
The provisioning state for the solution.
WorkspaceResourceId This property is required. string
The azure resourceId for the workspace where the solution will be deployed/enabled.
ContainedResources []string
The azure resources that will be contained within the solutions. They will be locked and gets deleted automatically when the solution is deleted.
ReferencedResources []string
The resources that will be referenced from this solution. Deleting any of those solution out of band will break the solution.
provisioningState This property is required. String
The provisioning state for the solution.
workspaceResourceId This property is required. String
The azure resourceId for the workspace where the solution will be deployed/enabled.
containedResources List<String>
The azure resources that will be contained within the solutions. They will be locked and gets deleted automatically when the solution is deleted.
referencedResources List<String>
The resources that will be referenced from this solution. Deleting any of those solution out of band will break the solution.
provisioningState This property is required. string
The provisioning state for the solution.
workspaceResourceId This property is required. string
The azure resourceId for the workspace where the solution will be deployed/enabled.
containedResources string[]
The azure resources that will be contained within the solutions. They will be locked and gets deleted automatically when the solution is deleted.
referencedResources string[]
The resources that will be referenced from this solution. Deleting any of those solution out of band will break the solution.
provisioning_state This property is required. str
The provisioning state for the solution.
workspace_resource_id This property is required. str
The azure resourceId for the workspace where the solution will be deployed/enabled.
contained_resources Sequence[str]
The azure resources that will be contained within the solutions. They will be locked and gets deleted automatically when the solution is deleted.
referenced_resources Sequence[str]
The resources that will be referenced from this solution. Deleting any of those solution out of band will break the solution.
provisioningState This property is required. String
The provisioning state for the solution.
workspaceResourceId This property is required. String
The azure resourceId for the workspace where the solution will be deployed/enabled.
containedResources List<String>
The azure resources that will be contained within the solutions. They will be locked and gets deleted automatically when the solution is deleted.
referencedResources List<String>
The resources that will be referenced from this solution. Deleting any of those solution out of band will break the solution.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi