azure-native.web.WebAppSitePushSettingsSlot
Explore with Pulumi AI
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, 2023-12-01.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:web:WebAppSitePushSettingsSlot myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings
Create WebAppSitePushSettingsSlot Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WebAppSitePushSettingsSlot(name: string, args: WebAppSitePushSettingsSlotArgs, opts?: CustomResourceOptions);
@overload
def WebAppSitePushSettingsSlot(resource_name: str,
args: WebAppSitePushSettingsSlotArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WebAppSitePushSettingsSlot(resource_name: str,
opts: Optional[ResourceOptions] = None,
is_push_enabled: Optional[bool] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
slot: 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 NewWebAppSitePushSettingsSlot(ctx *Context, name string, args WebAppSitePushSettingsSlotArgs, opts ...ResourceOption) (*WebAppSitePushSettingsSlot, error)
public WebAppSitePushSettingsSlot(string name, WebAppSitePushSettingsSlotArgs args, CustomResourceOptions? opts = null)
public WebAppSitePushSettingsSlot(String name, WebAppSitePushSettingsSlotArgs args)
public WebAppSitePushSettingsSlot(String name, WebAppSitePushSettingsSlotArgs args, CustomResourceOptions options)
type: azure-native:web:WebAppSitePushSettingsSlot
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 WebAppSitePushSettingsSlotArgs
- 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 WebAppSitePushSettingsSlotArgs
- 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 WebAppSitePushSettingsSlotArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebAppSitePushSettingsSlotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WebAppSitePushSettingsSlotArgs
- 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 webAppSitePushSettingsSlotResource = new AzureNative.Web.WebAppSitePushSettingsSlot("webAppSitePushSettingsSlotResource", new()
{
IsPushEnabled = false,
Name = "string",
ResourceGroupName = "string",
Slot = "string",
DynamicTagsJson = "string",
Kind = "string",
TagWhitelistJson = "string",
TagsRequiringAuth = "string",
});
example, err := web.NewWebAppSitePushSettingsSlot(ctx, "webAppSitePushSettingsSlotResource", &web.WebAppSitePushSettingsSlotArgs{
IsPushEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Slot: pulumi.String("string"),
DynamicTagsJson: pulumi.String("string"),
Kind: pulumi.String("string"),
TagWhitelistJson: pulumi.String("string"),
TagsRequiringAuth: pulumi.String("string"),
})
var webAppSitePushSettingsSlotResource = new WebAppSitePushSettingsSlot("webAppSitePushSettingsSlotResource", WebAppSitePushSettingsSlotArgs.builder()
.isPushEnabled(false)
.name("string")
.resourceGroupName("string")
.slot("string")
.dynamicTagsJson("string")
.kind("string")
.tagWhitelistJson("string")
.tagsRequiringAuth("string")
.build());
web_app_site_push_settings_slot_resource = azure_native.web.WebAppSitePushSettingsSlot("webAppSitePushSettingsSlotResource",
is_push_enabled=False,
name="string",
resource_group_name="string",
slot="string",
dynamic_tags_json="string",
kind="string",
tag_whitelist_json="string",
tags_requiring_auth="string")
const webAppSitePushSettingsSlotResource = new azure_native.web.WebAppSitePushSettingsSlot("webAppSitePushSettingsSlotResource", {
isPushEnabled: false,
name: "string",
resourceGroupName: "string",
slot: "string",
dynamicTagsJson: "string",
kind: "string",
tagWhitelistJson: "string",
tagsRequiringAuth: "string",
});
type: azure-native:web:WebAppSitePushSettingsSlot
properties:
dynamicTagsJson: string
isPushEnabled: false
kind: string
name: string
resourceGroupName: string
slot: string
tagWhitelistJson: string
tagsRequiringAuth: string
WebAppSitePushSettingsSlot 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 WebAppSitePushSettingsSlot 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.
- Slot string
- Name of web app slot. If not specified then will default to production slot.
- 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 whitelisted 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.
- Slot string
- Name of web app slot. If not specified then will default to production slot.
- 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 whitelisted 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.
- slot String
- Name of web app slot. If not specified then will default to production slot.
- 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 whitelisted 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.
- slot string
- Name of web app slot. If not specified then will default to production slot.
- 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 whitelisted 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.
- slot str
- Name of web app slot. If not specified then will default to production slot.
- 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 whitelisted 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.
- slot String
- Name of web app slot. If not specified then will default to production slot.
- 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 whitelisted 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 WebAppSitePushSettingsSlot resource produces the following output properties:
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0