@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.65 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Container of a site
*
* Uses Azure REST API version 2024-04-01.
*
* Other available API versions: 2023-12-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getWebAppSiteContainerSlot(args: GetWebAppSiteContainerSlotArgs, opts?: pulumi.InvokeOptions): Promise<GetWebAppSiteContainerSlotResult>;
export interface GetWebAppSiteContainerSlotArgs {
/**
* Site Container Name
*/
containerName: string;
/**
* Name of the app.
*/
name: string;
/**
* Name of the resource group to which the resource belongs.
*/
resourceGroupName: string;
/**
* Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot.
*/
slot: string;
}
/**
* Container of a site
*/
export interface GetWebAppSiteContainerSlotResult {
/**
* Auth Type
*/
readonly authType?: string;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Created Time
*/
readonly createdTime: string;
/**
* List of environment variables
*/
readonly environmentVariables?: outputs.web.EnvironmentVariableResponse[];
/**
* Resource Id.
*/
readonly id: string;
/**
* Image Name
*/
readonly image: string;
/**
* <code>true</code> if the container is the main site container; <code>false</code> otherwise.
*/
readonly isMain: boolean;
/**
* Kind of resource.
*/
readonly kind?: string;
/**
* Last Modified Time
*/
readonly lastModifiedTime: string;
/**
* Resource Name.
*/
readonly name: string;
/**
* Password Secret
*/
readonly passwordSecret?: string;
/**
* StartUp Command
*/
readonly startUpCommand?: string;
/**
* Target Port
*/
readonly targetPort?: string;
/**
* Resource type.
*/
readonly type: string;
/**
* UserManagedIdentity ClientId
*/
readonly userManagedIdentityClientId?: string;
/**
* User Name
*/
readonly userName?: string;
/**
* List of volume mounts
*/
readonly volumeMounts?: outputs.web.VolumeMountResponse[];
}
/**
* Container of a site
*
* Uses Azure REST API version 2024-04-01.
*
* Other available API versions: 2023-12-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getWebAppSiteContainerSlotOutput(args: GetWebAppSiteContainerSlotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWebAppSiteContainerSlotResult>;
export interface GetWebAppSiteContainerSlotOutputArgs {
/**
* Site Container Name
*/
containerName: pulumi.Input<string>;
/**
* Name of the app.
*/
name: pulumi.Input<string>;
/**
* Name of the resource group to which the resource belongs.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot.
*/
slot: pulumi.Input<string>;
}