azure-native.recommendationsservice.Modeling
Explore with Pulumi AI
Modeling resource details. Azure REST API version: 2022-02-01. Prior API version in Azure Native 1.x: 2022-02-01.
Other available API versions: 2022-03-01-preview.
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 = AzureNative.RecommendationsService.ModelingFeatures.Standard,
Frequency = AzureNative.RecommendationsService.ModelingFrequency.High,
InputData = new AzureNative.RecommendationsService.Inputs.ModelingInputDataArgs
{
ConnectionString = "https://storageAccount.blob.core.windows.net/container/root",
},
Size = AzureNative.RecommendationsService.ModelingSize.Medium,
},
ResourceGroupName = "rg",
Tags =
{
{ "Environment", "Prod" },
},
});
});
package main
import (
recommendationsservice "github.com/pulumi/pulumi-azure-native-sdk/recommendationsservice/v2"
"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.ModelingResourcePropertiesArgs{
Features: pulumi.String(recommendationsservice.ModelingFeaturesStandard),
Frequency: pulumi.String(recommendationsservice.ModelingFrequencyHigh),
InputData: &recommendationsservice.ModelingInputDataArgs{
ConnectionString: pulumi.String("https://storageAccount.blob.core.windows.net/container/root"),
},
Size: pulumi.String(recommendationsservice.ModelingSizeMedium),
},
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 com.pulumi.azurenative.recommendationsservice.inputs.ModelingResourcePropertiesArgs;
import com.pulumi.azurenative.recommendationsservice.inputs.ModelingInputDataArgs;
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(ModelingResourcePropertiesArgs.builder()
.features("Standard")
.frequency("High")
.inputData(ModelingInputDataArgs.builder()
.connectionString("https://storageAccount.blob.core.windows.net/container/root")
.build())
.size("Medium")
.build())
.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={
"features": azure_native.recommendationsservice.ModelingFeatures.STANDARD,
"frequency": azure_native.recommendationsservice.ModelingFrequency.HIGH,
"input_data": {
"connection_string": "https://storageAccount.blob.core.windows.net/container/root",
},
"size": azure_native.recommendationsservice.ModelingSize.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: azure_native.recommendationsservice.ModelingFeatures.Standard,
frequency: azure_native.recommendationsservice.ModelingFrequency.High,
inputData: {
connectionString: "https://storageAccount.blob.core.windows.net/container/root",
},
size: azure_native.recommendationsservice.ModelingSize.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 = new AzureNative.RecommendationsService.Inputs.ModelingResourcePropertiesArgs
{
Features = "string",
Frequency = "string",
InputData = new AzureNative.RecommendationsService.Inputs.ModelingInputDataArgs
{
ConnectionString = "string",
},
Size = "string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := recommendationsservice.NewModeling(ctx, "modelingResource", &recommendationsservice.ModelingArgs{
AccountName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
ModelingName: pulumi.String("string"),
Properties: &recommendationsservice.ModelingResourcePropertiesArgs{
Features: pulumi.String("string"),
Frequency: pulumi.String("string"),
InputData: &recommendationsservice.ModelingInputDataArgs{
ConnectionString: pulumi.String("string"),
},
Size: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var modelingResource = new Modeling("modelingResource", ModelingArgs.builder()
.accountName("string")
.resourceGroupName("string")
.location("string")
.modelingName("string")
.properties(ModelingResourcePropertiesArgs.builder()
.features("string")
.frequency("string")
.inputData(ModelingInputDataArgs.builder()
.connectionString("string")
.build())
.size("string")
.build())
.tags(Map.of("string", "string"))
.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
The Modeling resource accepts the following input properties:
- Account
Name string - The name of the RecommendationsService Account resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Modeling
Name string - The name of the Modeling resource.
- Properties
Pulumi.
Azure Native. Recommendations Service. Inputs. Modeling Resource Properties - Modeling resource properties.
- Dictionary<string, string>
- Resource tags.
- Account
Name string - The name of the RecommendationsService Account resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Modeling
Name string - The name of the Modeling resource.
- Properties
Modeling
Resource Properties Args - Modeling resource properties.
- map[string]string
- Resource tags.
- account
Name String - The name of the RecommendationsService Account resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- modeling
Name String - The name of the Modeling resource.
- properties
Modeling
Resource Properties - Modeling resource properties.
- Map<String,String>
- Resource tags.
- account
Name string - The name of the RecommendationsService Account resource.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- location string
- The geo-location where the resource lives
- modeling
Name string - The name of the Modeling resource.
- properties
Modeling
Resource Properties - Modeling resource properties.
- {[key: string]: string}
- Resource tags.
- account_
name str - The name of the RecommendationsService Account resource.
- resource_
group_ strname - 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
Modeling
Resource Properties Args - Modeling resource properties.
- Mapping[str, str]
- Resource tags.
- account
Name String - The name of the RecommendationsService Account resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- modeling
Name String - The name of the Modeling resource.
- properties Property Map
- Modeling resource properties.
- 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
- System
Data Pulumi.Azure Native. Recommendations Service. Outputs. System Data Response - 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
- System
Data SystemData Response - 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
- system
Data SystemData Response - 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
- system
Data SystemData Response - 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 SystemData Response - 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
- system
Data 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
- Modeling
Features Basic - Basic
- Modeling
Features Standard - Standard
- Modeling
Features Premium - 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
- Modeling
Frequency Low - Low
- Modeling
Frequency Medium - Medium
- Modeling
Frequency High - 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
- Connection
String string - Connection string to raw input data.
- Connection
String string - Connection string to raw input data.
- connection
String String - Connection string to raw input data.
- connection
String string - Connection string to raw input data.
- connection_
string str - Connection string to raw input data.
- connection
String String - Connection string to raw input data.
ModelingInputDataResponse, ModelingInputDataResponseArgs
- Connection
String string - Connection string to raw input data.
- Connection
String string - Connection string to raw input data.
- connection
String String - Connection string to raw input data.
- connection
String string - Connection string to raw input data.
- connection_
string str - Connection string to raw input data.
- connection
String String - Connection string to raw input data.
ModelingResourceProperties, ModelingResourcePropertiesArgs
- Features
string | Pulumi.
Azure Native. Recommendations Service. Modeling Features - Modeling features controls the set of supported scenarios\models being computed. This can only be set at Modeling creation.
- Frequency
string | Pulumi.
Azure Native. Recommendations Service. Modeling Frequency - Modeling frequency controls the modeling compute frequency.
- Input
Data Pulumi.Azure Native. Recommendations Service. Inputs. Modeling Input Data - The configuration to raw CDM data to be used as Modeling resource input.
- Size
string | Pulumi.
Azure Native. Recommendations Service. Modeling Size - Modeling size controls the maximum supported input data size.
- Features
string | Modeling
Features - Modeling features controls the set of supported scenarios\models being computed. This can only be set at Modeling creation.
- Frequency
string | Modeling
Frequency - Modeling frequency controls the modeling compute frequency.
- Input
Data ModelingInput Data - The configuration to raw CDM data to be used as Modeling resource input.
- Size
string | Modeling
Size - Modeling size controls the maximum supported input data size.
- features
String | Modeling
Features - Modeling features controls the set of supported scenarios\models being computed. This can only be set at Modeling creation.
- frequency
String | Modeling
Frequency - Modeling frequency controls the modeling compute frequency.
- input
Data ModelingInput Data - The configuration to raw CDM data to be used as Modeling resource input.
- size
String | Modeling
Size - Modeling size controls the maximum supported input data size.
- features
string | Modeling
Features - Modeling features controls the set of supported scenarios\models being computed. This can only be set at Modeling creation.
- frequency
string | Modeling
Frequency - Modeling frequency controls the modeling compute frequency.
- input
Data ModelingInput Data - The configuration to raw CDM data to be used as Modeling resource input.
- size
string | Modeling
Size - Modeling size controls the maximum supported input data size.
- features
str | Modeling
Features - Modeling features controls the set of supported scenarios\models being computed. This can only be set at Modeling creation.
- frequency
str | Modeling
Frequency - Modeling frequency controls the modeling compute frequency.
- input_
data ModelingInput Data - The configuration to raw CDM data to be used as Modeling resource input.
- size
str | Modeling
Size - 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.
- input
Data 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
- Provisioning
State 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.
- Input
Data Pulumi.Azure Native. Recommendations Service. Inputs. Modeling Input Data Response - 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 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.
- Input
Data ModelingInput Data Response - 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 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.
- input
Data ModelingInput Data Response - 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 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.
- input
Data ModelingInput Data Response - 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 ModelingInput Data Response - The configuration to raw CDM data to be used as Modeling resource input.
- size str
- Modeling size controls the maximum supported input data size.
- provisioning
State 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.
- input
Data 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
- Modeling
Size Small - Small
- Modeling
Size Medium - Medium
- Modeling
Size Large - 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
- 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:recommendationsservice:Modeling c1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecommendationsService/accounts/{accountName}/modeling/{modelingName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0