1. Packages
  2. Azure Native
  3. API Docs
  4. resources
  5. AzureCliScript
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.76.0 published on Friday, Dec 6, 2024 by Pulumi

azure-native.resources.AzureCliScript

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.76.0 published on Friday, Dec 6, 2024 by Pulumi

    Object model for the Azure CLI script. Azure REST API version: 2020-10-01. Prior API version in Azure Native 1.x: 2020-10-01.

    Example Usage

    DeploymentScriptsCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var azureCliScript = new AzureNative.Resources.AzureCliScript("azureCliScript", new()
        {
            ResourceGroupName = "script-rg",
            ScriptName = "MyDeploymentScript",
        });
    
    });
    
    package main
    
    import (
    	resources "github.com/pulumi/pulumi-azure-native-sdk/resources/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := resources.NewAzureCliScript(ctx, "azureCliScript", &resources.AzureCliScriptArgs{
    			ResourceGroupName: pulumi.String("script-rg"),
    			ScriptName:        pulumi.String("MyDeploymentScript"),
    		})
    		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.resources.AzureCliScript;
    import com.pulumi.azurenative.resources.AzureCliScriptArgs;
    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 azureCliScript = new AzureCliScript("azureCliScript", AzureCliScriptArgs.builder()
                .resourceGroupName("script-rg")
                .scriptName("MyDeploymentScript")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    azure_cli_script = azure_native.resources.AzureCliScript("azureCliScript",
        resource_group_name="script-rg",
        script_name="MyDeploymentScript")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const azureCliScript = new azure_native.resources.AzureCliScript("azureCliScript", {
        resourceGroupName: "script-rg",
        scriptName: "MyDeploymentScript",
    });
    
    resources:
      azureCliScript:
        type: azure-native:resources:AzureCliScript
        properties:
          resourceGroupName: script-rg
          scriptName: MyDeploymentScript
    

    DeploymentScriptsCreateNoUserManagedIdentity

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var azureCliScript = new AzureNative.Resources.AzureCliScript("azureCliScript", new()
        {
            ResourceGroupName = "script-rg",
            ScriptName = "MyDeploymentScript",
        });
    
    });
    
    package main
    
    import (
    	resources "github.com/pulumi/pulumi-azure-native-sdk/resources/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := resources.NewAzureCliScript(ctx, "azureCliScript", &resources.AzureCliScriptArgs{
    			ResourceGroupName: pulumi.String("script-rg"),
    			ScriptName:        pulumi.String("MyDeploymentScript"),
    		})
    		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.resources.AzureCliScript;
    import com.pulumi.azurenative.resources.AzureCliScriptArgs;
    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 azureCliScript = new AzureCliScript("azureCliScript", AzureCliScriptArgs.builder()
                .resourceGroupName("script-rg")
                .scriptName("MyDeploymentScript")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    azure_cli_script = azure_native.resources.AzureCliScript("azureCliScript",
        resource_group_name="script-rg",
        script_name="MyDeploymentScript")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const azureCliScript = new azure_native.resources.AzureCliScript("azureCliScript", {
        resourceGroupName: "script-rg",
        scriptName: "MyDeploymentScript",
    });
    
    resources:
      azureCliScript:
        type: azure-native:resources:AzureCliScript
        properties:
          resourceGroupName: script-rg
          scriptName: MyDeploymentScript
    

    DeploymentScriptsCreate_MinCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var azureCliScript = new AzureNative.Resources.AzureCliScript("azureCliScript", new()
        {
            ResourceGroupName = "script-rg",
            ScriptName = "MyDeploymentScript",
        });
    
    });
    
    package main
    
    import (
    	resources "github.com/pulumi/pulumi-azure-native-sdk/resources/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := resources.NewAzureCliScript(ctx, "azureCliScript", &resources.AzureCliScriptArgs{
    			ResourceGroupName: pulumi.String("script-rg"),
    			ScriptName:        pulumi.String("MyDeploymentScript"),
    		})
    		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.resources.AzureCliScript;
    import com.pulumi.azurenative.resources.AzureCliScriptArgs;
    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 azureCliScript = new AzureCliScript("azureCliScript", AzureCliScriptArgs.builder()
                .resourceGroupName("script-rg")
                .scriptName("MyDeploymentScript")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    azure_cli_script = azure_native.resources.AzureCliScript("azureCliScript",
        resource_group_name="script-rg",
        script_name="MyDeploymentScript")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const azureCliScript = new azure_native.resources.AzureCliScript("azureCliScript", {
        resourceGroupName: "script-rg",
        scriptName: "MyDeploymentScript",
    });
    
    resources:
      azureCliScript:
        type: azure-native:resources:AzureCliScript
        properties:
          resourceGroupName: script-rg
          scriptName: MyDeploymentScript
    

    DeploymentScriptsCreate_UsingCustomACIName

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var azureCliScript = new AzureNative.Resources.AzureCliScript("azureCliScript", new()
        {
            ResourceGroupName = "script-rg",
            ScriptName = "MyDeploymentScript",
        });
    
    });
    
    package main
    
    import (
    	resources "github.com/pulumi/pulumi-azure-native-sdk/resources/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := resources.NewAzureCliScript(ctx, "azureCliScript", &resources.AzureCliScriptArgs{
    			ResourceGroupName: pulumi.String("script-rg"),
    			ScriptName:        pulumi.String("MyDeploymentScript"),
    		})
    		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.resources.AzureCliScript;
    import com.pulumi.azurenative.resources.AzureCliScriptArgs;
    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 azureCliScript = new AzureCliScript("azureCliScript", AzureCliScriptArgs.builder()
                .resourceGroupName("script-rg")
                .scriptName("MyDeploymentScript")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    azure_cli_script = azure_native.resources.AzureCliScript("azureCliScript",
        resource_group_name="script-rg",
        script_name="MyDeploymentScript")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const azureCliScript = new azure_native.resources.AzureCliScript("azureCliScript", {
        resourceGroupName: "script-rg",
        scriptName: "MyDeploymentScript",
    });
    
    resources:
      azureCliScript:
        type: azure-native:resources:AzureCliScript
        properties:
          resourceGroupName: script-rg
          scriptName: MyDeploymentScript
    

    DeploymentScriptsCreate_UsingExistingStorageAccount

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var azureCliScript = new AzureNative.Resources.AzureCliScript("azureCliScript", new()
        {
            ResourceGroupName = "script-rg",
            ScriptName = "MyDeploymentScript",
        });
    
    });
    
    package main
    
    import (
    	resources "github.com/pulumi/pulumi-azure-native-sdk/resources/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := resources.NewAzureCliScript(ctx, "azureCliScript", &resources.AzureCliScriptArgs{
    			ResourceGroupName: pulumi.String("script-rg"),
    			ScriptName:        pulumi.String("MyDeploymentScript"),
    		})
    		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.resources.AzureCliScript;
    import com.pulumi.azurenative.resources.AzureCliScriptArgs;
    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 azureCliScript = new AzureCliScript("azureCliScript", AzureCliScriptArgs.builder()
                .resourceGroupName("script-rg")
                .scriptName("MyDeploymentScript")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    azure_cli_script = azure_native.resources.AzureCliScript("azureCliScript",
        resource_group_name="script-rg",
        script_name="MyDeploymentScript")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const azureCliScript = new azure_native.resources.AzureCliScript("azureCliScript", {
        resourceGroupName: "script-rg",
        scriptName: "MyDeploymentScript",
    });
    
    resources:
      azureCliScript:
        type: azure-native:resources:AzureCliScript
        properties:
          resourceGroupName: script-rg
          scriptName: MyDeploymentScript
    

    Create AzureCliScript Resource

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

    Constructor syntax

    new AzureCliScript(name: string, args: AzureCliScriptArgs, opts?: CustomResourceOptions);
    @overload
    def AzureCliScript(resource_name: str,
                       args: AzureCliScriptArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def AzureCliScript(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       az_cli_version: Optional[str] = None,
                       retention_interval: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       location: Optional[str] = None,
                       cleanup_preference: Optional[Union[str, CleanupOptions]] = None,
                       identity: Optional[ManagedServiceIdentityArgs] = None,
                       environment_variables: Optional[Sequence[EnvironmentVariableArgs]] = None,
                       arguments: Optional[str] = None,
                       primary_script_uri: Optional[str] = None,
                       container_settings: Optional[ContainerConfigurationArgs] = None,
                       force_update_tag: Optional[str] = None,
                       script_content: Optional[str] = None,
                       script_name: Optional[str] = None,
                       storage_account_settings: Optional[StorageAccountConfigurationArgs] = None,
                       supporting_script_uris: Optional[Sequence[str]] = None,
                       tags: Optional[Mapping[str, str]] = None,
                       timeout: Optional[str] = None)
    func NewAzureCliScript(ctx *Context, name string, args AzureCliScriptArgs, opts ...ResourceOption) (*AzureCliScript, error)
    public AzureCliScript(string name, AzureCliScriptArgs args, CustomResourceOptions? opts = null)
    public AzureCliScript(String name, AzureCliScriptArgs args)
    public AzureCliScript(String name, AzureCliScriptArgs args, CustomResourceOptions options)
    
    type: azure-native:resources:AzureCliScript
    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 AzureCliScriptArgs
    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 AzureCliScriptArgs
    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 AzureCliScriptArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AzureCliScriptArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AzureCliScriptArgs
    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 azureCliScriptResource = new AzureNative.Resources.AzureCliScript("azureCliScriptResource", new()
    {
        Kind = "string",
        AzCliVersion = "string",
        RetentionInterval = "string",
        ResourceGroupName = "string",
        Location = "string",
        CleanupPreference = "string",
        Identity = new AzureNative.Resources.Inputs.ManagedServiceIdentityArgs
        {
            Type = "string",
            UserAssignedIdentities = new[]
            {
                "string",
            },
        },
        EnvironmentVariables = new[]
        {
            new AzureNative.Resources.Inputs.EnvironmentVariableArgs
            {
                Name = "string",
                SecureValue = "string",
                Value = "string",
            },
        },
        Arguments = "string",
        PrimaryScriptUri = "string",
        ContainerSettings = new AzureNative.Resources.Inputs.ContainerConfigurationArgs
        {
            ContainerGroupName = "string",
        },
        ForceUpdateTag = "string",
        ScriptContent = "string",
        ScriptName = "string",
        StorageAccountSettings = new AzureNative.Resources.Inputs.StorageAccountConfigurationArgs
        {
            StorageAccountKey = "string",
            StorageAccountName = "string",
        },
        SupportingScriptUris = new[]
        {
            "string",
        },
        Tags = 
        {
            { "string", "string" },
        },
        Timeout = "string",
    });
    
    example, err := resources.NewAzureCliScript(ctx, "azureCliScriptResource", &resources.AzureCliScriptArgs{
    	Kind:              pulumi.String("string"),
    	AzCliVersion:      pulumi.String("string"),
    	RetentionInterval: pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	Location:          pulumi.String("string"),
    	CleanupPreference: pulumi.String("string"),
    	Identity: &resources.ManagedServiceIdentityArgs{
    		Type: pulumi.String("string"),
    		UserAssignedIdentities: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	EnvironmentVariables: resources.EnvironmentVariableArray{
    		&resources.EnvironmentVariableArgs{
    			Name:        pulumi.String("string"),
    			SecureValue: pulumi.String("string"),
    			Value:       pulumi.String("string"),
    		},
    	},
    	Arguments:        pulumi.String("string"),
    	PrimaryScriptUri: pulumi.String("string"),
    	ContainerSettings: &resources.ContainerConfigurationArgs{
    		ContainerGroupName: pulumi.String("string"),
    	},
    	ForceUpdateTag: pulumi.String("string"),
    	ScriptContent:  pulumi.String("string"),
    	ScriptName:     pulumi.String("string"),
    	StorageAccountSettings: &resources.StorageAccountConfigurationArgs{
    		StorageAccountKey:  pulumi.String("string"),
    		StorageAccountName: pulumi.String("string"),
    	},
    	SupportingScriptUris: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Timeout: pulumi.String("string"),
    })
    
    var azureCliScriptResource = new AzureCliScript("azureCliScriptResource", AzureCliScriptArgs.builder()
        .kind("string")
        .azCliVersion("string")
        .retentionInterval("string")
        .resourceGroupName("string")
        .location("string")
        .cleanupPreference("string")
        .identity(ManagedServiceIdentityArgs.builder()
            .type("string")
            .userAssignedIdentities("string")
            .build())
        .environmentVariables(EnvironmentVariableArgs.builder()
            .name("string")
            .secureValue("string")
            .value("string")
            .build())
        .arguments("string")
        .primaryScriptUri("string")
        .containerSettings(ContainerConfigurationArgs.builder()
            .containerGroupName("string")
            .build())
        .forceUpdateTag("string")
        .scriptContent("string")
        .scriptName("string")
        .storageAccountSettings(StorageAccountConfigurationArgs.builder()
            .storageAccountKey("string")
            .storageAccountName("string")
            .build())
        .supportingScriptUris("string")
        .tags(Map.of("string", "string"))
        .timeout("string")
        .build());
    
    azure_cli_script_resource = azure_native.resources.AzureCliScript("azureCliScriptResource",
        kind="string",
        az_cli_version="string",
        retention_interval="string",
        resource_group_name="string",
        location="string",
        cleanup_preference="string",
        identity={
            "type": "string",
            "user_assigned_identities": ["string"],
        },
        environment_variables=[{
            "name": "string",
            "secure_value": "string",
            "value": "string",
        }],
        arguments="string",
        primary_script_uri="string",
        container_settings={
            "container_group_name": "string",
        },
        force_update_tag="string",
        script_content="string",
        script_name="string",
        storage_account_settings={
            "storage_account_key": "string",
            "storage_account_name": "string",
        },
        supporting_script_uris=["string"],
        tags={
            "string": "string",
        },
        timeout="string")
    
    const azureCliScriptResource = new azure_native.resources.AzureCliScript("azureCliScriptResource", {
        kind: "string",
        azCliVersion: "string",
        retentionInterval: "string",
        resourceGroupName: "string",
        location: "string",
        cleanupPreference: "string",
        identity: {
            type: "string",
            userAssignedIdentities: ["string"],
        },
        environmentVariables: [{
            name: "string",
            secureValue: "string",
            value: "string",
        }],
        arguments: "string",
        primaryScriptUri: "string",
        containerSettings: {
            containerGroupName: "string",
        },
        forceUpdateTag: "string",
        scriptContent: "string",
        scriptName: "string",
        storageAccountSettings: {
            storageAccountKey: "string",
            storageAccountName: "string",
        },
        supportingScriptUris: ["string"],
        tags: {
            string: "string",
        },
        timeout: "string",
    });
    
    type: azure-native:resources:AzureCliScript
    properties:
        arguments: string
        azCliVersion: string
        cleanupPreference: string
        containerSettings:
            containerGroupName: string
        environmentVariables:
            - name: string
              secureValue: string
              value: string
        forceUpdateTag: string
        identity:
            type: string
            userAssignedIdentities:
                - string
        kind: string
        location: string
        primaryScriptUri: string
        resourceGroupName: string
        retentionInterval: string
        scriptContent: string
        scriptName: string
        storageAccountSettings:
            storageAccountKey: string
            storageAccountName: string
        supportingScriptUris:
            - string
        tags:
            string: string
        timeout: string
    

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

    AzCliVersion string
    Azure CLI module version to be used.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    RetentionInterval string
    Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P1D means one day).
    Arguments string
    Command line arguments to pass to the script. Arguments are separated by spaces. ex: -Name blue* -Location 'West US 2'
    CleanupPreference string | Pulumi.AzureNative.Resources.CleanupOptions
    The clean up preference when the script execution gets in a terminal state. Default setting is 'Always'.
    ContainerSettings Pulumi.AzureNative.Resources.Inputs.ContainerConfiguration
    Container settings.
    EnvironmentVariables List<Pulumi.AzureNative.Resources.Inputs.EnvironmentVariable>
    The environment variables to pass over to the script.
    ForceUpdateTag string
    Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID.
    Identity Pulumi.AzureNative.Resources.Inputs.ManagedServiceIdentity
    Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.
    Location string
    The location of the ACI and the storage account for the deployment script.
    PrimaryScriptUri string
    Uri for the script. This is the entry point for the external script.
    ScriptContent string
    Script body.
    ScriptName string
    Name of the deployment script.
    StorageAccountSettings Pulumi.AzureNative.Resources.Inputs.StorageAccountConfiguration
    Storage Account settings.
    SupportingScriptUris List<string>
    Supporting files for the external script.
    Tags Dictionary<string, string>
    Resource tags.
    Timeout string
    Maximum allowed script execution time specified in ISO 8601 format. Default value is P1D
    AzCliVersion string
    Azure CLI module version to be used.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    RetentionInterval string
    Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P1D means one day).
    Arguments string
    Command line arguments to pass to the script. Arguments are separated by spaces. ex: -Name blue* -Location 'West US 2'
    CleanupPreference string | CleanupOptions
    The clean up preference when the script execution gets in a terminal state. Default setting is 'Always'.
    ContainerSettings ContainerConfigurationArgs
    Container settings.
    EnvironmentVariables []EnvironmentVariableArgs
    The environment variables to pass over to the script.
    ForceUpdateTag string
    Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID.
    Identity ManagedServiceIdentityArgs
    Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.
    Location string
    The location of the ACI and the storage account for the deployment script.
    PrimaryScriptUri string
    Uri for the script. This is the entry point for the external script.
    ScriptContent string
    Script body.
    ScriptName string
    Name of the deployment script.
    StorageAccountSettings StorageAccountConfigurationArgs
    Storage Account settings.
    SupportingScriptUris []string
    Supporting files for the external script.
    Tags map[string]string
    Resource tags.
    Timeout string
    Maximum allowed script execution time specified in ISO 8601 format. Default value is P1D
    azCliVersion String
    Azure CLI module version to be used.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    retentionInterval String
    Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P1D means one day).
    arguments String
    Command line arguments to pass to the script. Arguments are separated by spaces. ex: -Name blue* -Location 'West US 2'
    cleanupPreference String | CleanupOptions
    The clean up preference when the script execution gets in a terminal state. Default setting is 'Always'.
    containerSettings ContainerConfiguration
    Container settings.
    environmentVariables List<EnvironmentVariable>
    The environment variables to pass over to the script.
    forceUpdateTag String
    Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID.
    identity ManagedServiceIdentity
    Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.
    location String
    The location of the ACI and the storage account for the deployment script.
    primaryScriptUri String
    Uri for the script. This is the entry point for the external script.
    scriptContent String
    Script body.
    scriptName String
    Name of the deployment script.
    storageAccountSettings StorageAccountConfiguration
    Storage Account settings.
    supportingScriptUris List<String>
    Supporting files for the external script.
    tags Map<String,String>
    Resource tags.
    timeout String
    Maximum allowed script execution time specified in ISO 8601 format. Default value is P1D
    azCliVersion string
    Azure CLI module version to be used.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    retentionInterval string
    Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P1D means one day).
    arguments string
    Command line arguments to pass to the script. Arguments are separated by spaces. ex: -Name blue* -Location 'West US 2'
    cleanupPreference string | CleanupOptions
    The clean up preference when the script execution gets in a terminal state. Default setting is 'Always'.
    containerSettings ContainerConfiguration
    Container settings.
    environmentVariables EnvironmentVariable[]
    The environment variables to pass over to the script.
    forceUpdateTag string
    Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID.
    identity ManagedServiceIdentity
    Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.
    location string
    The location of the ACI and the storage account for the deployment script.
    primaryScriptUri string
    Uri for the script. This is the entry point for the external script.
    scriptContent string
    Script body.
    scriptName string
    Name of the deployment script.
    storageAccountSettings StorageAccountConfiguration
    Storage Account settings.
    supportingScriptUris string[]
    Supporting files for the external script.
    tags {[key: string]: string}
    Resource tags.
    timeout string
    Maximum allowed script execution time specified in ISO 8601 format. Default value is P1D
    az_cli_version str
    Azure CLI module version to be used.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    retention_interval str
    Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P1D means one day).
    arguments str
    Command line arguments to pass to the script. Arguments are separated by spaces. ex: -Name blue* -Location 'West US 2'
    cleanup_preference str | CleanupOptions
    The clean up preference when the script execution gets in a terminal state. Default setting is 'Always'.
    container_settings ContainerConfigurationArgs
    Container settings.
    environment_variables Sequence[EnvironmentVariableArgs]
    The environment variables to pass over to the script.
    force_update_tag str
    Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID.
    identity ManagedServiceIdentityArgs
    Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.
    location str
    The location of the ACI and the storage account for the deployment script.
    primary_script_uri str
    Uri for the script. This is the entry point for the external script.
    script_content str
    Script body.
    script_name str
    Name of the deployment script.
    storage_account_settings StorageAccountConfigurationArgs
    Storage Account settings.
    supporting_script_uris Sequence[str]
    Supporting files for the external script.
    tags Mapping[str, str]
    Resource tags.
    timeout str
    Maximum allowed script execution time specified in ISO 8601 format. Default value is P1D
    azCliVersion String
    Azure CLI module version to be used.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    retentionInterval String
    Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P1D means one day).
    arguments String
    Command line arguments to pass to the script. Arguments are separated by spaces. ex: -Name blue* -Location 'West US 2'
    cleanupPreference String | "Always" | "OnSuccess" | "OnExpiration"
    The clean up preference when the script execution gets in a terminal state. Default setting is 'Always'.
    containerSettings Property Map
    Container settings.
    environmentVariables List<Property Map>
    The environment variables to pass over to the script.
    forceUpdateTag String
    Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID.
    identity Property Map
    Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.
    location String
    The location of the ACI and the storage account for the deployment script.
    primaryScriptUri String
    Uri for the script. This is the entry point for the external script.
    scriptContent String
    Script body.
    scriptName String
    Name of the deployment script.
    storageAccountSettings Property Map
    Storage Account settings.
    supportingScriptUris List<String>
    Supporting files for the external script.
    tags Map<String>
    Resource tags.
    timeout String
    Maximum allowed script execution time specified in ISO 8601 format. Default value is P1D

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of this resource.
    Outputs Dictionary<string, object>
    List of script outputs.
    ProvisioningState string
    State of the script execution. This only appears in the response.
    Status Pulumi.AzureNative.Resources.Outputs.ScriptStatusResponse
    Contains the results of script execution.
    SystemData Pulumi.AzureNative.Resources.Outputs.SystemDataResponse
    The system metadata related to this resource.
    Type string
    Type of this resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of this resource.
    Outputs map[string]interface{}
    List of script outputs.
    ProvisioningState string
    State of the script execution. This only appears in the response.
    Status ScriptStatusResponse
    Contains the results of script execution.
    SystemData SystemDataResponse
    The system metadata related to this resource.
    Type string
    Type of this resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of this resource.
    outputs Map<String,Object>
    List of script outputs.
    provisioningState String
    State of the script execution. This only appears in the response.
    status ScriptStatusResponse
    Contains the results of script execution.
    systemData SystemDataResponse
    The system metadata related to this resource.
    type String
    Type of this resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Name of this resource.
    outputs {[key: string]: any}
    List of script outputs.
    provisioningState string
    State of the script execution. This only appears in the response.
    status ScriptStatusResponse
    Contains the results of script execution.
    systemData SystemDataResponse
    The system metadata related to this resource.
    type string
    Type of this resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Name of this resource.
    outputs Mapping[str, Any]
    List of script outputs.
    provisioning_state str
    State of the script execution. This only appears in the response.
    status ScriptStatusResponse
    Contains the results of script execution.
    system_data SystemDataResponse
    The system metadata related to this resource.
    type str
    Type of this resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of this resource.
    outputs Map<Any>
    List of script outputs.
    provisioningState String
    State of the script execution. This only appears in the response.
    status Property Map
    Contains the results of script execution.
    systemData Property Map
    The system metadata related to this resource.
    type String
    Type of this resource.

    Supporting Types

    CleanupOptions, CleanupOptionsArgs

    Always
    Always
    OnSuccess
    OnSuccess
    OnExpiration
    OnExpiration
    CleanupOptionsAlways
    Always
    CleanupOptionsOnSuccess
    OnSuccess
    CleanupOptionsOnExpiration
    OnExpiration
    Always
    Always
    OnSuccess
    OnSuccess
    OnExpiration
    OnExpiration
    Always
    Always
    OnSuccess
    OnSuccess
    OnExpiration
    OnExpiration
    ALWAYS
    Always
    ON_SUCCESS
    OnSuccess
    ON_EXPIRATION
    OnExpiration
    "Always"
    Always
    "OnSuccess"
    OnSuccess
    "OnExpiration"
    OnExpiration

    ContainerConfiguration, ContainerConfigurationArgs

    ContainerGroupName string
    Container group name, if not specified then the name will get auto-generated. Not specifying a 'containerGroupName' indicates the system to generate a unique name which might end up flagging an Azure Policy as non-compliant. Use 'containerGroupName' when you have an Azure Policy that expects a specific naming convention or when you want to fully control the name. 'containerGroupName' property must be between 1 and 63 characters long, must contain only lowercase letters, numbers, and dashes and it cannot start or end with a dash and consecutive dashes are not allowed. To specify a 'containerGroupName', add the following object to properties: { "containerSettings": { "containerGroupName": "contoso-container" } }. If you do not want to specify a 'containerGroupName' then do not add 'containerSettings' property.
    ContainerGroupName string
    Container group name, if not specified then the name will get auto-generated. Not specifying a 'containerGroupName' indicates the system to generate a unique name which might end up flagging an Azure Policy as non-compliant. Use 'containerGroupName' when you have an Azure Policy that expects a specific naming convention or when you want to fully control the name. 'containerGroupName' property must be between 1 and 63 characters long, must contain only lowercase letters, numbers, and dashes and it cannot start or end with a dash and consecutive dashes are not allowed. To specify a 'containerGroupName', add the following object to properties: { "containerSettings": { "containerGroupName": "contoso-container" } }. If you do not want to specify a 'containerGroupName' then do not add 'containerSettings' property.
    containerGroupName String
    Container group name, if not specified then the name will get auto-generated. Not specifying a 'containerGroupName' indicates the system to generate a unique name which might end up flagging an Azure Policy as non-compliant. Use 'containerGroupName' when you have an Azure Policy that expects a specific naming convention or when you want to fully control the name. 'containerGroupName' property must be between 1 and 63 characters long, must contain only lowercase letters, numbers, and dashes and it cannot start or end with a dash and consecutive dashes are not allowed. To specify a 'containerGroupName', add the following object to properties: { "containerSettings": { "containerGroupName": "contoso-container" } }. If you do not want to specify a 'containerGroupName' then do not add 'containerSettings' property.
    containerGroupName string
    Container group name, if not specified then the name will get auto-generated. Not specifying a 'containerGroupName' indicates the system to generate a unique name which might end up flagging an Azure Policy as non-compliant. Use 'containerGroupName' when you have an Azure Policy that expects a specific naming convention or when you want to fully control the name. 'containerGroupName' property must be between 1 and 63 characters long, must contain only lowercase letters, numbers, and dashes and it cannot start or end with a dash and consecutive dashes are not allowed. To specify a 'containerGroupName', add the following object to properties: { "containerSettings": { "containerGroupName": "contoso-container" } }. If you do not want to specify a 'containerGroupName' then do not add 'containerSettings' property.
    container_group_name str
    Container group name, if not specified then the name will get auto-generated. Not specifying a 'containerGroupName' indicates the system to generate a unique name which might end up flagging an Azure Policy as non-compliant. Use 'containerGroupName' when you have an Azure Policy that expects a specific naming convention or when you want to fully control the name. 'containerGroupName' property must be between 1 and 63 characters long, must contain only lowercase letters, numbers, and dashes and it cannot start or end with a dash and consecutive dashes are not allowed. To specify a 'containerGroupName', add the following object to properties: { "containerSettings": { "containerGroupName": "contoso-container" } }. If you do not want to specify a 'containerGroupName' then do not add 'containerSettings' property.
    containerGroupName String
    Container group name, if not specified then the name will get auto-generated. Not specifying a 'containerGroupName' indicates the system to generate a unique name which might end up flagging an Azure Policy as non-compliant. Use 'containerGroupName' when you have an Azure Policy that expects a specific naming convention or when you want to fully control the name. 'containerGroupName' property must be between 1 and 63 characters long, must contain only lowercase letters, numbers, and dashes and it cannot start or end with a dash and consecutive dashes are not allowed. To specify a 'containerGroupName', add the following object to properties: { "containerSettings": { "containerGroupName": "contoso-container" } }. If you do not want to specify a 'containerGroupName' then do not add 'containerSettings' property.

    ContainerConfigurationResponse, ContainerConfigurationResponseArgs

    ContainerGroupName string
    Container group name, if not specified then the name will get auto-generated. Not specifying a 'containerGroupName' indicates the system to generate a unique name which might end up flagging an Azure Policy as non-compliant. Use 'containerGroupName' when you have an Azure Policy that expects a specific naming convention or when you want to fully control the name. 'containerGroupName' property must be between 1 and 63 characters long, must contain only lowercase letters, numbers, and dashes and it cannot start or end with a dash and consecutive dashes are not allowed. To specify a 'containerGroupName', add the following object to properties: { "containerSettings": { "containerGroupName": "contoso-container" } }. If you do not want to specify a 'containerGroupName' then do not add 'containerSettings' property.
    ContainerGroupName string
    Container group name, if not specified then the name will get auto-generated. Not specifying a 'containerGroupName' indicates the system to generate a unique name which might end up flagging an Azure Policy as non-compliant. Use 'containerGroupName' when you have an Azure Policy that expects a specific naming convention or when you want to fully control the name. 'containerGroupName' property must be between 1 and 63 characters long, must contain only lowercase letters, numbers, and dashes and it cannot start or end with a dash and consecutive dashes are not allowed. To specify a 'containerGroupName', add the following object to properties: { "containerSettings": { "containerGroupName": "contoso-container" } }. If you do not want to specify a 'containerGroupName' then do not add 'containerSettings' property.
    containerGroupName String
    Container group name, if not specified then the name will get auto-generated. Not specifying a 'containerGroupName' indicates the system to generate a unique name which might end up flagging an Azure Policy as non-compliant. Use 'containerGroupName' when you have an Azure Policy that expects a specific naming convention or when you want to fully control the name. 'containerGroupName' property must be between 1 and 63 characters long, must contain only lowercase letters, numbers, and dashes and it cannot start or end with a dash and consecutive dashes are not allowed. To specify a 'containerGroupName', add the following object to properties: { "containerSettings": { "containerGroupName": "contoso-container" } }. If you do not want to specify a 'containerGroupName' then do not add 'containerSettings' property.
    containerGroupName string
    Container group name, if not specified then the name will get auto-generated. Not specifying a 'containerGroupName' indicates the system to generate a unique name which might end up flagging an Azure Policy as non-compliant. Use 'containerGroupName' when you have an Azure Policy that expects a specific naming convention or when you want to fully control the name. 'containerGroupName' property must be between 1 and 63 characters long, must contain only lowercase letters, numbers, and dashes and it cannot start or end with a dash and consecutive dashes are not allowed. To specify a 'containerGroupName', add the following object to properties: { "containerSettings": { "containerGroupName": "contoso-container" } }. If you do not want to specify a 'containerGroupName' then do not add 'containerSettings' property.
    container_group_name str
    Container group name, if not specified then the name will get auto-generated. Not specifying a 'containerGroupName' indicates the system to generate a unique name which might end up flagging an Azure Policy as non-compliant. Use 'containerGroupName' when you have an Azure Policy that expects a specific naming convention or when you want to fully control the name. 'containerGroupName' property must be between 1 and 63 characters long, must contain only lowercase letters, numbers, and dashes and it cannot start or end with a dash and consecutive dashes are not allowed. To specify a 'containerGroupName', add the following object to properties: { "containerSettings": { "containerGroupName": "contoso-container" } }. If you do not want to specify a 'containerGroupName' then do not add 'containerSettings' property.
    containerGroupName String
    Container group name, if not specified then the name will get auto-generated. Not specifying a 'containerGroupName' indicates the system to generate a unique name which might end up flagging an Azure Policy as non-compliant. Use 'containerGroupName' when you have an Azure Policy that expects a specific naming convention or when you want to fully control the name. 'containerGroupName' property must be between 1 and 63 characters long, must contain only lowercase letters, numbers, and dashes and it cannot start or end with a dash and consecutive dashes are not allowed. To specify a 'containerGroupName', add the following object to properties: { "containerSettings": { "containerGroupName": "contoso-container" } }. If you do not want to specify a 'containerGroupName' then do not add 'containerSettings' property.

    EnvironmentVariable, EnvironmentVariableArgs

    Name string
    The name of the environment variable.
    SecureValue string
    The value of the secure environment variable.
    Value string
    The value of the environment variable.
    Name string
    The name of the environment variable.
    SecureValue string
    The value of the secure environment variable.
    Value string
    The value of the environment variable.
    name String
    The name of the environment variable.
    secureValue String
    The value of the secure environment variable.
    value String
    The value of the environment variable.
    name string
    The name of the environment variable.
    secureValue string
    The value of the secure environment variable.
    value string
    The value of the environment variable.
    name str
    The name of the environment variable.
    secure_value str
    The value of the secure environment variable.
    value str
    The value of the environment variable.
    name String
    The name of the environment variable.
    secureValue String
    The value of the secure environment variable.
    value String
    The value of the environment variable.

    EnvironmentVariableResponse, EnvironmentVariableResponseArgs

    Name string
    The name of the environment variable.
    SecureValue string
    The value of the secure environment variable.
    Value string
    The value of the environment variable.
    Name string
    The name of the environment variable.
    SecureValue string
    The value of the secure environment variable.
    Value string
    The value of the environment variable.
    name String
    The name of the environment variable.
    secureValue String
    The value of the secure environment variable.
    value String
    The value of the environment variable.
    name string
    The name of the environment variable.
    secureValue string
    The value of the secure environment variable.
    value string
    The value of the environment variable.
    name str
    The name of the environment variable.
    secure_value str
    The value of the secure environment variable.
    value str
    The value of the environment variable.
    name String
    The name of the environment variable.
    secureValue String
    The value of the secure environment variable.
    value String
    The value of the environment variable.

    ErrorAdditionalInfoResponse, ErrorAdditionalInfoResponseArgs

    Info object
    The additional info.
    Type string
    The additional info type.
    Info interface{}
    The additional info.
    Type string
    The additional info type.
    info Object
    The additional info.
    type String
    The additional info type.
    info any
    The additional info.
    type string
    The additional info type.
    info Any
    The additional info.
    type str
    The additional info type.
    info Any
    The additional info.
    type String
    The additional info type.

    ErrorDetailResponse, ErrorDetailResponseArgs

    AdditionalInfo List<Pulumi.AzureNative.Resources.Inputs.ErrorAdditionalInfoResponse>
    The error additional info.
    Code string
    The error code.
    Details List<Pulumi.AzureNative.Resources.Inputs.ErrorDetailResponse>
    The error details.
    Message string
    The error message.
    Target string
    The error target.
    AdditionalInfo []ErrorAdditionalInfoResponse
    The error additional info.
    Code string
    The error code.
    Details []ErrorDetailResponse
    The error details.
    Message string
    The error message.
    Target string
    The error target.
    additionalInfo List<ErrorAdditionalInfoResponse>
    The error additional info.
    code String
    The error code.
    details List<ErrorDetailResponse>
    The error details.
    message String
    The error message.
    target String
    The error target.
    additionalInfo ErrorAdditionalInfoResponse[]
    The error additional info.
    code string
    The error code.
    details ErrorDetailResponse[]
    The error details.
    message string
    The error message.
    target string
    The error target.
    additional_info Sequence[ErrorAdditionalInfoResponse]
    The error additional info.
    code str
    The error code.
    details Sequence[ErrorDetailResponse]
    The error details.
    message str
    The error message.
    target str
    The error target.
    additionalInfo List<Property Map>
    The error additional info.
    code String
    The error code.
    details List<Property Map>
    The error details.
    message String
    The error message.
    target String
    The error target.

    ErrorResponseResponse, ErrorResponseResponseArgs

    AdditionalInfo []ErrorAdditionalInfoResponse
    The error additional info.
    Code string
    The error code.
    Details []ErrorResponseResponse
    The error details.
    Error ErrorDetailResponse
    The error object.
    Message string
    The error message.
    Target string
    The error target.
    additionalInfo List<ErrorAdditionalInfoResponse>
    The error additional info.
    code String
    The error code.
    details List<ErrorResponseResponse>
    The error details.
    error ErrorDetailResponse
    The error object.
    message String
    The error message.
    target String
    The error target.
    additionalInfo ErrorAdditionalInfoResponse[]
    The error additional info.
    code string
    The error code.
    details ErrorResponseResponse[]
    The error details.
    error ErrorDetailResponse
    The error object.
    message string
    The error message.
    target string
    The error target.
    additional_info Sequence[ErrorAdditionalInfoResponse]
    The error additional info.
    code str
    The error code.
    details Sequence[ErrorResponseResponse]
    The error details.
    error ErrorDetailResponse
    The error object.
    message str
    The error message.
    target str
    The error target.
    additionalInfo List<Property Map>
    The error additional info.
    code String
    The error code.
    details List<Property Map>
    The error details.
    error Property Map
    The error object.
    message String
    The error message.
    target String
    The error target.

    ManagedServiceIdentity, ManagedServiceIdentityArgs

    Type string | Pulumi.AzureNative.Resources.ManagedServiceIdentityType
    Type of the managed identity.
    UserAssignedIdentities List<string>
    The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
    Type string | ManagedServiceIdentityType
    Type of the managed identity.
    UserAssignedIdentities []string
    The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
    type String | ManagedServiceIdentityType
    Type of the managed identity.
    userAssignedIdentities List<String>
    The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
    type string | ManagedServiceIdentityType
    Type of the managed identity.
    userAssignedIdentities string[]
    The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
    type str | ManagedServiceIdentityType
    Type of the managed identity.
    user_assigned_identities Sequence[str]
    The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
    type String | "UserAssigned"
    Type of the managed identity.
    userAssignedIdentities List<String>
    The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.

    ManagedServiceIdentityResponse, ManagedServiceIdentityResponseArgs

    TenantId string
    ID of the Azure Active Directory.
    Type string
    Type of the managed identity.
    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.Resources.Inputs.UserAssignedIdentityResponse>
    The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
    TenantId string
    ID of the Azure Active Directory.
    Type string
    Type of the managed identity.
    UserAssignedIdentities map[string]UserAssignedIdentityResponse
    The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
    tenantId String
    ID of the Azure Active Directory.
    type String
    Type of the managed identity.
    userAssignedIdentities Map<String,UserAssignedIdentityResponse>
    The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
    tenantId string
    ID of the Azure Active Directory.
    type string
    Type of the managed identity.
    userAssignedIdentities {[key: string]: UserAssignedIdentityResponse}
    The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
    tenant_id str
    ID of the Azure Active Directory.
    type str
    Type of the managed identity.
    user_assigned_identities Mapping[str, UserAssignedIdentityResponse]
    The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
    tenantId String
    ID of the Azure Active Directory.
    type String
    Type of the managed identity.
    userAssignedIdentities Map<Property Map>
    The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.

    ManagedServiceIdentityType, ManagedServiceIdentityTypeArgs

    UserAssigned
    UserAssigned
    ManagedServiceIdentityTypeUserAssigned
    UserAssigned
    UserAssigned
    UserAssigned
    UserAssigned
    UserAssigned
    USER_ASSIGNED
    UserAssigned
    "UserAssigned"
    UserAssigned

    ScriptStatusResponse, ScriptStatusResponseArgs

    ContainerInstanceId string
    ACI resource Id.
    EndTime string
    End time of the script execution.
    ExpirationTime string
    Time the deployment script resource will expire.
    StartTime string
    Start time of the script execution.
    StorageAccountId string
    Storage account resource Id.
    Error Pulumi.AzureNative.Resources.Inputs.ErrorResponseResponse
    Error that is relayed from the script execution.
    ContainerInstanceId string
    ACI resource Id.
    EndTime string
    End time of the script execution.
    ExpirationTime string
    Time the deployment script resource will expire.
    StartTime string
    Start time of the script execution.
    StorageAccountId string
    Storage account resource Id.
    Error ErrorResponseResponse
    Error that is relayed from the script execution.
    containerInstanceId String
    ACI resource Id.
    endTime String
    End time of the script execution.
    expirationTime String
    Time the deployment script resource will expire.
    startTime String
    Start time of the script execution.
    storageAccountId String
    Storage account resource Id.
    error ErrorResponseResponse
    Error that is relayed from the script execution.
    containerInstanceId string
    ACI resource Id.
    endTime string
    End time of the script execution.
    expirationTime string
    Time the deployment script resource will expire.
    startTime string
    Start time of the script execution.
    storageAccountId string
    Storage account resource Id.
    error ErrorResponseResponse
    Error that is relayed from the script execution.
    container_instance_id str
    ACI resource Id.
    end_time str
    End time of the script execution.
    expiration_time str
    Time the deployment script resource will expire.
    start_time str
    Start time of the script execution.
    storage_account_id str
    Storage account resource Id.
    error ErrorResponseResponse
    Error that is relayed from the script execution.
    containerInstanceId String
    ACI resource Id.
    endTime String
    End time of the script execution.
    expirationTime String
    Time the deployment script resource will expire.
    startTime String
    Start time of the script execution.
    storageAccountId String
    Storage account resource Id.
    error Property Map
    Error that is relayed from the script execution.

    StorageAccountConfiguration, StorageAccountConfigurationArgs

    StorageAccountKey string
    The storage account access key.
    StorageAccountName string
    The storage account name.
    StorageAccountKey string
    The storage account access key.
    StorageAccountName string
    The storage account name.
    storageAccountKey String
    The storage account access key.
    storageAccountName String
    The storage account name.
    storageAccountKey string
    The storage account access key.
    storageAccountName string
    The storage account name.
    storage_account_key str
    The storage account access key.
    storage_account_name str
    The storage account name.
    storageAccountKey String
    The storage account access key.
    storageAccountName String
    The storage account name.

    StorageAccountConfigurationResponse, StorageAccountConfigurationResponseArgs

    StorageAccountKey string
    The storage account access key.
    StorageAccountName string
    The storage account name.
    StorageAccountKey string
    The storage account access key.
    StorageAccountName string
    The storage account name.
    storageAccountKey String
    The storage account access key.
    storageAccountName String
    The storage account name.
    storageAccountKey string
    The storage account access key.
    storageAccountName string
    The storage account name.
    storage_account_key str
    The storage account access key.
    storage_account_name str
    The storage account name.
    storageAccountKey String
    The storage account access key.
    storageAccountName String
    The storage account name.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs

    ClientId string
    Client App Id associated with this identity.
    PrincipalId string
    Azure Active Directory principal ID associated with this identity.
    ClientId string
    Client App Id associated with this identity.
    PrincipalId string
    Azure Active Directory principal ID associated with this identity.
    clientId String
    Client App Id associated with this identity.
    principalId String
    Azure Active Directory principal ID associated with this identity.
    clientId string
    Client App Id associated with this identity.
    principalId string
    Azure Active Directory principal ID associated with this identity.
    client_id str
    Client App Id associated with this identity.
    principal_id str
    Azure Active Directory principal ID associated with this identity.
    clientId String
    Client App Id associated with this identity.
    principalId String
    Azure Active Directory principal ID associated with this identity.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:resources:AzureCliScript myresource1 /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.76.0 published on Friday, Dec 6, 2024 by Pulumi