![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.machinelearningservices.kotlin.FeaturesetVersionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.machinelearningservices.kotlin
import com.pulumi.azurenative.machinelearningservices.FeaturesetVersionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Azure Resource Manager resource envelope.
* Azure REST API version: 2023-04-01-preview.
* Other available API versions: 2023-06-01-preview, 2023-08-01-preview, 2023-10-01, 2024-01-01-preview, 2024-04-01, 2024-04-01-preview, 2024-07-01-preview.
* ## Example Usage
* ### CreateOrUpdate Workspace Featureset Version.
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using AzureNative = Pulumi.AzureNative;
* return await Deployment.RunAsync(() =>
* {
* var featuresetVersion = new AzureNative.MachineLearningServices.FeaturesetVersion("featuresetVersion", new()
* {
* FeaturesetVersionProperties = new AzureNative.MachineLearningServices.Inputs.FeaturesetVersionArgs
* {
* Description = "string",
* Entities = new[]
* {
* "string",
* },
* IsAnonymous = false,
* IsArchived = false,
* MaterializationSettings = new AzureNative.MachineLearningServices.Inputs.MaterializationSettingsArgs
* {
* Notification = new AzureNative.MachineLearningServices.Inputs.NotificationSettingArgs
* {
* EmailOn = new[]
* {
* AzureNative.MachineLearningServices.EmailNotificationEnableType.JobFailed,
* },
* Emails = new[]
* {
* "string",
* },
* },
* Resource = new AzureNative.MachineLearningServices.Inputs.MaterializationComputeResourceArgs
* {
* InstanceType = "string",
* },
* Schedule = new AzureNative.MachineLearningServices.Inputs.RecurrenceTriggerArgs
* {
* EndTime = "string",
* Frequency = AzureNative.MachineLearningServices.RecurrenceFrequency.Day,
* Interval = 1,
* Schedule = new AzureNative.MachineLearningServices.Inputs.RecurrenceScheduleArgs
* {
* Hours = new[]
* {
* 1,
* },
* Minutes = new[]
* {
* 1,
* },
* MonthDays = new[]
* {
* 1,
* },
* WeekDays = new[]
* {
* AzureNative.MachineLearningServices.WeekDay.Monday,
* },
* },
* StartTime = "string",
* TimeZone = "string",
* TriggerType = "Recurrence",
* },
* SparkConfiguration =
* {
* { "string", "string" },
* },
* StoreType = AzureNative.MachineLearningServices.MaterializationStoreType.Online,
* },
* Properties =
* {
* { "string", "string" },
* },
* Specification = new AzureNative.MachineLearningServices.Inputs.FeaturesetSpecificationArgs
* {
* Path = "string",
* },
* Stage = "string",
* Tags =
* {
* { "string", "string" },
* },
* },
* Name = "string",
* ResourceGroupName = "test-rg",
* Version = "string",
* WorkspaceName = "my-aml-workspace",
* });
* });
* ```
* ```go
* package main
* import (
* machinelearningservices "github.com/pulumi/pulumi-azure-native-sdk/machinelearningservices/v2"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := machinelearningservices.NewFeaturesetVersion(ctx, "featuresetVersion", &machinelearningservices.FeaturesetVersionArgs{
* FeaturesetVersionProperties: &machinelearningservices.FeaturesetVersionTypeArgs{
* Description: pulumi.String("string"),
* Entities: pulumi.StringArray{
* pulumi.String("string"),
* },
* IsAnonymous: pulumi.Bool(false),
* IsArchived: pulumi.Bool(false),
* MaterializationSettings: &machinelearningservices.MaterializationSettingsArgs{
* Notification: &machinelearningservices.NotificationSettingArgs{
* EmailOn: pulumi.StringArray{
* pulumi.String(machinelearningservices.EmailNotificationEnableTypeJobFailed),
* },
* Emails: pulumi.StringArray{
* pulumi.String("string"),
* },
* },
* Resource: &machinelearningservices.MaterializationComputeResourceArgs{
* InstanceType: pulumi.String("string"),
* },
* Schedule: &machinelearningservices.RecurrenceTriggerArgs{
* EndTime: pulumi.String("string"),
* Frequency: pulumi.String(machinelearningservices.RecurrenceFrequencyDay),
* Interval: pulumi.Int(1),
* Schedule: &machinelearningservices.RecurrenceScheduleArgs{
* Hours: pulumi.IntArray{
* pulumi.Int(1),
* },
* Minutes: pulumi.IntArray{
* pulumi.Int(1),
* },
* MonthDays: pulumi.IntArray{
* pulumi.Int(1),
* },
* WeekDays: pulumi.StringArray{
* pulumi.String(machinelearningservices.WeekDayMonday),
* },
* },
* StartTime: pulumi.String("string"),
* TimeZone: pulumi.String("string"),
* TriggerType: pulumi.String("Recurrence"),
* },
* SparkConfiguration: pulumi.StringMap{
* "string": pulumi.String("string"),
* },
* StoreType: pulumi.String(machinelearningservices.MaterializationStoreTypeOnline),
* },
* Properties: pulumi.StringMap{
* "string": pulumi.String("string"),
* },
* Specification: &machinelearningservices.FeaturesetSpecificationArgs{
* Path: pulumi.String("string"),
* },
* Stage: pulumi.String("string"),
* Tags: pulumi.StringMap{
* "string": pulumi.String("string"),
* },
* },
* Name: pulumi.String("string"),
* ResourceGroupName: pulumi.String("test-rg"),
* Version: pulumi.String("string"),
* WorkspaceName: pulumi.String("my-aml-workspace"),
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* package generated_program;
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.machinelearningservices.FeaturesetVersion;
* import com.pulumi.azurenative.machinelearningservices.FeaturesetVersionArgs;
* import com.pulumi.azurenative.machinelearningservices.inputs.FeaturesetVersionArgs;
* import com.pulumi.azurenative.machinelearningservices.inputs.MaterializationSettingsArgs;
* import com.pulumi.azurenative.machinelearningservices.inputs.NotificationSettingArgs;
* import com.pulumi.azurenative.machinelearningservices.inputs.MaterializationComputeResourceArgs;
* import com.pulumi.azurenative.machinelearningservices.inputs.RecurrenceTriggerArgs;
* import com.pulumi.azurenative.machinelearningservices.inputs.RecurrenceScheduleArgs;
* import com.pulumi.azurenative.machinelearningservices.inputs.FeaturesetSpecificationArgs;
* 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 featuresetVersion = new FeaturesetVersion("featuresetVersion", FeaturesetVersionArgs.builder()
* .featuresetVersionProperties(FeaturesetVersionArgs.builder()
* .description("string")
* .entities("string")
* .isAnonymous(false)
* .isArchived(false)
* .materializationSettings(MaterializationSettingsArgs.builder()
* .notification(NotificationSettingArgs.builder()
* .emailOn("JobFailed")
* .emails("string")
* .build())
* .resource(MaterializationComputeResourceArgs.builder()
* .instanceType("string")
* .build())
* .schedule(RecurrenceTriggerArgs.builder()
* .endTime("string")
* .frequency("Day")
* .interval(1)
* .schedule(RecurrenceScheduleArgs.builder()
* .hours(1)
* .minutes(1)
* .monthDays(1)
* .weekDays("Monday")
* .build())
* .startTime("string")
* .timeZone("string")
* .triggerType("Recurrence")
* .build())
* .sparkConfiguration(Map.of("string", "string"))
* .storeType("Online")
* .build())
* .properties(Map.of("string", "string"))
* .specification(FeaturesetSpecificationArgs.builder()
* .path("string")
* .build())
* .stage("string")
* .tags(Map.of("string", "string"))
* .build())
* .name("string")
* .resourceGroupName("test-rg")
* .version("string")
* .workspaceName("my-aml-workspace")
* .build());
* }
* }
* ```
* ## Import
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:machinelearningservices:FeaturesetVersion string /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}
* ```
* @property featuresetVersionProperties [Required] Additional attributes of the entity.
* @property name Container name. This is case-sensitive.
* @property resourceGroupName The name of the resource group. The name is case insensitive.
* @property version Version identifier. This is case-sensitive.
* @property workspaceName Name of Azure Machine Learning workspace.
*/
public data class FeaturesetVersionArgs(
public val featuresetVersionProperties: Output? =
null,
public val name: Output? = null,
public val resourceGroupName: Output? = null,
public val version: Output? = null,
public val workspaceName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.machinelearningservices.FeaturesetVersionArgs =
com.pulumi.azurenative.machinelearningservices.FeaturesetVersionArgs.builder()
.featuresetVersionProperties(
featuresetVersionProperties?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.name(name?.applyValue({ args0 -> args0 }))
.resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 }))
.version(version?.applyValue({ args0 -> args0 }))
.workspaceName(workspaceName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FeaturesetVersionArgs].
*/
@PulumiTagMarker
public class FeaturesetVersionArgsBuilder internal constructor() {
private var featuresetVersionProperties:
Output? =
null
private var name: Output? = null
private var resourceGroupName: Output? = null
private var version: Output? = null
private var workspaceName: Output? = null
/**
* @param value [Required] Additional attributes of the entity.
*/
@JvmName("voklianyigwwrahe")
public suspend fun featuresetVersionProperties(`value`: Output) {
this.featuresetVersionProperties = value
}
/**
* @param value Container name. This is case-sensitive.
*/
@JvmName("qnoouaiaiohcvasx")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The name of the resource group. The name is case insensitive.
*/
@JvmName("evyjvwaeevcjmclu")
public suspend fun resourceGroupName(`value`: Output) {
this.resourceGroupName = value
}
/**
* @param value Version identifier. This is case-sensitive.
*/
@JvmName("yysjqbjvkqgpmrqs")
public suspend fun version(`value`: Output) {
this.version = value
}
/**
* @param value Name of Azure Machine Learning workspace.
*/
@JvmName("adgvvmdwqqkdurec")
public suspend fun workspaceName(`value`: Output) {
this.workspaceName = value
}
/**
* @param value [Required] Additional attributes of the entity.
*/
@JvmName("tpxvfsaqhsnedqmg")
public suspend fun featuresetVersionProperties(`value`: com.pulumi.azurenative.machinelearningservices.kotlin.inputs.FeaturesetVersionArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.featuresetVersionProperties = mapped
}
/**
* @param argument [Required] Additional attributes of the entity.
*/
@JvmName("kphcmjcvxcsjvlmk")
public suspend fun featuresetVersionProperties(argument: suspend com.pulumi.azurenative.machinelearningservices.kotlin.inputs.FeaturesetVersionArgsBuilder.() -> Unit) {
val toBeMapped =
com.pulumi.azurenative.machinelearningservices.kotlin.inputs.FeaturesetVersionArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.featuresetVersionProperties = mapped
}
/**
* @param value Container name. This is case-sensitive.
*/
@JvmName("widuprxwehlnqrdk")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The name of the resource group. The name is case insensitive.
*/
@JvmName("gmomxjqsxyvuhoht")
public suspend fun resourceGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceGroupName = mapped
}
/**
* @param value Version identifier. This is case-sensitive.
*/
@JvmName("fviupltbpwtpoomy")
public suspend fun version(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.version = mapped
}
/**
* @param value Name of Azure Machine Learning workspace.
*/
@JvmName("vcakyuilqptstsuo")
public suspend fun workspaceName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.workspaceName = mapped
}
internal fun build(): FeaturesetVersionArgs = FeaturesetVersionArgs(
featuresetVersionProperties = featuresetVersionProperties,
name = name,
resourceGroupName = resourceGroupName,
version = version,
workspaceName = workspaceName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy