1. Packages
  2. Azure Native v2
  3. API Docs
  4. agfoodplatform
  5. Solution
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.agfoodplatform.Solution

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

Solution resource. Azure REST API version: 2023-06-01-preview.

Other available API versions: 2021-09-01-preview.

Example Usage

Solutions_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var solution = new AzureNative.AgFoodPlatform.Solution("solution", new()
    {
        DataManagerForAgricultureResourceName = "examples-farmbeatsResourceName",
        ResourceGroupName = "examples-rg",
        SolutionId = "abc.partner",
    });

});
Copy
package main

import (
	agfoodplatform "github.com/pulumi/pulumi-azure-native-sdk/agfoodplatform/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := agfoodplatform.NewSolution(ctx, "solution", &agfoodplatform.SolutionArgs{
			DataManagerForAgricultureResourceName: pulumi.String("examples-farmbeatsResourceName"),
			ResourceGroupName:                     pulumi.String("examples-rg"),
			SolutionId:                            pulumi.String("abc.partner"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.agfoodplatform.Solution;
import com.pulumi.azurenative.agfoodplatform.SolutionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var solution = new Solution("solution", SolutionArgs.builder()
            .dataManagerForAgricultureResourceName("examples-farmbeatsResourceName")
            .resourceGroupName("examples-rg")
            .solutionId("abc.partner")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const solution = new azure_native.agfoodplatform.Solution("solution", {
    dataManagerForAgricultureResourceName: "examples-farmbeatsResourceName",
    resourceGroupName: "examples-rg",
    solutionId: "abc.partner",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

solution = azure_native.agfoodplatform.Solution("solution",
    data_manager_for_agriculture_resource_name="examples-farmbeatsResourceName",
    resource_group_name="examples-rg",
    solution_id="abc.partner")
Copy
resources:
  solution:
    type: azure-native:agfoodplatform:Solution
    properties:
      dataManagerForAgricultureResourceName: examples-farmbeatsResourceName
      resourceGroupName: examples-rg
      solutionId: abc.partner
Copy

Create Solution Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Solution(name: string, args: SolutionArgs, opts?: CustomResourceOptions);
@overload
def Solution(resource_name: str,
             args: SolutionArgs,
             opts: Optional[ResourceOptions] = None)

@overload
def Solution(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             data_manager_for_agriculture_resource_name: Optional[str] = None,
             resource_group_name: Optional[str] = None,
             properties: Optional[SolutionPropertiesArgs] = None,
             solution_id: Optional[str] = None)
func NewSolution(ctx *Context, name string, args SolutionArgs, opts ...ResourceOption) (*Solution, error)
public Solution(string name, SolutionArgs args, CustomResourceOptions? opts = null)
public Solution(String name, SolutionArgs args)
public Solution(String name, SolutionArgs args, CustomResourceOptions options)
type: azure-native:agfoodplatform:Solution
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SolutionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SolutionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SolutionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SolutionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SolutionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var solutionResource = new AzureNative.Agfoodplatform.Solution("solutionResource", new()
{
    DataManagerForAgricultureResourceName = "string",
    ResourceGroupName = "string",
    Properties = 
    {
        { "marketplacePublisherId", "string" },
        { "offerId", "string" },
        { "planId", "string" },
        { "saasSubscriptionId", "string" },
        { "saasSubscriptionName", "string" },
        { "termId", "string" },
        { "roleAssignmentId", "string" },
    },
    SolutionId = "string",
});
Copy
example, err := agfoodplatform.NewSolution(ctx, "solutionResource", &agfoodplatform.SolutionArgs{
	DataManagerForAgricultureResourceName: "string",
	ResourceGroupName:                     "string",
	Properties: map[string]interface{}{
		"marketplacePublisherId": "string",
		"offerId":                "string",
		"planId":                 "string",
		"saasSubscriptionId":     "string",
		"saasSubscriptionName":   "string",
		"termId":                 "string",
		"roleAssignmentId":       "string",
	},
	SolutionId: "string",
})
Copy
var solutionResource = new com.pulumi.azurenative.agfoodplatform.Solution("solutionResource", com.pulumi.azurenative.agfoodplatform.SolutionArgs.builder()
    .dataManagerForAgricultureResourceName("string")
    .resourceGroupName("string")
    .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .solutionId("string")
    .build());
Copy
solution_resource = azure_native.agfoodplatform.Solution("solutionResource",
    data_manager_for_agriculture_resource_name=string,
    resource_group_name=string,
    properties={
        marketplacePublisherId: string,
        offerId: string,
        planId: string,
        saasSubscriptionId: string,
        saasSubscriptionName: string,
        termId: string,
        roleAssignmentId: string,
    },
    solution_id=string)
Copy
const solutionResource = new azure_native.agfoodplatform.Solution("solutionResource", {
    dataManagerForAgricultureResourceName: "string",
    resourceGroupName: "string",
    properties: {
        marketplacePublisherId: "string",
        offerId: "string",
        planId: "string",
        saasSubscriptionId: "string",
        saasSubscriptionName: "string",
        termId: "string",
        roleAssignmentId: "string",
    },
    solutionId: "string",
});
Copy
type: azure-native:agfoodplatform:Solution
properties:
    dataManagerForAgricultureResourceName: string
    properties:
        marketplacePublisherId: string
        offerId: string
        planId: string
        roleAssignmentId: string
        saasSubscriptionId: string
        saasSubscriptionName: string
        termId: string
    resourceGroupName: string
    solutionId: string
Copy

Solution Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Solution resource accepts the following input properties:

DataManagerForAgricultureResourceName
This property is required.
Changes to this property will trigger replacement.
string
DataManagerForAgriculture resource name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Properties Pulumi.AzureNative.AgFoodPlatform.Inputs.SolutionProperties
Solution resource properties.
SolutionId Changes to this property will trigger replacement. string
SolutionId for Data Manager For Agriculture Resource.
DataManagerForAgricultureResourceName
This property is required.
Changes to this property will trigger replacement.
string
DataManagerForAgriculture resource name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Properties SolutionPropertiesArgs
Solution resource properties.
SolutionId Changes to this property will trigger replacement. string
SolutionId for Data Manager For Agriculture Resource.
dataManagerForAgricultureResourceName
This property is required.
Changes to this property will trigger replacement.
String
DataManagerForAgriculture resource name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
properties SolutionProperties
Solution resource properties.
solutionId Changes to this property will trigger replacement. String
SolutionId for Data Manager For Agriculture Resource.
dataManagerForAgricultureResourceName
This property is required.
Changes to this property will trigger replacement.
string
DataManagerForAgriculture resource name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
properties SolutionProperties
Solution resource properties.
solutionId Changes to this property will trigger replacement. string
SolutionId for Data Manager For Agriculture Resource.
data_manager_for_agriculture_resource_name
This property is required.
Changes to this property will trigger replacement.
str
DataManagerForAgriculture resource name.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
properties SolutionPropertiesArgs
Solution resource properties.
solution_id Changes to this property will trigger replacement. str
SolutionId for Data Manager For Agriculture Resource.
dataManagerForAgricultureResourceName
This property is required.
Changes to this property will trigger replacement.
String
DataManagerForAgriculture resource name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
properties Property Map
Solution resource properties.
solutionId Changes to this property will trigger replacement. String
SolutionId for Data Manager For Agriculture Resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the Solution resource produces the following output properties:

ETag string
The ETag value to implement optimistic concurrency.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData Pulumi.AzureNative.AgFoodPlatform.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
ETag string
The ETag value to implement optimistic concurrency.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
eTag String
The ETag value to implement optimistic concurrency.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
eTag string
The ETag value to implement optimistic concurrency.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
e_tag str
The ETag value to implement optimistic concurrency.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
eTag String
The ETag value to implement optimistic concurrency.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

SolutionProperties
, SolutionPropertiesArgs

MarketplacePublisherId This property is required. string
SaaS application Marketplace Publisher Id.
OfferId This property is required. string
SaaS application Offer Id.
PlanId This property is required. string
SaaS application Plan Id.
SaasSubscriptionId This property is required. string
SaaS subscriptionId of the installed SaaS application.
SaasSubscriptionName This property is required. string
SaaS subscription name of the installed SaaS application.
TermId This property is required. string
SaaS application Term Id.
RoleAssignmentId string
Role Assignment Id.
MarketplacePublisherId This property is required. string
SaaS application Marketplace Publisher Id.
OfferId This property is required. string
SaaS application Offer Id.
PlanId This property is required. string
SaaS application Plan Id.
SaasSubscriptionId This property is required. string
SaaS subscriptionId of the installed SaaS application.
SaasSubscriptionName This property is required. string
SaaS subscription name of the installed SaaS application.
TermId This property is required. string
SaaS application Term Id.
RoleAssignmentId string
Role Assignment Id.
marketplacePublisherId This property is required. String
SaaS application Marketplace Publisher Id.
offerId This property is required. String
SaaS application Offer Id.
planId This property is required. String
SaaS application Plan Id.
saasSubscriptionId This property is required. String
SaaS subscriptionId of the installed SaaS application.
saasSubscriptionName This property is required. String
SaaS subscription name of the installed SaaS application.
termId This property is required. String
SaaS application Term Id.
roleAssignmentId String
Role Assignment Id.
marketplacePublisherId This property is required. string
SaaS application Marketplace Publisher Id.
offerId This property is required. string
SaaS application Offer Id.
planId This property is required. string
SaaS application Plan Id.
saasSubscriptionId This property is required. string
SaaS subscriptionId of the installed SaaS application.
saasSubscriptionName This property is required. string
SaaS subscription name of the installed SaaS application.
termId This property is required. string
SaaS application Term Id.
roleAssignmentId string
Role Assignment Id.
marketplace_publisher_id This property is required. str
SaaS application Marketplace Publisher Id.
offer_id This property is required. str
SaaS application Offer Id.
plan_id This property is required. str
SaaS application Plan Id.
saas_subscription_id This property is required. str
SaaS subscriptionId of the installed SaaS application.
saas_subscription_name This property is required. str
SaaS subscription name of the installed SaaS application.
term_id This property is required. str
SaaS application Term Id.
role_assignment_id str
Role Assignment Id.
marketplacePublisherId This property is required. String
SaaS application Marketplace Publisher Id.
offerId This property is required. String
SaaS application Offer Id.
planId This property is required. String
SaaS application Plan Id.
saasSubscriptionId This property is required. String
SaaS subscriptionId of the installed SaaS application.
saasSubscriptionName This property is required. String
SaaS subscription name of the installed SaaS application.
termId This property is required. String
SaaS application Term Id.
roleAssignmentId String
Role Assignment Id.

SolutionPropertiesResponse
, SolutionPropertiesResponseArgs

MarketplacePublisherId This property is required. string
SaaS application Marketplace Publisher Id.
OfferId This property is required. string
SaaS application Offer Id.
PartnerId This property is required. string
Partner Id of the Solution.
PlanId This property is required. string
SaaS application Plan Id.
SaasSubscriptionId This property is required. string
SaaS subscriptionId of the installed SaaS application.
SaasSubscriptionName This property is required. string
SaaS subscription name of the installed SaaS application.
TermId This property is required. string
SaaS application Term Id.
RoleAssignmentId string
Role Assignment Id.
MarketplacePublisherId This property is required. string
SaaS application Marketplace Publisher Id.
OfferId This property is required. string
SaaS application Offer Id.
PartnerId This property is required. string
Partner Id of the Solution.
PlanId This property is required. string
SaaS application Plan Id.
SaasSubscriptionId This property is required. string
SaaS subscriptionId of the installed SaaS application.
SaasSubscriptionName This property is required. string
SaaS subscription name of the installed SaaS application.
TermId This property is required. string
SaaS application Term Id.
RoleAssignmentId string
Role Assignment Id.
marketplacePublisherId This property is required. String
SaaS application Marketplace Publisher Id.
offerId This property is required. String
SaaS application Offer Id.
partnerId This property is required. String
Partner Id of the Solution.
planId This property is required. String
SaaS application Plan Id.
saasSubscriptionId This property is required. String
SaaS subscriptionId of the installed SaaS application.
saasSubscriptionName This property is required. String
SaaS subscription name of the installed SaaS application.
termId This property is required. String
SaaS application Term Id.
roleAssignmentId String
Role Assignment Id.
marketplacePublisherId This property is required. string
SaaS application Marketplace Publisher Id.
offerId This property is required. string
SaaS application Offer Id.
partnerId This property is required. string
Partner Id of the Solution.
planId This property is required. string
SaaS application Plan Id.
saasSubscriptionId This property is required. string
SaaS subscriptionId of the installed SaaS application.
saasSubscriptionName This property is required. string
SaaS subscription name of the installed SaaS application.
termId This property is required. string
SaaS application Term Id.
roleAssignmentId string
Role Assignment Id.
marketplace_publisher_id This property is required. str
SaaS application Marketplace Publisher Id.
offer_id This property is required. str
SaaS application Offer Id.
partner_id This property is required. str
Partner Id of the Solution.
plan_id This property is required. str
SaaS application Plan Id.
saas_subscription_id This property is required. str
SaaS subscriptionId of the installed SaaS application.
saas_subscription_name This property is required. str
SaaS subscription name of the installed SaaS application.
term_id This property is required. str
SaaS application Term Id.
role_assignment_id str
Role Assignment Id.
marketplacePublisherId This property is required. String
SaaS application Marketplace Publisher Id.
offerId This property is required. String
SaaS application Offer Id.
partnerId This property is required. String
Partner Id of the Solution.
planId This property is required. String
SaaS application Plan Id.
saasSubscriptionId This property is required. String
SaaS subscriptionId of the installed SaaS application.
saasSubscriptionName This property is required. String
SaaS subscription name of the installed SaaS application.
termId This property is required. String
SaaS application Term Id.
roleAssignmentId String
Role Assignment Id.

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:agfoodplatform:Solution string /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{dataManagerForAgricultureResourceName}/solutions/{solutionId} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

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