NotificationHub

class NotificationHub : KotlinCustomResource

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", &notificationhubs.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

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

Properties

Link copied to clipboard

The AdmCredential of the created NotificationHub

Link copied to clipboard

The ApnsCredential of the created NotificationHub

Link copied to clipboard

The AuthorizationRules of the created NotificationHub

Link copied to clipboard

The BaiduCredential of the created NotificationHub

Link copied to clipboard

The GcmCredential of the created NotificationHub

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>?

Resource location

Link copied to clipboard

The MpnsCredential of the created NotificationHub

Link copied to clipboard
val name: Output<String>

Resource name

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val registrationTtl: Output<String>?

The RegistrationTtl of the created NotificationHub

Link copied to clipboard
val sku: Output<SkuResponse>?

The sku of the created namespace

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags

Link copied to clipboard
val type: Output<String>

Resource type

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

The WnsCredential of the created NotificationHub