azure-native.web.WebAppSitePushSettings
Explore with Pulumi AI
Push settings for the App. API Version: 2020-12-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.
Constructor 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: false,
Name: "string",
ResourceGroupName: "string",
DynamicTagsJson: "string",
Kind: "string",
TagWhitelistJson: "string",
TagsRequiringAuth: "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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The WebAppSitePushSettings resource accepts the following input properties:
- Is
Push boolEnabled - Gets or sets a flag indicating whether the Push endpoint is enabled.
- Name string
- Name of web app.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- 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.
- Tag
Whitelist stringJson - Gets or sets a JSON string containing a list of tags that are in the allowed list for use by the push registration endpoint.
- 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 boolEnabled - Gets or sets a flag indicating whether the Push endpoint is enabled.
- Name string
- Name of web app.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- 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.
- Tag
Whitelist stringJson - Gets or sets a JSON string containing a list of tags that are in the allowed list for use by the push registration endpoint.
- 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 BooleanEnabled - Gets or sets a flag indicating whether the Push endpoint is enabled.
- name String
- Name of web app.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- 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.
- tag
Whitelist StringJson - Gets or sets a JSON string containing a list of tags that are in the allowed list for use by the push registration endpoint.
- 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 booleanEnabled - Gets or sets a flag indicating whether the Push endpoint is enabled.
- name string
- Name of web app.
- resource
Group stringName - Name of the resource group to which the resource belongs.
- 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.
- tag
Whitelist stringJson - Gets or sets a JSON string containing a list of tags that are in the allowed list for use by the push registration endpoint.
- 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_ boolenabled - Gets or sets a flag indicating whether the Push endpoint is enabled.
- name str
- Name of web app.
- resource_
group_ strname - Name of the resource group to which the resource belongs.
- 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_ strjson - Gets or sets a JSON string containing a list of tags that are in the allowed list for use by the push registration endpoint.
- 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.
- is
Push BooleanEnabled - Gets or sets a flag indicating whether the Push endpoint is enabled.
- name String
- Name of web app.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- 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.
- tag
Whitelist StringJson - Gets or sets a JSON string containing a list of tags that are in the allowed list for use by the push registration endpoint.
- 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:
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0