1. Packages
  2. Azure Native
  3. API Docs
  4. web
  5. getWebAppScmAllowed
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.web.getWebAppScmAllowed

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

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

    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 getWebAppScmAllowed(args: GetWebAppScmAllowedArgs, opts?: InvokeOptions): Promise<GetWebAppScmAllowedResult>
    function getWebAppScmAllowedOutput(args: GetWebAppScmAllowedOutputArgs, opts?: InvokeOptions): Output<GetWebAppScmAllowedResult>
    def get_web_app_scm_allowed(name: Optional[str] = None,
                                resource_group_name: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetWebAppScmAllowedResult
    def get_web_app_scm_allowed_output(name: Optional[pulumi.Input[str]] = None,
                                resource_group_name: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetWebAppScmAllowedResult]
    func LookupWebAppScmAllowed(ctx *Context, args *LookupWebAppScmAllowedArgs, opts ...InvokeOption) (*LookupWebAppScmAllowedResult, error)
    func LookupWebAppScmAllowedOutput(ctx *Context, args *LookupWebAppScmAllowedOutputArgs, opts ...InvokeOption) LookupWebAppScmAllowedResultOutput

    > Note: This function is named LookupWebAppScmAllowed in the Go SDK.

    public static class GetWebAppScmAllowed 
    {
        public static Task<GetWebAppScmAllowedResult> InvokeAsync(GetWebAppScmAllowedArgs args, InvokeOptions? opts = null)
        public static Output<GetWebAppScmAllowedResult> Invoke(GetWebAppScmAllowedInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWebAppScmAllowedResult> getWebAppScmAllowed(GetWebAppScmAllowedArgs args, InvokeOptions options)
    public static Output<GetWebAppScmAllowedResult> getWebAppScmAllowed(GetWebAppScmAllowedArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:web:getWebAppScmAllowed
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Name of the app.
    ResourceGroupName string
    Name of the resource group to which the resource belongs.
    Name string
    Name of the app.
    ResourceGroupName string
    Name of the resource group to which the resource belongs.
    name String
    Name of the app.
    resourceGroupName String
    Name of the resource group to which the resource belongs.
    name string
    Name of the app.
    resourceGroupName string
    Name of the resource group to which the resource belongs.
    name str
    Name of the app.
    resource_group_name str
    Name of the resource group to which the resource belongs.
    name String
    Name of the app.
    resourceGroupName String
    Name of the resource group to which the resource belongs.

    getWebAppScmAllowed Result

    The following output properties are available:

    Allow bool
    true to allow access to a publishing method; otherwise, false.
    AzureApiVersion string
    The Azure API version of the resource.
    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.
    AzureApiVersion string
    The Azure API version of the resource.
    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.
    azureApiVersion String
    The Azure API version of the resource.
    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.
    azureApiVersion string
    The Azure API version of the resource.
    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.
    azure_api_version str
    The Azure API version of the resource.
    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.
    azureApiVersion String
    The Azure API version of the resource.
    id String
    Resource Id.
    name String
    Resource Name.
    type String
    Resource type.
    kind String
    Kind of resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi