azure-native.avs.Addon
Explore with Pulumi AI
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 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 Addon Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Addon(name: string, args: AddonArgs, opts?: CustomResourceOptions);
@overload
def Addon(resource_name: str,
args: AddonArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Addon(resource_name: str,
opts: Optional[ResourceOptions] = None,
private_cloud_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
addon_name: Optional[str] = None,
addon_type: Optional[Union[str, AddonType]] = None,
license_key: Optional[str] = None)
func NewAddon(ctx *Context, name string, args AddonArgs, opts ...ResourceOption) (*Addon, error)
public Addon(string name, AddonArgs args, CustomResourceOptions? opts = null)
type: azure-native:avs:Addon
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var addonResource = new AzureNative.Avs.Addon("addonResource", new()
{
PrivateCloudName = "string",
ResourceGroupName = "string",
AddonName = "string",
AddonType = "string",
LicenseKey = "string",
});
example, err := avs.NewAddon(ctx, "addonResource", &avs.AddonArgs{
PrivateCloudName: "string",
ResourceGroupName: "string",
AddonName: "string",
AddonType: "string",
LicenseKey: "string",
})
var addonResource = new Addon("addonResource", AddonArgs.builder()
.privateCloudName("string")
.resourceGroupName("string")
.addonName("string")
.addonType("string")
.licenseKey("string")
.build());
addon_resource = azure_native.avs.Addon("addonResource",
private_cloud_name=string,
resource_group_name=string,
addon_name=string,
addon_type=string,
license_key=string)
const addonResource = new azure_native.avs.Addon("addonResource", {
privateCloudName: "string",
resourceGroupName: "string",
addonName: "string",
addonType: "string",
licenseKey: "string",
});
type: azure-native:avs:Addon
properties:
addonName: string
addonType: string
licenseKey: string
privateCloudName: string
resourceGroupName: string
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:
- Private
Cloud stringName - The name of the private cloud.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Addon
Name string - Name of the addon for the private cloud
- Addon
Type string | Pulumi.Azure Native. AVS. Addon Type - The type of private cloud addon
- License
Key string - The SRM license
- Private
Cloud stringName - The name of the private cloud.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Addon
Name string - Name of the addon for the private cloud
- Addon
Type string | AddonType - The type of private cloud addon
- License
Key string - The SRM license
- private
Cloud StringName - The name of the private cloud.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- addon
Name String - Name of the addon for the private cloud
- addon
Type String | AddonType - The type of private cloud addon
- license
Key String - The SRM license
- private
Cloud stringName - The name of the private cloud.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- addon
Name string - Name of the addon for the private cloud
- addon
Type string | AddonType - The type of private cloud addon
- license
Key string - The SRM license
- private_
cloud_ strname - The name of the private cloud.
- resource_
group_ strname - 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
- private
Cloud StringName - The name of the private cloud.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- addon
Name String - Name of the addon for the private cloud
- addon
Type String | "SRM" | "VR" - The type of private cloud addon
- license
Key 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.
- Provisioning
State 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.
- Provisioning
State 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.
- provisioning
State 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.
- provisioning
State 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.
- provisioning
State String - The state of the addon provisioning
- type String
- Resource type.
Supporting Types
AddonType, AddonTypeArgs
- SRM
- SRM
- VR
- VR
- Addon
Type SRM - SRM
- Addon
Type VR - 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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0