![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.devspaces.kotlin.ControllerArgs.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.devspaces.kotlin
import com.pulumi.azurenative.devspaces.ControllerArgs.builder
import com.pulumi.azurenative.devspaces.kotlin.inputs.SkuArgs
import com.pulumi.azurenative.devspaces.kotlin.inputs.SkuArgsBuilder
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.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
*
* Azure REST API version: 2019-04-01. Prior API version in Azure Native 1.x: 2019-04-01.
* ## Example Usage
* ### ControllersCreate
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using AzureNative = Pulumi.AzureNative;
* return await Deployment.RunAsync(() =>
* {
* var controller = new AzureNative.DevSpaces.Controller("controller", new()
* {
* Location = "eastus",
* Name = "myControllerResource",
* ResourceGroupName = "myResourceGroup",
* Sku = new AzureNative.DevSpaces.Inputs.SkuArgs
* {
* Name = AzureNative.DevSpaces.SkuName.S1,
* Tier = AzureNative.DevSpaces.SkuTier.Standard,
* },
* Tags = null,
* TargetContainerHostCredentialsBase64 = "QmFzZTY0IEVuY29kZWQgVmFsdWUK",
* TargetContainerHostResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster",
* });
* });
* ```
* ```go
* package main
* import (
* devspaces "github.com/pulumi/pulumi-azure-native-sdk/devspaces/v2"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := devspaces.NewController(ctx, "controller", &devspaces.ControllerArgs{
* Location: pulumi.String("eastus"),
* Name: pulumi.String("myControllerResource"),
* ResourceGroupName: pulumi.String("myResourceGroup"),
* Sku: &devspaces.SkuArgs{
* Name: pulumi.String(devspaces.SkuNameS1),
* Tier: pulumi.String(devspaces.SkuTierStandard),
* },
* Tags: nil,
* TargetContainerHostCredentialsBase64: pulumi.String("QmFzZTY0IEVuY29kZWQgVmFsdWUK"),
* TargetContainerHostResourceId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster"),
* })
* 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.devspaces.Controller;
* import com.pulumi.azurenative.devspaces.ControllerArgs;
* import com.pulumi.azurenative.devspaces.inputs.SkuArgs;
* 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 controller = new Controller("controller", ControllerArgs.builder()
* .location("eastus")
* .name("myControllerResource")
* .resourceGroupName("myResourceGroup")
* .sku(SkuArgs.builder()
* .name("S1")
* .tier("Standard")
* .build())
* .tags()
* .targetContainerHostCredentialsBase64("QmFzZTY0IEVuY29kZWQgVmFsdWUK")
* .targetContainerHostResourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster")
* .build());
* }
* }
* ```
* ## Import
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:devspaces:Controller myControllerResource /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}
* ```
* @property location Region where the Azure resource is located.
* @property name Name of the resource.
* @property resourceGroupName Resource group to which the resource belongs.
* @property sku Model representing SKU for Azure Dev Spaces Controller.
* @property tags Tags for the Azure resource.
* @property targetContainerHostCredentialsBase64 Credentials of the target container host (base64).
* @property targetContainerHostResourceId Resource ID of the target container host
*/
public data class ControllerArgs(
public val location: Output? = null,
public val name: Output? = null,
public val resourceGroupName: Output? = null,
public val sku: Output? = null,
public val tags: Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy