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",
});
import pulumi
import pulumi_ibm as ibm
application_chrome = ibm.PnApplicationChrome("applicationChrome",
guid="guid",
server_key="server_key",
web_site_url="web_site_url")
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
})
}
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",
});
});
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());
}
}
resources:
applicationChrome:
type: ibm:PnApplicationChrome
properties:
guid: guid
serverKey: server_key
webSiteUrl: web_site_url
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 string
- The unique name of the resource.
- args PnApplicationChromeArgs
- 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 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 string
- The unique name of the resource.
- args PnApplicationChromeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PnApplicationChromeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := ibm.NewPnApplicationChrome(ctx, "pnApplicationChromeResource", &ibm.PnApplicationChromeArgs{
Guid: pulumi.String("string"),
ServerKey: pulumi.String("string"),
WebSiteUrl: pulumi.String("string"),
PnApplicationChromeId: pulumi.String("string"),
})
var pnApplicationChromeResource = new PnApplicationChrome("pnApplicationChromeResource", PnApplicationChromeArgs.builder()
.guid("string")
.serverKey("string")
.webSiteUrl("string")
.pnApplicationChromeId("string")
.build());
pn_application_chrome_resource = ibm.PnApplicationChrome("pnApplicationChromeResource",
guid="string",
server_key="string",
web_site_url="string",
pn_application_chrome_id="string")
const pnApplicationChromeResource = new ibm.PnApplicationChrome("pnApplicationChromeResource", {
guid: "string",
serverKey: "string",
webSiteUrl: "string",
pnApplicationChromeId: "string",
});
type: ibm:PnApplicationChrome
properties:
guid: string
pnApplicationChromeId: string
serverKey: string
webSiteUrl: string
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 string
- Required - The unique GUID of the push notifications instance.
- Server
Key string - Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
- Web
Site stringUrl - Required - The URL of the website or web application that should be permitted to subscribe to the web push.
- Pn
Application stringChrome Id - (String) The unique identifier of the resource application for chrome.
- Guid string
- Required - The unique GUID of the push notifications instance.
- Server
Key string - Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
- Web
Site stringUrl - Required - The URL of the website or web application that should be permitted to subscribe to the web push.
- Pn
Application stringChrome Id - (String) The unique identifier of the resource application for chrome.
- guid String
- Required - The unique GUID of the push notifications instance.
- server
Key String - Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
- web
Site StringUrl - Required - The URL of the website or web application that should be permitted to subscribe to the web push.
- pn
Application StringChrome Id - (String) The unique identifier of the resource application for chrome.
- guid string
- Required - The unique GUID of the push notifications instance.
- server
Key string - Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
- web
Site stringUrl - Required - The URL of the website or web application that should be permitted to subscribe to the web push.
- pn
Application stringChrome Id - (String) The unique identifier of the resource application for chrome.
- guid str
- Required - The unique GUID of the push notifications instance.
- 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_ strurl - Required - The URL of the website or web application that should be permitted to subscribe to the web push.
- pn_
application_ strchrome_ id - (String) The unique identifier of the resource application for chrome.
- guid String
- Required - The unique GUID of the push notifications instance.
- server
Key String - Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
- web
Site StringUrl - Required - The URL of the website or web application that should be permitted to subscribe to the web push.
- pn
Application StringChrome Id - (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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Guid string
- Required - The unique GUID of the push notifications instance.
- Pn
Application stringChrome Id - (String) The unique identifier of the resource application for chrome.
- Server
Key string - Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
- Web
Site stringUrl - 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.
- Pn
Application stringChrome Id - (String) The unique identifier of the resource application for chrome.
- Server
Key string - Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
- Web
Site stringUrl - 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.
- pn
Application StringChrome Id - (String) The unique identifier of the resource application for chrome.
- server
Key String - Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
- web
Site StringUrl - 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.
- pn
Application stringChrome Id - (String) The unique identifier of the resource application for chrome.
- server
Key string - Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
- web
Site stringUrl - 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_ strchrome_ id - (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_ strurl - 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.
- pn
Application StringChrome Id - (String) The unique identifier of the resource application for chrome.
- server
Key String - Required - Server key that provides push notification service to authorize the access to Google services that is used for Chrome web push.
- web
Site StringUrl - 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.