azure-native.avs.Addon
Explore with Pulumi AI
An addon resource Azure REST API version: 2022-05-01. Prior API version in Azure Native 1.x: 2020-07-17-preview.
Other available API versions: 2021-01-01-preview, 2023-03-01, 2023-09-01.
Example Usage
Addons_CreateOrUpdate_Arc
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 = "arc",
PrivateCloudName = "cloud1",
Properties = new AzureNative.AVS.Inputs.AddonArcPropertiesArgs
{
AddonType = "Arc",
VCenter = "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter",
},
ResourceGroupName = "group1",
});
});
package main
import (
avs "github.com/pulumi/pulumi-azure-native-sdk/avs/v2"
"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("arc"),
PrivateCloudName: pulumi.String("cloud1"),
Properties: &avs.AddonArcPropertiesArgs{
AddonType: pulumi.String("Arc"),
VCenter: pulumi.String("subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"),
},
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("arc")
.privateCloudName("cloud1")
.properties(AddonArcPropertiesArgs.builder()
.addonType("Arc")
.vCenter("subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter")
.build())
.resourceGroupName("group1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
addon = azure_native.avs.Addon("addon",
addon_name="arc",
private_cloud_name="cloud1",
properties={
"addon_type": "Arc",
"v_center": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter",
},
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: "arc",
privateCloudName: "cloud1",
properties: {
addonType: "Arc",
vCenter: "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter",
},
resourceGroupName: "group1",
});
resources:
addon:
type: azure-native:avs:Addon
properties:
addonName: arc
privateCloudName: cloud1
properties:
addonType: Arc
vCenter: subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter
resourceGroupName: group1
Addons_CreateOrUpdate_HCX
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 = "hcx",
PrivateCloudName = "cloud1",
Properties = new AzureNative.AVS.Inputs.AddonHcxPropertiesArgs
{
AddonType = "HCX",
Offer = "VMware MaaS Cloud Provider (Enterprise)",
},
ResourceGroupName = "group1",
});
});
package main
import (
avs "github.com/pulumi/pulumi-azure-native-sdk/avs/v2"
"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("hcx"),
PrivateCloudName: pulumi.String("cloud1"),
Properties: &avs.AddonHcxPropertiesArgs{
AddonType: pulumi.String("HCX"),
Offer: pulumi.String("VMware MaaS Cloud Provider (Enterprise)"),
},
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("hcx")
.privateCloudName("cloud1")
.properties(AddonArcPropertiesArgs.builder()
.addonType("HCX")
.offer("VMware MaaS Cloud Provider (Enterprise)")
.build())
.resourceGroupName("group1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
addon = azure_native.avs.Addon("addon",
addon_name="hcx",
private_cloud_name="cloud1",
properties={
"addon_type": "HCX",
"offer": "VMware MaaS Cloud Provider (Enterprise)",
},
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: "hcx",
privateCloudName: "cloud1",
properties: {
addonType: "HCX",
offer: "VMware MaaS Cloud Provider (Enterprise)",
},
resourceGroupName: "group1",
});
resources:
addon:
type: azure-native:avs:Addon
properties:
addonName: hcx
privateCloudName: cloud1
properties:
addonType: HCX
offer: VMware MaaS Cloud Provider (Enterprise)
resourceGroupName: group1
Addons_CreateOrUpdate_SRM
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",
PrivateCloudName = "cloud1",
Properties = new AzureNative.AVS.Inputs.AddonSrmPropertiesArgs
{
AddonType = "SRM",
LicenseKey = "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
},
ResourceGroupName = "group1",
});
});
package main
import (
avs "github.com/pulumi/pulumi-azure-native-sdk/avs/v2"
"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"),
PrivateCloudName: pulumi.String("cloud1"),
Properties: &avs.AddonSrmPropertiesArgs{
AddonType: pulumi.String("SRM"),
LicenseKey: pulumi.String("41915178-A8FF-4A4D-B683-6D735AF5E3F5"),
},
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")
.privateCloudName("cloud1")
.properties(AddonArcPropertiesArgs.builder()
.addonType("SRM")
.licenseKey("41915178-A8FF-4A4D-B683-6D735AF5E3F5")
.build())
.resourceGroupName("group1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
addon = azure_native.avs.Addon("addon",
addon_name="srm",
private_cloud_name="cloud1",
properties={
"addon_type": "SRM",
"license_key": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
},
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",
privateCloudName: "cloud1",
properties: {
addonType: "SRM",
licenseKey: "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
},
resourceGroupName: "group1",
});
resources:
addon:
type: azure-native:avs:Addon
properties:
addonName: srm
privateCloudName: cloud1
properties:
addonType: SRM
licenseKey: 41915178-A8FF-4A4D-B683-6D735AF5E3F5
resourceGroupName: group1
Addons_CreateOrUpdate_VR
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 = "vr",
PrivateCloudName = "cloud1",
Properties = new AzureNative.AVS.Inputs.AddonVrPropertiesArgs
{
AddonType = "VR",
VrsCount = 1,
},
ResourceGroupName = "group1",
});
});
package main
import (
avs "github.com/pulumi/pulumi-azure-native-sdk/avs/v2"
"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("vr"),
PrivateCloudName: pulumi.String("cloud1"),
Properties: &avs.AddonVrPropertiesArgs{
AddonType: pulumi.String("VR"),
VrsCount: pulumi.Int(1),
},
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("vr")
.privateCloudName("cloud1")
.properties(AddonArcPropertiesArgs.builder()
.addonType("VR")
.vrsCount(1)
.build())
.resourceGroupName("group1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
addon = azure_native.avs.Addon("addon",
addon_name="vr",
private_cloud_name="cloud1",
properties={
"addon_type": "VR",
"vrs_count": 1,
},
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: "vr",
privateCloudName: "cloud1",
properties: {
addonType: "VR",
vrsCount: 1,
},
resourceGroupName: "group1",
});
resources:
addon:
type: azure-native:avs:Addon
properties:
addonName: vr
privateCloudName: cloud1
properties:
addonType: VR
vrsCount: 1
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,
properties: Optional[Union[AddonArcPropertiesArgs, AddonHcxPropertiesArgs, AddonSrmPropertiesArgs, AddonVrPropertiesArgs]] = 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",
Properties = new AzureNative.AVS.Inputs.AddonArcPropertiesArgs
{
AddonType = "Arc",
VCenter = "string",
},
});
example, err := avs.NewAddon(ctx, "addonResource", &avs.AddonArgs{
PrivateCloudName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
AddonName: pulumi.String("string"),
Properties: &avs.AddonArcPropertiesArgs{
AddonType: pulumi.String("Arc"),
VCenter: pulumi.String("string"),
},
})
var addonResource = new Addon("addonResource", AddonArgs.builder()
.privateCloudName("string")
.resourceGroupName("string")
.addonName("string")
.properties(AddonArcPropertiesArgs.builder()
.addonType("Arc")
.vCenter("string")
.build())
.build());
addon_resource = azure_native.avs.Addon("addonResource",
private_cloud_name="string",
resource_group_name="string",
addon_name="string",
properties={
"addon_type": "Arc",
"v_center": "string",
})
const addonResource = new azure_native.avs.Addon("addonResource", {
privateCloudName: "string",
resourceGroupName: "string",
addonName: "string",
properties: {
addonType: "Arc",
vCenter: "string",
},
});
type: azure-native:avs:Addon
properties:
addonName: string
privateCloudName: string
properties:
addonType: Arc
vCenter: 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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
- Properties
Pulumi.
Azure | Pulumi.Native. AVS. Inputs. Addon Arc Properties Azure | Pulumi.Native. AVS. Inputs. Addon Hcx Properties Azure | Pulumi.Native. AVS. Inputs. Addon Srm Properties Azure Native. AVS. Inputs. Addon Vr Properties - The properties of an addon resource
- 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
- Properties
Addon
Arc | AddonProperties Args Hcx | AddonProperties Args Srm | AddonProperties Args Vr Properties Args - The properties of an addon resource
- 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
- properties
Addon
Arc | AddonProperties Hcx | AddonProperties Srm | AddonProperties Vr Properties - The properties of an addon resource
- 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
- properties
Addon
Arc | AddonProperties Hcx | AddonProperties Srm | AddonProperties Vr Properties - The properties of an addon resource
- 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
- properties
Addon
Arc | AddonProperties Args Hcx | AddonProperties Args Srm | AddonProperties Args Vr Properties Args - The properties of an addon resource
- 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
- properties Property Map | Property Map | Property Map | Property Map
- The properties of an addon resource
Outputs
All input properties are implicitly available as output properties. Additionally, the Addon resource produces the following output properties:
Supporting Types
AddonArcProperties, AddonArcPropertiesArgs
- VCenter string
- The VMware vCenter resource ID
- VCenter string
- The VMware vCenter resource ID
- v
Center String - The VMware vCenter resource ID
- v
Center string - The VMware vCenter resource ID
- v_
center str - The VMware vCenter resource ID
- v
Center String - The VMware vCenter resource ID
AddonArcPropertiesResponse, AddonArcPropertiesResponseArgs
- Provisioning
State string - The state of the addon provisioning
- VCenter string
- The VMware vCenter resource ID
- Provisioning
State string - The state of the addon provisioning
- VCenter string
- The VMware vCenter resource ID
- provisioning
State String - The state of the addon provisioning
- v
Center String - The VMware vCenter resource ID
- provisioning
State string - The state of the addon provisioning
- v
Center string - The VMware vCenter resource ID
- provisioning_
state str - The state of the addon provisioning
- v_
center str - The VMware vCenter resource ID
- provisioning
State String - The state of the addon provisioning
- v
Center String - The VMware vCenter resource ID
AddonHcxProperties, AddonHcxPropertiesArgs
- Offer string
- The HCX offer, example VMware MaaS Cloud Provider (Enterprise)
- Offer string
- The HCX offer, example VMware MaaS Cloud Provider (Enterprise)
- offer String
- The HCX offer, example VMware MaaS Cloud Provider (Enterprise)
- offer string
- The HCX offer, example VMware MaaS Cloud Provider (Enterprise)
- offer str
- The HCX offer, example VMware MaaS Cloud Provider (Enterprise)
- offer String
- The HCX offer, example VMware MaaS Cloud Provider (Enterprise)
AddonHcxPropertiesResponse, AddonHcxPropertiesResponseArgs
- Offer string
- The HCX offer, example VMware MaaS Cloud Provider (Enterprise)
- Provisioning
State string - The state of the addon provisioning
- Offer string
- The HCX offer, example VMware MaaS Cloud Provider (Enterprise)
- Provisioning
State string - The state of the addon provisioning
- offer String
- The HCX offer, example VMware MaaS Cloud Provider (Enterprise)
- provisioning
State String - The state of the addon provisioning
- offer string
- The HCX offer, example VMware MaaS Cloud Provider (Enterprise)
- provisioning
State string - The state of the addon provisioning
- offer str
- The HCX offer, example VMware MaaS Cloud Provider (Enterprise)
- provisioning_
state str - The state of the addon provisioning
- offer String
- The HCX offer, example VMware MaaS Cloud Provider (Enterprise)
- provisioning
State String - The state of the addon provisioning
AddonSrmProperties, AddonSrmPropertiesArgs
- License
Key string - The Site Recovery Manager (SRM) license
- License
Key string - The Site Recovery Manager (SRM) license
- license
Key String - The Site Recovery Manager (SRM) license
- license
Key string - The Site Recovery Manager (SRM) license
- license_
key str - The Site Recovery Manager (SRM) license
- license
Key String - The Site Recovery Manager (SRM) license
AddonSrmPropertiesResponse, AddonSrmPropertiesResponseArgs
- Provisioning
State string - The state of the addon provisioning
- License
Key string - The Site Recovery Manager (SRM) license
- Provisioning
State string - The state of the addon provisioning
- License
Key string - The Site Recovery Manager (SRM) license
- provisioning
State String - The state of the addon provisioning
- license
Key String - The Site Recovery Manager (SRM) license
- provisioning
State string - The state of the addon provisioning
- license
Key string - The Site Recovery Manager (SRM) license
- provisioning_
state str - The state of the addon provisioning
- license_
key str - The Site Recovery Manager (SRM) license
- provisioning
State String - The state of the addon provisioning
- license
Key String - The Site Recovery Manager (SRM) license
AddonVrProperties, AddonVrPropertiesArgs
- Vrs
Count int - The vSphere Replication Server (VRS) count
- Vrs
Count int - The vSphere Replication Server (VRS) count
- vrs
Count Integer - The vSphere Replication Server (VRS) count
- vrs
Count number - The vSphere Replication Server (VRS) count
- vrs_
count int - The vSphere Replication Server (VRS) count
- vrs
Count Number - The vSphere Replication Server (VRS) count
AddonVrPropertiesResponse, AddonVrPropertiesResponseArgs
- Provisioning
State string - The state of the addon provisioning
- Vrs
Count int - The vSphere Replication Server (VRS) count
- Provisioning
State string - The state of the addon provisioning
- Vrs
Count int - The vSphere Replication Server (VRS) count
- provisioning
State String - The state of the addon provisioning
- vrs
Count Integer - The vSphere Replication Server (VRS) count
- provisioning
State string - The state of the addon provisioning
- vrs
Count number - The vSphere Replication Server (VRS) count
- provisioning_
state str - The state of the addon provisioning
- vrs_
count int - The vSphere Replication Server (VRS) count
- provisioning
State String - The state of the addon provisioning
- vrs
Count Number - The vSphere Replication Server (VRS) count
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:avs:Addon vr /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0