1. Packages
  2. Azure Native v2
  3. API Docs
  4. resources
  5. AzurePowerShellScript
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 2025 by Pulumi

azure-native-v2.resources.AzurePowerShellScript

Explore with Pulumi AI

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

Example Usage

DeploymentScriptsCreateNoUserManagedIdentity

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var azurePowerShellScript = new AzureNative.Resources.AzurePowerShellScript("azurePowerShellScript", new()
    {
        Arguments = "-Location 'westus' -Name \"*rg2\"",
        AzPowerShellVersion = "1.7.0",
        CleanupPreference = AzureNative.Resources.CleanupOptions.Always,
        Kind = "AzurePowerShell",
        Location = "westus",
        ResourceGroupName = "script-rg",
        RetentionInterval = "PT7D",
        ScriptContent = "Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name",
        ScriptName = "MyDeploymentScript",
        SupportingScriptUris = new[]
        {
            "https://uri1.to.supporting.script",
            "https://uri2.to.supporting.script",
        },
        Timeout = "PT1H",
    });

});
Copy
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.NewAzurePowerShellScript(ctx, "azurePowerShellScript", &resources.AzurePowerShellScriptArgs{
			Arguments:           pulumi.String("-Location 'westus' -Name \"*rg2\""),
			AzPowerShellVersion: pulumi.String("1.7.0"),
			CleanupPreference:   pulumi.String(resources.CleanupOptionsAlways),
			Kind:                pulumi.String("AzurePowerShell"),
			Location:            pulumi.String("westus"),
			ResourceGroupName:   pulumi.String("script-rg"),
			RetentionInterval:   pulumi.String("PT7D"),
			ScriptContent:       pulumi.String("Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name"),
			ScriptName:          pulumi.String("MyDeploymentScript"),
			SupportingScriptUris: pulumi.StringArray{
				pulumi.String("https://uri1.to.supporting.script"),
				pulumi.String("https://uri2.to.supporting.script"),
			},
			Timeout: pulumi.String("PT1H"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.resources.AzurePowerShellScript;
import com.pulumi.azurenative.resources.AzurePowerShellScriptArgs;
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 azurePowerShellScript = new AzurePowerShellScript("azurePowerShellScript", AzurePowerShellScriptArgs.builder()
            .arguments("-Location 'westus' -Name \"*rg2\"")
            .azPowerShellVersion("1.7.0")
            .cleanupPreference("Always")
            .kind("AzurePowerShell")
            .location("westus")
            .resourceGroupName("script-rg")
            .retentionInterval("PT7D")
            .scriptContent("Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name")
            .scriptName("MyDeploymentScript")
            .supportingScriptUris(            
                "https://uri1.to.supporting.script",
                "https://uri2.to.supporting.script")
            .timeout("PT1H")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const azurePowerShellScript = new azure_native.resources.AzurePowerShellScript("azurePowerShellScript", {
    arguments: "-Location 'westus' -Name \"*rg2\"",
    azPowerShellVersion: "1.7.0",
    cleanupPreference: azure_native.resources.CleanupOptions.Always,
    kind: "AzurePowerShell",
    location: "westus",
    resourceGroupName: "script-rg",
    retentionInterval: "PT7D",
    scriptContent: "Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name",
    scriptName: "MyDeploymentScript",
    supportingScriptUris: [
        "https://uri1.to.supporting.script",
        "https://uri2.to.supporting.script",
    ],
    timeout: "PT1H",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

azure_power_shell_script = azure_native.resources.AzurePowerShellScript("azurePowerShellScript",
    arguments="-Location 'westus' -Name \"*rg2\"",
    az_power_shell_version="1.7.0",
    cleanup_preference=azure_native.resources.CleanupOptions.ALWAYS,
    kind="AzurePowerShell",
    location="westus",
    resource_group_name="script-rg",
    retention_interval="PT7D",
    script_content="Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name",
    script_name="MyDeploymentScript",
    supporting_script_uris=[
        "https://uri1.to.supporting.script",
        "https://uri2.to.supporting.script",
    ],
    timeout="PT1H")
Copy
resources:
  azurePowerShellScript:
    type: azure-native:resources:AzurePowerShellScript
    properties:
      arguments: -Location 'westus' -Name "*rg2"
      azPowerShellVersion: 1.7.0
      cleanupPreference: Always
      kind: AzurePowerShell
      location: westus
      resourceGroupName: script-rg
      retentionInterval: PT7D
      scriptContent: Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name
      scriptName: MyDeploymentScript
      supportingScriptUris:
        - https://uri1.to.supporting.script
        - https://uri2.to.supporting.script
      timeout: PT1H
Copy

Create AzurePowerShellScript Resource

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

Constructor syntax

new AzurePowerShellScript(name: string, args: AzurePowerShellScriptArgs, opts?: CustomResourceOptions);
@overload
def AzurePowerShellScript(resource_name: str,
                          args: AzurePowerShellScriptArgs,
                          opts: Optional[ResourceOptions] = None)

@overload
def AzurePowerShellScript(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          az_power_shell_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 NewAzurePowerShellScript(ctx *Context, name string, args AzurePowerShellScriptArgs, opts ...ResourceOption) (*AzurePowerShellScript, error)
public AzurePowerShellScript(string name, AzurePowerShellScriptArgs args, CustomResourceOptions? opts = null)
public AzurePowerShellScript(String name, AzurePowerShellScriptArgs args)
public AzurePowerShellScript(String name, AzurePowerShellScriptArgs args, CustomResourceOptions options)
type: azure-native:resources:AzurePowerShellScript
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AzurePowerShellScriptArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AzurePowerShellScriptArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AzurePowerShellScriptArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AzurePowerShellScriptArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AzurePowerShellScriptArgs
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 azurePowerShellScriptResource = new AzureNative.Resources.AzurePowerShellScript("azurePowerShellScriptResource", new()
{
    Kind = "string",
    AzPowerShellVersion = "string",
    RetentionInterval = "string",
    ResourceGroupName = "string",
    Location = "string",
    CleanupPreference = "string",
    Identity = 
    {
        { "type", "string" },
        { "userAssignedIdentities", new[]
        {
            "string",
        } },
    },
    EnvironmentVariables = new[]
    {
        
        {
            { "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 = new[]
    {
        "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
    Timeout = "string",
});
Copy
example, err := resources.NewAzurePowerShellScript(ctx, "azurePowerShellScriptResource", &resources.AzurePowerShellScriptArgs{
	Kind:                "string",
	AzPowerShellVersion: "string",
	RetentionInterval:   "string",
	ResourceGroupName:   "string",
	Location:            "string",
	CleanupPreference:   "string",
	Identity: map[string]interface{}{
		"type": "string",
		"userAssignedIdentities": []string{
			"string",
		},
	},
	EnvironmentVariables: []map[string]interface{}{
		map[string]interface{}{
			"name":        "string",
			"secureValue": "string",
			"value":       "string",
		},
	},
	Arguments:        "string",
	PrimaryScriptUri: "string",
	ContainerSettings: map[string]interface{}{
		"containerGroupName": "string",
	},
	ForceUpdateTag: "string",
	ScriptContent:  "string",
	ScriptName:     "string",
	StorageAccountSettings: map[string]interface{}{
		"storageAccountKey":  "string",
		"storageAccountName": "string",
	},
	SupportingScriptUris: []string{
		"string",
	},
	Tags: map[string]interface{}{
		"string": "string",
	},
	Timeout: "string",
})
Copy
var azurePowerShellScriptResource = new AzurePowerShellScript("azurePowerShellScriptResource", AzurePowerShellScriptArgs.builder()
    .kind("string")
    .azPowerShellVersion("string")
    .retentionInterval("string")
    .resourceGroupName("string")
    .location("string")
    .cleanupPreference("string")
    .identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .environmentVariables(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .arguments("string")
    .primaryScriptUri("string")
    .containerSettings(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .forceUpdateTag("string")
    .scriptContent("string")
    .scriptName("string")
    .storageAccountSettings(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .supportingScriptUris("string")
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .timeout("string")
    .build());
Copy
azure_power_shell_script_resource = azure_native.resources.AzurePowerShellScript("azurePowerShellScriptResource",
    kind=string,
    az_power_shell_version=string,
    retention_interval=string,
    resource_group_name=string,
    location=string,
    cleanup_preference=string,
    identity={
        type: string,
        userAssignedIdentities: [string],
    },
    environment_variables=[{
        name: string,
        secureValue: string,
        value: string,
    }],
    arguments=string,
    primary_script_uri=string,
    container_settings={
        containerGroupName: string,
    },
    force_update_tag=string,
    script_content=string,
    script_name=string,
    storage_account_settings={
        storageAccountKey: string,
        storageAccountName: string,
    },
    supporting_script_uris=[string],
    tags={
        string: string,
    },
    timeout=string)
Copy
const azurePowerShellScriptResource = new azure_native.resources.AzurePowerShellScript("azurePowerShellScriptResource", {
    kind: "string",
    azPowerShellVersion: "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",
});
Copy
type: azure-native:resources:AzurePowerShellScript
properties:
    arguments: string
    azPowerShellVersion: 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
Copy

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

AzPowerShellVersion This property is required. string
Azure PowerShell module version to be used.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
RetentionInterval This property is required. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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
AzPowerShellVersion This property is required. string
Azure PowerShell module version to be used.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
RetentionInterval This property is required. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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
azPowerShellVersion This property is required. String
Azure PowerShell module version to be used.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
retentionInterval This property is required. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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
azPowerShellVersion This property is required. string
Azure PowerShell module version to be used.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
retentionInterval This property is required. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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_power_shell_version This property is required. str
Azure PowerShell module version to be used.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
retention_interval This property is required. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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
azPowerShellVersion This property is required. String
Azure PowerShell module version to be used.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
retentionInterval This property is required. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 AzurePowerShellScript 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. object
The additional info.
Type This property is required. string
The additional info type.
Info This property is required. interface{}
The additional info.
Type This property is required. string
The additional info type.
info This property is required. Object
The additional info.
type This property is required. String
The additional info type.
info This property is required. any
The additional info.
type This property is required. string
The additional info type.
info This property is required. Any
The additional info.
type This property is required. str
The additional info type.
info This property is required. Any
The additional info.
type This property is required. String
The additional info type.

ErrorDetailResponse
, ErrorDetailResponseArgs

AdditionalInfo This property is required. List<Pulumi.AzureNative.Resources.Inputs.ErrorAdditionalInfoResponse>
The error additional info.
Code This property is required. string
The error code.
Details This property is required. List<Pulumi.AzureNative.Resources.Inputs.ErrorDetailResponse>
The error details.
Message This property is required. string
The error message.
Target This property is required. string
The error target.
AdditionalInfo This property is required. []ErrorAdditionalInfoResponse
The error additional info.
Code This property is required. string
The error code.
Details This property is required. []ErrorDetailResponse
The error details.
Message This property is required. string
The error message.
Target This property is required. string
The error target.
additionalInfo This property is required. List<ErrorAdditionalInfoResponse>
The error additional info.
code This property is required. String
The error code.
details This property is required. List<ErrorDetailResponse>
The error details.
message This property is required. String
The error message.
target This property is required. String
The error target.
additionalInfo This property is required. ErrorAdditionalInfoResponse[]
The error additional info.
code This property is required. string
The error code.
details This property is required. ErrorDetailResponse[]
The error details.
message This property is required. string
The error message.
target This property is required. string
The error target.
additional_info This property is required. Sequence[ErrorAdditionalInfoResponse]
The error additional info.
code This property is required. str
The error code.
details This property is required. Sequence[ErrorDetailResponse]
The error details.
message This property is required. str
The error message.
target This property is required. str
The error target.
additionalInfo This property is required. List<Property Map>
The error additional info.
code This property is required. String
The error code.
details This property is required. List<Property Map>
The error details.
message This property is required. String
The error message.
target This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
ACI resource Id.
EndTime This property is required. string
End time of the script execution.
ExpirationTime This property is required. string
Time the deployment script resource will expire.
StartTime This property is required. string
Start time of the script execution.
StorageAccountId This property is required. string
Storage account resource Id.
Error Pulumi.AzureNative.Resources.Inputs.ErrorResponseResponse
Error that is relayed from the script execution.
ContainerInstanceId This property is required. string
ACI resource Id.
EndTime This property is required. string
End time of the script execution.
ExpirationTime This property is required. string
Time the deployment script resource will expire.
StartTime This property is required. string
Start time of the script execution.
StorageAccountId This property is required. string
Storage account resource Id.
Error ErrorResponseResponse
Error that is relayed from the script execution.
containerInstanceId This property is required. String
ACI resource Id.
endTime This property is required. String
End time of the script execution.
expirationTime This property is required. String
Time the deployment script resource will expire.
startTime This property is required. String
Start time of the script execution.
storageAccountId This property is required. String
Storage account resource Id.
error ErrorResponseResponse
Error that is relayed from the script execution.
containerInstanceId This property is required. string
ACI resource Id.
endTime This property is required. string
End time of the script execution.
expirationTime This property is required. string
Time the deployment script resource will expire.
startTime This property is required. string
Start time of the script execution.
storageAccountId This property is required. string
Storage account resource Id.
error ErrorResponseResponse
Error that is relayed from the script execution.
container_instance_id This property is required. str
ACI resource Id.
end_time This property is required. str
End time of the script execution.
expiration_time This property is required. str
Time the deployment script resource will expire.
start_time This property is required. str
Start time of the script execution.
storage_account_id This property is required. str
Storage account resource Id.
error ErrorResponseResponse
Error that is relayed from the script execution.
containerInstanceId This property is required. String
ACI resource Id.
endTime This property is required. String
End time of the script execution.
expirationTime This property is required. String
Time the deployment script resource will expire.
startTime This property is required. String
Start time of the script execution.
storageAccountId This property is required. 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 This property is required. string
Client App Id associated with this identity.
PrincipalId This property is required. string
Azure Active Directory principal ID associated with this identity.
ClientId This property is required. string
Client App Id associated with this identity.
PrincipalId This property is required. string
Azure Active Directory principal ID associated with this identity.
clientId This property is required. String
Client App Id associated with this identity.
principalId This property is required. String
Azure Active Directory principal ID associated with this identity.
clientId This property is required. string
Client App Id associated with this identity.
principalId This property is required. string
Azure Active Directory principal ID associated with this identity.
client_id This property is required. str
Client App Id associated with this identity.
principal_id This property is required. str
Azure Active Directory principal ID associated with this identity.
clientId This property is required. String
Client App Id associated with this identity.
principalId This property is required. 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:AzurePowerShellScript myresource1 /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName} 
Copy

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

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0