1. Packages
  2. Azure Native
  3. API Docs
  4. agfoodplatform
  5. Solution
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.agfoodplatform.Solution

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 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",
        });
    
    });
    
    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 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")
    
    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",
    });
    
    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=azure_native.agfoodplatform.SolutionPropertiesArgs(
            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

    The Solution resource accepts the following input properties:

    DataManagerForAgricultureResourceName string
    DataManagerForAgriculture resource name.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Properties Pulumi.AzureNative.AgFoodPlatform.Inputs.SolutionProperties
    Solution resource properties.
    SolutionId string
    SolutionId for Data Manager For Agriculture Resource.
    DataManagerForAgricultureResourceName string
    DataManagerForAgriculture resource name.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Properties SolutionPropertiesArgs
    Solution resource properties.
    SolutionId string
    SolutionId for Data Manager For Agriculture Resource.
    dataManagerForAgricultureResourceName String
    DataManagerForAgriculture resource name.
    resourceGroupName String
    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.
    dataManagerForAgricultureResourceName string
    DataManagerForAgriculture resource name.
    resourceGroupName string
    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_for_agriculture_resource_name str
    DataManagerForAgriculture resource name.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    properties SolutionPropertiesArgs
    Solution resource properties.
    solution_id str
    SolutionId for Data Manager For Agriculture Resource.
    dataManagerForAgricultureResourceName String
    DataManagerForAgriculture resource name.
    resourceGroupName String
    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.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 string
    SaaS application Marketplace Publisher Id.
    OfferId string
    SaaS application Offer Id.
    PlanId string
    SaaS application Plan Id.
    SaasSubscriptionId string
    SaaS subscriptionId of the installed SaaS application.
    SaasSubscriptionName string
    SaaS subscription name of the installed SaaS application.
    TermId string
    SaaS application Term Id.
    RoleAssignmentId string
    Role Assignment Id.
    MarketplacePublisherId string
    SaaS application Marketplace Publisher Id.
    OfferId string
    SaaS application Offer Id.
    PlanId string
    SaaS application Plan Id.
    SaasSubscriptionId string
    SaaS subscriptionId of the installed SaaS application.
    SaasSubscriptionName string
    SaaS subscription name of the installed SaaS application.
    TermId string
    SaaS application Term Id.
    RoleAssignmentId string
    Role Assignment Id.
    marketplacePublisherId String
    SaaS application Marketplace Publisher Id.
    offerId String
    SaaS application Offer Id.
    planId String
    SaaS application Plan Id.
    saasSubscriptionId String
    SaaS subscriptionId of the installed SaaS application.
    saasSubscriptionName String
    SaaS subscription name of the installed SaaS application.
    termId String
    SaaS application Term Id.
    roleAssignmentId String
    Role Assignment Id.
    marketplacePublisherId string
    SaaS application Marketplace Publisher Id.
    offerId string
    SaaS application Offer Id.
    planId string
    SaaS application Plan Id.
    saasSubscriptionId string
    SaaS subscriptionId of the installed SaaS application.
    saasSubscriptionName string
    SaaS subscription name of the installed SaaS application.
    termId string
    SaaS application Term Id.
    roleAssignmentId string
    Role Assignment Id.
    marketplace_publisher_id str
    SaaS application Marketplace Publisher Id.
    offer_id str
    SaaS application Offer Id.
    plan_id str
    SaaS application Plan Id.
    saas_subscription_id str
    SaaS subscriptionId of the installed SaaS application.
    saas_subscription_name str
    SaaS subscription name of the installed SaaS application.
    term_id str
    SaaS application Term Id.
    role_assignment_id str
    Role Assignment Id.
    marketplacePublisherId String
    SaaS application Marketplace Publisher Id.
    offerId String
    SaaS application Offer Id.
    planId String
    SaaS application Plan Id.
    saasSubscriptionId String
    SaaS subscriptionId of the installed SaaS application.
    saasSubscriptionName String
    SaaS subscription name of the installed SaaS application.
    termId String
    SaaS application Term Id.
    roleAssignmentId String
    Role Assignment Id.

    SolutionPropertiesResponse, SolutionPropertiesResponseArgs

    MarketplacePublisherId string
    SaaS application Marketplace Publisher Id.
    OfferId string
    SaaS application Offer Id.
    PartnerId string
    Partner Id of the Solution.
    PlanId string
    SaaS application Plan Id.
    SaasSubscriptionId string
    SaaS subscriptionId of the installed SaaS application.
    SaasSubscriptionName string
    SaaS subscription name of the installed SaaS application.
    TermId string
    SaaS application Term Id.
    RoleAssignmentId string
    Role Assignment Id.
    MarketplacePublisherId string
    SaaS application Marketplace Publisher Id.
    OfferId string
    SaaS application Offer Id.
    PartnerId string
    Partner Id of the Solution.
    PlanId string
    SaaS application Plan Id.
    SaasSubscriptionId string
    SaaS subscriptionId of the installed SaaS application.
    SaasSubscriptionName string
    SaaS subscription name of the installed SaaS application.
    TermId string
    SaaS application Term Id.
    RoleAssignmentId string
    Role Assignment Id.
    marketplacePublisherId String
    SaaS application Marketplace Publisher Id.
    offerId String
    SaaS application Offer Id.
    partnerId String
    Partner Id of the Solution.
    planId String
    SaaS application Plan Id.
    saasSubscriptionId String
    SaaS subscriptionId of the installed SaaS application.
    saasSubscriptionName String
    SaaS subscription name of the installed SaaS application.
    termId String
    SaaS application Term Id.
    roleAssignmentId String
    Role Assignment Id.
    marketplacePublisherId string
    SaaS application Marketplace Publisher Id.
    offerId string
    SaaS application Offer Id.
    partnerId string
    Partner Id of the Solution.
    planId string
    SaaS application Plan Id.
    saasSubscriptionId string
    SaaS subscriptionId of the installed SaaS application.
    saasSubscriptionName string
    SaaS subscription name of the installed SaaS application.
    termId string
    SaaS application Term Id.
    roleAssignmentId string
    Role Assignment Id.
    marketplace_publisher_id str
    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_id str
    SaaS subscriptionId of the installed SaaS application.
    saas_subscription_name str
    SaaS subscription name of the installed SaaS application.
    term_id str
    SaaS application Term Id.
    role_assignment_id str
    Role Assignment Id.
    marketplacePublisherId String
    SaaS application Marketplace Publisher Id.
    offerId String
    SaaS application Offer Id.
    partnerId String
    Partner Id of the Solution.
    planId String
    SaaS application Plan Id.
    saasSubscriptionId String
    SaaS subscriptionId of the installed SaaS application.
    saasSubscriptionName String
    SaaS subscription name of the installed SaaS application.
    termId 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} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi