1. Packages
  2. Azure Native v1
  3. API Docs
  4. recommendationsservice
  5. Modeling
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.recommendationsservice.Modeling

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Modeling resource details. API Version: 2022-02-01.

    Example Usage

    Create or update Modeling resource

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var modeling = new AzureNative.RecommendationsService.Modeling("modeling", new()
        {
            AccountName = "sampleAccount",
            Location = "West US",
            ModelingName = "c1",
            Properties = new AzureNative.RecommendationsService.Inputs.ModelingResourcePropertiesArgs
            {
                Features = "Standard",
                Frequency = "High",
                InputData = new AzureNative.RecommendationsService.Inputs.ModelingInputDataArgs
                {
                    ConnectionString = "https://storageAccount.blob.core.windows.net/container/root",
                },
                Size = "Medium",
            },
            ResourceGroupName = "rg",
            Tags = 
            {
                { "Environment", "Prod" },
            },
        });
    
    });
    
    package main
    
    import (
    	recommendationsservice "github.com/pulumi/pulumi-azure-native-sdk/recommendationsservice"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := recommendationsservice.NewModeling(ctx, "modeling", &recommendationsservice.ModelingArgs{
    			AccountName:  pulumi.String("sampleAccount"),
    			Location:     pulumi.String("West US"),
    			ModelingName: pulumi.String("c1"),
    			Properties: recommendationsservice.ModelingResourceResponseProperties{
    				Features:  pulumi.String("Standard"),
    				Frequency: pulumi.String("High"),
    				InputData: &recommendationsservice.ModelingInputDataArgs{
    					ConnectionString: pulumi.String("https://storageAccount.blob.core.windows.net/container/root"),
    				},
    				Size: pulumi.String("Medium"),
    			},
    			ResourceGroupName: pulumi.String("rg"),
    			Tags: pulumi.StringMap{
    				"Environment": pulumi.String("Prod"),
    			},
    		})
    		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.recommendationsservice.Modeling;
    import com.pulumi.azurenative.recommendationsservice.ModelingArgs;
    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 modeling = new Modeling("modeling", ModelingArgs.builder()        
                .accountName("sampleAccount")
                .location("West US")
                .modelingName("c1")
                .properties(Map.ofEntries(
                    Map.entry("features", "Standard"),
                    Map.entry("frequency", "High"),
                    Map.entry("inputData", Map.of("connectionString", "https://storageAccount.blob.core.windows.net/container/root")),
                    Map.entry("size", "Medium")
                ))
                .resourceGroupName("rg")
                .tags(Map.of("Environment", "Prod"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    modeling = azure_native.recommendationsservice.Modeling("modeling",
        account_name="sampleAccount",
        location="West US",
        modeling_name="c1",
        properties=azure_native.recommendationsservice.ModelingResourceResponsePropertiesArgs(
            features="Standard",
            frequency="High",
            input_data=azure_native.recommendationsservice.ModelingInputDataArgs(
                connection_string="https://storageAccount.blob.core.windows.net/container/root",
            ),
            size="Medium",
        ),
        resource_group_name="rg",
        tags={
            "Environment": "Prod",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const modeling = new azure_native.recommendationsservice.Modeling("modeling", {
        accountName: "sampleAccount",
        location: "West US",
        modelingName: "c1",
        properties: {
            features: "Standard",
            frequency: "High",
            inputData: {
                connectionString: "https://storageAccount.blob.core.windows.net/container/root",
            },
            size: "Medium",
        },
        resourceGroupName: "rg",
        tags: {
            Environment: "Prod",
        },
    });
    
    resources:
      modeling:
        type: azure-native:recommendationsservice:Modeling
        properties:
          accountName: sampleAccount
          location: West US
          modelingName: c1
          properties:
            features: Standard
            frequency: High
            inputData:
              connectionString: https://storageAccount.blob.core.windows.net/container/root
            size: Medium
          resourceGroupName: rg
          tags:
            Environment: Prod
    

    Create Modeling Resource

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

    Constructor syntax

    new Modeling(name: string, args: ModelingArgs, opts?: CustomResourceOptions);
    @overload
    def Modeling(resource_name: str,
                 args: ModelingArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Modeling(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 account_name: Optional[str] = None,
                 resource_group_name: Optional[str] = None,
                 location: Optional[str] = None,
                 modeling_name: Optional[str] = None,
                 properties: Optional[ModelingResourcePropertiesArgs] = None,
                 tags: Optional[Mapping[str, str]] = None)
    func NewModeling(ctx *Context, name string, args ModelingArgs, opts ...ResourceOption) (*Modeling, error)
    public Modeling(string name, ModelingArgs args, CustomResourceOptions? opts = null)
    public Modeling(String name, ModelingArgs args)
    public Modeling(String name, ModelingArgs args, CustomResourceOptions options)
    
    type: azure-native:recommendationsservice:Modeling
    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 ModelingArgs
    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 ModelingArgs
    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 ModelingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ModelingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ModelingArgs
    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 modelingResource = new AzureNative.Recommendationsservice.Modeling("modelingResource", new()
    {
        AccountName = "string",
        ResourceGroupName = "string",
        Location = "string",
        ModelingName = "string",
        Properties = 
        {
            { "features", "string" },
            { "frequency", "string" },
            { "inputData", 
            {
                { "connectionString", "string" },
            } },
            { "size", "string" },
        },
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := recommendationsservice.NewModeling(ctx, "modelingResource", &recommendationsservice.ModelingArgs{
    	AccountName:       "string",
    	ResourceGroupName: "string",
    	Location:          "string",
    	ModelingName:      "string",
    	Properties: map[string]interface{}{
    		"features":  "string",
    		"frequency": "string",
    		"inputData": map[string]interface{}{
    			"connectionString": "string",
    		},
    		"size": "string",
    	},
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    })
    
    var modelingResource = new Modeling("modelingResource", ModelingArgs.builder()
        .accountName("string")
        .resourceGroupName("string")
        .location("string")
        .modelingName("string")
        .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    modeling_resource = azure_native.recommendationsservice.Modeling("modelingResource",
        account_name=string,
        resource_group_name=string,
        location=string,
        modeling_name=string,
        properties={
            features: string,
            frequency: string,
            inputData: {
                connectionString: string,
            },
            size: string,
        },
        tags={
            string: string,
        })
    
    const modelingResource = new azure_native.recommendationsservice.Modeling("modelingResource", {
        accountName: "string",
        resourceGroupName: "string",
        location: "string",
        modelingName: "string",
        properties: {
            features: "string",
            frequency: "string",
            inputData: {
                connectionString: "string",
            },
            size: "string",
        },
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:recommendationsservice:Modeling
    properties:
        accountName: string
        location: string
        modelingName: string
        properties:
            features: string
            frequency: string
            inputData:
                connectionString: string
            size: string
        resourceGroupName: string
        tags:
            string: string
    

    Modeling 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 Modeling resource accepts the following input properties:

    AccountName string
    The name of the RecommendationsService Account resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Location string
    The geo-location where the resource lives
    ModelingName string
    The name of the Modeling resource.
    Properties Pulumi.AzureNative.RecommendationsService.Inputs.ModelingResourceProperties
    Modeling resource properties.
    Tags Dictionary<string, string>
    Resource tags.
    AccountName string
    The name of the RecommendationsService Account resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Location string
    The geo-location where the resource lives
    ModelingName string
    The name of the Modeling resource.
    Properties ModelingResourcePropertiesArgs
    Modeling resource properties.
    Tags map[string]string
    Resource tags.
    accountName String
    The name of the RecommendationsService Account resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    location String
    The geo-location where the resource lives
    modelingName String
    The name of the Modeling resource.
    properties ModelingResourceProperties
    Modeling resource properties.
    tags Map<String,String>
    Resource tags.
    accountName string
    The name of the RecommendationsService Account resource.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    location string
    The geo-location where the resource lives
    modelingName string
    The name of the Modeling resource.
    properties ModelingResourceProperties
    Modeling resource properties.
    tags {[key: string]: string}
    Resource tags.
    account_name str
    The name of the RecommendationsService Account resource.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    location str
    The geo-location where the resource lives
    modeling_name str
    The name of the Modeling resource.
    properties ModelingResourcePropertiesArgs
    Modeling resource properties.
    tags Mapping[str, str]
    Resource tags.
    accountName String
    The name of the RecommendationsService Account resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    location String
    The geo-location where the resource lives
    modelingName String
    The name of the Modeling resource.
    properties Property Map
    Modeling resource properties.
    tags Map<String>
    Resource tags.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.RecommendationsService.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData Property Map
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    ModelingFeatures, ModelingFeaturesArgs

    Basic
    Basic
    Standard
    Standard
    Premium
    Premium
    ModelingFeaturesBasic
    Basic
    ModelingFeaturesStandard
    Standard
    ModelingFeaturesPremium
    Premium
    Basic
    Basic
    Standard
    Standard
    Premium
    Premium
    Basic
    Basic
    Standard
    Standard
    Premium
    Premium
    BASIC
    Basic
    STANDARD
    Standard
    PREMIUM
    Premium
    "Basic"
    Basic
    "Standard"
    Standard
    "Premium"
    Premium

    ModelingFrequency, ModelingFrequencyArgs

    Low
    Low
    Medium
    Medium
    High
    High
    ModelingFrequencyLow
    Low
    ModelingFrequencyMedium
    Medium
    ModelingFrequencyHigh
    High
    Low
    Low
    Medium
    Medium
    High
    High
    Low
    Low
    Medium
    Medium
    High
    High
    LOW
    Low
    MEDIUM
    Medium
    HIGH
    High
    "Low"
    Low
    "Medium"
    Medium
    "High"
    High

    ModelingInputData, ModelingInputDataArgs

    ConnectionString string
    Connection string to raw input data.
    ConnectionString string
    Connection string to raw input data.
    connectionString String
    Connection string to raw input data.
    connectionString string
    Connection string to raw input data.
    connection_string str
    Connection string to raw input data.
    connectionString String
    Connection string to raw input data.

    ModelingInputDataResponse, ModelingInputDataResponseArgs

    ConnectionString string
    Connection string to raw input data.
    ConnectionString string
    Connection string to raw input data.
    connectionString String
    Connection string to raw input data.
    connectionString string
    Connection string to raw input data.
    connection_string str
    Connection string to raw input data.
    connectionString String
    Connection string to raw input data.

    ModelingResourceProperties, ModelingResourcePropertiesArgs

    Features string | Pulumi.AzureNative.RecommendationsService.ModelingFeatures
    Modeling features controls the set of supported scenarios\models being computed. This can only be set at Modeling creation.
    Frequency string | Pulumi.AzureNative.RecommendationsService.ModelingFrequency
    Modeling frequency controls the modeling compute frequency.
    InputData Pulumi.AzureNative.RecommendationsService.Inputs.ModelingInputData
    The configuration to raw CDM data to be used as Modeling resource input.
    Size string | Pulumi.AzureNative.RecommendationsService.ModelingSize
    Modeling size controls the maximum supported input data size.
    Features string | ModelingFeatures
    Modeling features controls the set of supported scenarios\models being computed. This can only be set at Modeling creation.
    Frequency string | ModelingFrequency
    Modeling frequency controls the modeling compute frequency.
    InputData ModelingInputData
    The configuration to raw CDM data to be used as Modeling resource input.
    Size string | ModelingSize
    Modeling size controls the maximum supported input data size.
    features String | ModelingFeatures
    Modeling features controls the set of supported scenarios\models being computed. This can only be set at Modeling creation.
    frequency String | ModelingFrequency
    Modeling frequency controls the modeling compute frequency.
    inputData ModelingInputData
    The configuration to raw CDM data to be used as Modeling resource input.
    size String | ModelingSize
    Modeling size controls the maximum supported input data size.
    features string | ModelingFeatures
    Modeling features controls the set of supported scenarios\models being computed. This can only be set at Modeling creation.
    frequency string | ModelingFrequency
    Modeling frequency controls the modeling compute frequency.
    inputData ModelingInputData
    The configuration to raw CDM data to be used as Modeling resource input.
    size string | ModelingSize
    Modeling size controls the maximum supported input data size.
    features str | ModelingFeatures
    Modeling features controls the set of supported scenarios\models being computed. This can only be set at Modeling creation.
    frequency str | ModelingFrequency
    Modeling frequency controls the modeling compute frequency.
    input_data ModelingInputData
    The configuration to raw CDM data to be used as Modeling resource input.
    size str | ModelingSize
    Modeling size controls the maximum supported input data size.
    features String | "Basic" | "Standard" | "Premium"
    Modeling features controls the set of supported scenarios\models being computed. This can only be set at Modeling creation.
    frequency String | "Low" | "Medium" | "High"
    Modeling frequency controls the modeling compute frequency.
    inputData Property Map
    The configuration to raw CDM data to be used as Modeling resource input.
    size String | "Small" | "Medium" | "Large"
    Modeling size controls the maximum supported input data size.

    ModelingResourceResponseProperties, ModelingResourceResponsePropertiesArgs

    ProvisioningState string
    The resource provisioning state.
    Features string
    Modeling features controls the set of supported scenarios\models being computed. This can only be set at Modeling creation.
    Frequency string
    Modeling frequency controls the modeling compute frequency.
    InputData Pulumi.AzureNative.RecommendationsService.Inputs.ModelingInputDataResponse
    The configuration to raw CDM data to be used as Modeling resource input.
    Size string
    Modeling size controls the maximum supported input data size.
    ProvisioningState string
    The resource provisioning state.
    Features string
    Modeling features controls the set of supported scenarios\models being computed. This can only be set at Modeling creation.
    Frequency string
    Modeling frequency controls the modeling compute frequency.
    InputData ModelingInputDataResponse
    The configuration to raw CDM data to be used as Modeling resource input.
    Size string
    Modeling size controls the maximum supported input data size.
    provisioningState String
    The resource provisioning state.
    features String
    Modeling features controls the set of supported scenarios\models being computed. This can only be set at Modeling creation.
    frequency String
    Modeling frequency controls the modeling compute frequency.
    inputData ModelingInputDataResponse
    The configuration to raw CDM data to be used as Modeling resource input.
    size String
    Modeling size controls the maximum supported input data size.
    provisioningState string
    The resource provisioning state.
    features string
    Modeling features controls the set of supported scenarios\models being computed. This can only be set at Modeling creation.
    frequency string
    Modeling frequency controls the modeling compute frequency.
    inputData ModelingInputDataResponse
    The configuration to raw CDM data to be used as Modeling resource input.
    size string
    Modeling size controls the maximum supported input data size.
    provisioning_state str
    The resource provisioning state.
    features str
    Modeling features controls the set of supported scenarios\models being computed. This can only be set at Modeling creation.
    frequency str
    Modeling frequency controls the modeling compute frequency.
    input_data ModelingInputDataResponse
    The configuration to raw CDM data to be used as Modeling resource input.
    size str
    Modeling size controls the maximum supported input data size.
    provisioningState String
    The resource provisioning state.
    features String
    Modeling features controls the set of supported scenarios\models being computed. This can only be set at Modeling creation.
    frequency String
    Modeling frequency controls the modeling compute frequency.
    inputData Property Map
    The configuration to raw CDM data to be used as Modeling resource input.
    size String
    Modeling size controls the maximum supported input data size.

    ModelingSize, ModelingSizeArgs

    Small
    Small
    Medium
    Medium
    Large
    Large
    ModelingSizeSmall
    Small
    ModelingSizeMedium
    Medium
    ModelingSizeLarge
    Large
    Small
    Small
    Medium
    Medium
    Large
    Large
    Small
    Small
    Medium
    Medium
    Large
    Large
    SMALL
    Small
    MEDIUM
    Medium
    LARGE
    Large
    "Small"
    Small
    "Medium"
    Medium
    "Large"
    Large

    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:recommendationsservice:Modeling c1 /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/rg/providers/Microsoft.RecommendationsService/accounts/sampleAccount/modeling/c1 
    

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

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi