1. Packages
  2. Azure Native
  3. API Docs
  4. avs
  5. ScriptExecution
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.avs.ScriptExecution

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

    An instance of a script executed by a user - custom or AVS

    Uses Azure REST API version 2023-09-01. In version 2.x of the Azure Native provider, it used API version 2022-05-01.

    Other available API versions: 2022-05-01, 2023-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native avs [ApiVersion]. See the version guide for details.

    Example Usage

    ScriptExecutions_CreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var scriptExecution = new AzureNative.AVS.ScriptExecution("scriptExecution", new()
        {
            HiddenParameters = new[]
            {
                new AzureNative.AVS.Inputs.ScriptSecureStringExecutionParameterArgs
                {
                    Name = "Password",
                    SecureValue = "PlaceholderPassword",
                    Type = "SecureValue",
                },
            },
            Parameters = new[]
            {
                new AzureNative.AVS.Inputs.ScriptStringExecutionParameterArgs
                {
                    Name = "DomainName",
                    Type = "Value",
                    Value = "placeholderDomain.local",
                },
                new AzureNative.AVS.Inputs.ScriptStringExecutionParameterArgs
                {
                    Name = "BaseUserDN",
                    Type = "Value",
                    Value = "DC=placeholder, DC=placeholder",
                },
            },
            PrivateCloudName = "cloud1",
            ResourceGroupName = "group1",
            Retention = "P0Y0M60DT0H60M60S",
            ScriptCmdletId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource",
            ScriptExecutionName = "addSsoServer",
            Timeout = "P0Y0M0DT0H60M60S",
        });
    
    });
    
    package main
    
    import (
    	avs "github.com/pulumi/pulumi-azure-native-sdk/avs/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := avs.NewScriptExecution(ctx, "scriptExecution", &avs.ScriptExecutionArgs{
    			HiddenParameters: pulumi.Array{
    				avs.ScriptSecureStringExecutionParameter{
    					Name:        "Password",
    					SecureValue: "PlaceholderPassword",
    					Type:        "SecureValue",
    				},
    			},
    			Parameters: pulumi.Array{
    				avs.ScriptStringExecutionParameter{
    					Name:  "DomainName",
    					Type:  "Value",
    					Value: "placeholderDomain.local",
    				},
    				avs.ScriptStringExecutionParameter{
    					Name:  "BaseUserDN",
    					Type:  "Value",
    					Value: "DC=placeholder, DC=placeholder",
    				},
    			},
    			PrivateCloudName:    pulumi.String("cloud1"),
    			ResourceGroupName:   pulumi.String("group1"),
    			Retention:           pulumi.String("P0Y0M60DT0H60M60S"),
    			ScriptCmdletId:      pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource"),
    			ScriptExecutionName: pulumi.String("addSsoServer"),
    			Timeout:             pulumi.String("P0Y0M0DT0H60M60S"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.avs.ScriptExecution;
    import com.pulumi.azurenative.avs.ScriptExecutionArgs;
    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 scriptExecution = new ScriptExecution("scriptExecution", ScriptExecutionArgs.builder()
                .hiddenParameters(ScriptSecureStringExecutionParameterArgs.builder()
                    .name("Password")
                    .secureValue("PlaceholderPassword")
                    .type("SecureValue")
                    .build())
                .parameters(            
                    ScriptStringExecutionParameterArgs.builder()
                        .name("DomainName")
                        .type("Value")
                        .value("placeholderDomain.local")
                        .build(),
                    ScriptStringExecutionParameterArgs.builder()
                        .name("BaseUserDN")
                        .type("Value")
                        .value("DC=placeholder, DC=placeholder")
                        .build())
                .privateCloudName("cloud1")
                .resourceGroupName("group1")
                .retention("P0Y0M60DT0H60M60S")
                .scriptCmdletId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource")
                .scriptExecutionName("addSsoServer")
                .timeout("P0Y0M0DT0H60M60S")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const scriptExecution = new azure_native.avs.ScriptExecution("scriptExecution", {
        hiddenParameters: [{
            name: "Password",
            secureValue: "PlaceholderPassword",
            type: "SecureValue",
        }],
        parameters: [
            {
                name: "DomainName",
                type: "Value",
                value: "placeholderDomain.local",
            },
            {
                name: "BaseUserDN",
                type: "Value",
                value: "DC=placeholder, DC=placeholder",
            },
        ],
        privateCloudName: "cloud1",
        resourceGroupName: "group1",
        retention: "P0Y0M60DT0H60M60S",
        scriptCmdletId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource",
        scriptExecutionName: "addSsoServer",
        timeout: "P0Y0M0DT0H60M60S",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    script_execution = azure_native.avs.ScriptExecution("scriptExecution",
        hidden_parameters=[{
            "name": "Password",
            "secure_value": "PlaceholderPassword",
            "type": "SecureValue",
        }],
        parameters=[
            {
                "name": "DomainName",
                "type": "Value",
                "value": "placeholderDomain.local",
            },
            {
                "name": "BaseUserDN",
                "type": "Value",
                "value": "DC=placeholder, DC=placeholder",
            },
        ],
        private_cloud_name="cloud1",
        resource_group_name="group1",
        retention="P0Y0M60DT0H60M60S",
        script_cmdlet_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource",
        script_execution_name="addSsoServer",
        timeout="P0Y0M0DT0H60M60S")
    
    resources:
      scriptExecution:
        type: azure-native:avs:ScriptExecution
        properties:
          hiddenParameters:
            - name: Password
              secureValue: PlaceholderPassword
              type: SecureValue
          parameters:
            - name: DomainName
              type: Value
              value: placeholderDomain.local
            - name: BaseUserDN
              type: Value
              value: DC=placeholder, DC=placeholder
          privateCloudName: cloud1
          resourceGroupName: group1
          retention: P0Y0M60DT0H60M60S
          scriptCmdletId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource
          scriptExecutionName: addSsoServer
          timeout: P0Y0M0DT0H60M60S
    

    Create ScriptExecution Resource

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

    Constructor syntax

    new ScriptExecution(name: string, args: ScriptExecutionArgs, opts?: CustomResourceOptions);
    @overload
    def ScriptExecution(resource_name: str,
                        args: ScriptExecutionArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ScriptExecution(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        private_cloud_name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        timeout: Optional[str] = None,
                        failure_reason: Optional[str] = None,
                        hidden_parameters: Optional[Sequence[Union[PSCredentialExecutionParameterArgs, ScriptSecureStringExecutionParameterArgs, ScriptStringExecutionParameterArgs]]] = None,
                        named_outputs: Optional[Mapping[str, Any]] = None,
                        output: Optional[Sequence[str]] = None,
                        parameters: Optional[Sequence[Union[PSCredentialExecutionParameterArgs, ScriptSecureStringExecutionParameterArgs, ScriptStringExecutionParameterArgs]]] = None,
                        retention: Optional[str] = None,
                        script_cmdlet_id: Optional[str] = None,
                        script_execution_name: Optional[str] = None)
    func NewScriptExecution(ctx *Context, name string, args ScriptExecutionArgs, opts ...ResourceOption) (*ScriptExecution, error)
    public ScriptExecution(string name, ScriptExecutionArgs args, CustomResourceOptions? opts = null)
    public ScriptExecution(String name, ScriptExecutionArgs args)
    public ScriptExecution(String name, ScriptExecutionArgs args, CustomResourceOptions options)
    
    type: azure-native:avs:ScriptExecution
    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 ScriptExecutionArgs
    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 ScriptExecutionArgs
    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 ScriptExecutionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ScriptExecutionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ScriptExecutionArgs
    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 scriptExecutionResource = new AzureNative.AVS.ScriptExecution("scriptExecutionResource", new()
    {
        PrivateCloudName = "string",
        ResourceGroupName = "string",
        Timeout = "string",
        FailureReason = "string",
        HiddenParameters = new[]
        {
            new AzureNative.AVS.Inputs.PSCredentialExecutionParameterArgs
            {
                Name = "string",
                Type = "Credential",
                Password = "string",
                Username = "string",
            },
        },
        NamedOutputs = 
        {
            { "string", "any" },
        },
        Output = new[]
        {
            "string",
        },
        Parameters = new[]
        {
            new AzureNative.AVS.Inputs.PSCredentialExecutionParameterArgs
            {
                Name = "string",
                Type = "Credential",
                Password = "string",
                Username = "string",
            },
        },
        Retention = "string",
        ScriptCmdletId = "string",
        ScriptExecutionName = "string",
    });
    
    example, err := avs.NewScriptExecution(ctx, "scriptExecutionResource", &avs.ScriptExecutionArgs{
    	PrivateCloudName:  pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	Timeout:           pulumi.String("string"),
    	FailureReason:     pulumi.String("string"),
    	HiddenParameters: pulumi.Array{
    		avs.PSCredentialExecutionParameter{
    			Name:     "string",
    			Type:     "Credential",
    			Password: "string",
    			Username: "string",
    		},
    	},
    	NamedOutputs: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Output: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Parameters: pulumi.Array{
    		avs.PSCredentialExecutionParameter{
    			Name:     "string",
    			Type:     "Credential",
    			Password: "string",
    			Username: "string",
    		},
    	},
    	Retention:           pulumi.String("string"),
    	ScriptCmdletId:      pulumi.String("string"),
    	ScriptExecutionName: pulumi.String("string"),
    })
    
    var scriptExecutionResource = new ScriptExecution("scriptExecutionResource", ScriptExecutionArgs.builder()
        .privateCloudName("string")
        .resourceGroupName("string")
        .timeout("string")
        .failureReason("string")
        .hiddenParameters(PSCredentialExecutionParameterArgs.builder()
            .name("string")
            .type("Credential")
            .password("string")
            .username("string")
            .build())
        .namedOutputs(Map.of("string", "any"))
        .output("string")
        .parameters(PSCredentialExecutionParameterArgs.builder()
            .name("string")
            .type("Credential")
            .password("string")
            .username("string")
            .build())
        .retention("string")
        .scriptCmdletId("string")
        .scriptExecutionName("string")
        .build());
    
    script_execution_resource = azure_native.avs.ScriptExecution("scriptExecutionResource",
        private_cloud_name="string",
        resource_group_name="string",
        timeout="string",
        failure_reason="string",
        hidden_parameters=[{
            "name": "string",
            "type": "Credential",
            "password": "string",
            "username": "string",
        }],
        named_outputs={
            "string": "any",
        },
        output=["string"],
        parameters=[{
            "name": "string",
            "type": "Credential",
            "password": "string",
            "username": "string",
        }],
        retention="string",
        script_cmdlet_id="string",
        script_execution_name="string")
    
    const scriptExecutionResource = new azure_native.avs.ScriptExecution("scriptExecutionResource", {
        privateCloudName: "string",
        resourceGroupName: "string",
        timeout: "string",
        failureReason: "string",
        hiddenParameters: [{
            name: "string",
            type: "Credential",
            password: "string",
            username: "string",
        }],
        namedOutputs: {
            string: "any",
        },
        output: ["string"],
        parameters: [{
            name: "string",
            type: "Credential",
            password: "string",
            username: "string",
        }],
        retention: "string",
        scriptCmdletId: "string",
        scriptExecutionName: "string",
    });
    
    type: azure-native:avs:ScriptExecution
    properties:
        failureReason: string
        hiddenParameters:
            - name: string
              password: string
              type: Credential
              username: string
        namedOutputs:
            string: any
        output:
            - string
        parameters:
            - name: string
              password: string
              type: Credential
              username: string
        privateCloudName: string
        resourceGroupName: string
        retention: string
        scriptCmdletId: string
        scriptExecutionName: string
        timeout: string
    

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

    PrivateCloudName string
    Name of the private cloud
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Timeout string
    Time limit for execution
    FailureReason string
    Error message if the script was able to run, but if the script itself had errors or powershell threw an exception
    HiddenParameters List<object>
    Parameters that will be hidden/not visible to ARM, such as passwords and credentials
    NamedOutputs Dictionary<string, object>
    User-defined dictionary.
    Output List<string>
    Standard output stream from the powershell execution
    Parameters List<object>
    Parameters the script will accept
    Retention string
    Time to live for the resource. If not provided, will be available for 60 days
    ScriptCmdletId string
    A reference to the script cmdlet resource if user is running a AVS script
    ScriptExecutionName string
    Name of the script cmdlet.
    PrivateCloudName string
    Name of the private cloud
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Timeout string
    Time limit for execution
    FailureReason string
    Error message if the script was able to run, but if the script itself had errors or powershell threw an exception
    HiddenParameters []interface{}
    Parameters that will be hidden/not visible to ARM, such as passwords and credentials
    NamedOutputs map[string]interface{}
    User-defined dictionary.
    Output []string
    Standard output stream from the powershell execution
    Parameters []interface{}
    Parameters the script will accept
    Retention string
    Time to live for the resource. If not provided, will be available for 60 days
    ScriptCmdletId string
    A reference to the script cmdlet resource if user is running a AVS script
    ScriptExecutionName string
    Name of the script cmdlet.
    privateCloudName String
    Name of the private cloud
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    timeout String
    Time limit for execution
    failureReason String
    Error message if the script was able to run, but if the script itself had errors or powershell threw an exception
    hiddenParameters List<Object>
    Parameters that will be hidden/not visible to ARM, such as passwords and credentials
    namedOutputs Map<String,Object>
    User-defined dictionary.
    output List<String>
    Standard output stream from the powershell execution
    parameters List<Object>
    Parameters the script will accept
    retention String
    Time to live for the resource. If not provided, will be available for 60 days
    scriptCmdletId String
    A reference to the script cmdlet resource if user is running a AVS script
    scriptExecutionName String
    Name of the script cmdlet.
    privateCloudName string
    Name of the private cloud
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    timeout string
    Time limit for execution
    failureReason string
    Error message if the script was able to run, but if the script itself had errors or powershell threw an exception
    hiddenParameters (PSCredentialExecutionParameter | ScriptSecureStringExecutionParameterArgs | ScriptStringExecutionParameterArgs)[]
    Parameters that will be hidden/not visible to ARM, such as passwords and credentials
    namedOutputs {[key: string]: any}
    User-defined dictionary.
    output string[]
    Standard output stream from the powershell execution
    parameters (PSCredentialExecutionParameter | ScriptSecureStringExecutionParameterArgs | ScriptStringExecutionParameterArgs)[]
    Parameters the script will accept
    retention string
    Time to live for the resource. If not provided, will be available for 60 days
    scriptCmdletId string
    A reference to the script cmdlet resource if user is running a AVS script
    scriptExecutionName string
    Name of the script cmdlet.
    private_cloud_name str
    Name of the private cloud
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    timeout str
    Time limit for execution
    failure_reason str
    Error message if the script was able to run, but if the script itself had errors or powershell threw an exception
    hidden_parameters Sequence[Union[PSCredentialExecutionParameterArgs, ScriptSecureStringExecutionParameterArgs, ScriptStringExecutionParameterArgs]]
    Parameters that will be hidden/not visible to ARM, such as passwords and credentials
    named_outputs Mapping[str, Any]
    User-defined dictionary.
    output Sequence[str]
    Standard output stream from the powershell execution
    parameters Sequence[Union[PSCredentialExecutionParameterArgs, ScriptSecureStringExecutionParameterArgs, ScriptStringExecutionParameterArgs]]
    Parameters the script will accept
    retention str
    Time to live for the resource. If not provided, will be available for 60 days
    script_cmdlet_id str
    A reference to the script cmdlet resource if user is running a AVS script
    script_execution_name str
    Name of the script cmdlet.
    privateCloudName String
    Name of the private cloud
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    timeout String
    Time limit for execution
    failureReason String
    Error message if the script was able to run, but if the script itself had errors or powershell threw an exception
    hiddenParameters List<Property Map | Property Map | Property Map>
    Parameters that will be hidden/not visible to ARM, such as passwords and credentials
    namedOutputs Map<Any>
    User-defined dictionary.
    output List<String>
    Standard output stream from the powershell execution
    parameters List<Property Map | Property Map | Property Map>
    Parameters the script will accept
    retention String
    Time to live for the resource. If not provided, will be available for 60 days
    scriptCmdletId String
    A reference to the script cmdlet resource if user is running a AVS script
    scriptExecutionName String
    Name of the script cmdlet.

    Outputs

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

    AzureApiVersion string
    The Azure API version of the resource.
    Errors List<string>
    Standard error output stream from the powershell execution
    FinishedAt string
    Time the script execution was finished
    Id string
    The provider-assigned unique ID for this managed resource.
    Information List<string>
    Standard information out stream from the powershell execution
    Name string
    The name of the resource
    ProvisioningState string
    The state of the script execution resource
    StartedAt string
    Time the script execution was started
    SubmittedAt string
    Time the script execution was submitted
    SystemData Pulumi.AzureNative.AVS.Outputs.SystemDataResponse
    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"
    Warnings List<string>
    Standard warning out stream from the powershell execution
    AzureApiVersion string
    The Azure API version of the resource.
    Errors []string
    Standard error output stream from the powershell execution
    FinishedAt string
    Time the script execution was finished
    Id string
    The provider-assigned unique ID for this managed resource.
    Information []string
    Standard information out stream from the powershell execution
    Name string
    The name of the resource
    ProvisioningState string
    The state of the script execution resource
    StartedAt string
    Time the script execution was started
    SubmittedAt string
    Time the script execution was submitted
    SystemData SystemDataResponse
    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"
    Warnings []string
    Standard warning out stream from the powershell execution
    azureApiVersion String
    The Azure API version of the resource.
    errors List<String>
    Standard error output stream from the powershell execution
    finishedAt String
    Time the script execution was finished
    id String
    The provider-assigned unique ID for this managed resource.
    information List<String>
    Standard information out stream from the powershell execution
    name String
    The name of the resource
    provisioningState String
    The state of the script execution resource
    startedAt String
    Time the script execution was started
    submittedAt String
    Time the script execution was submitted
    systemData SystemDataResponse
    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"
    warnings List<String>
    Standard warning out stream from the powershell execution
    azureApiVersion string
    The Azure API version of the resource.
    errors string[]
    Standard error output stream from the powershell execution
    finishedAt string
    Time the script execution was finished
    id string
    The provider-assigned unique ID for this managed resource.
    information string[]
    Standard information out stream from the powershell execution
    name string
    The name of the resource
    provisioningState string
    The state of the script execution resource
    startedAt string
    Time the script execution was started
    submittedAt string
    Time the script execution was submitted
    systemData SystemDataResponse
    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"
    warnings string[]
    Standard warning out stream from the powershell execution
    azure_api_version str
    The Azure API version of the resource.
    errors Sequence[str]
    Standard error output stream from the powershell execution
    finished_at str
    Time the script execution was finished
    id str
    The provider-assigned unique ID for this managed resource.
    information Sequence[str]
    Standard information out stream from the powershell execution
    name str
    The name of the resource
    provisioning_state str
    The state of the script execution resource
    started_at str
    Time the script execution was started
    submitted_at str
    Time the script execution was submitted
    system_data SystemDataResponse
    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"
    warnings Sequence[str]
    Standard warning out stream from the powershell execution
    azureApiVersion String
    The Azure API version of the resource.
    errors List<String>
    Standard error output stream from the powershell execution
    finishedAt String
    Time the script execution was finished
    id String
    The provider-assigned unique ID for this managed resource.
    information List<String>
    Standard information out stream from the powershell execution
    name String
    The name of the resource
    provisioningState String
    The state of the script execution resource
    startedAt String
    Time the script execution was started
    submittedAt String
    Time the script execution was submitted
    systemData 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"
    warnings List<String>
    Standard warning out stream from the powershell execution

    Supporting Types

    PSCredentialExecutionParameter, PSCredentialExecutionParameterArgs

    Name string
    The parameter name
    Password string
    password for login
    Username string
    username for login
    Name string
    The parameter name
    Password string
    password for login
    Username string
    username for login
    name String
    The parameter name
    password String
    password for login
    username String
    username for login
    name string
    The parameter name
    password string
    password for login
    username string
    username for login
    name str
    The parameter name
    password str
    password for login
    username str
    username for login
    name String
    The parameter name
    password String
    password for login
    username String
    username for login

    PSCredentialExecutionParameterResponse, PSCredentialExecutionParameterResponseArgs

    Name string
    The parameter name
    Password string
    password for login
    Username string
    username for login
    Name string
    The parameter name
    Password string
    password for login
    Username string
    username for login
    name String
    The parameter name
    password String
    password for login
    username String
    username for login
    name string
    The parameter name
    password string
    password for login
    username string
    username for login
    name str
    The parameter name
    password str
    password for login
    username str
    username for login
    name String
    The parameter name
    password String
    password for login
    username String
    username for login

    ScriptSecureStringExecutionParameter, ScriptSecureStringExecutionParameterArgs

    Name string
    The parameter name
    SecureValue string
    A secure value for the passed parameter, not to be stored in logs
    Name string
    The parameter name
    SecureValue string
    A secure value for the passed parameter, not to be stored in logs
    name String
    The parameter name
    secureValue String
    A secure value for the passed parameter, not to be stored in logs
    name string
    The parameter name
    secureValue string
    A secure value for the passed parameter, not to be stored in logs
    name str
    The parameter name
    secure_value str
    A secure value for the passed parameter, not to be stored in logs
    name String
    The parameter name
    secureValue String
    A secure value for the passed parameter, not to be stored in logs

    ScriptSecureStringExecutionParameterResponse, ScriptSecureStringExecutionParameterResponseArgs

    Name string
    The parameter name
    SecureValue string
    A secure value for the passed parameter, not to be stored in logs
    Name string
    The parameter name
    SecureValue string
    A secure value for the passed parameter, not to be stored in logs
    name String
    The parameter name
    secureValue String
    A secure value for the passed parameter, not to be stored in logs
    name string
    The parameter name
    secureValue string
    A secure value for the passed parameter, not to be stored in logs
    name str
    The parameter name
    secure_value str
    A secure value for the passed parameter, not to be stored in logs
    name String
    The parameter name
    secureValue String
    A secure value for the passed parameter, not to be stored in logs

    ScriptStringExecutionParameter, ScriptStringExecutionParameterArgs

    Name string
    The parameter name
    Value string
    The value for the passed parameter
    Name string
    The parameter name
    Value string
    The value for the passed parameter
    name String
    The parameter name
    value String
    The value for the passed parameter
    name string
    The parameter name
    value string
    The value for the passed parameter
    name str
    The parameter name
    value str
    The value for the passed parameter
    name String
    The parameter name
    value String
    The value for the passed parameter

    ScriptStringExecutionParameterResponse, ScriptStringExecutionParameterResponseArgs

    Name string
    The parameter name
    Value string
    The value for the passed parameter
    Name string
    The parameter name
    Value string
    The value for the passed parameter
    name String
    The parameter name
    value String
    The value for the passed parameter
    name string
    The parameter name
    value string
    The value for the passed parameter
    name str
    The parameter name
    value str
    The value for the passed parameter
    name String
    The parameter name
    value String
    The value for the passed parameter

    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.

    Import

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

    $ pulumi import azure-native:avs:ScriptExecution addSsoServer /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName} 
    

    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 v2 docs if using the v2 version of this package.
    Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi