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
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:
- Container
Name string - Site Container Name
- Name string
- Name of the app.
- Resource
Group stringName - 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 string - Site Container Name
- Name string
- Name of the app.
- Resource
Group stringName - 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 String - Site Container Name
- name String
- Name of the app.
- resource
Group StringName - 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 string - Site Container Name
- name string
- Name of the app.
- resource
Group stringName - 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_ strname - 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.
- container
Name String - Site Container Name
- name String
- Name of the app.
- resource
Group StringName - 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:
- Created
Time string - Created Time
- Id string
- Resource Id.
- 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
- Resource Name.
- Type string
- Resource type.
- Auth
Type string - Auth Type
- Environment
Variables List<Pulumi.Azure Native. Web. Outputs. Environment Variable Response> - List of environment variables
- 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
- Created
Time string - Created Time
- Id string
- Resource Id.
- 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
- Resource Name.
- Type string
- Resource type.
- Auth
Type string - Auth Type
- Environment
Variables []EnvironmentVariable Response - List of environment variables
- 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
- created
Time String - Created Time
- id String
- Resource Id.
- 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
- Resource Name.
- type String
- Resource type.
- auth
Type String - Auth Type
- environment
Variables List<EnvironmentVariable Response> - List of environment variables
- 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
- created
Time string - Created Time
- id string
- Resource Id.
- 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
- Resource Name.
- type string
- Resource type.
- auth
Type string - Auth Type
- environment
Variables EnvironmentVariable Response[] - List of environment variables
- 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
- 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_ strtime - Last Modified Time
- name str
- Resource Name.
- type str
- Resource type.
- auth_
type str - Auth Type
- environment_
variables Sequence[EnvironmentVariable Response] - List of environment variables
- 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
- created
Time String - Created Time
- id String
- Resource Id.
- 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
- Resource Name.
- type String
- Resource type.
- auth
Type String - Auth Type
- environment
Variables List<Property Map> - List of environment variables
- 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
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 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
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