azure-native.notificationhubs.NotificationHub
Explore with Pulumi AI
Description of a NotificationHub Resource. API Version: 2017-04-01.
Example Usage
NotificationHubCreate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var notificationHub = new AzureNative.NotificationHubs.NotificationHub("notificationHub", new()
{
Location = "eastus",
NamespaceName = "nh-sdk-ns",
NotificationHubName = "nh-sdk-hub",
ResourceGroupName = "5ktrial",
});
});
package main
import (
notificationhubs "github.com/pulumi/pulumi-azure-native-sdk/notificationhubs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := notificationhubs.NewNotificationHub(ctx, "notificationHub", ¬ificationhubs.NotificationHubArgs{
Location: pulumi.String("eastus"),
NamespaceName: pulumi.String("nh-sdk-ns"),
NotificationHubName: pulumi.String("nh-sdk-hub"),
ResourceGroupName: pulumi.String("5ktrial"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.notificationhubs.NotificationHub;
import com.pulumi.azurenative.notificationhubs.NotificationHubArgs;
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 notificationHub = new NotificationHub("notificationHub", NotificationHubArgs.builder()
.location("eastus")
.namespaceName("nh-sdk-ns")
.notificationHubName("nh-sdk-hub")
.resourceGroupName("5ktrial")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
notification_hub = azure_native.notificationhubs.NotificationHub("notificationHub",
location="eastus",
namespace_name="nh-sdk-ns",
notification_hub_name="nh-sdk-hub",
resource_group_name="5ktrial")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const notificationHub = new azure_native.notificationhubs.NotificationHub("notificationHub", {
location: "eastus",
namespaceName: "nh-sdk-ns",
notificationHubName: "nh-sdk-hub",
resourceGroupName: "5ktrial",
});
resources:
notificationHub:
type: azure-native:notificationhubs:NotificationHub
properties:
location: eastus
namespaceName: nh-sdk-ns
notificationHubName: nh-sdk-hub
resourceGroupName: 5ktrial
Create NotificationHub Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NotificationHub(name: string, args: NotificationHubArgs, opts?: CustomResourceOptions);
@overload
def NotificationHub(resource_name: str,
args: NotificationHubArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NotificationHub(resource_name: str,
opts: Optional[ResourceOptions] = None,
namespace_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
mpns_credential: Optional[MpnsCredentialArgs] = None,
baidu_credential: Optional[BaiduCredentialArgs] = None,
gcm_credential: Optional[GcmCredentialArgs] = None,
location: Optional[str] = None,
adm_credential: Optional[AdmCredentialArgs] = None,
name: Optional[str] = None,
authorization_rules: Optional[Sequence[SharedAccessAuthorizationRulePropertiesArgs]] = None,
notification_hub_name: Optional[str] = None,
registration_ttl: Optional[str] = None,
apns_credential: Optional[ApnsCredentialArgs] = None,
sku: Optional[SkuArgs] = None,
tags: Optional[Mapping[str, str]] = None,
wns_credential: Optional[WnsCredentialArgs] = None)
func NewNotificationHub(ctx *Context, name string, args NotificationHubArgs, opts ...ResourceOption) (*NotificationHub, error)
public NotificationHub(string name, NotificationHubArgs args, CustomResourceOptions? opts = null)
public NotificationHub(String name, NotificationHubArgs args)
public NotificationHub(String name, NotificationHubArgs args, CustomResourceOptions options)
type: azure-native:notificationhubs:NotificationHub
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 NotificationHubArgs
- 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 NotificationHubArgs
- 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 NotificationHubArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NotificationHubArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NotificationHubArgs
- 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 notificationHubResource = new AzureNative.Notificationhubs.NotificationHub("notificationHubResource", new()
{
NamespaceName = "string",
ResourceGroupName = "string",
MpnsCredential =
{
{ "certificateKey", "string" },
{ "mpnsCertificate", "string" },
{ "thumbprint", "string" },
},
BaiduCredential =
{
{ "baiduApiKey", "string" },
{ "baiduEndPoint", "string" },
{ "baiduSecretKey", "string" },
},
GcmCredential =
{
{ "gcmEndpoint", "string" },
{ "googleApiKey", "string" },
},
Location = "string",
AdmCredential =
{
{ "authTokenUrl", "string" },
{ "clientId", "string" },
{ "clientSecret", "string" },
},
Name = "string",
AuthorizationRules = new[]
{
{
{ "rights", new[]
{
"Manage",
} },
},
},
NotificationHubName = "string",
RegistrationTtl = "string",
ApnsCredential =
{
{ "apnsCertificate", "string" },
{ "appId", "string" },
{ "appName", "string" },
{ "certificateKey", "string" },
{ "endpoint", "string" },
{ "keyId", "string" },
{ "thumbprint", "string" },
{ "token", "string" },
},
Sku =
{
{ "name", "string" },
{ "capacity", 0 },
{ "family", "string" },
{ "size", "string" },
{ "tier", "string" },
},
Tags =
{
{ "string", "string" },
},
WnsCredential =
{
{ "packageSid", "string" },
{ "secretKey", "string" },
{ "windowsLiveEndpoint", "string" },
},
});
example, err := notificationhubs.NewNotificationHub(ctx, "notificationHubResource", ¬ificationhubs.NotificationHubArgs{
NamespaceName: "string",
ResourceGroupName: "string",
MpnsCredential: map[string]interface{}{
"certificateKey": "string",
"mpnsCertificate": "string",
"thumbprint": "string",
},
BaiduCredential: map[string]interface{}{
"baiduApiKey": "string",
"baiduEndPoint": "string",
"baiduSecretKey": "string",
},
GcmCredential: map[string]interface{}{
"gcmEndpoint": "string",
"googleApiKey": "string",
},
Location: "string",
AdmCredential: map[string]interface{}{
"authTokenUrl": "string",
"clientId": "string",
"clientSecret": "string",
},
Name: "string",
AuthorizationRules: []map[string]interface{}{
map[string]interface{}{
"rights": []string{
"Manage",
},
},
},
NotificationHubName: "string",
RegistrationTtl: "string",
ApnsCredential: map[string]interface{}{
"apnsCertificate": "string",
"appId": "string",
"appName": "string",
"certificateKey": "string",
"endpoint": "string",
"keyId": "string",
"thumbprint": "string",
"token": "string",
},
Sku: map[string]interface{}{
"name": "string",
"capacity": 0,
"family": "string",
"size": "string",
"tier": "string",
},
Tags: map[string]interface{}{
"string": "string",
},
WnsCredential: map[string]interface{}{
"packageSid": "string",
"secretKey": "string",
"windowsLiveEndpoint": "string",
},
})
var notificationHubResource = new NotificationHub("notificationHubResource", NotificationHubArgs.builder()
.namespaceName("string")
.resourceGroupName("string")
.mpnsCredential(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.baiduCredential(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.gcmCredential(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.location("string")
.admCredential(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.name("string")
.authorizationRules(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.notificationHubName("string")
.registrationTtl("string")
.apnsCredential(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.wnsCredential(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
notification_hub_resource = azure_native.notificationhubs.NotificationHub("notificationHubResource",
namespace_name=string,
resource_group_name=string,
mpns_credential={
certificateKey: string,
mpnsCertificate: string,
thumbprint: string,
},
baidu_credential={
baiduApiKey: string,
baiduEndPoint: string,
baiduSecretKey: string,
},
gcm_credential={
gcmEndpoint: string,
googleApiKey: string,
},
location=string,
adm_credential={
authTokenUrl: string,
clientId: string,
clientSecret: string,
},
name=string,
authorization_rules=[{
rights: [Manage],
}],
notification_hub_name=string,
registration_ttl=string,
apns_credential={
apnsCertificate: string,
appId: string,
appName: string,
certificateKey: string,
endpoint: string,
keyId: string,
thumbprint: string,
token: string,
},
sku={
name: string,
capacity: 0,
family: string,
size: string,
tier: string,
},
tags={
string: string,
},
wns_credential={
packageSid: string,
secretKey: string,
windowsLiveEndpoint: string,
})
const notificationHubResource = new azure_native.notificationhubs.NotificationHub("notificationHubResource", {
namespaceName: "string",
resourceGroupName: "string",
mpnsCredential: {
certificateKey: "string",
mpnsCertificate: "string",
thumbprint: "string",
},
baiduCredential: {
baiduApiKey: "string",
baiduEndPoint: "string",
baiduSecretKey: "string",
},
gcmCredential: {
gcmEndpoint: "string",
googleApiKey: "string",
},
location: "string",
admCredential: {
authTokenUrl: "string",
clientId: "string",
clientSecret: "string",
},
name: "string",
authorizationRules: [{
rights: ["Manage"],
}],
notificationHubName: "string",
registrationTtl: "string",
apnsCredential: {
apnsCertificate: "string",
appId: "string",
appName: "string",
certificateKey: "string",
endpoint: "string",
keyId: "string",
thumbprint: "string",
token: "string",
},
sku: {
name: "string",
capacity: 0,
family: "string",
size: "string",
tier: "string",
},
tags: {
string: "string",
},
wnsCredential: {
packageSid: "string",
secretKey: "string",
windowsLiveEndpoint: "string",
},
});
type: azure-native:notificationhubs:NotificationHub
properties:
admCredential:
authTokenUrl: string
clientId: string
clientSecret: string
apnsCredential:
apnsCertificate: string
appId: string
appName: string
certificateKey: string
endpoint: string
keyId: string
thumbprint: string
token: string
authorizationRules:
- rights:
- Manage
baiduCredential:
baiduApiKey: string
baiduEndPoint: string
baiduSecretKey: string
gcmCredential:
gcmEndpoint: string
googleApiKey: string
location: string
mpnsCredential:
certificateKey: string
mpnsCertificate: string
thumbprint: string
name: string
namespaceName: string
notificationHubName: string
registrationTtl: string
resourceGroupName: string
sku:
capacity: 0
family: string
name: string
size: string
tier: string
tags:
string: string
wnsCredential:
packageSid: string
secretKey: string
windowsLiveEndpoint: string
NotificationHub 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 NotificationHub resource accepts the following input properties:
- Namespace
Name string - The namespace name.
- Resource
Group stringName - The name of the resource group.
- Adm
Credential Pulumi.Azure Native. Notification Hubs. Inputs. Adm Credential - The AdmCredential of the created NotificationHub
- Apns
Credential Pulumi.Azure Native. Notification Hubs. Inputs. Apns Credential - The ApnsCredential of the created NotificationHub
- List<Pulumi.
Azure Native. Notification Hubs. Inputs. Shared Access Authorization Rule Properties> - The AuthorizationRules of the created NotificationHub
- Baidu
Credential Pulumi.Azure Native. Notification Hubs. Inputs. Baidu Credential - The BaiduCredential of the created NotificationHub
- Gcm
Credential Pulumi.Azure Native. Notification Hubs. Inputs. Gcm Credential - The GcmCredential of the created NotificationHub
- Location string
- Resource location
- Mpns
Credential Pulumi.Azure Native. Notification Hubs. Inputs. Mpns Credential - The MpnsCredential of the created NotificationHub
- Name string
- The NotificationHub name.
- Notification
Hub stringName - The notification hub name.
- Registration
Ttl string - The RegistrationTtl of the created NotificationHub
- Sku
Pulumi.
Azure Native. Notification Hubs. Inputs. Sku - The sku of the created namespace
- Dictionary<string, string>
- Resource tags
- Wns
Credential Pulumi.Azure Native. Notification Hubs. Inputs. Wns Credential - The WnsCredential of the created NotificationHub
- Namespace
Name string - The namespace name.
- Resource
Group stringName - The name of the resource group.
- Adm
Credential AdmCredential Args - The AdmCredential of the created NotificationHub
- Apns
Credential ApnsCredential Args - The ApnsCredential of the created NotificationHub
- []Shared
Access Authorization Rule Properties Args - The AuthorizationRules of the created NotificationHub
- Baidu
Credential BaiduCredential Args - The BaiduCredential of the created NotificationHub
- Gcm
Credential GcmCredential Args - The GcmCredential of the created NotificationHub
- Location string
- Resource location
- Mpns
Credential MpnsCredential Args - The MpnsCredential of the created NotificationHub
- Name string
- The NotificationHub name.
- Notification
Hub stringName - The notification hub name.
- Registration
Ttl string - The RegistrationTtl of the created NotificationHub
- Sku
Sku
Args - The sku of the created namespace
- map[string]string
- Resource tags
- Wns
Credential WnsCredential Args - The WnsCredential of the created NotificationHub
- namespace
Name String - The namespace name.
- resource
Group StringName - The name of the resource group.
- adm
Credential AdmCredential - The AdmCredential of the created NotificationHub
- apns
Credential ApnsCredential - The ApnsCredential of the created NotificationHub
- List<Shared
Access Authorization Rule Properties> - The AuthorizationRules of the created NotificationHub
- baidu
Credential BaiduCredential - The BaiduCredential of the created NotificationHub
- gcm
Credential GcmCredential - The GcmCredential of the created NotificationHub
- location String
- Resource location
- mpns
Credential MpnsCredential - The MpnsCredential of the created NotificationHub
- name String
- The NotificationHub name.
- notification
Hub StringName - The notification hub name.
- registration
Ttl String - The RegistrationTtl of the created NotificationHub
- sku Sku
- The sku of the created namespace
- Map<String,String>
- Resource tags
- wns
Credential WnsCredential - The WnsCredential of the created NotificationHub
- namespace
Name string - The namespace name.
- resource
Group stringName - The name of the resource group.
- adm
Credential AdmCredential - The AdmCredential of the created NotificationHub
- apns
Credential ApnsCredential - The ApnsCredential of the created NotificationHub
- Shared
Access Authorization Rule Properties[] - The AuthorizationRules of the created NotificationHub
- baidu
Credential BaiduCredential - The BaiduCredential of the created NotificationHub
- gcm
Credential GcmCredential - The GcmCredential of the created NotificationHub
- location string
- Resource location
- mpns
Credential MpnsCredential - The MpnsCredential of the created NotificationHub
- name string
- The NotificationHub name.
- notification
Hub stringName - The notification hub name.
- registration
Ttl string - The RegistrationTtl of the created NotificationHub
- sku Sku
- The sku of the created namespace
- {[key: string]: string}
- Resource tags
- wns
Credential WnsCredential - The WnsCredential of the created NotificationHub
- namespace_
name str - The namespace name.
- resource_
group_ strname - The name of the resource group.
- adm_
credential AdmCredential Args - The AdmCredential of the created NotificationHub
- apns_
credential ApnsCredential Args - The ApnsCredential of the created NotificationHub
- Sequence[Shared
Access Authorization Rule Properties Args] - The AuthorizationRules of the created NotificationHub
- baidu_
credential BaiduCredential Args - The BaiduCredential of the created NotificationHub
- gcm_
credential GcmCredential Args - The GcmCredential of the created NotificationHub
- location str
- Resource location
- mpns_
credential MpnsCredential Args - The MpnsCredential of the created NotificationHub
- name str
- The NotificationHub name.
- notification_
hub_ strname - The notification hub name.
- registration_
ttl str - The RegistrationTtl of the created NotificationHub
- sku
Sku
Args - The sku of the created namespace
- Mapping[str, str]
- Resource tags
- wns_
credential WnsCredential Args - The WnsCredential of the created NotificationHub
- namespace
Name String - The namespace name.
- resource
Group StringName - The name of the resource group.
- adm
Credential Property Map - The AdmCredential of the created NotificationHub
- apns
Credential Property Map - The ApnsCredential of the created NotificationHub
- List<Property Map>
- The AuthorizationRules of the created NotificationHub
- baidu
Credential Property Map - The BaiduCredential of the created NotificationHub
- gcm
Credential Property Map - The GcmCredential of the created NotificationHub
- location String
- Resource location
- mpns
Credential Property Map - The MpnsCredential of the created NotificationHub
- name String
- The NotificationHub name.
- notification
Hub StringName - The notification hub name.
- registration
Ttl String - The RegistrationTtl of the created NotificationHub
- sku Property Map
- The sku of the created namespace
- Map<String>
- Resource tags
- wns
Credential Property Map - The WnsCredential of the created NotificationHub
Outputs
All input properties are implicitly available as output properties. Additionally, the NotificationHub resource produces the following output properties:
Supporting Types
AccessRights, AccessRightsArgs
- Manage
- Manage
- Send
- Send
- Listen
- Listen
- Access
Rights Manage - Manage
- Access
Rights Send - Send
- Access
Rights Listen - Listen
- Manage
- Manage
- Send
- Send
- Listen
- Listen
- Manage
- Manage
- Send
- Send
- Listen
- Listen
- MANAGE
- Manage
- SEND
- Send
- LISTEN
- Listen
- "Manage"
- Manage
- "Send"
- Send
- "Listen"
- Listen
AdmCredential, AdmCredentialArgs
- Auth
Token stringUrl - The URL of the authorization token.
- Client
Id string - The client identifier.
- Client
Secret string - The credential secret access key.
- Auth
Token stringUrl - The URL of the authorization token.
- Client
Id string - The client identifier.
- Client
Secret string - The credential secret access key.
- auth
Token StringUrl - The URL of the authorization token.
- client
Id String - The client identifier.
- client
Secret String - The credential secret access key.
- auth
Token stringUrl - The URL of the authorization token.
- client
Id string - The client identifier.
- client
Secret string - The credential secret access key.
- auth_
token_ strurl - The URL of the authorization token.
- client_
id str - The client identifier.
- client_
secret str - The credential secret access key.
- auth
Token StringUrl - The URL of the authorization token.
- client
Id String - The client identifier.
- client
Secret String - The credential secret access key.
AdmCredentialResponse, AdmCredentialResponseArgs
- Auth
Token stringUrl - The URL of the authorization token.
- Client
Id string - The client identifier.
- Client
Secret string - The credential secret access key.
- Auth
Token stringUrl - The URL of the authorization token.
- Client
Id string - The client identifier.
- Client
Secret string - The credential secret access key.
- auth
Token StringUrl - The URL of the authorization token.
- client
Id String - The client identifier.
- client
Secret String - The credential secret access key.
- auth
Token stringUrl - The URL of the authorization token.
- client
Id string - The client identifier.
- client
Secret string - The credential secret access key.
- auth_
token_ strurl - The URL of the authorization token.
- client_
id str - The client identifier.
- client_
secret str - The credential secret access key.
- auth
Token StringUrl - The URL of the authorization token.
- client
Id String - The client identifier.
- client
Secret String - The credential secret access key.
ApnsCredential, ApnsCredentialArgs
- Apns
Certificate string - The APNS certificate. Specify if using Certificate Authentication Mode.
- App
Id string - The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.
- App
Name string - The name of the application or BundleId. Specify if using Token Authentication Mode.
- Certificate
Key string - The APNS certificate password if it exists.
- Endpoint string
- The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.
- Key
Id string - A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.
- Thumbprint string
- The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.
- Token string
- Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.
- Apns
Certificate string - The APNS certificate. Specify if using Certificate Authentication Mode.
- App
Id string - The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.
- App
Name string - The name of the application or BundleId. Specify if using Token Authentication Mode.
- Certificate
Key string - The APNS certificate password if it exists.
- Endpoint string
- The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.
- Key
Id string - A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.
- Thumbprint string
- The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.
- Token string
- Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.
- apns
Certificate String - The APNS certificate. Specify if using Certificate Authentication Mode.
- app
Id String - The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.
- app
Name String - The name of the application or BundleId. Specify if using Token Authentication Mode.
- certificate
Key String - The APNS certificate password if it exists.
- endpoint String
- The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.
- key
Id String - A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.
- thumbprint String
- The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.
- token String
- Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.
- apns
Certificate string - The APNS certificate. Specify if using Certificate Authentication Mode.
- app
Id string - The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.
- app
Name string - The name of the application or BundleId. Specify if using Token Authentication Mode.
- certificate
Key string - The APNS certificate password if it exists.
- endpoint string
- The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.
- key
Id string - A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.
- thumbprint string
- The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.
- token string
- Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.
- apns_
certificate str - The APNS certificate. Specify if using Certificate Authentication Mode.
- app_
id str - The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.
- app_
name str - The name of the application or BundleId. Specify if using Token Authentication Mode.
- certificate_
key str - The APNS certificate password if it exists.
- endpoint str
- The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.
- key_
id str - A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.
- thumbprint str
- The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.
- token str
- Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.
- apns
Certificate String - The APNS certificate. Specify if using Certificate Authentication Mode.
- app
Id String - The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.
- app
Name String - The name of the application or BundleId. Specify if using Token Authentication Mode.
- certificate
Key String - The APNS certificate password if it exists.
- endpoint String
- The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.
- key
Id String - A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.
- thumbprint String
- The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.
- token String
- Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.
ApnsCredentialResponse, ApnsCredentialResponseArgs
- Apns
Certificate string - The APNS certificate. Specify if using Certificate Authentication Mode.
- App
Id string - The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.
- App
Name string - The name of the application or BundleId. Specify if using Token Authentication Mode.
- Certificate
Key string - The APNS certificate password if it exists.
- Endpoint string
- The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.
- Key
Id string - A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.
- Thumbprint string
- The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.
- Token string
- Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.
- Apns
Certificate string - The APNS certificate. Specify if using Certificate Authentication Mode.
- App
Id string - The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.
- App
Name string - The name of the application or BundleId. Specify if using Token Authentication Mode.
- Certificate
Key string - The APNS certificate password if it exists.
- Endpoint string
- The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.
- Key
Id string - A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.
- Thumbprint string
- The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.
- Token string
- Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.
- apns
Certificate String - The APNS certificate. Specify if using Certificate Authentication Mode.
- app
Id String - The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.
- app
Name String - The name of the application or BundleId. Specify if using Token Authentication Mode.
- certificate
Key String - The APNS certificate password if it exists.
- endpoint String
- The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.
- key
Id String - A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.
- thumbprint String
- The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.
- token String
- Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.
- apns
Certificate string - The APNS certificate. Specify if using Certificate Authentication Mode.
- app
Id string - The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.
- app
Name string - The name of the application or BundleId. Specify if using Token Authentication Mode.
- certificate
Key string - The APNS certificate password if it exists.
- endpoint string
- The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.
- key
Id string - A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.
- thumbprint string
- The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.
- token string
- Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.
- apns_
certificate str - The APNS certificate. Specify if using Certificate Authentication Mode.
- app_
id str - The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.
- app_
name str - The name of the application or BundleId. Specify if using Token Authentication Mode.
- certificate_
key str - The APNS certificate password if it exists.
- endpoint str
- The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.
- key_
id str - A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.
- thumbprint str
- The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.
- token str
- Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.
- apns
Certificate String - The APNS certificate. Specify if using Certificate Authentication Mode.
- app
Id String - The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.
- app
Name String - The name of the application or BundleId. Specify if using Token Authentication Mode.
- certificate
Key String - The APNS certificate password if it exists.
- endpoint String
- The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.
- key
Id String - A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.
- thumbprint String
- The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.
- token String
- Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.
BaiduCredential, BaiduCredentialArgs
- Baidu
Api stringKey - Baidu Api Key.
- Baidu
End stringPoint - Baidu Endpoint.
- Baidu
Secret stringKey - Baidu Secret Key
- Baidu
Api stringKey - Baidu Api Key.
- Baidu
End stringPoint - Baidu Endpoint.
- Baidu
Secret stringKey - Baidu Secret Key
- baidu
Api StringKey - Baidu Api Key.
- baidu
End StringPoint - Baidu Endpoint.
- baidu
Secret StringKey - Baidu Secret Key
- baidu
Api stringKey - Baidu Api Key.
- baidu
End stringPoint - Baidu Endpoint.
- baidu
Secret stringKey - Baidu Secret Key
- baidu_
api_ strkey - Baidu Api Key.
- baidu_
end_ strpoint - Baidu Endpoint.
- baidu_
secret_ strkey - Baidu Secret Key
- baidu
Api StringKey - Baidu Api Key.
- baidu
End StringPoint - Baidu Endpoint.
- baidu
Secret StringKey - Baidu Secret Key
BaiduCredentialResponse, BaiduCredentialResponseArgs
- Baidu
Api stringKey - Baidu Api Key.
- Baidu
End stringPoint - Baidu Endpoint.
- Baidu
Secret stringKey - Baidu Secret Key
- Baidu
Api stringKey - Baidu Api Key.
- Baidu
End stringPoint - Baidu Endpoint.
- Baidu
Secret stringKey - Baidu Secret Key
- baidu
Api StringKey - Baidu Api Key.
- baidu
End StringPoint - Baidu Endpoint.
- baidu
Secret StringKey - Baidu Secret Key
- baidu
Api stringKey - Baidu Api Key.
- baidu
End stringPoint - Baidu Endpoint.
- baidu
Secret stringKey - Baidu Secret Key
- baidu_
api_ strkey - Baidu Api Key.
- baidu_
end_ strpoint - Baidu Endpoint.
- baidu_
secret_ strkey - Baidu Secret Key
- baidu
Api StringKey - Baidu Api Key.
- baidu
End StringPoint - Baidu Endpoint.
- baidu
Secret StringKey - Baidu Secret Key
GcmCredential, GcmCredentialArgs
- Gcm
Endpoint string - The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'
- Google
Api stringKey - The Google API key.
- Gcm
Endpoint string - The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'
- Google
Api stringKey - The Google API key.
- gcm
Endpoint String - The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'
- google
Api StringKey - The Google API key.
- gcm
Endpoint string - The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'
- google
Api stringKey - The Google API key.
- gcm_
endpoint str - The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'
- google_
api_ strkey - The Google API key.
- gcm
Endpoint String - The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'
- google
Api StringKey - The Google API key.
GcmCredentialResponse, GcmCredentialResponseArgs
- Gcm
Endpoint string - The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'
- Google
Api stringKey - The Google API key.
- Gcm
Endpoint string - The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'
- Google
Api stringKey - The Google API key.
- gcm
Endpoint String - The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'
- google
Api StringKey - The Google API key.
- gcm
Endpoint string - The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'
- google
Api stringKey - The Google API key.
- gcm_
endpoint str - The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'
- google_
api_ strkey - The Google API key.
- gcm
Endpoint String - The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'
- google
Api StringKey - The Google API key.
MpnsCredential, MpnsCredentialArgs
- Certificate
Key string - The certificate key for this credential.
- Mpns
Certificate string - The MPNS certificate.
- Thumbprint string
- The MPNS certificate Thumbprint
- Certificate
Key string - The certificate key for this credential.
- Mpns
Certificate string - The MPNS certificate.
- Thumbprint string
- The MPNS certificate Thumbprint
- certificate
Key String - The certificate key for this credential.
- mpns
Certificate String - The MPNS certificate.
- thumbprint String
- The MPNS certificate Thumbprint
- certificate
Key string - The certificate key for this credential.
- mpns
Certificate string - The MPNS certificate.
- thumbprint string
- The MPNS certificate Thumbprint
- certificate_
key str - The certificate key for this credential.
- mpns_
certificate str - The MPNS certificate.
- thumbprint str
- The MPNS certificate Thumbprint
- certificate
Key String - The certificate key for this credential.
- mpns
Certificate String - The MPNS certificate.
- thumbprint String
- The MPNS certificate Thumbprint
MpnsCredentialResponse, MpnsCredentialResponseArgs
- Certificate
Key string - The certificate key for this credential.
- Mpns
Certificate string - The MPNS certificate.
- Thumbprint string
- The MPNS certificate Thumbprint
- Certificate
Key string - The certificate key for this credential.
- Mpns
Certificate string - The MPNS certificate.
- Thumbprint string
- The MPNS certificate Thumbprint
- certificate
Key String - The certificate key for this credential.
- mpns
Certificate String - The MPNS certificate.
- thumbprint String
- The MPNS certificate Thumbprint
- certificate
Key string - The certificate key for this credential.
- mpns
Certificate string - The MPNS certificate.
- thumbprint string
- The MPNS certificate Thumbprint
- certificate_
key str - The certificate key for this credential.
- mpns_
certificate str - The MPNS certificate.
- thumbprint str
- The MPNS certificate Thumbprint
- certificate
Key String - The certificate key for this credential.
- mpns
Certificate String - The MPNS certificate.
- thumbprint String
- The MPNS certificate Thumbprint
SharedAccessAuthorizationRuleProperties, SharedAccessAuthorizationRulePropertiesArgs
- Rights
List<Pulumi.
Azure Native. Notification Hubs. Access Rights> - The rights associated with the rule.
- Rights
[]Access
Rights - The rights associated with the rule.
- rights
List<Access
Rights> - The rights associated with the rule.
- rights
Access
Rights[] - The rights associated with the rule.
- rights
Sequence[Access
Rights] - The rights associated with the rule.
- rights List<"Manage" | "Send" | "Listen">
- The rights associated with the rule.
SharedAccessAuthorizationRulePropertiesResponse, SharedAccessAuthorizationRulePropertiesResponseArgs
- Claim
Type string - A string that describes the claim type
- Claim
Value string - A string that describes the claim value
- Created
Time string - The created time for this rule
- Key
Name string - A string that describes the authorization rule.
- Modified
Time string - The last modified time for this rule
- Primary
Key string - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- Revision int
- The revision number for the rule
- Secondary
Key string - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- Rights List<string>
- The rights associated with the rule.
- Claim
Type string - A string that describes the claim type
- Claim
Value string - A string that describes the claim value
- Created
Time string - The created time for this rule
- Key
Name string - A string that describes the authorization rule.
- Modified
Time string - The last modified time for this rule
- Primary
Key string - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- Revision int
- The revision number for the rule
- Secondary
Key string - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- Rights []string
- The rights associated with the rule.
- claim
Type String - A string that describes the claim type
- claim
Value String - A string that describes the claim value
- created
Time String - The created time for this rule
- key
Name String - A string that describes the authorization rule.
- modified
Time String - The last modified time for this rule
- primary
Key String - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- revision Integer
- The revision number for the rule
- secondary
Key String - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- rights List<String>
- The rights associated with the rule.
- claim
Type string - A string that describes the claim type
- claim
Value string - A string that describes the claim value
- created
Time string - The created time for this rule
- key
Name string - A string that describes the authorization rule.
- modified
Time string - The last modified time for this rule
- primary
Key string - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- revision number
- The revision number for the rule
- secondary
Key string - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- rights string[]
- The rights associated with the rule.
- claim_
type str - A string that describes the claim type
- claim_
value str - A string that describes the claim value
- created_
time str - The created time for this rule
- key_
name str - A string that describes the authorization rule.
- modified_
time str - The last modified time for this rule
- primary_
key str - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- revision int
- The revision number for the rule
- secondary_
key str - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- rights Sequence[str]
- The rights associated with the rule.
- claim
Type String - A string that describes the claim type
- claim
Value String - A string that describes the claim value
- created
Time String - The created time for this rule
- key
Name String - A string that describes the authorization rule.
- modified
Time String - The last modified time for this rule
- primary
Key String - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- revision Number
- The revision number for the rule
- secondary
Key String - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- rights List<String>
- The rights associated with the rule.
Sku, SkuArgs
SkuName, SkuNameArgs
- Free
- Free
- Basic
- Basic
- Standard
- Standard
- Sku
Name Free - Free
- Sku
Name Basic - Basic
- Sku
Name Standard - Standard
- Free
- Free
- Basic
- Basic
- Standard
- Standard
- Free
- Free
- Basic
- Basic
- Standard
- Standard
- FREE
- Free
- BASIC
- Basic
- STANDARD
- Standard
- "Free"
- Free
- "Basic"
- Basic
- "Standard"
- Standard
SkuResponse, SkuResponseArgs
WnsCredential, WnsCredentialArgs
- Package
Sid string - The package ID for this credential.
- Secret
Key string - The secret key.
- Windows
Live stringEndpoint - The Windows Live endpoint.
- Package
Sid string - The package ID for this credential.
- Secret
Key string - The secret key.
- Windows
Live stringEndpoint - The Windows Live endpoint.
- package
Sid String - The package ID for this credential.
- secret
Key String - The secret key.
- windows
Live StringEndpoint - The Windows Live endpoint.
- package
Sid string - The package ID for this credential.
- secret
Key string - The secret key.
- windows
Live stringEndpoint - The Windows Live endpoint.
- package_
sid str - The package ID for this credential.
- secret_
key str - The secret key.
- windows_
live_ strendpoint - The Windows Live endpoint.
- package
Sid String - The package ID for this credential.
- secret
Key String - The secret key.
- windows
Live StringEndpoint - The Windows Live endpoint.
WnsCredentialResponse, WnsCredentialResponseArgs
- Package
Sid string - The package ID for this credential.
- Secret
Key string - The secret key.
- Windows
Live stringEndpoint - The Windows Live endpoint.
- Package
Sid string - The package ID for this credential.
- Secret
Key string - The secret key.
- Windows
Live stringEndpoint - The Windows Live endpoint.
- package
Sid String - The package ID for this credential.
- secret
Key String - The secret key.
- windows
Live StringEndpoint - The Windows Live endpoint.
- package
Sid string - The package ID for this credential.
- secret
Key string - The secret key.
- windows
Live stringEndpoint - The Windows Live endpoint.
- package_
sid str - The package ID for this credential.
- secret_
key str - The secret key.
- windows_
live_ strendpoint - The Windows Live endpoint.
- package
Sid String - The package ID for this credential.
- secret
Key String - The secret key.
- windows
Live StringEndpoint - The Windows Live endpoint.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:notificationhubs:NotificationHub nh-sdk-hub /subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/sdkresourceGroup/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/nh-sdk-hub
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0