azure-native.web.getWebAppDeploymentSlot
Explore with Pulumi AI
Description for Get a deployment by its ID for an app, or a deployment slot.
Uses Azure REST API version 2024-04-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. 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?: 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)
public static Output<GetWebAppDeploymentSlotResult> getWebAppDeploymentSlot(GetWebAppDeploymentSlotArgs args, InvokeOptions options)
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.
- 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 gets a deployment for the production slot.
- Id string
- Deployment ID.
- 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 gets a deployment for the production slot.
- id String
- Deployment ID.
- 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 gets a deployment for the production slot.
- id string
- Deployment ID.
- 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 gets a deployment for the production slot.
- id str
- Deployment ID.
- 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 gets a deployment for the production slot.
- id String
- Deployment ID.
- 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 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
- 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.
- 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
- 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.
- 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
- 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.
- 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
- 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.
- 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
- 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.
- 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
- 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.
- 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0