published on Thursday, Aug 13, 2026 by Pulumi
published on Thursday, Aug 13, 2026 by Pulumi
Description for Get a deployment by its ID for an app, or a deployment slot.
Uses Azure REST API version 2025-05-01.
Other available API versions: 2016-08-01, 2018-02-01, 2018-11-01, 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01, 2024-04-01, 2024-11-01, 2025-03-01, 2026-03-01-preview, 2026-03-15, 2026-07-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 getWebAppDeploymentSlot
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 getWebAppDeploymentSlot(args: GetWebAppDeploymentSlotArgs, opts?: InvokeOptions): Promise<GetWebAppDeploymentSlotResult>
function getWebAppDeploymentSlotOutput(args: GetWebAppDeploymentSlotOutputArgs, opts?: InvokeOutputOptions): Output<GetWebAppDeploymentSlotResult>def get_web_app_deployment_slot(id: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
slot: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWebAppDeploymentSlotResult
def get_web_app_deployment_slot_output(id: 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[InvokeOutputOptions] = None) -> Output[GetWebAppDeploymentSlotResult]func LookupWebAppDeploymentSlot(ctx *Context, args *LookupWebAppDeploymentSlotArgs, opts ...InvokeOption) (*LookupWebAppDeploymentSlotResult, error)
func LookupWebAppDeploymentSlotOutput(ctx *Context, args *LookupWebAppDeploymentSlotOutputArgs, opts ...InvokeOption) LookupWebAppDeploymentSlotResultOutput> Note: This function is named LookupWebAppDeploymentSlot in the Go SDK.
public static class GetWebAppDeploymentSlot
{
public static Task<GetWebAppDeploymentSlotResult> InvokeAsync(GetWebAppDeploymentSlotArgs args, InvokeOptions? opts = null)
public static Output<GetWebAppDeploymentSlotResult> Invoke(GetWebAppDeploymentSlotInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetWebAppDeploymentSlotResult> Invoke(GetWebAppDeploymentSlotInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetWebAppDeploymentSlotResult> getWebAppDeploymentSlot(GetWebAppDeploymentSlotArgs args, InvokeOptions options)
public static Output<GetWebAppDeploymentSlotResult> getWebAppDeploymentSlot(GetWebAppDeploymentSlotArgs args, InvokeOptions options)
public static Output<GetWebAppDeploymentSlotResult> getWebAppDeploymentSlot(GetWebAppDeploymentSlotArgs args, InvokeOutputOptions options)
fn::invoke:
function: azure-native:web:getWebAppDeploymentSlot
arguments:
# arguments dictionarydata "azure-native_web_get_web_app_deployment_slot" "name" {
# arguments
}The following arguments are supported:
- Id string
- Deployment ID.
- 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 gets a deployment for the production slot.
- Id string
- Deployment ID.
- 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 gets a deployment for the production slot.
- id string
- Deployment ID.
- 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 gets a deployment for the production slot.
- id String
- Deployment ID.
- 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 gets a deployment for the production slot.
- id string
- Deployment ID.
- 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 gets a deployment for the production slot.
- id str
- Deployment ID.
- 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 gets a deployment for the production slot.
- id String
- Deployment ID.
- 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 gets a deployment for the production slot.
getWebAppDeploymentSlot Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- 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"
- Active bool
- True if deployment is currently active, false if completed and null if not started.
- string
- Who authored the deployment.
- string
- Author email.
- Deployer string
- Who performed the deployment.
- Details string
- Details on deployment.
- End
Time string - End time.
- Kind string
- Kind of resource.
- Message string
- Details about deployment status.
- Start
Time string - Start time.
- Status int
- Deployment status.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- 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"
- Active bool
- True if deployment is currently active, false if completed and null if not started.
- string
- Who authored the deployment.
- string
- Author email.
- Deployer string
- Who performed the deployment.
- Details string
- Details on deployment.
- End
Time string - End time.
- Kind string
- Kind of resource.
- Message string
- Details about deployment status.
- Start
Time string - Start time.
- Status int
- Deployment status.
- azure_
api_ stringversion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- 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"
- active bool
- True if deployment is currently active, false if completed and null if not started.
- string
- Who authored the deployment.
- string
- Author email.
- deployer string
- Who performed the deployment.
- details string
- Details on deployment.
- end_
time string - End time.
- kind string
- Kind of resource.
- message string
- Details about deployment status.
- start_
time string - Start time.
- status number
- Deployment status.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- 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"
- active Boolean
- True if deployment is currently active, false if completed and null if not started.
- String
- Who authored the deployment.
- String
- Author email.
- deployer String
- Who performed the deployment.
- details String
- Details on deployment.
- end
Time String - End time.
- kind String
- Kind of resource.
- message String
- Details about deployment status.
- start
Time String - Start time.
- status Integer
- Deployment status.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- 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"
- active boolean
- True if deployment is currently active, false if completed and null if not started.
- string
- Who authored the deployment.
- string
- Author email.
- deployer string
- Who performed the deployment.
- details string
- Details on deployment.
- end
Time string - End time.
- kind string
- Kind of resource.
- message string
- Details about deployment status.
- start
Time string - Start time.
- status number
- Deployment status.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- 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"
- active bool
- True if deployment is currently active, false if completed and null if not started.
- str
- Who authored the deployment.
- str
- Author email.
- deployer str
- Who performed the deployment.
- details str
- Details on deployment.
- end_
time str - End time.
- kind str
- Kind of resource.
- message str
- Details about deployment status.
- start_
time str - Start time.
- status int
- Deployment status.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- 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"
- active Boolean
- True if deployment is currently active, false if completed and null if not started.
- String
- Who authored the deployment.
- String
- Author email.
- deployer String
- Who performed the deployment.
- details String
- Details on deployment.
- end
Time String - End time.
- kind String
- Kind of resource.
- message String
- Details about deployment status.
- start
Time String - Start time.
- status Number
- Deployment status.
Supporting Types
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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
published on Thursday, Aug 13, 2026 by Pulumi