@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.46 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a deployment.
*
* Uses Azure REST API version 2024-03-01.
*
* Other available API versions: 2020-10-01, 2021-01-01, 2021-04-01, 2022-09-01, 2023-07-01, 2024-07-01, 2024-11-01, 2025-03-01, 2025-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native resources [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getDeploymentAtScope(args: GetDeploymentAtScopeArgs, opts?: pulumi.InvokeOptions): Promise<GetDeploymentAtScopeResult>;
export interface GetDeploymentAtScopeArgs {
/**
* The name of the deployment.
*/
deploymentName: string;
/**
* The resource scope.
*/
scope: string;
}
/**
* Deployment information.
*/
export interface GetDeploymentAtScopeResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The ID of the deployment.
*/
readonly id: string;
/**
* the location of the deployment.
*/
readonly location?: string;
/**
* The name of the deployment.
*/
readonly name: string;
/**
* Deployment properties.
*/
readonly properties: outputs.resources.DeploymentPropertiesExtendedResponse;
/**
* Deployment tags
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the deployment.
*/
readonly type: string;
}
/**
* Gets a deployment.
*
* Uses Azure REST API version 2024-03-01.
*
* Other available API versions: 2020-10-01, 2021-01-01, 2021-04-01, 2022-09-01, 2023-07-01, 2024-07-01, 2024-11-01, 2025-03-01, 2025-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native resources [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getDeploymentAtScopeOutput(args: GetDeploymentAtScopeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDeploymentAtScopeResult>;
export interface GetDeploymentAtScopeOutputArgs {
/**
* The name of the deployment.
*/
deploymentName: pulumi.Input<string>;
/**
* The resource scope.
*/
scope: pulumi.Input<string>;
}