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 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:
- Data
Manager stringFor Agriculture Resource Name - DataManagerForAgriculture resource name.
- Resource
Group 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.
- Solution
Id string - SolutionId for Data Manager For Agriculture Resource.
- Data
Manager stringFor Agriculture Resource Name - DataManagerForAgriculture resource name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Properties
Solution
Properties Args - Solution resource properties.
- Solution
Id string - SolutionId for Data Manager For Agriculture Resource.
- data
Manager StringFor Agriculture Resource Name - DataManagerForAgriculture resource name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- properties
Solution
Properties - Solution resource properties.
- solution
Id String - SolutionId for Data Manager For Agriculture Resource.
- data
Manager stringFor Agriculture Resource Name - DataManagerForAgriculture resource name.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- properties
Solution
Properties - Solution resource properties.
- solution
Id 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
Solution
Properties Args - Solution resource properties.
- solution_
id str - SolutionId for Data Manager For Agriculture Resource.
- data
Manager StringFor Agriculture Resource Name - DataManagerForAgriculture resource name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- properties Property Map
- Solution resource properties.
- solution
Id 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
- System
Data 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
- System
Data 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 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
- system
Data 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 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
- system
Data 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"
- e
Tag 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
- system
Data 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
- Marketplace
Publisher stringId - SaaS application Marketplace Publisher Id.
- Offer
Id string - SaaS application Offer Id.
- Plan
Id string - SaaS application Plan Id.
- Saas
Subscription stringId - SaaS subscriptionId of the installed SaaS application.
- Saas
Subscription stringName - SaaS subscription name of the installed SaaS application.
- Term
Id string - SaaS application Term Id.
- Role
Assignment stringId - Role Assignment Id.
- Marketplace
Publisher stringId - SaaS application Marketplace Publisher Id.
- Offer
Id string - SaaS application Offer Id.
- Plan
Id string - SaaS application Plan Id.
- Saas
Subscription stringId - SaaS subscriptionId of the installed SaaS application.
- Saas
Subscription stringName - SaaS subscription name of the installed SaaS application.
- Term
Id string - SaaS application Term Id.
- Role
Assignment stringId - Role Assignment Id.
- marketplace
Publisher StringId - SaaS application Marketplace Publisher Id.
- offer
Id String - SaaS application Offer Id.
- plan
Id String - SaaS application Plan Id.
- saas
Subscription StringId - SaaS subscriptionId of the installed SaaS application.
- saas
Subscription StringName - SaaS subscription name of the installed SaaS application.
- term
Id String - SaaS application Term Id.
- role
Assignment StringId - Role Assignment Id.
- marketplace
Publisher stringId - SaaS application Marketplace Publisher Id.
- offer
Id string - SaaS application Offer Id.
- plan
Id string - SaaS application Plan Id.
- saas
Subscription stringId - SaaS subscriptionId of the installed SaaS application.
- saas
Subscription stringName - SaaS subscription name of the installed SaaS application.
- term
Id string - SaaS application Term Id.
- role
Assignment 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.
- marketplace
Publisher StringId - SaaS application Marketplace Publisher Id.
- offer
Id String - SaaS application Offer Id.
- plan
Id String - SaaS application Plan Id.
- saas
Subscription StringId - SaaS subscriptionId of the installed SaaS application.
- saas
Subscription StringName - SaaS subscription name of the installed SaaS application.
- term
Id String - SaaS application Term Id.
- role
Assignment StringId - Role Assignment Id.
SolutionPropertiesResponse, SolutionPropertiesResponseArgs
- Marketplace
Publisher stringId - SaaS application Marketplace Publisher Id.
- Offer
Id string - SaaS application Offer Id.
- Partner
Id string - Partner Id of the Solution.
- Plan
Id string - SaaS application Plan Id.
- Saas
Subscription stringId - SaaS subscriptionId of the installed SaaS application.
- Saas
Subscription stringName - SaaS subscription name of the installed SaaS application.
- Term
Id string - SaaS application Term Id.
- Role
Assignment stringId - Role Assignment Id.
- Marketplace
Publisher stringId - SaaS application Marketplace Publisher Id.
- Offer
Id string - SaaS application Offer Id.
- Partner
Id string - Partner Id of the Solution.
- Plan
Id string - SaaS application Plan Id.
- Saas
Subscription stringId - SaaS subscriptionId of the installed SaaS application.
- Saas
Subscription stringName - SaaS subscription name of the installed SaaS application.
- Term
Id string - SaaS application Term Id.
- Role
Assignment stringId - Role Assignment Id.
- marketplace
Publisher StringId - SaaS application Marketplace Publisher Id.
- offer
Id String - SaaS application Offer Id.
- partner
Id String - Partner Id of the Solution.
- plan
Id String - SaaS application Plan Id.
- saas
Subscription StringId - SaaS subscriptionId of the installed SaaS application.
- saas
Subscription StringName - SaaS subscription name of the installed SaaS application.
- term
Id String - SaaS application Term Id.
- role
Assignment StringId - Role Assignment Id.
- marketplace
Publisher stringId - SaaS application Marketplace Publisher Id.
- offer
Id string - SaaS application Offer Id.
- partner
Id string - Partner Id of the Solution.
- plan
Id string - SaaS application Plan Id.
- saas
Subscription stringId - SaaS subscriptionId of the installed SaaS application.
- saas
Subscription stringName - SaaS subscription name of the installed SaaS application.
- term
Id string - SaaS application Term Id.
- role
Assignment 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.
- marketplace
Publisher StringId - SaaS application Marketplace Publisher Id.
- offer
Id String - SaaS application Offer Id.
- partner
Id String - Partner Id of the Solution.
- plan
Id String - SaaS application Plan Id.
- saas
Subscription StringId - SaaS subscriptionId of the installed SaaS application.
- saas
Subscription StringName - SaaS subscription name of the installed SaaS application.
- term
Id String - SaaS application Term Id.
- role
Assignment StringId - Role Assignment Id.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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