![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.vmwarecloudsimple.kotlin.DedicatedCloudNodeArgs.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.vmwarecloudsimple.kotlin
import com.pulumi.azurenative.vmwarecloudsimple.DedicatedCloudNodeArgs.builder
import com.pulumi.azurenative.vmwarecloudsimple.kotlin.inputs.SkuArgs
import com.pulumi.azurenative.vmwarecloudsimple.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.Int
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Dedicated cloud node model
* Azure REST API version: 2019-04-01. Prior API version in Azure Native 1.x: 2019-04-01.
* ## Example Usage
* ### CreateDedicatedCloudNode
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using AzureNative = Pulumi.AzureNative;
* return await Deployment.RunAsync(() =>
* {
* var dedicatedCloudNode = new AzureNative.VMwareCloudSimple.DedicatedCloudNode("dedicatedCloudNode", new()
* {
* AvailabilityZoneId = "az1",
* DedicatedCloudNodeName = "myNode",
* Id = "general",
* Location = "westus",
* Name = "CS28-Node",
* NodesCount = 1,
* PlacementGroupId = "n1",
* PurchaseId = "56acbd46-3d36-4bbf-9b08-57c30fdf6932",
* ResourceGroupName = "myResourceGroup",
* Sku = new AzureNative.VMwareCloudSimple.Inputs.SkuArgs
* {
* Name = "VMware_CloudSimple_CS28",
* },
* });
* });
* ```
* ```go
* package main
* import (
* vmwarecloudsimple "github.com/pulumi/pulumi-azure-native-sdk/vmwarecloudsimple/v2"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := vmwarecloudsimple.NewDedicatedCloudNode(ctx, "dedicatedCloudNode", &vmwarecloudsimple.DedicatedCloudNodeArgs{
* AvailabilityZoneId: pulumi.String("az1"),
* DedicatedCloudNodeName: pulumi.String("myNode"),
* Id: pulumi.String("general"),
* Location: pulumi.String("westus"),
* Name: pulumi.String("CS28-Node"),
* NodesCount: pulumi.Int(1),
* PlacementGroupId: pulumi.String("n1"),
* PurchaseId: pulumi.String("56acbd46-3d36-4bbf-9b08-57c30fdf6932"),
* ResourceGroupName: pulumi.String("myResourceGroup"),
* Sku: &vmwarecloudsimple.SkuArgs{
* Name: pulumi.String("VMware_CloudSimple_CS28"),
* },
* })
* 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.vmwarecloudsimple.DedicatedCloudNode;
* import com.pulumi.azurenative.vmwarecloudsimple.DedicatedCloudNodeArgs;
* import com.pulumi.azurenative.vmwarecloudsimple.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 dedicatedCloudNode = new DedicatedCloudNode("dedicatedCloudNode", DedicatedCloudNodeArgs.builder()
* .availabilityZoneId("az1")
* .dedicatedCloudNodeName("myNode")
* .id("general")
* .location("westus")
* .name("CS28-Node")
* .nodesCount(1)
* .placementGroupId("n1")
* .purchaseId("56acbd46-3d36-4bbf-9b08-57c30fdf6932")
* .resourceGroupName("myResourceGroup")
* .sku(SkuArgs.builder()
* .name("VMware_CloudSimple_CS28")
* .build())
* .build());
* }
* }
* ```
* ## Import
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:vmwarecloudsimple:DedicatedCloudNode myNode /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/{dedicatedCloudNodeName}
* ```
* @property availabilityZoneId Availability Zone id, e.g. "az1"
* @property dedicatedCloudNodeName dedicated cloud node name
* @property id SKU's id
* @property location Azure region
* @property name SKU's name
* @property nodesCount count of nodes to create
* @property placementGroupId Placement Group id, e.g. "n1"
* @property purchaseId purchase id
* @property resourceGroupName The name of the resource group
* @property sku Dedicated Cloud Nodes SKU
* @property tags Dedicated Cloud Nodes tags
*/
public data class DedicatedCloudNodeArgs(
public val availabilityZoneId: Output? = null,
public val dedicatedCloudNodeName: Output? = null,
public val id: Output? = null,
public val location: Output? = null,
public val name: Output? = null,
public val nodesCount: Output? = null,
public val placementGroupId: Output? = null,
public val purchaseId: Output? = null,
public val resourceGroupName: Output? = null,
public val sku: Output? = null,
public val tags: Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy