1. Packages
  2. Azure Native
  3. API Docs
  4. web
  5. WebAppSitePushSettings
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.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.web.WebAppSitePushSettings

Explore with Pulumi AI

azure-native logo
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.37.0 published on Monday, Apr 15, 2024 by Pulumi

    Push settings for the App. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-12-01.

    Other available API versions: 2020-10-01, 2023-01-01.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:web:WebAppSitePushSettings myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/pushsettings 
    

    Create WebAppSitePushSettings Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WebAppSitePushSettings(name: string, args: WebAppSitePushSettingsArgs, opts?: CustomResourceOptions);
    @overload
    def WebAppSitePushSettings(resource_name: str,
                               args: WebAppSitePushSettingsArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def WebAppSitePushSettings(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               is_push_enabled: Optional[bool] = None,
                               name: Optional[str] = None,
                               resource_group_name: Optional[str] = None,
                               dynamic_tags_json: Optional[str] = None,
                               kind: Optional[str] = None,
                               tag_whitelist_json: Optional[str] = None,
                               tags_requiring_auth: Optional[str] = None)
    func NewWebAppSitePushSettings(ctx *Context, name string, args WebAppSitePushSettingsArgs, opts ...ResourceOption) (*WebAppSitePushSettings, error)
    public WebAppSitePushSettings(string name, WebAppSitePushSettingsArgs args, CustomResourceOptions? opts = null)
    public WebAppSitePushSettings(String name, WebAppSitePushSettingsArgs args)
    public WebAppSitePushSettings(String name, WebAppSitePushSettingsArgs args, CustomResourceOptions options)
    
    type: azure-native:web:WebAppSitePushSettings
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args WebAppSitePushSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args WebAppSitePushSettingsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args WebAppSitePushSettingsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WebAppSitePushSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WebAppSitePushSettingsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var webAppSitePushSettingsResource = new AzureNative.Web.WebAppSitePushSettings("webAppSitePushSettingsResource", new()
    {
        IsPushEnabled = false,
        Name = "string",
        ResourceGroupName = "string",
        DynamicTagsJson = "string",
        Kind = "string",
        TagWhitelistJson = "string",
        TagsRequiringAuth = "string",
    });
    
    example, err := web.NewWebAppSitePushSettings(ctx, "webAppSitePushSettingsResource", &web.WebAppSitePushSettingsArgs{
    IsPushEnabled: pulumi.Bool(false),
    Name: pulumi.String("string"),
    ResourceGroupName: pulumi.String("string"),
    DynamicTagsJson: pulumi.String("string"),
    Kind: pulumi.String("string"),
    TagWhitelistJson: pulumi.String("string"),
    TagsRequiringAuth: pulumi.String("string"),
    })
    
    var webAppSitePushSettingsResource = new WebAppSitePushSettings("webAppSitePushSettingsResource", WebAppSitePushSettingsArgs.builder()        
        .isPushEnabled(false)
        .name("string")
        .resourceGroupName("string")
        .dynamicTagsJson("string")
        .kind("string")
        .tagWhitelistJson("string")
        .tagsRequiringAuth("string")
        .build());
    
    web_app_site_push_settings_resource = azure_native.web.WebAppSitePushSettings("webAppSitePushSettingsResource",
        is_push_enabled=False,
        name="string",
        resource_group_name="string",
        dynamic_tags_json="string",
        kind="string",
        tag_whitelist_json="string",
        tags_requiring_auth="string")
    
    const webAppSitePushSettingsResource = new azure_native.web.WebAppSitePushSettings("webAppSitePushSettingsResource", {
        isPushEnabled: false,
        name: "string",
        resourceGroupName: "string",
        dynamicTagsJson: "string",
        kind: "string",
        tagWhitelistJson: "string",
        tagsRequiringAuth: "string",
    });
    
    type: azure-native:web:WebAppSitePushSettings
    properties:
        dynamicTagsJson: string
        isPushEnabled: false
        kind: string
        name: string
        resourceGroupName: string
        tagWhitelistJson: string
        tagsRequiringAuth: string
    

    WebAppSitePushSettings Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The WebAppSitePushSettings resource accepts the following input properties:

    IsPushEnabled bool
    Gets or sets a flag indicating whether the Push endpoint is enabled.
    Name string
    Name of web app.
    ResourceGroupName string
    Name of the resource group to which the resource belongs.
    DynamicTagsJson string
    Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.
    Kind string
    Kind of resource.
    TagWhitelistJson string
    Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.
    TagsRequiringAuth string
    Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.
    IsPushEnabled bool
    Gets or sets a flag indicating whether the Push endpoint is enabled.
    Name string
    Name of web app.
    ResourceGroupName string
    Name of the resource group to which the resource belongs.
    DynamicTagsJson string
    Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.
    Kind string
    Kind of resource.
    TagWhitelistJson string
    Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.
    TagsRequiringAuth string
    Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.
    isPushEnabled Boolean
    Gets or sets a flag indicating whether the Push endpoint is enabled.
    name String
    Name of web app.
    resourceGroupName String
    Name of the resource group to which the resource belongs.
    dynamicTagsJson String
    Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.
    kind String
    Kind of resource.
    tagWhitelistJson String
    Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.
    tagsRequiringAuth String
    Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.
    isPushEnabled boolean
    Gets or sets a flag indicating whether the Push endpoint is enabled.
    name string
    Name of web app.
    resourceGroupName string
    Name of the resource group to which the resource belongs.
    dynamicTagsJson string
    Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.
    kind string
    Kind of resource.
    tagWhitelistJson string
    Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.
    tagsRequiringAuth string
    Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.
    is_push_enabled bool
    Gets or sets a flag indicating whether the Push endpoint is enabled.
    name str
    Name of web app.
    resource_group_name str
    Name of the resource group to which the resource belongs.
    dynamic_tags_json str
    Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.
    kind str
    Kind of resource.
    tag_whitelist_json str
    Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.
    tags_requiring_auth str
    Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.
    isPushEnabled Boolean
    Gets or sets a flag indicating whether the Push endpoint is enabled.
    name String
    Name of web app.
    resourceGroupName String
    Name of the resource group to which the resource belongs.
    dynamicTagsJson String
    Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.
    kind String
    Kind of resource.
    tagWhitelistJson String
    Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.
    tagsRequiringAuth String
    Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WebAppSitePushSettings resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Resource type.
    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Resource type.
    id string
    The provider-assigned unique ID for this managed resource.
    type string
    Resource type.
    id str
    The provider-assigned unique ID for this managed resource.
    type str
    Resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Resource type.

    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 v1 docs if using the v1 version of this package.
    Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi