azure-native.agfoodplatform.Solution
Explore with Pulumi AI
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",
    });
});
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
	})
}
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());
    }
}
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",
});
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")
resources:
  solution:
    type: azure-native:agfoodplatform:Solution
    properties:
      dataManagerForAgricultureResourceName: examples-farmbeatsResourceName
      resourceGroupName: examples-rg
      solutionId: abc.partner
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 string
- The unique name of the resource.
- args SolutionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args SolutionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SolutionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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 = new AzureNative.AgFoodPlatform.Inputs.SolutionPropertiesArgs
    {
        MarketplacePublisherId = "string",
        OfferId = "string",
        PlanId = "string",
        SaasSubscriptionId = "string",
        SaasSubscriptionName = "string",
        TermId = "string",
        RoleAssignmentId = "string",
    },
    SolutionId = "string",
});
example, err := agfoodplatform.NewSolution(ctx, "solutionResource", &agfoodplatform.SolutionArgs{
	DataManagerForAgricultureResourceName: pulumi.String("string"),
	ResourceGroupName:                     pulumi.String("string"),
	Properties: &agfoodplatform.SolutionPropertiesArgs{
		MarketplacePublisherId: pulumi.String("string"),
		OfferId:                pulumi.String("string"),
		PlanId:                 pulumi.String("string"),
		SaasSubscriptionId:     pulumi.String("string"),
		SaasSubscriptionName:   pulumi.String("string"),
		TermId:                 pulumi.String("string"),
		RoleAssignmentId:       pulumi.String("string"),
	},
	SolutionId: pulumi.String("string"),
})
var solutionResource = new Solution("solutionResource", SolutionArgs.builder()
    .dataManagerForAgricultureResourceName("string")
    .resourceGroupName("string")
    .properties(SolutionPropertiesArgs.builder()
        .marketplacePublisherId("string")
        .offerId("string")
        .planId("string")
        .saasSubscriptionId("string")
        .saasSubscriptionName("string")
        .termId("string")
        .roleAssignmentId("string")
        .build())
    .solutionId("string")
    .build());
solution_resource = azure_native.agfoodplatform.Solution("solutionResource",
    data_manager_for_agriculture_resource_name="string",
    resource_group_name="string",
    properties={
        "marketplace_publisher_id": "string",
        "offer_id": "string",
        "plan_id": "string",
        "saas_subscription_id": "string",
        "saas_subscription_name": "string",
        "term_id": "string",
        "role_assignment_id": "string",
    },
    solution_id="string")
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",
});
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
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:
- DataManager stringFor Agriculture Resource Name 
- DataManagerForAgriculture resource name.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- Properties
Pulumi.Azure Native. Ag Food Platform. Inputs. Solution Properties 
- Solution resource properties.
- SolutionId string
- SolutionId for Data Manager For Agriculture Resource.
- DataManager stringFor Agriculture Resource Name 
- DataManagerForAgriculture resource name.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- Properties
SolutionProperties Args 
- Solution resource properties.
- SolutionId string
- SolutionId for Data Manager For Agriculture Resource.
- dataManager StringFor Agriculture Resource Name 
- DataManagerForAgriculture resource name.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- properties
SolutionProperties 
- Solution resource properties.
- solutionId String
- SolutionId for Data Manager For Agriculture Resource.
- dataManager stringFor Agriculture Resource Name 
- DataManagerForAgriculture resource name.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- properties
SolutionProperties 
- Solution resource properties.
- solutionId string
- SolutionId for Data Manager For Agriculture Resource.
- data_manager_ strfor_ agriculture_ resource_ name 
- DataManagerForAgriculture resource name.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- properties
SolutionProperties Args 
- Solution resource properties.
- solution_id str
- SolutionId for Data Manager For Agriculture Resource.
- dataManager StringFor Agriculture Resource Name 
- DataManagerForAgriculture resource name.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- properties Property Map
- Solution resource properties.
- solutionId 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.Azure Native. Ag Food Platform. Outputs. System Data Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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    
- MarketplacePublisher stringId 
- SaaS application Marketplace Publisher Id.
- OfferId string
- SaaS application Offer Id.
- PlanId string
- SaaS application Plan Id.
- SaasSubscription stringId 
- SaaS subscriptionId of the installed SaaS application.
- SaasSubscription stringName 
- SaaS subscription name of the installed SaaS application.
- TermId string
- SaaS application Term Id.
- RoleAssignment stringId 
- Role Assignment Id.
- MarketplacePublisher stringId 
- SaaS application Marketplace Publisher Id.
- OfferId string
- SaaS application Offer Id.
- PlanId string
- SaaS application Plan Id.
- SaasSubscription stringId 
- SaaS subscriptionId of the installed SaaS application.
- SaasSubscription stringName 
- SaaS subscription name of the installed SaaS application.
- TermId string
- SaaS application Term Id.
- RoleAssignment stringId 
- Role Assignment Id.
- marketplacePublisher StringId 
- SaaS application Marketplace Publisher Id.
- offerId String
- SaaS application Offer Id.
- planId String
- SaaS application Plan Id.
- saasSubscription StringId 
- SaaS subscriptionId of the installed SaaS application.
- saasSubscription StringName 
- SaaS subscription name of the installed SaaS application.
- termId String
- SaaS application Term Id.
- roleAssignment StringId 
- Role Assignment Id.
- marketplacePublisher stringId 
- SaaS application Marketplace Publisher Id.
- offerId string
- SaaS application Offer Id.
- planId string
- SaaS application Plan Id.
- saasSubscription stringId 
- SaaS subscriptionId of the installed SaaS application.
- saasSubscription stringName 
- SaaS subscription name of the installed SaaS application.
- termId string
- SaaS application Term Id.
- roleAssignment stringId 
- Role Assignment Id.
- marketplace_publisher_ strid 
- SaaS application Marketplace Publisher Id.
- offer_id str
- SaaS application Offer Id.
- plan_id str
- SaaS application Plan Id.
- saas_subscription_ strid 
- SaaS subscriptionId of the installed SaaS application.
- saas_subscription_ strname 
- SaaS subscription name of the installed SaaS application.
- term_id str
- SaaS application Term Id.
- role_assignment_ strid 
- Role Assignment Id.
- marketplacePublisher StringId 
- SaaS application Marketplace Publisher Id.
- offerId String
- SaaS application Offer Id.
- planId String
- SaaS application Plan Id.
- saasSubscription StringId 
- SaaS subscriptionId of the installed SaaS application.
- saasSubscription StringName 
- SaaS subscription name of the installed SaaS application.
- termId String
- SaaS application Term Id.
- roleAssignment StringId 
- Role Assignment Id.
SolutionPropertiesResponse, SolutionPropertiesResponseArgs      
- MarketplacePublisher stringId 
- SaaS application Marketplace Publisher Id.
- OfferId string
- SaaS application Offer Id.
- PartnerId string
- Partner Id of the Solution.
- PlanId string
- SaaS application Plan Id.
- SaasSubscription stringId 
- SaaS subscriptionId of the installed SaaS application.
- SaasSubscription stringName 
- SaaS subscription name of the installed SaaS application.
- TermId string
- SaaS application Term Id.
- RoleAssignment stringId 
- Role Assignment Id.
- MarketplacePublisher stringId 
- SaaS application Marketplace Publisher Id.
- OfferId string
- SaaS application Offer Id.
- PartnerId string
- Partner Id of the Solution.
- PlanId string
- SaaS application Plan Id.
- SaasSubscription stringId 
- SaaS subscriptionId of the installed SaaS application.
- SaasSubscription stringName 
- SaaS subscription name of the installed SaaS application.
- TermId string
- SaaS application Term Id.
- RoleAssignment stringId 
- Role Assignment Id.
- marketplacePublisher StringId 
- SaaS application Marketplace Publisher Id.
- offerId String
- SaaS application Offer Id.
- partnerId String
- Partner Id of the Solution.
- planId String
- SaaS application Plan Id.
- saasSubscription StringId 
- SaaS subscriptionId of the installed SaaS application.
- saasSubscription StringName 
- SaaS subscription name of the installed SaaS application.
- termId String
- SaaS application Term Id.
- roleAssignment StringId 
- Role Assignment Id.
- marketplacePublisher stringId 
- SaaS application Marketplace Publisher Id.
- offerId string
- SaaS application Offer Id.
- partnerId string
- Partner Id of the Solution.
- planId string
- SaaS application Plan Id.
- saasSubscription stringId 
- SaaS subscriptionId of the installed SaaS application.
- saasSubscription stringName 
- SaaS subscription name of the installed SaaS application.
- termId string
- SaaS application Term Id.
- roleAssignment stringId 
- Role Assignment Id.
- marketplace_publisher_ strid 
- SaaS application Marketplace Publisher Id.
- offer_id str
- SaaS application Offer Id.
- partner_id str
- Partner Id of the Solution.
- plan_id str
- SaaS application Plan Id.
- saas_subscription_ strid 
- SaaS subscriptionId of the installed SaaS application.
- saas_subscription_ strname 
- SaaS subscription name of the installed SaaS application.
- term_id str
- SaaS application Term Id.
- role_assignment_ strid 
- Role Assignment Id.
- marketplacePublisher StringId 
- SaaS application Marketplace Publisher Id.
- offerId String
- SaaS application Offer Id.
- partnerId String
- Partner Id of the Solution.
- planId String
- SaaS application Plan Id.
- saasSubscription StringId 
- SaaS subscriptionId of the installed SaaS application.
- saasSubscription StringName 
- SaaS subscription name of the installed SaaS application.
- termId String
- SaaS application Term Id.
- roleAssignment StringId 
- Role Assignment Id.
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0