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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.web.getWebAppDeploymentSlot
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
Description for Get a deployment by its ID for an app, or a deployment slot. Azure REST API version: 2022-09-01.
Other available API versions: 2020-10-01, 2023-01-01, 2023-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.
- 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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi