1. Packages
  2. Azure Native
  3. API Docs
  4. web
  5. getWebAppSiteContainerSlot
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.web.getWebAppSiteContainerSlot

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    Container of a site Azure REST API version: 2023-12-01.

    Other available API versions: 2024-04-01.

    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: Optional[pulumi.Input[str]] = None,
                                        name: Optional[pulumi.Input[str]] = None,
                                        resource_group_name: Optional[pulumi.Input[str]] = None,
                                        slot: Optional[pulumi.Input[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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:web:getWebAppSiteContainerSlot
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ContainerName string
    Site Container Name
    Name string
    Name of the app.
    ResourceGroupName string
    Name of the resource group to which the resource belongs.
    Slot string
    Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot.
    ContainerName string
    Site Container Name
    Name string
    Name of the app.
    ResourceGroupName string
    Name of the resource group to which the resource belongs.
    Slot string
    Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot.
    containerName String
    Site Container Name
    name String
    Name of the app.
    resourceGroupName String
    Name of the resource group to which the resource belongs.
    slot String
    Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot.
    containerName string
    Site Container Name
    name string
    Name of the app.
    resourceGroupName string
    Name of the resource group to which the resource belongs.
    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_name str
    Name of the resource group to which the resource belongs.
    slot str
    Name of the deployment slot. If a slot is not specified, the API will get the Site Container for the production slot.
    containerName String
    Site Container Name
    name String
    Name of the app.
    resourceGroupName String
    Name of the resource group to which the resource belongs.
    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:

    CreatedTime string
    Created Time
    Id string
    Resource Id.
    Image string
    Image Name
    IsMain bool
    true if the container is the main site container; false otherwise.
    LastModifiedTime string
    Last Modified Time
    Name string
    Resource Name.
    Type string
    Resource type.
    AuthType string
    Auth Type
    EnvironmentVariables List<Pulumi.AzureNative.Web.Outputs.EnvironmentVariableResponse>
    List of environment variables
    Kind string
    Kind of resource.
    PasswordSecret string
    Password Secret
    StartUpCommand string
    StartUp Command
    TargetPort string
    Target Port
    UserManagedIdentityClientId string
    UserManagedIdentity ClientId
    UserName string
    User Name
    VolumeMounts List<Pulumi.AzureNative.Web.Outputs.VolumeMountResponse>
    List of volume mounts
    CreatedTime string
    Created Time
    Id string
    Resource Id.
    Image string
    Image Name
    IsMain bool
    true if the container is the main site container; false otherwise.
    LastModifiedTime string
    Last Modified Time
    Name string
    Resource Name.
    Type string
    Resource type.
    AuthType string
    Auth Type
    EnvironmentVariables []EnvironmentVariableResponse
    List of environment variables
    Kind string
    Kind of resource.
    PasswordSecret string
    Password Secret
    StartUpCommand string
    StartUp Command
    TargetPort string
    Target Port
    UserManagedIdentityClientId string
    UserManagedIdentity ClientId
    UserName string
    User Name
    VolumeMounts []VolumeMountResponse
    List of volume mounts
    createdTime String
    Created Time
    id String
    Resource Id.
    image String
    Image Name
    isMain Boolean
    true if the container is the main site container; false otherwise.
    lastModifiedTime String
    Last Modified Time
    name String
    Resource Name.
    type String
    Resource type.
    authType String
    Auth Type
    environmentVariables List<EnvironmentVariableResponse>
    List of environment variables
    kind String
    Kind of resource.
    passwordSecret String
    Password Secret
    startUpCommand String
    StartUp Command
    targetPort String
    Target Port
    userManagedIdentityClientId String
    UserManagedIdentity ClientId
    userName String
    User Name
    volumeMounts List<VolumeMountResponse>
    List of volume mounts
    createdTime string
    Created Time
    id string
    Resource Id.
    image string
    Image Name
    isMain boolean
    true if the container is the main site container; false otherwise.
    lastModifiedTime string
    Last Modified Time
    name string
    Resource Name.
    type string
    Resource type.
    authType string
    Auth Type
    environmentVariables EnvironmentVariableResponse[]
    List of environment variables
    kind string
    Kind of resource.
    passwordSecret string
    Password Secret
    startUpCommand string
    StartUp Command
    targetPort string
    Target Port
    userManagedIdentityClientId string
    UserManagedIdentity ClientId
    userName string
    User Name
    volumeMounts VolumeMountResponse[]
    List of volume mounts
    created_time str
    Created Time
    id str
    Resource Id.
    image str
    Image Name
    is_main bool
    true if the container is the main site container; false otherwise.
    last_modified_time str
    Last Modified Time
    name str
    Resource Name.
    type str
    Resource type.
    auth_type str
    Auth Type
    environment_variables Sequence[EnvironmentVariableResponse]
    List of environment variables
    kind str
    Kind of resource.
    password_secret str
    Password Secret
    start_up_command str
    StartUp Command
    target_port str
    Target Port
    user_managed_identity_client_id str
    UserManagedIdentity ClientId
    user_name str
    User Name
    volume_mounts Sequence[VolumeMountResponse]
    List of volume mounts
    createdTime String
    Created Time
    id String
    Resource Id.
    image String
    Image Name
    isMain Boolean
    true if the container is the main site container; false otherwise.
    lastModifiedTime String
    Last Modified Time
    name String
    Resource Name.
    type String
    Resource type.
    authType String
    Auth Type
    environmentVariables List<Property Map>
    List of environment variables
    kind String
    Kind of resource.
    passwordSecret String
    Password Secret
    startUpCommand String
    StartUp Command
    targetPort String
    Target Port
    userManagedIdentityClientId String
    UserManagedIdentity ClientId
    userName String
    User Name
    volumeMounts List<Property Map>
    List of volume mounts

    Supporting Types

    EnvironmentVariableResponse

    Name string
    Environment variable name
    Value string
    Environment variable value
    Name string
    Environment variable name
    Value string
    Environment variable value
    name String
    Environment variable name
    value String
    Environment variable value
    name string
    Environment variable name
    value string
    Environment variable value
    name str
    Environment variable name
    value str
    Environment variable value
    name String
    Environment variable name
    value String
    Environment variable value

    VolumeMountResponse

    ContainerMountPath string
    Target path on the container where volume is mounted on
    VolumeSubPath string
    Sub path in the volume where volume is mounted from.
    Data string
    Config Data to be mounted on the volume
    ReadOnly bool
    Boolean to specify if the mount is read only on the container
    ContainerMountPath string
    Target path on the container where volume is mounted on
    VolumeSubPath string
    Sub path in the volume where volume is mounted from.
    Data string
    Config Data to be mounted on the volume
    ReadOnly bool
    Boolean to specify if the mount is read only on the container
    containerMountPath String
    Target path on the container where volume is mounted on
    volumeSubPath String
    Sub path in the volume where volume is mounted from.
    data String
    Config Data to be mounted on the volume
    readOnly Boolean
    Boolean to specify if the mount is read only on the container
    containerMountPath string
    Target path on the container where volume is mounted on
    volumeSubPath string
    Sub path in the volume where volume is mounted from.
    data string
    Config Data to be mounted on the volume
    readOnly boolean
    Boolean to specify if the mount is read only on the container
    container_mount_path str
    Target path on the container where volume is mounted on
    volume_sub_path str
    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
    containerMountPath String
    Target path on the container where volume is mounted on
    volumeSubPath String
    Sub path in the volume where volume is mounted from.
    data String
    Config Data to be mounted on the volume
    readOnly 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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi