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

azure-native-v1 logo
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>
    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]
    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 CompletableFuture<GetWebAppDeploymentSlotResult> getWebAppDeploymentSlot(GetWebAppDeploymentSlotArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:web:getWebAppDeploymentSlot
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Deployment ID.
    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 gets a deployment for the production slot.
    Id string
    Deployment ID.
    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 gets a deployment for the production slot.
    id String
    Deployment ID.
    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 gets a deployment for the production slot.
    id string
    Deployment ID.
    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 gets a deployment for the production slot.
    id str
    Deployment ID.
    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 gets a deployment for the production slot.
    id String
    Deployment ID.
    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 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
    azure-native-v1 logo
    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