We recommend using Azure Native.
azure.arcmachine.Extension
Explore with Pulumi AI
Manages a Hybrid Compute Machine Extension.
Create Extension Resource
new Extension(name: string, args: ExtensionArgs, opts?: CustomResourceOptions);
@overload
def Extension(resource_name: str,
opts: Optional[ResourceOptions] = None,
arc_machine_id: Optional[str] = None,
automatic_upgrade_enabled: Optional[bool] = None,
force_update_tag: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
protected_settings: Optional[str] = None,
publisher: Optional[str] = None,
settings: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
type: Optional[str] = None,
type_handler_version: Optional[str] = None)
@overload
def Extension(resource_name: str,
args: ExtensionArgs,
opts: Optional[ResourceOptions] = None)
func NewExtension(ctx *Context, name string, args ExtensionArgs, opts ...ResourceOption) (*Extension, error)
public Extension(string name, ExtensionArgs args, CustomResourceOptions? opts = null)
public Extension(String name, ExtensionArgs args)
public Extension(String name, ExtensionArgs args, CustomResourceOptions options)
type: azure:arcmachine:Extension
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExtensionArgs
- 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 ExtensionArgs
- 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 ExtensionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExtensionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExtensionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Extension 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 Extension resource accepts the following input properties:
- Arc
Machine stringId The ID of the Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- Publisher string
The name of the extension handler publisher, such as
Microsoft.Azure.Monitor
. Changing this forces a new Hybrid Compute Machine Extension to be created.- Type string
Specifies the type of the extension. For example
CustomScriptExtension
orAzureMonitorLinuxAgent
. Changing this forces a new Hybrid Compute Machine Extension to be created.- Automatic
Upgrade boolEnabled Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Supported values are
true
andfalse
.NOTE: When
automatic_upgrade_enabled
can only be set during creation. Any later change will be ignored.NOTE: When
automatic_upgrade_enabled
is set totrue
, thetype_handler_version
is automatically updated by the Azure platform when a new version is available and any change intype_handler_version
will be automatically ignored.- Force
Update stringTag How the extension handler should be forced to update even if the extension configuration has not changed.
- Location string
The Azure Region where the Hybrid Compute Machine Extension should exist. Changing this forces a new Hybrid Compute Machine Extension to be created.
- Name string
The name which should be used for this Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- Protected
Settings string Json formatted protected settings for the extension.
- Settings string
Json formatted public settings for the extension.
- Dictionary<string, string>
A mapping of tags which should be assigned to the Hybrid Compute Machine Extension.
- Type
Handler stringVersion Specifies the version of the script handler.
NOTE: 1. When
automatic_upgrade_enabled
is set tofalse
and notype_handler_version
is specified, thetype_handler_version
change should be manually ignored byignore_changes
lifecycle block. This is because thetype_handler_version
is set by the Azure platform when the extension is created. 2. Whenautomatic_upgrade_enabled
is set tofalse
andtype_handler_version
is specified, the provider will check whether the version prefix is aligned with user input. For example, if user specifies1.24
intype_handler_version
,1.24.1
will be considered as no diff.
- Arc
Machine stringId The ID of the Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- Publisher string
The name of the extension handler publisher, such as
Microsoft.Azure.Monitor
. Changing this forces a new Hybrid Compute Machine Extension to be created.- Type string
Specifies the type of the extension. For example
CustomScriptExtension
orAzureMonitorLinuxAgent
. Changing this forces a new Hybrid Compute Machine Extension to be created.- Automatic
Upgrade boolEnabled Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Supported values are
true
andfalse
.NOTE: When
automatic_upgrade_enabled
can only be set during creation. Any later change will be ignored.NOTE: When
automatic_upgrade_enabled
is set totrue
, thetype_handler_version
is automatically updated by the Azure platform when a new version is available and any change intype_handler_version
will be automatically ignored.- Force
Update stringTag How the extension handler should be forced to update even if the extension configuration has not changed.
- Location string
The Azure Region where the Hybrid Compute Machine Extension should exist. Changing this forces a new Hybrid Compute Machine Extension to be created.
- Name string
The name which should be used for this Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- Protected
Settings string Json formatted protected settings for the extension.
- Settings string
Json formatted public settings for the extension.
- map[string]string
A mapping of tags which should be assigned to the Hybrid Compute Machine Extension.
- Type
Handler stringVersion Specifies the version of the script handler.
NOTE: 1. When
automatic_upgrade_enabled
is set tofalse
and notype_handler_version
is specified, thetype_handler_version
change should be manually ignored byignore_changes
lifecycle block. This is because thetype_handler_version
is set by the Azure platform when the extension is created. 2. Whenautomatic_upgrade_enabled
is set tofalse
andtype_handler_version
is specified, the provider will check whether the version prefix is aligned with user input. For example, if user specifies1.24
intype_handler_version
,1.24.1
will be considered as no diff.
- arc
Machine StringId The ID of the Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- publisher String
The name of the extension handler publisher, such as
Microsoft.Azure.Monitor
. Changing this forces a new Hybrid Compute Machine Extension to be created.- type String
Specifies the type of the extension. For example
CustomScriptExtension
orAzureMonitorLinuxAgent
. Changing this forces a new Hybrid Compute Machine Extension to be created.- automatic
Upgrade BooleanEnabled Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Supported values are
true
andfalse
.NOTE: When
automatic_upgrade_enabled
can only be set during creation. Any later change will be ignored.NOTE: When
automatic_upgrade_enabled
is set totrue
, thetype_handler_version
is automatically updated by the Azure platform when a new version is available and any change intype_handler_version
will be automatically ignored.- force
Update StringTag How the extension handler should be forced to update even if the extension configuration has not changed.
- location String
The Azure Region where the Hybrid Compute Machine Extension should exist. Changing this forces a new Hybrid Compute Machine Extension to be created.
- name String
The name which should be used for this Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- protected
Settings String Json formatted protected settings for the extension.
- settings String
Json formatted public settings for the extension.
- Map<String,String>
A mapping of tags which should be assigned to the Hybrid Compute Machine Extension.
- type
Handler StringVersion Specifies the version of the script handler.
NOTE: 1. When
automatic_upgrade_enabled
is set tofalse
and notype_handler_version
is specified, thetype_handler_version
change should be manually ignored byignore_changes
lifecycle block. This is because thetype_handler_version
is set by the Azure platform when the extension is created. 2. Whenautomatic_upgrade_enabled
is set tofalse
andtype_handler_version
is specified, the provider will check whether the version prefix is aligned with user input. For example, if user specifies1.24
intype_handler_version
,1.24.1
will be considered as no diff.
- arc
Machine stringId The ID of the Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- publisher string
The name of the extension handler publisher, such as
Microsoft.Azure.Monitor
. Changing this forces a new Hybrid Compute Machine Extension to be created.- type string
Specifies the type of the extension. For example
CustomScriptExtension
orAzureMonitorLinuxAgent
. Changing this forces a new Hybrid Compute Machine Extension to be created.- automatic
Upgrade booleanEnabled Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Supported values are
true
andfalse
.NOTE: When
automatic_upgrade_enabled
can only be set during creation. Any later change will be ignored.NOTE: When
automatic_upgrade_enabled
is set totrue
, thetype_handler_version
is automatically updated by the Azure platform when a new version is available and any change intype_handler_version
will be automatically ignored.- force
Update stringTag How the extension handler should be forced to update even if the extension configuration has not changed.
- location string
The Azure Region where the Hybrid Compute Machine Extension should exist. Changing this forces a new Hybrid Compute Machine Extension to be created.
- name string
The name which should be used for this Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- protected
Settings string Json formatted protected settings for the extension.
- settings string
Json formatted public settings for the extension.
- {[key: string]: string}
A mapping of tags which should be assigned to the Hybrid Compute Machine Extension.
- type
Handler stringVersion Specifies the version of the script handler.
NOTE: 1. When
automatic_upgrade_enabled
is set tofalse
and notype_handler_version
is specified, thetype_handler_version
change should be manually ignored byignore_changes
lifecycle block. This is because thetype_handler_version
is set by the Azure platform when the extension is created. 2. Whenautomatic_upgrade_enabled
is set tofalse
andtype_handler_version
is specified, the provider will check whether the version prefix is aligned with user input. For example, if user specifies1.24
intype_handler_version
,1.24.1
will be considered as no diff.
- arc_
machine_ strid The ID of the Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- publisher str
The name of the extension handler publisher, such as
Microsoft.Azure.Monitor
. Changing this forces a new Hybrid Compute Machine Extension to be created.- type str
Specifies the type of the extension. For example
CustomScriptExtension
orAzureMonitorLinuxAgent
. Changing this forces a new Hybrid Compute Machine Extension to be created.- automatic_
upgrade_ boolenabled Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Supported values are
true
andfalse
.NOTE: When
automatic_upgrade_enabled
can only be set during creation. Any later change will be ignored.NOTE: When
automatic_upgrade_enabled
is set totrue
, thetype_handler_version
is automatically updated by the Azure platform when a new version is available and any change intype_handler_version
will be automatically ignored.- force_
update_ strtag How the extension handler should be forced to update even if the extension configuration has not changed.
- location str
The Azure Region where the Hybrid Compute Machine Extension should exist. Changing this forces a new Hybrid Compute Machine Extension to be created.
- name str
The name which should be used for this Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- protected_
settings str Json formatted protected settings for the extension.
- settings str
Json formatted public settings for the extension.
- Mapping[str, str]
A mapping of tags which should be assigned to the Hybrid Compute Machine Extension.
- type_
handler_ strversion Specifies the version of the script handler.
NOTE: 1. When
automatic_upgrade_enabled
is set tofalse
and notype_handler_version
is specified, thetype_handler_version
change should be manually ignored byignore_changes
lifecycle block. This is because thetype_handler_version
is set by the Azure platform when the extension is created. 2. Whenautomatic_upgrade_enabled
is set tofalse
andtype_handler_version
is specified, the provider will check whether the version prefix is aligned with user input. For example, if user specifies1.24
intype_handler_version
,1.24.1
will be considered as no diff.
- arc
Machine StringId The ID of the Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- publisher String
The name of the extension handler publisher, such as
Microsoft.Azure.Monitor
. Changing this forces a new Hybrid Compute Machine Extension to be created.- type String
Specifies the type of the extension. For example
CustomScriptExtension
orAzureMonitorLinuxAgent
. Changing this forces a new Hybrid Compute Machine Extension to be created.- automatic
Upgrade BooleanEnabled Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Supported values are
true
andfalse
.NOTE: When
automatic_upgrade_enabled
can only be set during creation. Any later change will be ignored.NOTE: When
automatic_upgrade_enabled
is set totrue
, thetype_handler_version
is automatically updated by the Azure platform when a new version is available and any change intype_handler_version
will be automatically ignored.- force
Update StringTag How the extension handler should be forced to update even if the extension configuration has not changed.
- location String
The Azure Region where the Hybrid Compute Machine Extension should exist. Changing this forces a new Hybrid Compute Machine Extension to be created.
- name String
The name which should be used for this Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- protected
Settings String Json formatted protected settings for the extension.
- settings String
Json formatted public settings for the extension.
- Map<String>
A mapping of tags which should be assigned to the Hybrid Compute Machine Extension.
- type
Handler StringVersion Specifies the version of the script handler.
NOTE: 1. When
automatic_upgrade_enabled
is set tofalse
and notype_handler_version
is specified, thetype_handler_version
change should be manually ignored byignore_changes
lifecycle block. This is because thetype_handler_version
is set by the Azure platform when the extension is created. 2. Whenautomatic_upgrade_enabled
is set tofalse
andtype_handler_version
is specified, the provider will check whether the version prefix is aligned with user input. For example, if user specifies1.24
intype_handler_version
,1.24.1
will be considered as no diff.
Outputs
All input properties are implicitly available as output properties. Additionally, the Extension 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 Extension Resource
Get an existing Extension 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?: ExtensionState, opts?: CustomResourceOptions): Extension
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arc_machine_id: Optional[str] = None,
automatic_upgrade_enabled: Optional[bool] = None,
force_update_tag: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
protected_settings: Optional[str] = None,
publisher: Optional[str] = None,
settings: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
type: Optional[str] = None,
type_handler_version: Optional[str] = None) -> Extension
func GetExtension(ctx *Context, name string, id IDInput, state *ExtensionState, opts ...ResourceOption) (*Extension, error)
public static Extension Get(string name, Input<string> id, ExtensionState? state, CustomResourceOptions? opts = null)
public static Extension get(String name, Output<String> id, ExtensionState 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.
- Arc
Machine stringId The ID of the Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- Automatic
Upgrade boolEnabled Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Supported values are
true
andfalse
.NOTE: When
automatic_upgrade_enabled
can only be set during creation. Any later change will be ignored.NOTE: When
automatic_upgrade_enabled
is set totrue
, thetype_handler_version
is automatically updated by the Azure platform when a new version is available and any change intype_handler_version
will be automatically ignored.- Force
Update stringTag How the extension handler should be forced to update even if the extension configuration has not changed.
- Location string
The Azure Region where the Hybrid Compute Machine Extension should exist. Changing this forces a new Hybrid Compute Machine Extension to be created.
- Name string
The name which should be used for this Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- Protected
Settings string 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 Hybrid Compute Machine Extension to be created.- Settings string
Json formatted public settings for the extension.
- Dictionary<string, string>
A mapping of tags which should be assigned to the Hybrid Compute Machine Extension.
- Type string
Specifies the type of the extension. For example
CustomScriptExtension
orAzureMonitorLinuxAgent
. Changing this forces a new Hybrid Compute Machine Extension to be created.- Type
Handler stringVersion Specifies the version of the script handler.
NOTE: 1. When
automatic_upgrade_enabled
is set tofalse
and notype_handler_version
is specified, thetype_handler_version
change should be manually ignored byignore_changes
lifecycle block. This is because thetype_handler_version
is set by the Azure platform when the extension is created. 2. Whenautomatic_upgrade_enabled
is set tofalse
andtype_handler_version
is specified, the provider will check whether the version prefix is aligned with user input. For example, if user specifies1.24
intype_handler_version
,1.24.1
will be considered as no diff.
- Arc
Machine stringId The ID of the Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- Automatic
Upgrade boolEnabled Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Supported values are
true
andfalse
.NOTE: When
automatic_upgrade_enabled
can only be set during creation. Any later change will be ignored.NOTE: When
automatic_upgrade_enabled
is set totrue
, thetype_handler_version
is automatically updated by the Azure platform when a new version is available and any change intype_handler_version
will be automatically ignored.- Force
Update stringTag How the extension handler should be forced to update even if the extension configuration has not changed.
- Location string
The Azure Region where the Hybrid Compute Machine Extension should exist. Changing this forces a new Hybrid Compute Machine Extension to be created.
- Name string
The name which should be used for this Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- Protected
Settings string 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 Hybrid Compute Machine Extension to be created.- Settings string
Json formatted public settings for the extension.
- map[string]string
A mapping of tags which should be assigned to the Hybrid Compute Machine Extension.
- Type string
Specifies the type of the extension. For example
CustomScriptExtension
orAzureMonitorLinuxAgent
. Changing this forces a new Hybrid Compute Machine Extension to be created.- Type
Handler stringVersion Specifies the version of the script handler.
NOTE: 1. When
automatic_upgrade_enabled
is set tofalse
and notype_handler_version
is specified, thetype_handler_version
change should be manually ignored byignore_changes
lifecycle block. This is because thetype_handler_version
is set by the Azure platform when the extension is created. 2. Whenautomatic_upgrade_enabled
is set tofalse
andtype_handler_version
is specified, the provider will check whether the version prefix is aligned with user input. For example, if user specifies1.24
intype_handler_version
,1.24.1
will be considered as no diff.
- arc
Machine StringId The ID of the Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- automatic
Upgrade BooleanEnabled Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Supported values are
true
andfalse
.NOTE: When
automatic_upgrade_enabled
can only be set during creation. Any later change will be ignored.NOTE: When
automatic_upgrade_enabled
is set totrue
, thetype_handler_version
is automatically updated by the Azure platform when a new version is available and any change intype_handler_version
will be automatically ignored.- force
Update StringTag How the extension handler should be forced to update even if the extension configuration has not changed.
- location String
The Azure Region where the Hybrid Compute Machine Extension should exist. Changing this forces a new Hybrid Compute Machine Extension to be created.
- name String
The name which should be used for this Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- protected
Settings String 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 Hybrid Compute Machine Extension to be created.- settings String
Json formatted public settings for the extension.
- Map<String,String>
A mapping of tags which should be assigned to the Hybrid Compute Machine Extension.
- type String
Specifies the type of the extension. For example
CustomScriptExtension
orAzureMonitorLinuxAgent
. Changing this forces a new Hybrid Compute Machine Extension to be created.- type
Handler StringVersion Specifies the version of the script handler.
NOTE: 1. When
automatic_upgrade_enabled
is set tofalse
and notype_handler_version
is specified, thetype_handler_version
change should be manually ignored byignore_changes
lifecycle block. This is because thetype_handler_version
is set by the Azure platform when the extension is created. 2. Whenautomatic_upgrade_enabled
is set tofalse
andtype_handler_version
is specified, the provider will check whether the version prefix is aligned with user input. For example, if user specifies1.24
intype_handler_version
,1.24.1
will be considered as no diff.
- arc
Machine stringId The ID of the Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- automatic
Upgrade booleanEnabled Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Supported values are
true
andfalse
.NOTE: When
automatic_upgrade_enabled
can only be set during creation. Any later change will be ignored.NOTE: When
automatic_upgrade_enabled
is set totrue
, thetype_handler_version
is automatically updated by the Azure platform when a new version is available and any change intype_handler_version
will be automatically ignored.- force
Update stringTag How the extension handler should be forced to update even if the extension configuration has not changed.
- location string
The Azure Region where the Hybrid Compute Machine Extension should exist. Changing this forces a new Hybrid Compute Machine Extension to be created.
- name string
The name which should be used for this Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- protected
Settings string 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 Hybrid Compute Machine Extension to be created.- settings string
Json formatted public settings for the extension.
- {[key: string]: string}
A mapping of tags which should be assigned to the Hybrid Compute Machine Extension.
- type string
Specifies the type of the extension. For example
CustomScriptExtension
orAzureMonitorLinuxAgent
. Changing this forces a new Hybrid Compute Machine Extension to be created.- type
Handler stringVersion Specifies the version of the script handler.
NOTE: 1. When
automatic_upgrade_enabled
is set tofalse
and notype_handler_version
is specified, thetype_handler_version
change should be manually ignored byignore_changes
lifecycle block. This is because thetype_handler_version
is set by the Azure platform when the extension is created. 2. Whenautomatic_upgrade_enabled
is set tofalse
andtype_handler_version
is specified, the provider will check whether the version prefix is aligned with user input. For example, if user specifies1.24
intype_handler_version
,1.24.1
will be considered as no diff.
- arc_
machine_ strid The ID of the Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- automatic_
upgrade_ boolenabled Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Supported values are
true
andfalse
.NOTE: When
automatic_upgrade_enabled
can only be set during creation. Any later change will be ignored.NOTE: When
automatic_upgrade_enabled
is set totrue
, thetype_handler_version
is automatically updated by the Azure platform when a new version is available and any change intype_handler_version
will be automatically ignored.- force_
update_ strtag How the extension handler should be forced to update even if the extension configuration has not changed.
- location str
The Azure Region where the Hybrid Compute Machine Extension should exist. Changing this forces a new Hybrid Compute Machine Extension to be created.
- name str
The name which should be used for this Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- protected_
settings str 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 Hybrid Compute Machine Extension to be created.- settings str
Json formatted public settings for the extension.
- Mapping[str, str]
A mapping of tags which should be assigned to the Hybrid Compute Machine Extension.
- type str
Specifies the type of the extension. For example
CustomScriptExtension
orAzureMonitorLinuxAgent
. Changing this forces a new Hybrid Compute Machine Extension to be created.- type_
handler_ strversion Specifies the version of the script handler.
NOTE: 1. When
automatic_upgrade_enabled
is set tofalse
and notype_handler_version
is specified, thetype_handler_version
change should be manually ignored byignore_changes
lifecycle block. This is because thetype_handler_version
is set by the Azure platform when the extension is created. 2. Whenautomatic_upgrade_enabled
is set tofalse
andtype_handler_version
is specified, the provider will check whether the version prefix is aligned with user input. For example, if user specifies1.24
intype_handler_version
,1.24.1
will be considered as no diff.
- arc
Machine StringId The ID of the Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- automatic
Upgrade BooleanEnabled Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. Supported values are
true
andfalse
.NOTE: When
automatic_upgrade_enabled
can only be set during creation. Any later change will be ignored.NOTE: When
automatic_upgrade_enabled
is set totrue
, thetype_handler_version
is automatically updated by the Azure platform when a new version is available and any change intype_handler_version
will be automatically ignored.- force
Update StringTag How the extension handler should be forced to update even if the extension configuration has not changed.
- location String
The Azure Region where the Hybrid Compute Machine Extension should exist. Changing this forces a new Hybrid Compute Machine Extension to be created.
- name String
The name which should be used for this Hybrid Compute Machine Extension. Changing this forces a new Hybrid Compute Machine Extension to be created.
- protected
Settings String 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 Hybrid Compute Machine Extension to be created.- settings String
Json formatted public settings for the extension.
- Map<String>
A mapping of tags which should be assigned to the Hybrid Compute Machine Extension.
- type String
Specifies the type of the extension. For example
CustomScriptExtension
orAzureMonitorLinuxAgent
. Changing this forces a new Hybrid Compute Machine Extension to be created.- type
Handler StringVersion Specifies the version of the script handler.
NOTE: 1. When
automatic_upgrade_enabled
is set tofalse
and notype_handler_version
is specified, thetype_handler_version
change should be manually ignored byignore_changes
lifecycle block. This is because thetype_handler_version
is set by the Azure platform when the extension is created. 2. Whenautomatic_upgrade_enabled
is set tofalse
andtype_handler_version
is specified, the provider will check whether the version prefix is aligned with user input. For example, if user specifies1.24
intype_handler_version
,1.24.1
will be considered as no diff.
Import
Hybrid Compute Machine Extensions can be imported using the resource id
, e.g.
$ pulumi import azure:arcmachine/extension:Extension example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.HybridCompute/machines/hcmachine1/extensions/ext1
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.