The Node Customization resource.
Uses Azure REST API version 2025-08-02-preview.
Other available API versions: 2025-09-02-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native containerservice [ApiVersion]. See the version guide for details.
Example Usage
NodeCustomizations_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var nodeCustomization = new AzureNative.ContainerService.NodeCustomization("nodeCustomization", new()
{
Location = "westus2",
NodeCustomizationName = "my-node-customization",
Properties = new AzureNative.ContainerService.Inputs.NodeCustomizationPropertiesArgs
{
ContainerImages = new[]
{
"redis:8.0.0",
},
CustomizationScripts = new[]
{
new AzureNative.ContainerService.Inputs.NodeCustomizationScriptArgs
{
ExecutionPoint = AzureNative.ContainerService.ExecutionPoint.NodeImageBuildTime,
Name = "initialize-node",
Script = "echo \"test node customization\" > /var/log/test-node-customization.txt",
ScriptType = AzureNative.ContainerService.ScriptType.Bash,
},
},
},
ResourceGroupName = "rg1",
Tags =
{
{ "team", "blue" },
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewNodeCustomization(ctx, "nodeCustomization", &containerservice.NodeCustomizationArgs{
Location: pulumi.String("westus2"),
NodeCustomizationName: pulumi.String("my-node-customization"),
Properties: &containerservice.NodeCustomizationPropertiesArgs{
ContainerImages: pulumi.StringArray{
pulumi.String("redis:8.0.0"),
},
CustomizationScripts: containerservice.NodeCustomizationScriptArray{
&containerservice.NodeCustomizationScriptArgs{
ExecutionPoint: pulumi.String(containerservice.ExecutionPointNodeImageBuildTime),
Name: pulumi.String("initialize-node"),
Script: pulumi.String("echo \"test node customization\" > /var/log/test-node-customization.txt"),
ScriptType: pulumi.String(containerservice.ScriptTypeBash),
},
},
},
ResourceGroupName: pulumi.String("rg1"),
Tags: pulumi.StringMap{
"team": pulumi.String("blue"),
},
})
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.containerservice.NodeCustomization;
import com.pulumi.azurenative.containerservice.NodeCustomizationArgs;
import com.pulumi.azurenative.containerservice.inputs.NodeCustomizationPropertiesArgs;
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 nodeCustomization = new NodeCustomization("nodeCustomization", NodeCustomizationArgs.builder()
.location("westus2")
.nodeCustomizationName("my-node-customization")
.properties(NodeCustomizationPropertiesArgs.builder()
.containerImages("redis:8.0.0")
.customizationScripts(NodeCustomizationScriptArgs.builder()
.executionPoint("NodeImageBuildTime")
.name("initialize-node")
.script("echo \"test node customization\" > /var/log/test-node-customization.txt")
.scriptType("Bash")
.build())
.build())
.resourceGroupName("rg1")
.tags(Map.of("team", "blue"))
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const nodeCustomization = new azure_native.containerservice.NodeCustomization("nodeCustomization", {
location: "westus2",
nodeCustomizationName: "my-node-customization",
properties: {
containerImages: ["redis:8.0.0"],
customizationScripts: [{
executionPoint: azure_native.containerservice.ExecutionPoint.NodeImageBuildTime,
name: "initialize-node",
script: "echo \"test node customization\" > /var/log/test-node-customization.txt",
scriptType: azure_native.containerservice.ScriptType.Bash,
}],
},
resourceGroupName: "rg1",
tags: {
team: "blue",
},
});
import pulumi
import pulumi_azure_native as azure_native
node_customization = azure_native.containerservice.NodeCustomization("nodeCustomization",
location="westus2",
node_customization_name="my-node-customization",
properties={
"container_images": ["redis:8.0.0"],
"customization_scripts": [{
"execution_point": azure_native.containerservice.ExecutionPoint.NODE_IMAGE_BUILD_TIME,
"name": "initialize-node",
"script": "echo \"test node customization\" > /var/log/test-node-customization.txt",
"script_type": azure_native.containerservice.ScriptType.BASH,
}],
},
resource_group_name="rg1",
tags={
"team": "blue",
})
resources:
nodeCustomization:
type: azure-native:containerservice:NodeCustomization
properties:
location: westus2
nodeCustomizationName: my-node-customization
properties:
containerImages:
- redis:8.0.0
customizationScripts:
- executionPoint: NodeImageBuildTime
name: initialize-node
script: echo "test node customization" > /var/log/test-node-customization.txt
scriptType: Bash
resourceGroupName: rg1
tags:
team: blue
Create NodeCustomization Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NodeCustomization(name: string, args: NodeCustomizationArgs, opts?: CustomResourceOptions);@overload
def NodeCustomization(resource_name: str,
args: NodeCustomizationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NodeCustomization(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
node_customization_name: Optional[str] = None,
properties: Optional[NodeCustomizationPropertiesArgs] = None,
tags: Optional[Mapping[str, str]] = None)func NewNodeCustomization(ctx *Context, name string, args NodeCustomizationArgs, opts ...ResourceOption) (*NodeCustomization, error)public NodeCustomization(string name, NodeCustomizationArgs args, CustomResourceOptions? opts = null)
public NodeCustomization(String name, NodeCustomizationArgs args)
public NodeCustomization(String name, NodeCustomizationArgs args, CustomResourceOptions options)
type: azure-native:containerservice:NodeCustomization
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 NodeCustomizationArgs
- 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 NodeCustomizationArgs
- 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 NodeCustomizationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NodeCustomizationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NodeCustomizationArgs
- 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 nodeCustomizationResource = new AzureNative.ContainerService.NodeCustomization("nodeCustomizationResource", new()
{
ResourceGroupName = "string",
Location = "string",
NodeCustomizationName = "string",
Properties = new AzureNative.ContainerService.Inputs.NodeCustomizationPropertiesArgs
{
ContainerImages = new[]
{
"string",
},
CustomizationScripts = new[]
{
new AzureNative.ContainerService.Inputs.NodeCustomizationScriptArgs
{
ExecutionPoint = "string",
Name = "string",
ScriptType = "string",
RebootAfter = false,
Script = "string",
},
},
},
Tags =
{
{ "string", "string" },
},
});
example, err := containerservice.NewNodeCustomization(ctx, "nodeCustomizationResource", &containerservice.NodeCustomizationArgs{
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
NodeCustomizationName: pulumi.String("string"),
Properties: &containerservice.NodeCustomizationPropertiesArgs{
ContainerImages: pulumi.StringArray{
pulumi.String("string"),
},
CustomizationScripts: containerservice.NodeCustomizationScriptArray{
&containerservice.NodeCustomizationScriptArgs{
ExecutionPoint: pulumi.String("string"),
Name: pulumi.String("string"),
ScriptType: pulumi.String("string"),
RebootAfter: pulumi.Bool(false),
Script: pulumi.String("string"),
},
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var nodeCustomizationResource = new NodeCustomization("nodeCustomizationResource", NodeCustomizationArgs.builder()
.resourceGroupName("string")
.location("string")
.nodeCustomizationName("string")
.properties(NodeCustomizationPropertiesArgs.builder()
.containerImages("string")
.customizationScripts(NodeCustomizationScriptArgs.builder()
.executionPoint("string")
.name("string")
.scriptType("string")
.rebootAfter(false)
.script("string")
.build())
.build())
.tags(Map.of("string", "string"))
.build());
node_customization_resource = azure_native.containerservice.NodeCustomization("nodeCustomizationResource",
resource_group_name="string",
location="string",
node_customization_name="string",
properties={
"container_images": ["string"],
"customization_scripts": [{
"execution_point": "string",
"name": "string",
"script_type": "string",
"reboot_after": False,
"script": "string",
}],
},
tags={
"string": "string",
})
const nodeCustomizationResource = new azure_native.containerservice.NodeCustomization("nodeCustomizationResource", {
resourceGroupName: "string",
location: "string",
nodeCustomizationName: "string",
properties: {
containerImages: ["string"],
customizationScripts: [{
executionPoint: "string",
name: "string",
scriptType: "string",
rebootAfter: false,
script: "string",
}],
},
tags: {
string: "string",
},
});
type: azure-native:containerservice:NodeCustomization
properties:
location: string
nodeCustomizationName: string
properties:
containerImages:
- string
customizationScripts:
- executionPoint: string
name: string
rebootAfter: false
script: string
scriptType: string
resourceGroupName: string
tags:
string: string
NodeCustomization 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 NodeCustomization resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Node
Customization stringName - The name of the Node Customization resource.
- Properties
Pulumi.
Azure Native. Container Service. Inputs. Node Customization Properties - The resource-specific properties for this resource.
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Node
Customization stringName - The name of the Node Customization resource.
- Properties
Node
Customization Properties Args - The resource-specific properties for this resource.
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- node
Customization StringName - The name of the Node Customization resource.
- properties
Node
Customization Properties - The resource-specific properties for this resource.
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- location string
- The geo-location where the resource lives
- node
Customization stringName - The name of the Node Customization resource.
- properties
Node
Customization Properties - The resource-specific properties for this resource.
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- location str
- The geo-location where the resource lives
- node_
customization_ strname - The name of the Node Customization resource.
- properties
Node
Customization Properties Args - The resource-specific properties for this resource.
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- node
Customization StringName - The name of the Node Customization resource.
- properties Property Map
- The resource-specific properties for this resource.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the NodeCustomization resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- ETag string
- If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Container Service. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Azure
Api stringVersion - The Azure API version of the resource.
- ETag string
- If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- e
Tag String - If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api stringVersion - The Azure API version of the resource.
- e
Tag string - If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ strversion - The Azure API version of the resource.
- e_
tag str - If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- e
Tag String - If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
ExecutionPoint, ExecutionPointArgs
- Node
Image Build Time - NodeImageBuildTimeExecute during node image build time.
- Node
Provision Time - NodeProvisionTimeExecute during node provisioning time.
- Execution
Point Node Image Build Time - NodeImageBuildTimeExecute during node image build time.
- Execution
Point Node Provision Time - NodeProvisionTimeExecute during node provisioning time.
- Node
Image Build Time - NodeImageBuildTimeExecute during node image build time.
- Node
Provision Time - NodeProvisionTimeExecute during node provisioning time.
- Node
Image Build Time - NodeImageBuildTimeExecute during node image build time.
- Node
Provision Time - NodeProvisionTimeExecute during node provisioning time.
- NODE_IMAGE_BUILD_TIME
- NodeImageBuildTimeExecute during node image build time.
- NODE_PROVISION_TIME
- NodeProvisionTimeExecute during node provisioning time.
- "Node
Image Build Time" - NodeImageBuildTimeExecute during node image build time.
- "Node
Provision Time" - NodeProvisionTimeExecute during node provisioning time.
NodeCustomizationProperties, NodeCustomizationPropertiesArgs
The properties of the Node Customization resource.- Container
Images List<string> - The list of container images to cache on nodes. See https://kubernetes.io/docs/concepts/containers/images/#image-names
- Customization
Scripts List<Pulumi.Azure Native. Container Service. Inputs. Node Customization Script> - The scripts to customize the node before or after image capture.
- Container
Images []string - The list of container images to cache on nodes. See https://kubernetes.io/docs/concepts/containers/images/#image-names
- Customization
Scripts []NodeCustomization Script - The scripts to customize the node before or after image capture.
- container
Images List<String> - The list of container images to cache on nodes. See https://kubernetes.io/docs/concepts/containers/images/#image-names
- customization
Scripts List<NodeCustomization Script> - The scripts to customize the node before or after image capture.
- container
Images string[] - The list of container images to cache on nodes. See https://kubernetes.io/docs/concepts/containers/images/#image-names
- customization
Scripts NodeCustomization Script[] - The scripts to customize the node before or after image capture.
- container_
images Sequence[str] - The list of container images to cache on nodes. See https://kubernetes.io/docs/concepts/containers/images/#image-names
- customization_
scripts Sequence[NodeCustomization Script] - The scripts to customize the node before or after image capture.
- container
Images List<String> - The list of container images to cache on nodes. See https://kubernetes.io/docs/concepts/containers/images/#image-names
- customization
Scripts List<Property Map> - The scripts to customize the node before or after image capture.
NodeCustomizationPropertiesResponse, NodeCustomizationPropertiesResponseArgs
The properties of the Node Customization resource.- Provisioning
State string - The provisioning state of the node customization.
- Version string
- An auto-generated value that changes when the other fields of the image customization are changed.
- Container
Images List<string> - The list of container images to cache on nodes. See https://kubernetes.io/docs/concepts/containers/images/#image-names
- Customization
Scripts List<Pulumi.Azure Native. Container Service. Inputs. Node Customization Script Response> - The scripts to customize the node before or after image capture.
- Identity
Profile Pulumi.Azure Native. Container Service. Inputs. User Assigned Identity Response - The identity used to execute node customization tasks during image build time and provisioning time. If not specified the default agentpool identity will be used. This does not affect provisioned nodes.
- Provisioning
State string - The provisioning state of the node customization.
- Version string
- An auto-generated value that changes when the other fields of the image customization are changed.
- Container
Images []string - The list of container images to cache on nodes. See https://kubernetes.io/docs/concepts/containers/images/#image-names
- Customization
Scripts []NodeCustomization Script Response - The scripts to customize the node before or after image capture.
- Identity
Profile UserAssigned Identity Response - The identity used to execute node customization tasks during image build time and provisioning time. If not specified the default agentpool identity will be used. This does not affect provisioned nodes.
- provisioning
State String - The provisioning state of the node customization.
- version String
- An auto-generated value that changes when the other fields of the image customization are changed.
- container
Images List<String> - The list of container images to cache on nodes. See https://kubernetes.io/docs/concepts/containers/images/#image-names
- customization
Scripts List<NodeCustomization Script Response> - The scripts to customize the node before or after image capture.
- identity
Profile UserAssigned Identity Response - The identity used to execute node customization tasks during image build time and provisioning time. If not specified the default agentpool identity will be used. This does not affect provisioned nodes.
- provisioning
State string - The provisioning state of the node customization.
- version string
- An auto-generated value that changes when the other fields of the image customization are changed.
- container
Images string[] - The list of container images to cache on nodes. See https://kubernetes.io/docs/concepts/containers/images/#image-names
- customization
Scripts NodeCustomization Script Response[] - The scripts to customize the node before or after image capture.
- identity
Profile UserAssigned Identity Response - The identity used to execute node customization tasks during image build time and provisioning time. If not specified the default agentpool identity will be used. This does not affect provisioned nodes.
- provisioning_
state str - The provisioning state of the node customization.
- version str
- An auto-generated value that changes when the other fields of the image customization are changed.
- container_
images Sequence[str] - The list of container images to cache on nodes. See https://kubernetes.io/docs/concepts/containers/images/#image-names
- customization_
scripts Sequence[NodeCustomization Script Response] - The scripts to customize the node before or after image capture.
- identity_
profile UserAssigned Identity Response - The identity used to execute node customization tasks during image build time and provisioning time. If not specified the default agentpool identity will be used. This does not affect provisioned nodes.
- provisioning
State String - The provisioning state of the node customization.
- version String
- An auto-generated value that changes when the other fields of the image customization are changed.
- container
Images List<String> - The list of container images to cache on nodes. See https://kubernetes.io/docs/concepts/containers/images/#image-names
- customization
Scripts List<Property Map> - The scripts to customize the node before or after image capture.
- identity
Profile Property Map - The identity used to execute node customization tasks during image build time and provisioning time. If not specified the default agentpool identity will be used. This does not affect provisioned nodes.
NodeCustomizationScript, NodeCustomizationScriptArgs
Node customization script- Execution
Point string | Pulumi.Azure Native. Container Service. Execution Point - The stage at which the script is executed.
Specifying
NodeImageBuildTimewill ensure changes are persisted into the node image. - Name string
- The name for the customization script. Must be unique within the node customization resource. Can only contain lowercase alphanumeric,'-' or '.' characters.
- Script
Type string | Pulumi.Azure Native. Container Service. Script Type - The runtime environment for the script (e.g. Bash).
- Reboot
After bool - Whether the node should reboot after successful script execution.
- Script string
- The script content to be executed in plain text. Do not include secrets.
- Execution
Point string | ExecutionPoint - The stage at which the script is executed.
Specifying
NodeImageBuildTimewill ensure changes are persisted into the node image. - Name string
- The name for the customization script. Must be unique within the node customization resource. Can only contain lowercase alphanumeric,'-' or '.' characters.
- Script
Type string | ScriptType - The runtime environment for the script (e.g. Bash).
- Reboot
After bool - Whether the node should reboot after successful script execution.
- Script string
- The script content to be executed in plain text. Do not include secrets.
- execution
Point String | ExecutionPoint - The stage at which the script is executed.
Specifying
NodeImageBuildTimewill ensure changes are persisted into the node image. - name String
- The name for the customization script. Must be unique within the node customization resource. Can only contain lowercase alphanumeric,'-' or '.' characters.
- script
Type String | ScriptType - The runtime environment for the script (e.g. Bash).
- reboot
After Boolean - Whether the node should reboot after successful script execution.
- script String
- The script content to be executed in plain text. Do not include secrets.
- execution
Point string | ExecutionPoint - The stage at which the script is executed.
Specifying
NodeImageBuildTimewill ensure changes are persisted into the node image. - name string
- The name for the customization script. Must be unique within the node customization resource. Can only contain lowercase alphanumeric,'-' or '.' characters.
- script
Type string | ScriptType - The runtime environment for the script (e.g. Bash).
- reboot
After boolean - Whether the node should reboot after successful script execution.
- script string
- The script content to be executed in plain text. Do not include secrets.
- execution_
point str | ExecutionPoint - The stage at which the script is executed.
Specifying
NodeImageBuildTimewill ensure changes are persisted into the node image. - name str
- The name for the customization script. Must be unique within the node customization resource. Can only contain lowercase alphanumeric,'-' or '.' characters.
- script_
type str | ScriptType - The runtime environment for the script (e.g. Bash).
- reboot_
after bool - Whether the node should reboot after successful script execution.
- script str
- The script content to be executed in plain text. Do not include secrets.
- execution
Point String | "NodeImage Build Time" | "Node Provision Time" - The stage at which the script is executed.
Specifying
NodeImageBuildTimewill ensure changes are persisted into the node image. - name String
- The name for the customization script. Must be unique within the node customization resource. Can only contain lowercase alphanumeric,'-' or '.' characters.
- script
Type String | "Bash" | "PowerShell" - The runtime environment for the script (e.g. Bash).
- reboot
After Boolean - Whether the node should reboot after successful script execution.
- script String
- The script content to be executed in plain text. Do not include secrets.
NodeCustomizationScriptResponse, NodeCustomizationScriptResponseArgs
Node customization script- Execution
Point string - The stage at which the script is executed.
Specifying
NodeImageBuildTimewill ensure changes are persisted into the node image. - Name string
- The name for the customization script. Must be unique within the node customization resource. Can only contain lowercase alphanumeric,'-' or '.' characters.
- Script
Type string - The runtime environment for the script (e.g. Bash).
- Reboot
After bool - Whether the node should reboot after successful script execution.
- Script string
- The script content to be executed in plain text. Do not include secrets.
- Execution
Point string - The stage at which the script is executed.
Specifying
NodeImageBuildTimewill ensure changes are persisted into the node image. - Name string
- The name for the customization script. Must be unique within the node customization resource. Can only contain lowercase alphanumeric,'-' or '.' characters.
- Script
Type string - The runtime environment for the script (e.g. Bash).
- Reboot
After bool - Whether the node should reboot after successful script execution.
- Script string
- The script content to be executed in plain text. Do not include secrets.
- execution
Point String - The stage at which the script is executed.
Specifying
NodeImageBuildTimewill ensure changes are persisted into the node image. - name String
- The name for the customization script. Must be unique within the node customization resource. Can only contain lowercase alphanumeric,'-' or '.' characters.
- script
Type String - The runtime environment for the script (e.g. Bash).
- reboot
After Boolean - Whether the node should reboot after successful script execution.
- script String
- The script content to be executed in plain text. Do not include secrets.
- execution
Point string - The stage at which the script is executed.
Specifying
NodeImageBuildTimewill ensure changes are persisted into the node image. - name string
- The name for the customization script. Must be unique within the node customization resource. Can only contain lowercase alphanumeric,'-' or '.' characters.
- script
Type string - The runtime environment for the script (e.g. Bash).
- reboot
After boolean - Whether the node should reboot after successful script execution.
- script string
- The script content to be executed in plain text. Do not include secrets.
- execution_
point str - The stage at which the script is executed.
Specifying
NodeImageBuildTimewill ensure changes are persisted into the node image. - name str
- The name for the customization script. Must be unique within the node customization resource. Can only contain lowercase alphanumeric,'-' or '.' characters.
- script_
type str - The runtime environment for the script (e.g. Bash).
- reboot_
after bool - Whether the node should reboot after successful script execution.
- script str
- The script content to be executed in plain text. Do not include secrets.
- execution
Point String - The stage at which the script is executed.
Specifying
NodeImageBuildTimewill ensure changes are persisted into the node image. - name String
- The name for the customization script. Must be unique within the node customization resource. Can only contain lowercase alphanumeric,'-' or '.' characters.
- script
Type String - The runtime environment for the script (e.g. Bash).
- reboot
After Boolean - Whether the node should reboot after successful script execution.
- script String
- The script content to be executed in plain text. Do not include secrets.
ScriptType, ScriptTypeArgs
- Bash
- BashBash script.
- Power
Shell - PowerShellPowerShell script.
- Script
Type Bash - BashBash script.
- Script
Type Power Shell - PowerShellPowerShell script.
- Bash
- BashBash script.
- Power
Shell - PowerShellPowerShell script.
- Bash
- BashBash script.
- Power
Shell - PowerShellPowerShell script.
- BASH
- BashBash script.
- POWER_SHELL
- PowerShellPowerShell script.
- "Bash"
- BashBash script.
- "Power
Shell" - PowerShellPowerShell script.
SystemDataResponse, SystemDataResponseArgs
Metadata pertaining to creation and last modification of the resource.- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs
User assigned identity properties- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Object
Id string - The object ID of the user assigned identity.
- Resource
Id string - The resource ID of the user assigned identity.
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Object
Id string - The object ID of the user assigned identity.
- Resource
Id string - The resource ID of the user assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- object
Id String - The object ID of the user assigned identity.
- resource
Id String - The resource ID of the user assigned identity.
- client
Id string - The client ID of the assigned identity.
- principal
Id string - The principal ID of the assigned identity.
- object
Id string - The object ID of the user assigned identity.
- resource
Id string - The resource ID of the user assigned identity.
- client_
id str - The client ID of the assigned identity.
- principal_
id str - The principal ID of the assigned identity.
- object_
id str - The object ID of the user assigned identity.
- resource_
id str - The resource ID of the user assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- object
Id String - The object ID of the user assigned identity.
- resource
Id String - The resource ID of the user assigned identity.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:containerservice:NodeCustomization my-node-customization /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/nodeCustomizations/{nodeCustomizationName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
