@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 5.06 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Container of a site
*
* Uses Azure REST API version 2024-04-01. In version 2.x of the Azure Native provider, it used API version 2023-12-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 class WebAppSiteContainer extends pulumi.CustomResource {
/**
* Get an existing WebAppSiteContainer resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): WebAppSiteContainer;
/**
* Returns true if the given object is an instance of WebAppSiteContainer. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is WebAppSiteContainer;
/**
* Auth Type
*/
readonly authType: pulumi.Output<string | undefined>;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* Created Time
*/
readonly createdTime: pulumi.Output<string>;
/**
* List of environment variables
*/
readonly environmentVariables: pulumi.Output<outputs.web.EnvironmentVariableResponse[] | undefined>;
/**
* Image Name
*/
readonly image: pulumi.Output<string>;
/**
* <code>true</code> if the container is the main site container; <code>false</code> otherwise.
*/
readonly isMain: pulumi.Output<boolean>;
/**
* Kind of resource.
*/
readonly kind: pulumi.Output<string | undefined>;
/**
* Last Modified Time
*/
readonly lastModifiedTime: pulumi.Output<string>;
/**
* Resource Name.
*/
readonly name: pulumi.Output<string>;
/**
* Password Secret
*/
readonly passwordSecret: pulumi.Output<string | undefined>;
/**
* StartUp Command
*/
readonly startUpCommand: pulumi.Output<string | undefined>;
/**
* Target Port
*/
readonly targetPort: pulumi.Output<string | undefined>;
/**
* Resource type.
*/
readonly type: pulumi.Output<string>;
/**
* UserManagedIdentity ClientId
*/
readonly userManagedIdentityClientId: pulumi.Output<string | undefined>;
/**
* User Name
*/
readonly userName: pulumi.Output<string | undefined>;
/**
* List of volume mounts
*/
readonly volumeMounts: pulumi.Output<outputs.web.VolumeMountResponse[] | undefined>;
/**
* Create a WebAppSiteContainer resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: WebAppSiteContainerArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a WebAppSiteContainer resource.
*/
export interface WebAppSiteContainerArgs {
/**
* Auth Type
*/
authType?: pulumi.Input<enums.web.AuthType>;
/**
* Site Container Name
*/
containerName?: pulumi.Input<string>;
/**
* List of environment variables
*/
environmentVariables?: pulumi.Input<pulumi.Input<inputs.web.EnvironmentVariableArgs>[]>;
/**
* Image Name
*/
image: pulumi.Input<string>;
/**
* <code>true</code> if the container is the main site container; <code>false</code> otherwise.
*/
isMain: pulumi.Input<boolean>;
/**
* Kind of resource.
*/
kind?: pulumi.Input<string>;
/**
* Name of the app.
*/
name: pulumi.Input<string>;
/**
* Password Secret
*/
passwordSecret?: pulumi.Input<string>;
/**
* Name of the resource group to which the resource belongs.
*/
resourceGroupName: pulumi.Input<string>;
/**
* StartUp Command
*/
startUpCommand?: pulumi.Input<string>;
/**
* Target Port
*/
targetPort?: pulumi.Input<string>;
/**
* UserManagedIdentity ClientId
*/
userManagedIdentityClientId?: pulumi.Input<string>;
/**
* User Name
*/
userName?: pulumi.Input<string>;
/**
* List of volume mounts
*/
volumeMounts?: pulumi.Input<pulumi.Input<inputs.web.VolumeMountArgs>[]>;
}