1. Packages
  2. Ibm Provider
  3. API Docs
  4. PnApplicationChrome
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.PnApplicationChrome

Explore with Pulumi AI

Configure push notifications resource for Chrome web platform. For more information, about push notifications for Chrome, see for Chrome applications.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";

const applicationChrome = new ibm.PnApplicationChrome("applicationChrome", {
    guid: "guid",
    serverKey: "server_key",
    webSiteUrl: "web_site_url",
});
Copy
import pulumi
import pulumi_ibm as ibm

application_chrome = ibm.PnApplicationChrome("applicationChrome",
    guid="guid",
    server_key="server_key",
    web_site_url="web_site_url")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ibm.NewPnApplicationChrome(ctx, "applicationChrome", &ibm.PnApplicationChromeArgs{
			Guid:       pulumi.String("guid"),
			ServerKey:  pulumi.String("server_key"),
			WebSiteUrl: pulumi.String("web_site_url"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var applicationChrome = new Ibm.PnApplicationChrome("applicationChrome", new()
    {
        Guid = "guid",
        ServerKey = "server_key",
        WebSiteUrl = "web_site_url",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.PnApplicationChrome;
import com.pulumi.ibm.PnApplicationChromeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var applicationChrome = new PnApplicationChrome("applicationChrome", PnApplicationChromeArgs.builder()
            .guid("guid")
            .serverKey("server_key")
            .webSiteUrl("web_site_url")
            .build());

    }
}
Copy
resources:
  applicationChrome:
    type: ibm:PnApplicationChrome
    properties:
      guid: guid
      serverKey: server_key
      webSiteUrl: web_site_url
Copy

Create PnApplicationChrome Resource

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

Constructor syntax

new PnApplicationChrome(name: string, args: PnApplicationChromeArgs, opts?: CustomResourceOptions);
@overload
def PnApplicationChrome(resource_name: str,
                        args: PnApplicationChromeArgs,
                        opts: Optional[ResourceOptions] = None)

@overload
def PnApplicationChrome(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        guid: Optional[str] = None,
                        server_key: Optional[str] = None,
                        web_site_url: Optional[str] = None,
                        pn_application_chrome_id: Optional[str] = None)
func NewPnApplicationChrome(ctx *Context, name string, args PnApplicationChromeArgs, opts ...ResourceOption) (*PnApplicationChrome, error)
public PnApplicationChrome(string name, PnApplicationChromeArgs args, CustomResourceOptions? opts = null)
public PnApplicationChrome(String name, PnApplicationChromeArgs args)
public PnApplicationChrome(String name, PnApplicationChromeArgs args, CustomResourceOptions options)
type: ibm:PnApplicationChrome
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. PnApplicationChromeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. PnApplicationChromeArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. PnApplicationChromeArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. PnApplicationChromeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. PnApplicationChromeArgs
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 pnApplicationChromeResource = new Ibm.PnApplicationChrome("pnApplicationChromeResource", new()
{
    Guid = "string",
    ServerKey = "string",
    WebSiteUrl = "string",
    PnApplicationChromeId = "string",
});
Copy
example, err := ibm.NewPnApplicationChrome(ctx, "pnApplicationChromeResource", &ibm.PnApplicationChromeArgs{
Guid: pulumi.String("string"),
ServerKey: pulumi.String("string"),
WebSiteUrl: pulumi.String("string"),
PnApplicationChromeId: pulumi.String("string"),
})
Copy
var pnApplicationChromeResource = new PnApplicationChrome("pnApplicationChromeResource", PnApplicationChromeArgs.builder()
    .guid("string")
    .serverKey("string")
    .webSiteUrl("string")
    .pnApplicationChromeId("string")
    .build());
Copy
pn_application_chrome_resource = ibm.PnApplicationChrome("pnApplicationChromeResource",
    guid="string",
    server_key="string",
    web_site_url="string",
    pn_application_chrome_id="string")
Copy
const pnApplicationChromeResource = new ibm.PnApplicationChrome("pnApplicationChromeResource", {
    guid: "string",
    serverKey: "string",
    webSiteUrl: "string",
    pnApplicationChromeId: "string",
});
Copy
type: ibm:PnApplicationChrome
properties:
    guid: string
    pnApplicationChromeId: string
    serverKey: string
    webSiteUrl: string
Copy

PnApplicationChrome 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 PnApplicationChrome resource accepts the following input properties:

Guid This property is required. string
Required - The unique GUID of the push notifications instance.
ServerKey This property is required. string
Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
WebSiteUrl This property is required. string
Required - The URL of the website or web application that should be permitted to subscribe to the web push.
PnApplicationChromeId string
(String) The unique identifier of the resource application for chrome.
Guid This property is required. string
Required - The unique GUID of the push notifications instance.
ServerKey This property is required. string
Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
WebSiteUrl This property is required. string
Required - The URL of the website or web application that should be permitted to subscribe to the web push.
PnApplicationChromeId string
(String) The unique identifier of the resource application for chrome.
guid This property is required. String
Required - The unique GUID of the push notifications instance.
serverKey This property is required. String
Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
webSiteUrl This property is required. String
Required - The URL of the website or web application that should be permitted to subscribe to the web push.
pnApplicationChromeId String
(String) The unique identifier of the resource application for chrome.
guid This property is required. string
Required - The unique GUID of the push notifications instance.
serverKey This property is required. string
Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
webSiteUrl This property is required. string
Required - The URL of the website or web application that should be permitted to subscribe to the web push.
pnApplicationChromeId string
(String) The unique identifier of the resource application for chrome.
guid This property is required. str
Required - The unique GUID of the push notifications instance.
server_key This property is required. str
Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
web_site_url This property is required. str
Required - The URL of the website or web application that should be permitted to subscribe to the web push.
pn_application_chrome_id str
(String) The unique identifier of the resource application for chrome.
guid This property is required. String
Required - The unique GUID of the push notifications instance.
serverKey This property is required. String
Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
webSiteUrl This property is required. String
Required - The URL of the website or web application that should be permitted to subscribe to the web push.
pnApplicationChromeId String
(String) The unique identifier of the resource application for chrome.

Outputs

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

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

Look up Existing PnApplicationChrome Resource

Get an existing PnApplicationChrome resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: PnApplicationChromeState, opts?: CustomResourceOptions): PnApplicationChrome
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        guid: Optional[str] = None,
        pn_application_chrome_id: Optional[str] = None,
        server_key: Optional[str] = None,
        web_site_url: Optional[str] = None) -> PnApplicationChrome
func GetPnApplicationChrome(ctx *Context, name string, id IDInput, state *PnApplicationChromeState, opts ...ResourceOption) (*PnApplicationChrome, error)
public static PnApplicationChrome Get(string name, Input<string> id, PnApplicationChromeState? state, CustomResourceOptions? opts = null)
public static PnApplicationChrome get(String name, Output<String> id, PnApplicationChromeState state, CustomResourceOptions options)
resources:  _:    type: ibm:PnApplicationChrome    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Guid string
Required - The unique GUID of the push notifications instance.
PnApplicationChromeId string
(String) The unique identifier of the resource application for chrome.
ServerKey string
Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
WebSiteUrl string
Required - The URL of the website or web application that should be permitted to subscribe to the web push.
Guid string
Required - The unique GUID of the push notifications instance.
PnApplicationChromeId string
(String) The unique identifier of the resource application for chrome.
ServerKey string
Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
WebSiteUrl string
Required - The URL of the website or web application that should be permitted to subscribe to the web push.
guid String
Required - The unique GUID of the push notifications instance.
pnApplicationChromeId String
(String) The unique identifier of the resource application for chrome.
serverKey String
Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
webSiteUrl String
Required - The URL of the website or web application that should be permitted to subscribe to the web push.
guid string
Required - The unique GUID of the push notifications instance.
pnApplicationChromeId string
(String) The unique identifier of the resource application for chrome.
serverKey string
Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
webSiteUrl string
Required - The URL of the website or web application that should be permitted to subscribe to the web push.
guid str
Required - The unique GUID of the push notifications instance.
pn_application_chrome_id str
(String) The unique identifier of the resource application for chrome.
server_key str
Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
web_site_url str
Required - The URL of the website or web application that should be permitted to subscribe to the web push.
guid String
Required - The unique GUID of the push notifications instance.
pnApplicationChromeId String
(String) The unique identifier of the resource application for chrome.
serverKey String
Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
webSiteUrl String
Required - The URL of the website or web application that should be permitted to subscribe to the web push.

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.