1. Packages
  2. Azure Native v1
  3. API Docs
  4. web
  5. getWebAppDeploymentSlot
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.web.getWebAppDeploymentSlot

Explore with Pulumi AI

These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

Get a deployment by its ID for an app, or a deployment slot. API Version: 2020-12-01.

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?: InvokeOptions): Output<GetWebAppDeploymentSlotResult>
Copy
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: 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[GetWebAppDeploymentSlotResult]
Copy
func LookupWebAppDeploymentSlot(ctx *Context, args *LookupWebAppDeploymentSlotArgs, opts ...InvokeOption) (*LookupWebAppDeploymentSlotResult, error)
func LookupWebAppDeploymentSlotOutput(ctx *Context, args *LookupWebAppDeploymentSlotOutputArgs, opts ...InvokeOption) LookupWebAppDeploymentSlotResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetWebAppDeploymentSlotResult> getWebAppDeploymentSlot(GetWebAppDeploymentSlotArgs args, InvokeOptions options)
public static Output<GetWebAppDeploymentSlotResult> getWebAppDeploymentSlot(GetWebAppDeploymentSlotArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:web:getWebAppDeploymentSlot
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id
This property is required.
Changes to this property will trigger replacement.
string
Deployment ID.
Name
This property is required.
Changes to this property will trigger replacement.
string
Name of the app.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
Slot
This property is required.
Changes to this property will trigger replacement.
string
Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot.
Id
This property is required.
Changes to this property will trigger replacement.
string
Deployment ID.
Name
This property is required.
Changes to this property will trigger replacement.
string
Name of the app.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
Slot
This property is required.
Changes to this property will trigger replacement.
string
Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot.
id
This property is required.
Changes to this property will trigger replacement.
String
Deployment ID.
name
This property is required.
Changes to this property will trigger replacement.
String
Name of the app.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group to which the resource belongs.
slot
This property is required.
Changes to this property will trigger replacement.
String
Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot.
id
This property is required.
Changes to this property will trigger replacement.
string
Deployment ID.
name
This property is required.
Changes to this property will trigger replacement.
string
Name of the app.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
slot
This property is required.
Changes to this property will trigger replacement.
string
Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot.
id
This property is required.
Changes to this property will trigger replacement.
str
Deployment ID.
name
This property is required.
Changes to this property will trigger replacement.
str
Name of the app.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the resource group to which the resource belongs.
slot
This property is required.
Changes to this property will trigger replacement.
str
Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot.
id
This property is required.
Changes to this property will trigger replacement.
String
Deployment ID.
name
This property is required.
Changes to this property will trigger replacement.
String
Name of the app.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group to which the resource belongs.
slot
This property is required.
Changes to this property will trigger replacement.
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:

Id string
Resource Id.
Name string
Resource Name.
Type string
Resource type.
Active bool
True if deployment is currently active, false if completed and null if not started.
Author string
Who authored the deployment.
AuthorEmail string
Author email.
Deployer string
Who performed the deployment.
Details string
Details on deployment.
EndTime string
End time.
Kind string
Kind of resource.
Message string
Details about deployment status.
StartTime string
Start time.
Status int
Deployment status.
Id string
Resource Id.
Name string
Resource Name.
Type string
Resource type.
Active bool
True if deployment is currently active, false if completed and null if not started.
Author string
Who authored the deployment.
AuthorEmail string
Author email.
Deployer string
Who performed the deployment.
Details string
Details on deployment.
EndTime string
End time.
Kind string
Kind of resource.
Message string
Details about deployment status.
StartTime string
Start time.
Status int
Deployment status.
id String
Resource Id.
name String
Resource Name.
type String
Resource type.
active Boolean
True if deployment is currently active, false if completed and null if not started.
author String
Who authored the deployment.
authorEmail String
Author email.
deployer String
Who performed the deployment.
details String
Details on deployment.
endTime String
End time.
kind String
Kind of resource.
message String
Details about deployment status.
startTime String
Start time.
status Integer
Deployment status.
id string
Resource Id.
name string
Resource Name.
type string
Resource type.
active boolean
True if deployment is currently active, false if completed and null if not started.
author string
Who authored the deployment.
authorEmail string
Author email.
deployer string
Who performed the deployment.
details string
Details on deployment.
endTime string
End time.
kind string
Kind of resource.
message string
Details about deployment status.
startTime string
Start time.
status number
Deployment status.
id str
Resource Id.
name str
Resource Name.
type str
Resource type.
active bool
True if deployment is currently active, false if completed and null if not started.
author str
Who authored the deployment.
author_email 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.
id String
Resource Id.
name String
Resource Name.
type String
Resource type.
active Boolean
True if deployment is currently active, false if completed and null if not started.
author String
Who authored the deployment.
authorEmail String
Author email.
deployer String
Who performed the deployment.
details String
Details on deployment.
endTime String
End time.
kind String
Kind of resource.
message String
Details about deployment status.
startTime String
Start time.
status Number
Deployment status.

Package Details

Repository
azure-native-v1 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi