azure-native.resources.DeploymentScript
Deprecated:
Please use one of the variants: AzureCliScript, AzurePowerShellScript.
Deployment script object. API Version: 2020-10-01.
Example Usage
DeploymentScriptsCreate
using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var deploymentScript = new AzureNative.Resources.DeploymentScript("deploymentScript", new()
{
Identity = new AzureNative.Resources.Inputs.ManagedServiceIdentityArgs
{
Type = "UserAssigned",
UserAssignedIdentities =
{
{ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai", null },
},
},
Kind = "AzurePowerShell",
Location = "westus",
ResourceGroupName = "script-rg",
ScriptName = "MyDeploymentScript",
});
});
package main
import (
resources "github.com/pulumi/pulumi-azure-native/sdk/go/azure/resources"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := resources.NewDeploymentScript(ctx, "deploymentScript", &resources.DeploymentScriptArgs{
Identity: &resources.ManagedServiceIdentityArgs{
Type: pulumi.String("UserAssigned"),
UserAssignedIdentities: pulumi.AnyMap{
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": nil,
},
},
Kind: pulumi.String("AzurePowerShell"),
Location: pulumi.String("westus"),
ResourceGroupName: pulumi.String("script-rg"),
ScriptName: pulumi.String("MyDeploymentScript"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.resources.DeploymentScript;
import com.pulumi.azurenative.resources.DeploymentScriptArgs;
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 deploymentScript = new DeploymentScript("deploymentScript", DeploymentScriptArgs.builder()
.identity(Map.ofEntries(
Map.entry("type", "UserAssigned"),
Map.entry("userAssignedIdentities", Map.of("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai", ))
))
.kind("AzurePowerShell")
.location("westus")
.resourceGroupName("script-rg")
.scriptName("MyDeploymentScript")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
deployment_script = azure_native.resources.DeploymentScript("deploymentScript",
identity=azure_native.resources.ManagedServiceIdentityArgs(
type="UserAssigned",
user_assigned_identities={
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {},
},
),
kind="AzurePowerShell",
location="westus",
resource_group_name="script-rg",
script_name="MyDeploymentScript")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const deploymentScript = new azure_native.resources.DeploymentScript("deploymentScript", {
identity: {
type: "UserAssigned",
userAssignedIdentities: {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {},
},
},
kind: "AzurePowerShell",
location: "westus",
resourceGroupName: "script-rg",
scriptName: "MyDeploymentScript",
});
resources:
deploymentScript:
type: azure-native:resources:DeploymentScript
properties:
identity:
type: UserAssigned
userAssignedIdentities:
? /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai
: {}
kind: AzurePowerShell
location: westus
resourceGroupName: script-rg
scriptName: MyDeploymentScript
DeploymentScriptsCreateNoUserManagedIdentity
using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var deploymentScript = new AzureNative.Resources.DeploymentScript("deploymentScript", new()
{
Kind = "AzurePowerShell",
Location = "westus",
ResourceGroupName = "script-rg",
ScriptName = "MyDeploymentScript",
});
});
package main
import (
resources "github.com/pulumi/pulumi-azure-native/sdk/go/azure/resources"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := resources.NewDeploymentScript(ctx, "deploymentScript", &resources.DeploymentScriptArgs{
Kind: pulumi.String("AzurePowerShell"),
Location: pulumi.String("westus"),
ResourceGroupName: pulumi.String("script-rg"),
ScriptName: pulumi.String("MyDeploymentScript"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.resources.DeploymentScript;
import com.pulumi.azurenative.resources.DeploymentScriptArgs;
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 deploymentScript = new DeploymentScript("deploymentScript", DeploymentScriptArgs.builder()
.kind("AzurePowerShell")
.location("westus")
.resourceGroupName("script-rg")
.scriptName("MyDeploymentScript")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
deployment_script = azure_native.resources.DeploymentScript("deploymentScript",
kind="AzurePowerShell",
location="westus",
resource_group_name="script-rg",
script_name="MyDeploymentScript")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const deploymentScript = new azure_native.resources.DeploymentScript("deploymentScript", {
kind: "AzurePowerShell",
location: "westus",
resourceGroupName: "script-rg",
scriptName: "MyDeploymentScript",
});
resources:
deploymentScript:
type: azure-native:resources:DeploymentScript
properties:
kind: AzurePowerShell
location: westus
resourceGroupName: script-rg
scriptName: MyDeploymentScript
DeploymentScriptsCreate_MinCreate
using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var deploymentScript = new AzureNative.Resources.DeploymentScript("deploymentScript", new()
{
Identity = new AzureNative.Resources.Inputs.ManagedServiceIdentityArgs
{
Type = "UserAssigned",
UserAssignedIdentities =
{
{ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai", null },
},
},
Kind = "AzurePowerShell",
Location = "westus",
ResourceGroupName = "script-rg",
ScriptName = "MyDeploymentScript",
});
});
package main
import (
resources "github.com/pulumi/pulumi-azure-native/sdk/go/azure/resources"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := resources.NewDeploymentScript(ctx, "deploymentScript", &resources.DeploymentScriptArgs{
Identity: &resources.ManagedServiceIdentityArgs{
Type: pulumi.String("UserAssigned"),
UserAssignedIdentities: pulumi.AnyMap{
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": nil,
},
},
Kind: pulumi.String("AzurePowerShell"),
Location: pulumi.String("westus"),
ResourceGroupName: pulumi.String("script-rg"),
ScriptName: pulumi.String("MyDeploymentScript"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.resources.DeploymentScript;
import com.pulumi.azurenative.resources.DeploymentScriptArgs;
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 deploymentScript = new DeploymentScript("deploymentScript", DeploymentScriptArgs.builder()
.identity(Map.ofEntries(
Map.entry("type", "UserAssigned"),
Map.entry("userAssignedIdentities", Map.of("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai", ))
))
.kind("AzurePowerShell")
.location("westus")
.resourceGroupName("script-rg")
.scriptName("MyDeploymentScript")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
deployment_script = azure_native.resources.DeploymentScript("deploymentScript",
identity=azure_native.resources.ManagedServiceIdentityArgs(
type="UserAssigned",
user_assigned_identities={
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {},
},
),
kind="AzurePowerShell",
location="westus",
resource_group_name="script-rg",
script_name="MyDeploymentScript")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const deploymentScript = new azure_native.resources.DeploymentScript("deploymentScript", {
identity: {
type: "UserAssigned",
userAssignedIdentities: {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {},
},
},
kind: "AzurePowerShell",
location: "westus",
resourceGroupName: "script-rg",
scriptName: "MyDeploymentScript",
});
resources:
deploymentScript:
type: azure-native:resources:DeploymentScript
properties:
identity:
type: UserAssigned
userAssignedIdentities:
? /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai
: {}
kind: AzurePowerShell
location: westus
resourceGroupName: script-rg
scriptName: MyDeploymentScript
DeploymentScriptsCreate_UsingCustomACIName
using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var deploymentScript = new AzureNative.Resources.DeploymentScript("deploymentScript", new()
{
Identity = new AzureNative.Resources.Inputs.ManagedServiceIdentityArgs
{
Type = "UserAssigned",
UserAssignedIdentities =
{
{ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai", null },
},
},
Kind = "AzurePowerShell",
Location = "westus",
ResourceGroupName = "script-rg",
ScriptName = "MyDeploymentScript",
});
});
package main
import (
resources "github.com/pulumi/pulumi-azure-native/sdk/go/azure/resources"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := resources.NewDeploymentScript(ctx, "deploymentScript", &resources.DeploymentScriptArgs{
Identity: &resources.ManagedServiceIdentityArgs{
Type: pulumi.String("UserAssigned"),
UserAssignedIdentities: pulumi.AnyMap{
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": nil,
},
},
Kind: pulumi.String("AzurePowerShell"),
Location: pulumi.String("westus"),
ResourceGroupName: pulumi.String("script-rg"),
ScriptName: pulumi.String("MyDeploymentScript"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.resources.DeploymentScript;
import com.pulumi.azurenative.resources.DeploymentScriptArgs;
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 deploymentScript = new DeploymentScript("deploymentScript", DeploymentScriptArgs.builder()
.identity(Map.ofEntries(
Map.entry("type", "UserAssigned"),
Map.entry("userAssignedIdentities", Map.of("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai", ))
))
.kind("AzurePowerShell")
.location("westus")
.resourceGroupName("script-rg")
.scriptName("MyDeploymentScript")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
deployment_script = azure_native.resources.DeploymentScript("deploymentScript",
identity=azure_native.resources.ManagedServiceIdentityArgs(
type="UserAssigned",
user_assigned_identities={
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {},
},
),
kind="AzurePowerShell",
location="westus",
resource_group_name="script-rg",
script_name="MyDeploymentScript")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const deploymentScript = new azure_native.resources.DeploymentScript("deploymentScript", {
identity: {
type: "UserAssigned",
userAssignedIdentities: {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {},
},
},
kind: "AzurePowerShell",
location: "westus",
resourceGroupName: "script-rg",
scriptName: "MyDeploymentScript",
});
resources:
deploymentScript:
type: azure-native:resources:DeploymentScript
properties:
identity:
type: UserAssigned
userAssignedIdentities:
? /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai
: {}
kind: AzurePowerShell
location: westus
resourceGroupName: script-rg
scriptName: MyDeploymentScript
DeploymentScriptsCreate_UsingExistingStorageAccount
using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var deploymentScript = new AzureNative.Resources.DeploymentScript("deploymentScript", new()
{
Identity = new AzureNative.Resources.Inputs.ManagedServiceIdentityArgs
{
Type = "UserAssigned",
UserAssignedIdentities =
{
{ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai", null },
},
},
Kind = "AzurePowerShell",
Location = "westus",
ResourceGroupName = "script-rg",
ScriptName = "MyDeploymentScript",
});
});
package main
import (
resources "github.com/pulumi/pulumi-azure-native/sdk/go/azure/resources"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := resources.NewDeploymentScript(ctx, "deploymentScript", &resources.DeploymentScriptArgs{
Identity: &resources.ManagedServiceIdentityArgs{
Type: pulumi.String("UserAssigned"),
UserAssignedIdentities: pulumi.AnyMap{
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": nil,
},
},
Kind: pulumi.String("AzurePowerShell"),
Location: pulumi.String("westus"),
ResourceGroupName: pulumi.String("script-rg"),
ScriptName: pulumi.String("MyDeploymentScript"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.resources.DeploymentScript;
import com.pulumi.azurenative.resources.DeploymentScriptArgs;
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 deploymentScript = new DeploymentScript("deploymentScript", DeploymentScriptArgs.builder()
.identity(Map.ofEntries(
Map.entry("type", "UserAssigned"),
Map.entry("userAssignedIdentities", Map.of("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai", ))
))
.kind("AzurePowerShell")
.location("westus")
.resourceGroupName("script-rg")
.scriptName("MyDeploymentScript")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
deployment_script = azure_native.resources.DeploymentScript("deploymentScript",
identity=azure_native.resources.ManagedServiceIdentityArgs(
type="UserAssigned",
user_assigned_identities={
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {},
},
),
kind="AzurePowerShell",
location="westus",
resource_group_name="script-rg",
script_name="MyDeploymentScript")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const deploymentScript = new azure_native.resources.DeploymentScript("deploymentScript", {
identity: {
type: "UserAssigned",
userAssignedIdentities: {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {},
},
},
kind: "AzurePowerShell",
location: "westus",
resourceGroupName: "script-rg",
scriptName: "MyDeploymentScript",
});
resources:
deploymentScript:
type: azure-native:resources:DeploymentScript
properties:
identity:
type: UserAssigned
userAssignedIdentities:
? /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai
: {}
kind: AzurePowerShell
location: westus
resourceGroupName: script-rg
scriptName: MyDeploymentScript
Create DeploymentScript Resource
new DeploymentScript(name: string, args: DeploymentScriptArgs, opts?: CustomResourceOptions);
@overload
def DeploymentScript(resource_name: str,
opts: Optional[ResourceOptions] = None,
identity: Optional[ManagedServiceIdentityArgs] = None,
kind: Optional[Union[str, ScriptType]] = None,
location: Optional[str] = None,
resource_group_name: Optional[str] = None,
script_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
@overload
def DeploymentScript(resource_name: str,
args: DeploymentScriptArgs,
opts: Optional[ResourceOptions] = None)
func NewDeploymentScript(ctx *Context, name string, args DeploymentScriptArgs, opts ...ResourceOption) (*DeploymentScript, error)
public DeploymentScript(string name, DeploymentScriptArgs args, CustomResourceOptions? opts = null)
public DeploymentScript(String name, DeploymentScriptArgs args)
public DeploymentScript(String name, DeploymentScriptArgs args, CustomResourceOptions options)
type: azure-native:resources:DeploymentScript
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeploymentScriptArgs
- 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 DeploymentScriptArgs
- 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 DeploymentScriptArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeploymentScriptArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DeploymentScriptArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DeploymentScript Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The DeploymentScript resource accepts the following input properties:
- Kind
string | Pulumi.
Azure Native. Resources. Script Type Type of the script.
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Identity
Pulumi.
Azure Native. Resources. Inputs. Managed Service Identity Args Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.
- Location string
The location of the ACI and the storage account for the deployment script.
- Script
Name string Name of the deployment script.
- Dictionary<string, string>
Resource tags.
- Kind
string | Script
Type Type of the script.
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Identity
Managed
Service Identity Args Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.
- Location string
The location of the ACI and the storage account for the deployment script.
- Script
Name string Name of the deployment script.
- map[string]string
Resource tags.
- kind
String | Script
Type Type of the script.
- resource
Group StringName The name of the resource group. The name is case insensitive.
- identity
Managed
Service Identity Args Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.
- location String
The location of the ACI and the storage account for the deployment script.
- script
Name String Name of the deployment script.
- Map<String,String>
Resource tags.
- kind
string | Script
Type Type of the script.
- resource
Group stringName The name of the resource group. The name is case insensitive.
- identity
Managed
Service Identity Args Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.
- location string
The location of the ACI and the storage account for the deployment script.
- script
Name string Name of the deployment script.
- {[key: string]: string}
Resource tags.
- kind
str | Script
Type Type of the script.
- resource_
group_ strname The name of the resource group. The name is case insensitive.
- identity
Managed
Service Identity Args Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.
- location str
The location of the ACI and the storage account for the deployment script.
- script_
name str Name of the deployment script.
- Mapping[str, str]
Resource tags.
- kind
String | "Azure
Power Shell" | "Azure CLI" Type of the script.
- resource
Group StringName The name of the resource group. The name is case insensitive.
- identity Property Map
Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.
- location String
The location of the ACI and the storage account for the deployment script.
- script
Name String Name of the deployment script.
- Map<String>
Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the DeploymentScript resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
Name of this resource.
- System
Data Pulumi.Azure Native. Resources. Outputs. System Data Response 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.
- System
Data SystemData Response 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.
- system
Data SystemData Response 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.
- system
Data SystemData Response 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.
- system_
data SystemData Response 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.
- system
Data Property Map The system metadata related to this resource.
- type String
Type of this resource.
Supporting Types
ManagedServiceIdentity
- Type
string | Pulumi.
Azure Native. Resources. Managed Service Identity Type Type of the managed identity.
- User
Assigned Dictionary<string, object>Identities The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- Type
string | Managed
Service Identity Type Type of the managed identity.
- User
Assigned map[string]interface{}Identities The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- type
String | Managed
Service Identity Type Type of the managed identity.
- user
Assigned Map<String,Object>Identities The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- type
string | Managed
Service Identity Type Type of the managed identity.
- user
Assigned {[key: string]: any}Identities The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- type
str | Managed
Service Identity Type Type of the managed identity.
- user_
assigned_ Mapping[str, Any]identities The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- type
String | "User
Assigned" Type of the managed identity.
- user
Assigned Map<Any>Identities The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
ManagedServiceIdentityResponse
- Tenant
Id string ID of the Azure Active Directory.
- Type string
Type of the managed identity.
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Resources. Inputs. User Assigned Identity Response> The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- Tenant
Id string ID of the Azure Active Directory.
- Type string
Type of the managed identity.
- User
Assigned map[string]UserIdentities Assigned Identity Response The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- tenant
Id String ID of the Azure Active Directory.
- type String
Type of the managed identity.
- user
Assigned Map<String,UserIdentities Assigned Identity Response> The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- tenant
Id string ID of the Azure Active Directory.
- type string
Type of the managed identity.
- user
Assigned {[key: string]: UserIdentities Assigned Identity Response} The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- tenant_
id str ID of the Azure Active Directory.
- type str
Type of the managed identity.
- user_
assigned_ Mapping[str, Useridentities Assigned Identity Response] The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- tenant
Id String ID of the Azure Active Directory.
- type String
Type of the managed identity.
- user
Assigned Map<Property Map>Identities The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
ManagedServiceIdentityType
- User
Assigned - UserAssigned
- Managed
Service Identity Type User Assigned - UserAssigned
- User
Assigned - UserAssigned
- User
Assigned - UserAssigned
- USER_ASSIGNED
- UserAssigned
- "User
Assigned" - UserAssigned
ScriptType
- Azure
Power Shell - AzurePowerShell
- Azure
CLI - AzureCLI
- Script
Type Azure Power Shell - AzurePowerShell
- Script
Type Azure CLI - AzureCLI
- Azure
Power Shell - AzurePowerShell
- Azure
CLI - AzureCLI
- Azure
Power Shell - AzurePowerShell
- Azure
CLI - AzureCLI
- AZURE_POWER_SHELL
- AzurePowerShell
- AZURE_CLI
- AzureCLI
- "Azure
Power Shell" - AzurePowerShell
- "Azure
CLI" - AzureCLI
SystemDataResponse
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
- created
At string The timestamp of resource creation (UTC).
- created
By string The identity that created the resource.
- created
By stringType The type of identity that created the resource.
- last
Modified stringAt The timestamp of resource last modification (UTC)
- last
Modified stringBy The identity that last modified the resource.
- last
Modified stringBy Type The type of identity that last modified the resource.
- created_
at str The timestamp of resource creation (UTC).
- created_
by str The identity that created the resource.
- created_
by_ strtype The type of identity that created the resource.
- last_
modified_ strat The timestamp of resource last modification (UTC)
- last_
modified_ strby The identity that last modified the resource.
- last_
modified_ strby_ type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
UserAssignedIdentityResponse
- Client
Id string Client App Id associated with this identity.
- Principal
Id string Azure Active Directory principal ID associated with this identity.
- Client
Id string Client App Id associated with this identity.
- Principal
Id string Azure Active Directory principal ID associated with this identity.
- client
Id String Client App Id associated with this identity.
- principal
Id String Azure Active Directory principal ID associated with this identity.
- client
Id string Client App Id associated with this identity.
- principal
Id string Azure Active Directory principal ID associated with this identity.
- client_
id str Client App Id associated with this identity.
- principal_
id str Azure Active Directory principal ID associated with this identity.
- client
Id String Client App Id associated with this identity.
- principal
Id 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:DeploymentScript myresource1 /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0