azure-native.web.getWebAppScmAllowedSlot
Explore with Pulumi AI
Description for Returns whether Scm basic auth is allowed on the site or not.
Uses Azure REST API version 2024-04-01.
Other available API versions: 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 getWebAppScmAllowedSlot
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 getWebAppScmAllowedSlot(args: GetWebAppScmAllowedSlotArgs, opts?: InvokeOptions): Promise<GetWebAppScmAllowedSlotResult>
function getWebAppScmAllowedSlotOutput(args: GetWebAppScmAllowedSlotOutputArgs, opts?: InvokeOptions): Output<GetWebAppScmAllowedSlotResult>def get_web_app_scm_allowed_slot(name: Optional[str] = None,
                                 resource_group_name: Optional[str] = None,
                                 slot: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetWebAppScmAllowedSlotResult
def get_web_app_scm_allowed_slot_output(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[GetWebAppScmAllowedSlotResult]func LookupWebAppScmAllowedSlot(ctx *Context, args *LookupWebAppScmAllowedSlotArgs, opts ...InvokeOption) (*LookupWebAppScmAllowedSlotResult, error)
func LookupWebAppScmAllowedSlotOutput(ctx *Context, args *LookupWebAppScmAllowedSlotOutputArgs, opts ...InvokeOption) LookupWebAppScmAllowedSlotResultOutput> Note: This function is named LookupWebAppScmAllowedSlot in the Go SDK.
public static class GetWebAppScmAllowedSlot 
{
    public static Task<GetWebAppScmAllowedSlotResult> InvokeAsync(GetWebAppScmAllowedSlotArgs args, InvokeOptions? opts = null)
    public static Output<GetWebAppScmAllowedSlotResult> Invoke(GetWebAppScmAllowedSlotInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWebAppScmAllowedSlotResult> getWebAppScmAllowedSlot(GetWebAppScmAllowedSlotArgs args, InvokeOptions options)
public static Output<GetWebAppScmAllowedSlotResult> getWebAppScmAllowedSlot(GetWebAppScmAllowedSlotArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:web:getWebAppScmAllowedSlot
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
 - Name of the app.
 - Resource
Group stringName  - Name of the resource group to which the resource belongs.
 - Slot string
 
- Name string
 - Name of the app.
 - Resource
Group stringName  - Name of the resource group to which the resource belongs.
 - Slot string
 
- name String
 - Name of the app.
 - resource
Group StringName  - Name of the resource group to which the resource belongs.
 - slot String
 
- name string
 - Name of the app.
 - resource
Group stringName  - Name of the resource group to which the resource belongs.
 - slot string
 
- name str
 - Name of the app.
 - resource_
group_ strname  - Name of the resource group to which the resource belongs.
 - slot str
 
- name String
 - Name of the app.
 - resource
Group StringName  - Name of the resource group to which the resource belongs.
 - slot String
 
getWebAppScmAllowedSlot Result
The following output properties are available:
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0