azure-native.resources.getDeploymentScript
Deprecated:
Please use one of the variants: AzureCliScript, AzurePowerShellScript.
Gets a deployment script with a given name. API Version: 2020-10-01.
Using getDeploymentScript
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDeploymentScript(args: GetDeploymentScriptArgs, opts?: InvokeOptions): Promise<GetDeploymentScriptResult>
function getDeploymentScriptOutput(args: GetDeploymentScriptOutputArgs, opts?: InvokeOptions): Output<GetDeploymentScriptResult>
def get_deployment_script(resource_group_name: Optional[str] = None,
script_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDeploymentScriptResult
def get_deployment_script_output(resource_group_name: Optional[pulumi.Input[str]] = None,
script_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDeploymentScriptResult]
func LookupDeploymentScript(ctx *Context, args *LookupDeploymentScriptArgs, opts ...InvokeOption) (*LookupDeploymentScriptResult, error)
func LookupDeploymentScriptOutput(ctx *Context, args *LookupDeploymentScriptOutputArgs, opts ...InvokeOption) LookupDeploymentScriptResultOutput
> Note: This function is named LookupDeploymentScript
in the Go SDK.
public static class GetDeploymentScript
{
public static Task<GetDeploymentScriptResult> InvokeAsync(GetDeploymentScriptArgs args, InvokeOptions? opts = null)
public static Output<GetDeploymentScriptResult> Invoke(GetDeploymentScriptInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDeploymentScriptResult> getDeploymentScript(GetDeploymentScriptArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:resources:getDeploymentScript
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Script
Name string Name of the deployment script.
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Script
Name string Name of the deployment script.
- resource
Group StringName The name of the resource group. The name is case insensitive.
- script
Name String Name of the deployment script.
- resource
Group stringName The name of the resource group. The name is case insensitive.
- script
Name string Name of the deployment script.
- resource_
group_ strname The name of the resource group. The name is case insensitive.
- script_
name str Name of the deployment script.
- resource
Group StringName The name of the resource group. The name is case insensitive.
- script
Name String Name of the deployment script.
getDeploymentScript Result
The following output properties are available:
- Id string
String Id used to locate any resource on Azure.
- Kind string
Type of the script.
- Location string
The location of the ACI and the storage account for the deployment script.
- 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.
- Identity
Pulumi.
Azure Native. Resources. Outputs. Managed Service Identity Response Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.
- Dictionary<string, string>
Resource tags.
- Id string
String Id used to locate any resource on Azure.
- Kind string
Type of the script.
- Location string
The location of the ACI and the storage account for the deployment script.
- Name string
Name of this resource.
- System
Data SystemData Response The system metadata related to this resource.
- Type string
Type of this resource.
- Identity
Managed
Service Identity Response Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.
- map[string]string
Resource tags.
- id String
String Id used to locate any resource on Azure.
- kind String
Type of the script.
- location String
The location of the ACI and the storage account for the deployment script.
- name String
Name of this resource.
- system
Data SystemData Response The system metadata related to this resource.
- type String
Type of this resource.
- identity
Managed
Service Identity Response Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.
- Map<String,String>
Resource tags.
- id string
String Id used to locate any resource on Azure.
- kind string
Type of the script.
- location string
The location of the ACI and the storage account for the deployment script.
- name string
Name of this resource.
- system
Data SystemData Response The system metadata related to this resource.
- type string
Type of this resource.
- identity
Managed
Service Identity Response Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.
- {[key: string]: string}
Resource tags.
- id str
String Id used to locate any resource on Azure.
- kind str
Type of the script.
- location str
The location of the ACI and the storage account for the deployment script.
- name str
Name of this resource.
- system_
data SystemData Response The system metadata related to this resource.
- type str
Type of this resource.
- identity
Managed
Service Identity Response Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.
- Mapping[str, str]
Resource tags.
- id String
String Id used to locate any resource on Azure.
- kind String
Type of the script.
- location String
The location of the ACI and the storage account for the deployment script.
- name String
Name of this resource.
- system
Data Property Map The system metadata related to this resource.
- type String
Type of this resource.
- identity Property Map
Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.
- Map<String>
Resource tags.
Supporting Types
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.
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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0