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:

ResourceGroupName string

The name of the resource group. The name is case insensitive.

ScriptName string

Name of the deployment script.

ResourceGroupName string

The name of the resource group. The name is case insensitive.

ScriptName string

Name of the deployment script.

resourceGroupName String

The name of the resource group. The name is case insensitive.

scriptName String

Name of the deployment script.

resourceGroupName string

The name of the resource group. The name is case insensitive.

scriptName string

Name of the deployment script.

resource_group_name str

The name of the resource group. The name is case insensitive.

script_name str

Name of the deployment script.

resourceGroupName String

The name of the resource group. The name is case insensitive.

scriptName 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.

SystemData Pulumi.AzureNative.Resources.Outputs.SystemDataResponse

The system metadata related to this resource.

Type string

Type of this resource.

Identity Pulumi.AzureNative.Resources.Outputs.ManagedServiceIdentityResponse

Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.

Tags 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.

SystemData SystemDataResponse

The system metadata related to this resource.

Type string

Type of this resource.

Identity ManagedServiceIdentityResponse

Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.

Tags 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.

systemData SystemDataResponse

The system metadata related to this resource.

type String

Type of this resource.

identity ManagedServiceIdentityResponse

Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.

tags 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.

systemData SystemDataResponse

The system metadata related to this resource.

type string

Type of this resource.

identity ManagedServiceIdentityResponse

Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.

tags {[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 SystemDataResponse

The system metadata related to this resource.

type str

Type of this resource.

identity ManagedServiceIdentityResponse

Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.

tags 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.

systemData 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.

tags Map<String>

Resource tags.

Supporting Types

ManagedServiceIdentityResponse

TenantId string

ID of the Azure Active Directory.

Type string

Type of the managed identity.

UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.Resources.Inputs.UserAssignedIdentityResponse>

The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.

TenantId string

ID of the Azure Active Directory.

Type string

Type of the managed identity.

UserAssignedIdentities map[string]UserAssignedIdentityResponse

The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.

tenantId String

ID of the Azure Active Directory.

type String

Type of the managed identity.

userAssignedIdentities Map<String,UserAssignedIdentityResponse>

The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.

tenantId string

ID of the Azure Active Directory.

type string

Type of the managed identity.

userAssignedIdentities {[key: string]: UserAssignedIdentityResponse}

The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.

tenant_id str

ID of the Azure Active Directory.

type str

Type of the managed identity.

user_assigned_identities Mapping[str, UserAssignedIdentityResponse]

The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.

tenantId String

ID of the Azure Active Directory.

type String

Type of the managed identity.

userAssignedIdentities Map<Property Map>

The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.

SystemDataResponse

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

ClientId string

Client App Id associated with this identity.

PrincipalId string

Azure Active Directory principal ID associated with this identity.

ClientId string

Client App Id associated with this identity.

PrincipalId string

Azure Active Directory principal ID associated with this identity.

clientId String

Client App Id associated with this identity.

principalId String

Azure Active Directory principal ID associated with this identity.

clientId string

Client App Id associated with this identity.

principalId string

Azure Active Directory principal ID associated with this identity.

client_id str

Client App Id associated with this identity.

principal_id str

Azure Active Directory principal ID associated with this identity.

clientId String

Client App Id associated with this identity.

principalId String

Azure Active Directory principal ID associated with this identity.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0