AddonArgs

data class AddonArgs(val addonName: Output<String>? = null, val addonType: Output<Either<String, AddonType>>? = null, val licenseKey: Output<String>? = null, val privateCloudName: Output<String>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<AddonArgs>

An addon resource API Version: 2020-07-17-preview.

Example Usage

Addons_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var addon = new AzureNative.AVS.Addon("addon", new()
{
AddonName = "srm",
AddonType = "SRM",
LicenseKey = "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
PrivateCloudName = "cloud1",
ResourceGroupName = "group1",
});
});
package main
import (
avs "github.com/pulumi/pulumi-azure-native-sdk/avs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := avs.NewAddon(ctx, "addon", &avs.AddonArgs{
AddonName: pulumi.String("srm"),
AddonType: pulumi.String("SRM"),
LicenseKey: pulumi.String("41915178-A8FF-4A4D-B683-6D735AF5E3F5"),
PrivateCloudName: pulumi.String("cloud1"),
ResourceGroupName: pulumi.String("group1"),
})
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.avs.Addon;
import com.pulumi.azurenative.avs.AddonArgs;
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 addon = new Addon("addon", AddonArgs.builder()
.addonName("srm")
.addonType("SRM")
.licenseKey("41915178-A8FF-4A4D-B683-6D735AF5E3F5")
.privateCloudName("cloud1")
.resourceGroupName("group1")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:avs:Addon srm /subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm

Constructors

Link copied to clipboard
constructor(addonName: Output<String>? = null, addonType: Output<Either<String, AddonType>>? = null, licenseKey: Output<String>? = null, privateCloudName: Output<String>? = null, resourceGroupName: Output<String>? = null)

Properties

Link copied to clipboard
val addonName: Output<String>? = null

Name of the addon for the private cloud

Link copied to clipboard
val addonType: Output<Either<String, AddonType>>? = null

The type of private cloud addon

Link copied to clipboard
val licenseKey: Output<String>? = null

The SRM license

Link copied to clipboard
val privateCloudName: Output<String>? = null

The name of the private cloud.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Functions

Link copied to clipboard
open override fun toJava(): AddonArgs