NotificationHubArgs

data class NotificationHubArgs(val admCredential: Output<AdmCredentialArgs>? = null, val apnsCredential: Output<ApnsCredentialArgs>? = null, val authorizationRules: Output<List<SharedAccessAuthorizationRulePropertiesArgs>>? = null, val baiduCredential: Output<BaiduCredentialArgs>? = null, val gcmCredential: Output<GcmCredentialArgs>? = null, val location: Output<String>? = null, val mpnsCredential: Output<MpnsCredentialArgs>? = null, val name: Output<String>? = null, val namespaceName: Output<String>? = null, val notificationHubName: Output<String>? = null, val registrationTtl: Output<String>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<SkuArgs>? = null, val tags: Output<Map<String, String>>? = null, val wnsCredential: Output<WnsCredentialArgs>? = null) : ConvertibleToJava<NotificationHubArgs>

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

Constructors

Link copied to clipboard
constructor(admCredential: Output<AdmCredentialArgs>? = null, apnsCredential: Output<ApnsCredentialArgs>? = null, authorizationRules: Output<List<SharedAccessAuthorizationRulePropertiesArgs>>? = null, baiduCredential: Output<BaiduCredentialArgs>? = null, gcmCredential: Output<GcmCredentialArgs>? = null, location: Output<String>? = null, mpnsCredential: Output<MpnsCredentialArgs>? = null, name: Output<String>? = null, namespaceName: Output<String>? = null, notificationHubName: Output<String>? = null, registrationTtl: Output<String>? = null, resourceGroupName: Output<String>? = null, sku: Output<SkuArgs>? = null, tags: Output<Map<String, String>>? = null, wnsCredential: Output<WnsCredentialArgs>? = null)

Properties

Link copied to clipboard
val admCredential: Output<AdmCredentialArgs>? = null

The AdmCredential of the created NotificationHub

Link copied to clipboard
val apnsCredential: Output<ApnsCredentialArgs>? = null

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
val gcmCredential: Output<GcmCredentialArgs>? = null

The GcmCredential of the created NotificationHub

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

Resource location

Link copied to clipboard
val mpnsCredential: Output<MpnsCredentialArgs>? = null

The MpnsCredential of the created NotificationHub

Link copied to clipboard
val name: Output<String>? = null

The NotificationHub name.

Link copied to clipboard
val namespaceName: Output<String>? = null

The namespace name.

Link copied to clipboard
val notificationHubName: Output<String>? = null

The notification hub name.

Link copied to clipboard
val registrationTtl: Output<String>? = null

The RegistrationTtl of the created NotificationHub

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group.

Link copied to clipboard
val sku: Output<SkuArgs>? = null

The sku of the created namespace

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

Resource tags

Link copied to clipboard
val wnsCredential: Output<WnsCredentialArgs>? = null

The WnsCredential of the created NotificationHub

Functions

Link copied to clipboard
open override fun toJava(): NotificationHubArgs