Azure Native

Pulumi Official
Package maintained by Pulumi
v1.64.1 published on Wednesday, May 18, 2022 by Pulumi

Addon

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

Example Usage

Addons_CreateOrUpdate

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var addon = new AzureNative.AVS.Addon("addon", new AzureNative.AVS.AddonArgs
        {
            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/go/azure/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 java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

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 pulumi
import pulumi_azure_native as azure_native

addon = azure_native.avs.Addon("addon",
    addon_name="srm",
    addon_type="SRM",
    license_key="41915178-A8FF-4A4D-B683-6D735AF5E3F5",
    private_cloud_name="cloud1",
    resource_group_name="group1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const addon = new azure_native.avs.Addon("addon", {
    addonName: "srm",
    addonType: "SRM",
    licenseKey: "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
    privateCloudName: "cloud1",
    resourceGroupName: "group1",
});
resources:
  addon:
    type: azure-native:avs:Addon
    properties:
      addonName: srm
      addonType: SRM
      licenseKey: 41915178-A8FF-4A4D-B683-6D735AF5E3F5
      privateCloudName: cloud1
      resourceGroupName: group1

Create a Addon Resource

new Addon(name: string, args: AddonArgs, opts?: CustomResourceOptions);
@overload
def Addon(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          addon_name: Optional[str] = None,
          addon_type: Optional[Union[str, AddonType]] = None,
          license_key: Optional[str] = None,
          private_cloud_name: Optional[str] = None,
          resource_group_name: Optional[str] = None)
@overload
def Addon(resource_name: str,
          args: AddonArgs,
          opts: Optional[ResourceOptions] = None)
func NewAddon(ctx *Context, name string, args AddonArgs, opts ...ResourceOption) (*Addon, error)
public Addon(string name, AddonArgs args, CustomResourceOptions? opts = null)
public Addon(String name, AddonArgs args)
public Addon(String name, AddonArgs args, CustomResourceOptions options)
type: azure-native:avs:Addon
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AddonArgs
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 AddonArgs
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 AddonArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AddonArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AddonArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Addon 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 Addon resource accepts the following input properties:

PrivateCloudName string

The name of the private cloud.

ResourceGroupName string

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

AddonName string

Name of the addon for the private cloud

AddonType string | Pulumi.AzureNative.AVS.AddonType

The type of private cloud addon

LicenseKey string

The SRM license

PrivateCloudName string

The name of the private cloud.

ResourceGroupName string

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

AddonName string

Name of the addon for the private cloud

AddonType string | AddonType

The type of private cloud addon

LicenseKey string

The SRM license

privateCloudName String

The name of the private cloud.

resourceGroupName String

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

addonName String

Name of the addon for the private cloud

addonType String | AddonType

The type of private cloud addon

licenseKey String

The SRM license

privateCloudName string

The name of the private cloud.

resourceGroupName string

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

addonName string

Name of the addon for the private cloud

addonType string | AddonType

The type of private cloud addon

licenseKey string

The SRM license

private_cloud_name str

The name of the private cloud.

resource_group_name str

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

addon_name str

Name of the addon for the private cloud

addon_type str | AddonType

The type of private cloud addon

license_key str

The SRM license

privateCloudName String

The name of the private cloud.

resourceGroupName String

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

addonName String

Name of the addon for the private cloud

addonType String | "SRM" | "VR"

The type of private cloud addon

licenseKey String

The SRM license

Outputs

All input properties are implicitly available as output properties. Additionally, the Addon resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name.

ProvisioningState string

The state of the addon provisioning

Type string

Resource type.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name.

ProvisioningState string

The state of the addon provisioning

Type string

Resource type.

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name.

provisioningState String

The state of the addon provisioning

type String

Resource type.

id string

The provider-assigned unique ID for this managed resource.

name string

Resource name.

provisioningState string

The state of the addon provisioning

type string

Resource type.

id str

The provider-assigned unique ID for this managed resource.

name str

Resource name.

provisioning_state str

The state of the addon provisioning

type str

Resource type.

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name.

provisioningState String

The state of the addon provisioning

type String

Resource type.

Supporting Types

AddonType

SRM
SRM
VR
VR
AddonTypeSRM
SRM
AddonTypeVR
VR
SRM
SRM
VR
VR
SRM
SRM
VR
VR
SRM
SRM
VR
VR
"SRM"
SRM
"VR"
VR

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 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0