1. Packages
  2. Azure Native v2
  3. API Docs
  4. web
  5. getWebAppScmAllowedSlot
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.web.getWebAppScmAllowedSlot

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Description for Returns whether Scm basic auth is allowed on the site or not. Azure REST API version: 2023-12-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, 2024-04-01.

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>
Copy
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]
Copy
func LookupWebAppScmAllowedSlot(ctx *Context, args *LookupWebAppScmAllowedSlotArgs, opts ...InvokeOption) (*LookupWebAppScmAllowedSlotResult, error)
func LookupWebAppScmAllowedSlotOutput(ctx *Context, args *LookupWebAppScmAllowedSlotOutputArgs, opts ...InvokeOption) LookupWebAppScmAllowedSlotResultOutput
Copy

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

The following arguments are supported:

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
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
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
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
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
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

getWebAppScmAllowedSlot Result

The following output properties are available:

Allow bool
true to allow access to a publishing method; otherwise, false.
Id string
Resource Id.
Name string
Resource Name.
Type string
Resource type.
Kind string
Kind of resource.
Allow bool
true to allow access to a publishing method; otherwise, false.
Id string
Resource Id.
Name string
Resource Name.
Type string
Resource type.
Kind string
Kind of resource.
allow Boolean
true to allow access to a publishing method; otherwise, false.
id String
Resource Id.
name String
Resource Name.
type String
Resource type.
kind String
Kind of resource.
allow boolean
true to allow access to a publishing method; otherwise, false.
id string
Resource Id.
name string
Resource Name.
type string
Resource type.
kind string
Kind of resource.
allow bool
true to allow access to a publishing method; otherwise, false.
id str
Resource Id.
name str
Resource Name.
type str
Resource type.
kind str
Kind of resource.
allow Boolean
true to allow access to a publishing method; otherwise, false.
id String
Resource Id.
name String
Resource Name.
type String
Resource type.
kind String
Kind of resource.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi