1. Packages
  2. Azure Classic
  3. API Docs
  4. stack
  5. HciExtension

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

azure.stack.HciExtension

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Manages an Azure Stack HCI Extension.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-hci-ext",
        location: "West Europe",
    });
    const exampleHciExtension = new azure.stack.HciExtension("example", {
        name: "AzureMonitorWindowsAgent",
        arcSettingId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-hci/providers/Microsoft.AzureStackHCI/clusters/hci-cl/arcSettings/default",
        publisher: "Microsoft.Azure.Monitor",
        type: "MicrosoftMonitoringAgent",
        autoUpgradeMinorVersionEnabled: true,
        automaticUpgradeEnabled: true,
        typeHandlerVersion: "1.22.0",
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-hci-ext",
        location="West Europe")
    example_hci_extension = azure.stack.HciExtension("example",
        name="AzureMonitorWindowsAgent",
        arc_setting_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-hci/providers/Microsoft.AzureStackHCI/clusters/hci-cl/arcSettings/default",
        publisher="Microsoft.Azure.Monitor",
        type="MicrosoftMonitoringAgent",
        auto_upgrade_minor_version_enabled=True,
        automatic_upgrade_enabled=True,
        type_handler_version="1.22.0")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/stack"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-hci-ext"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = stack.NewHciExtension(ctx, "example", &stack.HciExtensionArgs{
    			Name:                           pulumi.String("AzureMonitorWindowsAgent"),
    			ArcSettingId:                   pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-hci/providers/Microsoft.AzureStackHCI/clusters/hci-cl/arcSettings/default"),
    			Publisher:                      pulumi.String("Microsoft.Azure.Monitor"),
    			Type:                           pulumi.String("MicrosoftMonitoringAgent"),
    			AutoUpgradeMinorVersionEnabled: pulumi.Bool(true),
    			AutomaticUpgradeEnabled:        pulumi.Bool(true),
    			TypeHandlerVersion:             pulumi.String("1.22.0"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-hci-ext",
            Location = "West Europe",
        });
    
        var exampleHciExtension = new Azure.Stack.HciExtension("example", new()
        {
            Name = "AzureMonitorWindowsAgent",
            ArcSettingId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-hci/providers/Microsoft.AzureStackHCI/clusters/hci-cl/arcSettings/default",
            Publisher = "Microsoft.Azure.Monitor",
            Type = "MicrosoftMonitoringAgent",
            AutoUpgradeMinorVersionEnabled = true,
            AutomaticUpgradeEnabled = true,
            TypeHandlerVersion = "1.22.0",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.stack.HciExtension;
    import com.pulumi.azure.stack.HciExtensionArgs;
    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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("example-hci-ext")
                .location("West Europe")
                .build());
    
            var exampleHciExtension = new HciExtension("exampleHciExtension", HciExtensionArgs.builder()
                .name("AzureMonitorWindowsAgent")
                .arcSettingId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-hci/providers/Microsoft.AzureStackHCI/clusters/hci-cl/arcSettings/default")
                .publisher("Microsoft.Azure.Monitor")
                .type("MicrosoftMonitoringAgent")
                .autoUpgradeMinorVersionEnabled(true)
                .automaticUpgradeEnabled(true)
                .typeHandlerVersion("1.22.0")
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-hci-ext
          location: West Europe
      exampleHciExtension:
        type: azure:stack:HciExtension
        name: example
        properties:
          name: AzureMonitorWindowsAgent
          arcSettingId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-hci/providers/Microsoft.AzureStackHCI/clusters/hci-cl/arcSettings/default
          publisher: Microsoft.Azure.Monitor
          type: MicrosoftMonitoringAgent
          autoUpgradeMinorVersionEnabled: true
          automaticUpgradeEnabled: true
          typeHandlerVersion: 1.22.0
    

    Create HciExtension Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new HciExtension(name: string, args: HciExtensionArgs, opts?: CustomResourceOptions);
    @overload
    def HciExtension(resource_name: str,
                     args: HciExtensionArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def HciExtension(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     arc_setting_id: Optional[str] = None,
                     publisher: Optional[str] = None,
                     type: Optional[str] = None,
                     auto_upgrade_minor_version_enabled: Optional[bool] = None,
                     automatic_upgrade_enabled: Optional[bool] = None,
                     name: Optional[str] = None,
                     protected_settings: Optional[str] = None,
                     settings: Optional[str] = None,
                     type_handler_version: Optional[str] = None)
    func NewHciExtension(ctx *Context, name string, args HciExtensionArgs, opts ...ResourceOption) (*HciExtension, error)
    public HciExtension(string name, HciExtensionArgs args, CustomResourceOptions? opts = null)
    public HciExtension(String name, HciExtensionArgs args)
    public HciExtension(String name, HciExtensionArgs args, CustomResourceOptions options)
    
    type: azure:stack:HciExtension
    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 HciExtensionArgs
    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 HciExtensionArgs
    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 HciExtensionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HciExtensionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HciExtensionArgs
    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 hciExtensionResource = new Azure.Stack.HciExtension("hciExtensionResource", new()
    {
        ArcSettingId = "string",
        Publisher = "string",
        Type = "string",
        AutoUpgradeMinorVersionEnabled = false,
        AutomaticUpgradeEnabled = false,
        Name = "string",
        ProtectedSettings = "string",
        Settings = "string",
        TypeHandlerVersion = "string",
    });
    
    example, err := stack.NewHciExtension(ctx, "hciExtensionResource", &stack.HciExtensionArgs{
    	ArcSettingId:                   pulumi.String("string"),
    	Publisher:                      pulumi.String("string"),
    	Type:                           pulumi.String("string"),
    	AutoUpgradeMinorVersionEnabled: pulumi.Bool(false),
    	AutomaticUpgradeEnabled:        pulumi.Bool(false),
    	Name:                           pulumi.String("string"),
    	ProtectedSettings:              pulumi.String("string"),
    	Settings:                       pulumi.String("string"),
    	TypeHandlerVersion:             pulumi.String("string"),
    })
    
    var hciExtensionResource = new HciExtension("hciExtensionResource", HciExtensionArgs.builder()
        .arcSettingId("string")
        .publisher("string")
        .type("string")
        .autoUpgradeMinorVersionEnabled(false)
        .automaticUpgradeEnabled(false)
        .name("string")
        .protectedSettings("string")
        .settings("string")
        .typeHandlerVersion("string")
        .build());
    
    hci_extension_resource = azure.stack.HciExtension("hciExtensionResource",
        arc_setting_id="string",
        publisher="string",
        type="string",
        auto_upgrade_minor_version_enabled=False,
        automatic_upgrade_enabled=False,
        name="string",
        protected_settings="string",
        settings="string",
        type_handler_version="string")
    
    const hciExtensionResource = new azure.stack.HciExtension("hciExtensionResource", {
        arcSettingId: "string",
        publisher: "string",
        type: "string",
        autoUpgradeMinorVersionEnabled: false,
        automaticUpgradeEnabled: false,
        name: "string",
        protectedSettings: "string",
        settings: "string",
        typeHandlerVersion: "string",
    });
    
    type: azure:stack:HciExtension
    properties:
        arcSettingId: string
        autoUpgradeMinorVersionEnabled: false
        automaticUpgradeEnabled: false
        name: string
        protectedSettings: string
        publisher: string
        settings: string
        type: string
        typeHandlerVersion: string
    

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

    ArcSettingId string
    The ID of the Azure Stack HCI Cluster Arc Setting. Changing this forces a new resource to be created.
    Publisher string
    The name of the extension handler publisher, such as Microsoft.Azure.Monitor. Changing this forces a new resource to be created.
    Type string
    Specifies the type of the extension. For example CustomScriptExtension or AzureMonitorLinuxAgent. Changing this forces a new resource to be created.
    AutoUpgradeMinorVersionEnabled bool
    Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. Changing this forces a new resource to be created. Possible values are true and false. Defaults to true.
    AutomaticUpgradeEnabled bool
    Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Possible values are true and false. Defaults to true.
    Name string
    The name which should be used for this Azure Stack HCI Extension. Changing this forces a new resource to be created.
    ProtectedSettings string
    The json formatted protected settings for the extension.
    Settings string
    The json formatted public settings for the extension.
    TypeHandlerVersion string

    Specifies the version of the script handler.

    NOTE: type_handler_version cannot be set when automatic_upgrade_enabled is set to true.

    ArcSettingId string
    The ID of the Azure Stack HCI Cluster Arc Setting. Changing this forces a new resource to be created.
    Publisher string
    The name of the extension handler publisher, such as Microsoft.Azure.Monitor. Changing this forces a new resource to be created.
    Type string
    Specifies the type of the extension. For example CustomScriptExtension or AzureMonitorLinuxAgent. Changing this forces a new resource to be created.
    AutoUpgradeMinorVersionEnabled bool
    Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. Changing this forces a new resource to be created. Possible values are true and false. Defaults to true.
    AutomaticUpgradeEnabled bool
    Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Possible values are true and false. Defaults to true.
    Name string
    The name which should be used for this Azure Stack HCI Extension. Changing this forces a new resource to be created.
    ProtectedSettings string
    The json formatted protected settings for the extension.
    Settings string
    The json formatted public settings for the extension.
    TypeHandlerVersion string

    Specifies the version of the script handler.

    NOTE: type_handler_version cannot be set when automatic_upgrade_enabled is set to true.

    arcSettingId String
    The ID of the Azure Stack HCI Cluster Arc Setting. Changing this forces a new resource to be created.
    publisher String
    The name of the extension handler publisher, such as Microsoft.Azure.Monitor. Changing this forces a new resource to be created.
    type String
    Specifies the type of the extension. For example CustomScriptExtension or AzureMonitorLinuxAgent. Changing this forces a new resource to be created.
    autoUpgradeMinorVersionEnabled Boolean
    Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. Changing this forces a new resource to be created. Possible values are true and false. Defaults to true.
    automaticUpgradeEnabled Boolean
    Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Possible values are true and false. Defaults to true.
    name String
    The name which should be used for this Azure Stack HCI Extension. Changing this forces a new resource to be created.
    protectedSettings String
    The json formatted protected settings for the extension.
    settings String
    The json formatted public settings for the extension.
    typeHandlerVersion String

    Specifies the version of the script handler.

    NOTE: type_handler_version cannot be set when automatic_upgrade_enabled is set to true.

    arcSettingId string
    The ID of the Azure Stack HCI Cluster Arc Setting. Changing this forces a new resource to be created.
    publisher string
    The name of the extension handler publisher, such as Microsoft.Azure.Monitor. Changing this forces a new resource to be created.
    type string
    Specifies the type of the extension. For example CustomScriptExtension or AzureMonitorLinuxAgent. Changing this forces a new resource to be created.
    autoUpgradeMinorVersionEnabled boolean
    Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. Changing this forces a new resource to be created. Possible values are true and false. Defaults to true.
    automaticUpgradeEnabled boolean
    Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Possible values are true and false. Defaults to true.
    name string
    The name which should be used for this Azure Stack HCI Extension. Changing this forces a new resource to be created.
    protectedSettings string
    The json formatted protected settings for the extension.
    settings string
    The json formatted public settings for the extension.
    typeHandlerVersion string

    Specifies the version of the script handler.

    NOTE: type_handler_version cannot be set when automatic_upgrade_enabled is set to true.

    arc_setting_id str
    The ID of the Azure Stack HCI Cluster Arc Setting. Changing this forces a new resource to be created.
    publisher str
    The name of the extension handler publisher, such as Microsoft.Azure.Monitor. Changing this forces a new resource to be created.
    type str
    Specifies the type of the extension. For example CustomScriptExtension or AzureMonitorLinuxAgent. Changing this forces a new resource to be created.
    auto_upgrade_minor_version_enabled bool
    Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. Changing this forces a new resource to be created. Possible values are true and false. Defaults to true.
    automatic_upgrade_enabled bool
    Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Possible values are true and false. Defaults to true.
    name str
    The name which should be used for this Azure Stack HCI Extension. Changing this forces a new resource to be created.
    protected_settings str
    The json formatted protected settings for the extension.
    settings str
    The json formatted public settings for the extension.
    type_handler_version str

    Specifies the version of the script handler.

    NOTE: type_handler_version cannot be set when automatic_upgrade_enabled is set to true.

    arcSettingId String
    The ID of the Azure Stack HCI Cluster Arc Setting. Changing this forces a new resource to be created.
    publisher String
    The name of the extension handler publisher, such as Microsoft.Azure.Monitor. Changing this forces a new resource to be created.
    type String
    Specifies the type of the extension. For example CustomScriptExtension or AzureMonitorLinuxAgent. Changing this forces a new resource to be created.
    autoUpgradeMinorVersionEnabled Boolean
    Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. Changing this forces a new resource to be created. Possible values are true and false. Defaults to true.
    automaticUpgradeEnabled Boolean
    Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Possible values are true and false. Defaults to true.
    name String
    The name which should be used for this Azure Stack HCI Extension. Changing this forces a new resource to be created.
    protectedSettings String
    The json formatted protected settings for the extension.
    settings String
    The json formatted public settings for the extension.
    typeHandlerVersion String

    Specifies the version of the script handler.

    NOTE: type_handler_version cannot be set when automatic_upgrade_enabled is set to true.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing HciExtension Resource

    Get an existing HciExtension resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: HciExtensionState, opts?: CustomResourceOptions): HciExtension
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arc_setting_id: Optional[str] = None,
            auto_upgrade_minor_version_enabled: Optional[bool] = None,
            automatic_upgrade_enabled: Optional[bool] = None,
            name: Optional[str] = None,
            protected_settings: Optional[str] = None,
            publisher: Optional[str] = None,
            settings: Optional[str] = None,
            type: Optional[str] = None,
            type_handler_version: Optional[str] = None) -> HciExtension
    func GetHciExtension(ctx *Context, name string, id IDInput, state *HciExtensionState, opts ...ResourceOption) (*HciExtension, error)
    public static HciExtension Get(string name, Input<string> id, HciExtensionState? state, CustomResourceOptions? opts = null)
    public static HciExtension get(String name, Output<String> id, HciExtensionState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ArcSettingId string
    The ID of the Azure Stack HCI Cluster Arc Setting. Changing this forces a new resource to be created.
    AutoUpgradeMinorVersionEnabled bool
    Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. Changing this forces a new resource to be created. Possible values are true and false. Defaults to true.
    AutomaticUpgradeEnabled bool
    Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Possible values are true and false. Defaults to true.
    Name string
    The name which should be used for this Azure Stack HCI Extension. Changing this forces a new resource to be created.
    ProtectedSettings string
    The json formatted protected settings for the extension.
    Publisher string
    The name of the extension handler publisher, such as Microsoft.Azure.Monitor. Changing this forces a new resource to be created.
    Settings string
    The json formatted public settings for the extension.
    Type string
    Specifies the type of the extension. For example CustomScriptExtension or AzureMonitorLinuxAgent. Changing this forces a new resource to be created.
    TypeHandlerVersion string

    Specifies the version of the script handler.

    NOTE: type_handler_version cannot be set when automatic_upgrade_enabled is set to true.

    ArcSettingId string
    The ID of the Azure Stack HCI Cluster Arc Setting. Changing this forces a new resource to be created.
    AutoUpgradeMinorVersionEnabled bool
    Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. Changing this forces a new resource to be created. Possible values are true and false. Defaults to true.
    AutomaticUpgradeEnabled bool
    Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Possible values are true and false. Defaults to true.
    Name string
    The name which should be used for this Azure Stack HCI Extension. Changing this forces a new resource to be created.
    ProtectedSettings string
    The json formatted protected settings for the extension.
    Publisher string
    The name of the extension handler publisher, such as Microsoft.Azure.Monitor. Changing this forces a new resource to be created.
    Settings string
    The json formatted public settings for the extension.
    Type string
    Specifies the type of the extension. For example CustomScriptExtension or AzureMonitorLinuxAgent. Changing this forces a new resource to be created.
    TypeHandlerVersion string

    Specifies the version of the script handler.

    NOTE: type_handler_version cannot be set when automatic_upgrade_enabled is set to true.

    arcSettingId String
    The ID of the Azure Stack HCI Cluster Arc Setting. Changing this forces a new resource to be created.
    autoUpgradeMinorVersionEnabled Boolean
    Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. Changing this forces a new resource to be created. Possible values are true and false. Defaults to true.
    automaticUpgradeEnabled Boolean
    Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Possible values are true and false. Defaults to true.
    name String
    The name which should be used for this Azure Stack HCI Extension. Changing this forces a new resource to be created.
    protectedSettings String
    The json formatted protected settings for the extension.
    publisher String
    The name of the extension handler publisher, such as Microsoft.Azure.Monitor. Changing this forces a new resource to be created.
    settings String
    The json formatted public settings for the extension.
    type String
    Specifies the type of the extension. For example CustomScriptExtension or AzureMonitorLinuxAgent. Changing this forces a new resource to be created.
    typeHandlerVersion String

    Specifies the version of the script handler.

    NOTE: type_handler_version cannot be set when automatic_upgrade_enabled is set to true.

    arcSettingId string
    The ID of the Azure Stack HCI Cluster Arc Setting. Changing this forces a new resource to be created.
    autoUpgradeMinorVersionEnabled boolean
    Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. Changing this forces a new resource to be created. Possible values are true and false. Defaults to true.
    automaticUpgradeEnabled boolean
    Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Possible values are true and false. Defaults to true.
    name string
    The name which should be used for this Azure Stack HCI Extension. Changing this forces a new resource to be created.
    protectedSettings string
    The json formatted protected settings for the extension.
    publisher string
    The name of the extension handler publisher, such as Microsoft.Azure.Monitor. Changing this forces a new resource to be created.
    settings string
    The json formatted public settings for the extension.
    type string
    Specifies the type of the extension. For example CustomScriptExtension or AzureMonitorLinuxAgent. Changing this forces a new resource to be created.
    typeHandlerVersion string

    Specifies the version of the script handler.

    NOTE: type_handler_version cannot be set when automatic_upgrade_enabled is set to true.

    arc_setting_id str
    The ID of the Azure Stack HCI Cluster Arc Setting. Changing this forces a new resource to be created.
    auto_upgrade_minor_version_enabled bool
    Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. Changing this forces a new resource to be created. Possible values are true and false. Defaults to true.
    automatic_upgrade_enabled bool
    Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Possible values are true and false. Defaults to true.
    name str
    The name which should be used for this Azure Stack HCI Extension. Changing this forces a new resource to be created.
    protected_settings str
    The json formatted protected settings for the extension.
    publisher str
    The name of the extension handler publisher, such as Microsoft.Azure.Monitor. Changing this forces a new resource to be created.
    settings str
    The json formatted public settings for the extension.
    type str
    Specifies the type of the extension. For example CustomScriptExtension or AzureMonitorLinuxAgent. Changing this forces a new resource to be created.
    type_handler_version str

    Specifies the version of the script handler.

    NOTE: type_handler_version cannot be set when automatic_upgrade_enabled is set to true.

    arcSettingId String
    The ID of the Azure Stack HCI Cluster Arc Setting. Changing this forces a new resource to be created.
    autoUpgradeMinorVersionEnabled Boolean
    Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. Changing this forces a new resource to be created. Possible values are true and false. Defaults to true.
    automaticUpgradeEnabled Boolean
    Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Possible values are true and false. Defaults to true.
    name String
    The name which should be used for this Azure Stack HCI Extension. Changing this forces a new resource to be created.
    protectedSettings String
    The json formatted protected settings for the extension.
    publisher String
    The name of the extension handler publisher, such as Microsoft.Azure.Monitor. Changing this forces a new resource to be created.
    settings String
    The json formatted public settings for the extension.
    type String
    Specifies the type of the extension. For example CustomScriptExtension or AzureMonitorLinuxAgent. Changing this forces a new resource to be created.
    typeHandlerVersion String

    Specifies the version of the script handler.

    NOTE: type_handler_version cannot be set when automatic_upgrade_enabled is set to true.

    Import

    Azure Stack HCI Extension can be imported using the resource id, e.g.

    $ pulumi import azure:stack/hciExtension:HciExtension example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AzureStackHCI/clusters/cluster1/arcSettings/default/extensions/extension1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi