UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

144 lines (143 loc) 6.66 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the Deployment stack with the given name. * * Uses Azure REST API version 2024-03-01. * * Other available API versions: 2022-08-01-preview. 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 getDeploymentStackAtManagementGroup(args: GetDeploymentStackAtManagementGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetDeploymentStackAtManagementGroupResult>; export interface GetDeploymentStackAtManagementGroupArgs { /** * Name of the deployment stack. */ deploymentStackName: string; /** * The name of the management group. The name is case insensitive. */ managementGroupId: string; } /** * Deployment stack object. */ export interface GetDeploymentStackAtManagementGroupResult { /** * Defines the behavior of resources that are no longer managed after the Deployment stack is updated or deleted. */ readonly actionOnUnmanage: outputs.resources.ActionOnUnmanageResponse; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The correlation id of the last Deployment stack upsert or delete operation. It is in GUID format and is used for tracing. */ readonly correlationId: string; /** * The debug setting of the deployment. */ readonly debugSetting?: outputs.resources.DeploymentStacksDebugSettingResponse; /** * An array of resources that were deleted during the most recent Deployment stack update. Deleted means that the resource was removed from the template and relevant deletion operations were specified. */ readonly deletedResources: outputs.resources.ResourceReferenceResponse[]; /** * Defines how resources deployed by the stack are locked. */ readonly denySettings: outputs.resources.DenySettingsResponse; /** * The resourceId of the deployment resource created by the deployment stack. */ readonly deploymentId: string; /** * The scope at which the initial deployment should be created. If a scope is not specified, it will default to the scope of the deployment stack. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroupId}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'). */ readonly deploymentScope?: string; /** * Deployment stack description. Max length of 4096 characters. */ readonly description?: string; /** * An array of resources that were detached during the most recent Deployment stack update. Detached means that the resource was removed from the template, but no relevant deletion operations were specified. So, the resource still exists while no longer being associated with the stack. */ readonly detachedResources: outputs.resources.ResourceReferenceResponse[]; /** * The duration of the last successful Deployment stack update. */ readonly duration: string; /** * The error detail. */ readonly error?: outputs.resources.ErrorDetailResponse; /** * An array of resources that failed to reach goal state during the most recent update. Each resourceId is accompanied by an error message. */ readonly failedResources: outputs.resources.ResourceReferenceExtendedResponse[]; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks. */ readonly location?: string; /** * The name of the resource */ readonly name: string; /** * The outputs of the deployment resource created by the deployment stack. */ readonly outputs: any; /** * Name and value pairs that define the deployment parameters for the template. Use this element when providing the parameter values directly in the request, rather than linking to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. */ readonly parameters?: { [key: string]: outputs.resources.DeploymentParameterResponse; }; /** * The URI of parameters file. Use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both. */ readonly parametersLink?: outputs.resources.DeploymentStacksParametersLinkResponse; /** * State of the deployment stack. */ readonly provisioningState: string; /** * An array of resources currently managed by the deployment stack. */ readonly resources: outputs.resources.ManagedResourceReferenceResponse[]; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.resources.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Gets the Deployment stack with the given name. * * Uses Azure REST API version 2024-03-01. * * Other available API versions: 2022-08-01-preview. 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 getDeploymentStackAtManagementGroupOutput(args: GetDeploymentStackAtManagementGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDeploymentStackAtManagementGroupResult>; export interface GetDeploymentStackAtManagementGroupOutputArgs { /** * Name of the deployment stack. */ deploymentStackName: pulumi.Input<string>; /** * The name of the management group. The name is case insensitive. */ managementGroupId: pulumi.Input<string>; }