import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing NGINX Deployment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.nginx.getDeployment({ * name: "existing", * resourceGroupName: "existing", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Nginx.NginxPlus` - 2024-11-01-preview */ export declare function getDeployment(args: GetDeploymentArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDeployment. */ export interface GetDeploymentArgs { /** * The name of this NGINX Deployment. */ name: string; /** * The name of the Resource Group where the NGINX Deployment exists. */ resourceGroupName: string; } /** * A collection of values returned by getDeployment. */ export interface GetDeploymentResult { /** * An `autoScaleProfile` block as defined below. */ readonly autoScaleProfiles: outputs.nginx.GetDeploymentAutoScaleProfile[]; /** * The automatic upgrade channel for this NGINX deployment. */ readonly automaticUpgradeChannel: string; /** * The number of NGINX capacity units for this NGINX Deployment. */ readonly capacity: number; /** * The dataplane API endpoint of the NGINX Deployment. */ readonly dataplaneApiEndpoint: string; /** * @deprecated this property is deprecated and will be removed in v5.0, metrics are enabled by default. */ readonly diagnoseSupportEnabled: boolean; /** * Preferred email associated with the NGINX Deployment. */ readonly email: string; /** * A `frontendPrivate` block as defined below. */ readonly frontendPrivates: outputs.nginx.GetDeploymentFrontendPrivate[]; /** * A `frontendPublic` block as defined below. */ readonly frontendPublics: outputs.nginx.GetDeploymentFrontendPublic[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A `identity` block as defined below. */ readonly identities: outputs.nginx.GetDeploymentIdentity[]; /** * The list of Public IP Resource IDs for this NGINX Deployment. */ readonly ipAddress: string; /** * The Azure Region where the NGINX Deployment exists. */ readonly location: string; /** * @deprecated The `loggingStorageAccount` block has been deprecated and will be removed in v5.0 of the AzureRM Provider. */ readonly loggingStorageAccounts: outputs.nginx.GetDeploymentLoggingStorageAccount[]; /** * @deprecated The `managedResourceGroup` field isn't supported by the API anymore and has been deprecated and will be removed in v5.0 of the AzureRM Provider. */ readonly managedResourceGroup: string; /** * Name of the autoscaling profile. */ readonly name: string; /** * A `networkInterface` block as defined below. */ readonly networkInterfaces: outputs.nginx.GetDeploymentNetworkInterface[]; /** * NGINX version of the Deployment. */ readonly nginxVersion: string; readonly resourceGroupName: string; /** * The NGINX Deployment SKU. */ readonly sku: string; /** * A mapping of tags assigned to the NGINX Deployment. */ readonly tags: { [key: string]: string; }; /** * A `webApplicationFirewall` block as defined below. */ readonly webApplicationFirewalls: outputs.nginx.GetDeploymentWebApplicationFirewall[]; } /** * Use this data source to access information about an existing NGINX Deployment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.nginx.getDeployment({ * name: "existing", * resourceGroupName: "existing", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Nginx.NginxPlus` - 2024-11-01-preview */ export declare function getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDeployment. */ export interface GetDeploymentOutputArgs { /** * The name of this NGINX Deployment. */ name: pulumi.Input; /** * The name of the Resource Group where the NGINX Deployment exists. */ resourceGroupName: pulumi.Input; }