published on Wednesday, Jul 29, 2026 by Pulumi
published on Wednesday, Jul 29, 2026 by Pulumi
Gets a site container of a site, or a deployment slot.
Uses Azure REST API version 2025-05-01.
Other available API versions: 2023-12-01, 2024-04-01, 2024-11-01, 2025-03-01, 2026-03-01-preview, 2026-03-15. 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 for details.
Using getWebAppSiteContainerSlot
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWebAppSiteContainerSlot(args: GetWebAppSiteContainerSlotArgs, opts?: InvokeOptions): Promise<GetWebAppSiteContainerSlotResult>
function getWebAppSiteContainerSlotOutput(args: GetWebAppSiteContainerSlotOutputArgs, opts?: InvokeOptions): Output<GetWebAppSiteContainerSlotResult>def get_web_app_site_container_slot(container_name: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
slot: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWebAppSiteContainerSlotResult
def get_web_app_site_container_slot_output(container_name: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
resource_group_name: pulumi.Input[Optional[str]] = None,
slot: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWebAppSiteContainerSlotResult]func LookupWebAppSiteContainerSlot(ctx *Context, args *LookupWebAppSiteContainerSlotArgs, opts ...InvokeOption) (*LookupWebAppSiteContainerSlotResult, error)
func LookupWebAppSiteContainerSlotOutput(ctx *Context, args *LookupWebAppSiteContainerSlotOutputArgs, opts ...InvokeOption) LookupWebAppSiteContainerSlotResultOutput> Note: This function is named LookupWebAppSiteContainerSlot in the Go SDK.
public static class GetWebAppSiteContainerSlot
{
public static Task<GetWebAppSiteContainerSlotResult> InvokeAsync(GetWebAppSiteContainerSlotArgs args, InvokeOptions? opts = null)
public static Output<GetWebAppSiteContainerSlotResult> Invoke(GetWebAppSiteContainerSlotInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWebAppSiteContainerSlotResult> getWebAppSiteContainerSlot(GetWebAppSiteContainerSlotArgs args, InvokeOptions options)
public static Output<GetWebAppSiteContainerSlotResult> getWebAppSiteContainerSlot(GetWebAppSiteContainerSlotArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:web:getWebAppSiteContainerSlot
arguments:
# arguments dictionarydata "azure-native_web_get_web_app_site_container_slot" "name" {
# arguments
}The following arguments are supported:
- Container
Name string - Site Container Name
- Name string
- Name of the app.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Slot string
- Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot.
- Container
Name string - Site Container Name
- Name string
- Name of the app.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Slot string
- Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot.
- container_
name string - Site Container Name
- name string
- Name of the app.
- resource_
group_ stringname - The name of the resource group. The name is case insensitive.
- slot string
- Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot.
- container
Name String - Site Container Name
- name String
- Name of the app.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- slot String
- Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot.
- container
Name string - Site Container Name
- name string
- Name of the app.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- slot string
- Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot.
- container_
name str - Site Container Name
- name str
- Name of the app.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- slot str
- Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot.
- container
Name String - Site Container Name
- name String
- Name of the app.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- slot String
- Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot.
getWebAppSiteContainerSlot Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Created
Time string - Created Time
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Image string
- Image Name
- Is
Main bool - true if the container is the main site container; false otherwise.
- Last
Modified stringTime - Last Modified Time
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Web. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Auth
Type string - Auth Type
- Environment
Variables List<Pulumi.Azure Native. Web. Outputs. Environment Variable Response> - List of environment variables
- Inherit
App boolSettings And Connection Strings - true if all AppSettings and ConnectionStrings have to be passed to the container as environment variables; false otherwise.
- Kind string
- Kind of resource.
- Password
Secret string - Password Secret
- Start
Up stringCommand - StartUp Command
- Target
Port string - Target Port
- User
Managed stringIdentity Client Id - UserManagedIdentity ClientId
- User
Name string - User Name
- Volume
Mounts List<Pulumi.Azure Native. Web. Outputs. Volume Mount Response> - List of volume mounts
- Azure
Api stringVersion - The Azure API version of the resource.
- Created
Time string - Created Time
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Image string
- Image Name
- Is
Main bool - true if the container is the main site container; false otherwise.
- Last
Modified stringTime - Last Modified Time
- Name string
- The name of the resource
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Auth
Type string - Auth Type
- Environment
Variables []EnvironmentVariable Response - List of environment variables
- Inherit
App boolSettings And Connection Strings - true if all AppSettings and ConnectionStrings have to be passed to the container as environment variables; false otherwise.
- Kind string
- Kind of resource.
- Password
Secret string - Password Secret
- Start
Up stringCommand - StartUp Command
- Target
Port string - Target Port
- User
Managed stringIdentity Client Id - UserManagedIdentity ClientId
- User
Name string - User Name
- Volume
Mounts []VolumeMount Response - List of volume mounts
- azure_
api_ stringversion - The Azure API version of the resource.
- created_
time string - Created Time
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- image string
- Image Name
- is_
main bool - true if the container is the main site container; false otherwise.
- last_
modified_ stringtime - Last Modified Time
- name string
- The name of the resource
- system_
data object - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- auth_
type string - Auth Type
- environment_
variables list(object) - List of environment variables
- inherit_
app_ boolsettings_ and_ connection_ strings - true if all AppSettings and ConnectionStrings have to be passed to the container as environment variables; false otherwise.
- kind string
- Kind of resource.
- password_
secret string - Password Secret
- start_
up_ stringcommand - StartUp Command
- target_
port string - Target Port
- user_
managed_ stringidentity_ client_ id - UserManagedIdentity ClientId
- user_
name string - User Name
- volume_
mounts list(object) - List of volume mounts
- azure
Api StringVersion - The Azure API version of the resource.
- created
Time String - Created Time
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- image String
- Image Name
- is
Main Boolean - true if the container is the main site container; false otherwise.
- last
Modified StringTime - Last Modified Time
- name String
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- auth
Type String - Auth Type
- environment
Variables List<EnvironmentVariable Response> - List of environment variables
- inherit
App BooleanSettings And Connection Strings - true if all AppSettings and ConnectionStrings have to be passed to the container as environment variables; false otherwise.
- kind String
- Kind of resource.
- password
Secret String - Password Secret
- start
Up StringCommand - StartUp Command
- target
Port String - Target Port
- user
Managed StringIdentity Client Id - UserManagedIdentity ClientId
- user
Name String - User Name
- volume
Mounts List<VolumeMount Response> - List of volume mounts
- azure
Api stringVersion - The Azure API version of the resource.
- created
Time string - Created Time
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- image string
- Image Name
- is
Main boolean - true if the container is the main site container; false otherwise.
- last
Modified stringTime - Last Modified Time
- name string
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- auth
Type string - Auth Type
- environment
Variables EnvironmentVariable Response[] - List of environment variables
- inherit
App booleanSettings And Connection Strings - true if all AppSettings and ConnectionStrings have to be passed to the container as environment variables; false otherwise.
- kind string
- Kind of resource.
- password
Secret string - Password Secret
- start
Up stringCommand - StartUp Command
- target
Port string - Target Port
- user
Managed stringIdentity Client Id - UserManagedIdentity ClientId
- user
Name string - User Name
- volume
Mounts VolumeMount Response[] - List of volume mounts
- azure_
api_ strversion - The Azure API version of the resource.
- created_
time str - Created Time
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- image str
- Image Name
- is_
main bool - true if the container is the main site container; false otherwise.
- last_
modified_ strtime - Last Modified Time
- name str
- The name of the resource
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- auth_
type str - Auth Type
- environment_
variables Sequence[EnvironmentVariable Response] - List of environment variables
- inherit_
app_ boolsettings_ and_ connection_ strings - true if all AppSettings and ConnectionStrings have to be passed to the container as environment variables; false otherwise.
- kind str
- Kind of resource.
- password_
secret str - Password Secret
- start_
up_ strcommand - StartUp Command
- target_
port str - Target Port
- user_
managed_ stridentity_ client_ id - UserManagedIdentity ClientId
- user_
name str - User Name
- volume_
mounts Sequence[VolumeMount Response] - List of volume mounts
- azure
Api StringVersion - The Azure API version of the resource.
- created
Time String - Created Time
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- image String
- Image Name
- is
Main Boolean - true if the container is the main site container; false otherwise.
- last
Modified StringTime - Last Modified Time
- name String
- The name of the resource
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- auth
Type String - Auth Type
- environment
Variables List<Property Map> - List of environment variables
- inherit
App BooleanSettings And Connection Strings - true if all AppSettings and ConnectionStrings have to be passed to the container as environment variables; false otherwise.
- kind String
- Kind of resource.
- password
Secret String - Password Secret
- start
Up StringCommand - StartUp Command
- target
Port String - Target Port
- user
Managed StringIdentity Client Id - UserManagedIdentity ClientId
- user
Name String - User Name
- volume
Mounts List<Property Map> - List of volume mounts
Supporting Types
EnvironmentVariableResponse
- Name string
- Environment variable name
- Value string
- The value of this environment variable must be the name of an AppSetting. The actual value of the environment variable in container will be retrieved from the specified AppSetting at runtime. If the AppSetting is not found, the value will be set to an empty string in the container at runtime.
- Name string
- Environment variable name
- Value string
- The value of this environment variable must be the name of an AppSetting. The actual value of the environment variable in container will be retrieved from the specified AppSetting at runtime. If the AppSetting is not found, the value will be set to an empty string in the container at runtime.
- name string
- Environment variable name
- value string
- The value of this environment variable must be the name of an AppSetting. The actual value of the environment variable in container will be retrieved from the specified AppSetting at runtime. If the AppSetting is not found, the value will be set to an empty string in the container at runtime.
- name String
- Environment variable name
- value String
- The value of this environment variable must be the name of an AppSetting. The actual value of the environment variable in container will be retrieved from the specified AppSetting at runtime. If the AppSetting is not found, the value will be set to an empty string in the container at runtime.
- name string
- Environment variable name
- value string
- The value of this environment variable must be the name of an AppSetting. The actual value of the environment variable in container will be retrieved from the specified AppSetting at runtime. If the AppSetting is not found, the value will be set to an empty string in the container at runtime.
- name str
- Environment variable name
- value str
- The value of this environment variable must be the name of an AppSetting. The actual value of the environment variable in container will be retrieved from the specified AppSetting at runtime. If the AppSetting is not found, the value will be set to an empty string in the container at runtime.
- name String
- Environment variable name
- value String
- The value of this environment variable must be the name of an AppSetting. The actual value of the environment variable in container will be retrieved from the specified AppSetting at runtime. If the AppSetting is not found, the value will be set to an empty string in the container at runtime.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at string - The timestamp of resource creation (UTC).
- created_
by string - The identity that created the resource.
- created_
by_ stringtype - The type of identity that created the resource.
- last_
modified_ stringat - The timestamp of resource last modification (UTC)
- last_
modified_ stringby - The identity that last modified the resource.
- last_
modified_ stringby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
VolumeMountResponse
- Container
Mount stringPath - Target path on the container where volume is mounted on
- Volume
Sub stringPath - Sub path in the volume where volume is mounted from.
- Data string
- Config Data to be mounted on the volume
- Read
Only bool - Boolean to specify if the mount is read only on the container
- Container
Mount stringPath - Target path on the container where volume is mounted on
- Volume
Sub stringPath - Sub path in the volume where volume is mounted from.
- Data string
- Config Data to be mounted on the volume
- Read
Only bool - Boolean to specify if the mount is read only on the container
- container_
mount_ stringpath - Target path on the container where volume is mounted on
- volume_
sub_ stringpath - Sub path in the volume where volume is mounted from.
- data string
- Config Data to be mounted on the volume
- read_
only bool - Boolean to specify if the mount is read only on the container
- container
Mount StringPath - Target path on the container where volume is mounted on
- volume
Sub StringPath - Sub path in the volume where volume is mounted from.
- data String
- Config Data to be mounted on the volume
- read
Only Boolean - Boolean to specify if the mount is read only on the container
- container
Mount stringPath - Target path on the container where volume is mounted on
- volume
Sub stringPath - Sub path in the volume where volume is mounted from.
- data string
- Config Data to be mounted on the volume
- read
Only boolean - Boolean to specify if the mount is read only on the container
- container_
mount_ strpath - Target path on the container where volume is mounted on
- volume_
sub_ strpath - Sub path in the volume where volume is mounted from.
- data str
- Config Data to be mounted on the volume
- read_
only bool - Boolean to specify if the mount is read only on the container
- container
Mount StringPath - Target path on the container where volume is mounted on
- volume
Sub StringPath - Sub path in the volume where volume is mounted from.
- data String
- Config Data to be mounted on the volume
- read
Only Boolean - Boolean to specify if the mount is read only on the container
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
published on Wednesday, Jul 29, 2026 by Pulumi