Fork me on GitHub

Module notificationhub

@pulumi/azure > notificationhub

Index

notificationhub/authorizationRule.ts notificationhub/getHub.ts notificationhub/getNamespace.ts notificationhub/hub.ts notificationhub/namespace.ts

class AuthorizationRule

Manages an Authorization Rule associated with a Notification Hub within a Notification Hub Namespace.

constructor

new AuthorizationRule(name: string, args: AuthorizationRuleArgs, opts?: pulumi.CustomResourceOptions)

Create a AuthorizationRule resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AuthorizationRuleState): AuthorizationRule

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property listen

public listen: pulumi.Output<boolean | undefined>;

Does this Authorization Rule have Listen access to the Notification Hub? Defaults to false.

property manage

public manage: pulumi.Output<boolean | undefined>;

Does this Authorization Rule have Manage access to the Notification Hub? Defaults to false.

property name

public name: pulumi.Output<string>;

The name to use for this Authorization Rule. Changing this forces a new resource to be created.

property namespaceName

public namespaceName: pulumi.Output<string>;

The name of the Notification Hub Namespace in which the Notification Hub exists. Changing this forces a new resource to be created.

property notificationHubName

public notificationHubName: pulumi.Output<string>;

The name of the Notification Hub for which the Authorization Rule should be created. Changing this forces a new resource to be created.

property primaryAccessKey

public primaryAccessKey: pulumi.Output<string>;

The Primary Access Key associated with this Authorization Rule.

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

The name of the Resource Group in which the Notification Hub Namespace exists. Changing this forces a new resource to be created.

property secondaryAccessKey

public secondaryAccessKey: pulumi.Output<string>;

The Secondary Access Key associated with this Authorization Rule.

property send

public send: pulumi.Output<boolean | undefined>;

Does this Authorization Rule have Send access to the Notification Hub? Defaults to false.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Hub

Manages a Notification Hub within a Notification Hub Namespace.

constructor

new Hub(name: string, args: HubArgs, opts?: pulumi.CustomResourceOptions)

Create a Hub resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HubState): Hub

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property apnsCredential

public apnsCredential: pulumi.Output<{ ... } | undefined>;

A apns_credential block as defined below.

property gcmCredential

public gcmCredential: pulumi.Output<{ ... } | undefined>;

A gcm_credential block as defined below.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property location

public location: pulumi.Output<string>;

The Azure Region in which this Notification Hub Namespace exists. Changing this forces a new resource to be created.

property name

public name: pulumi.Output<string>;

The name to use for this Notification Hub. Changing this forces a new resource to be created.

property namespaceName

public namespaceName: pulumi.Output<string>;

The name of the Notification Hub Namespace in which to create this Notification Hub. Changing this forces a new resource to be created.

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

The name of the Resource Group in which the Notification Hub Namespace exists. Changing this forces a new resource to be created.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Namespace

Manages a Notification Hub Namespace.

constructor

new Namespace(name: string, args: NamespaceArgs, opts?: pulumi.CustomResourceOptions)

Create a Namespace resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NamespaceState): Namespace

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property enabled

public enabled: pulumi.Output<boolean | undefined>;

Is this Notification Hub Namespace enabled? Defaults to true.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property location

public location: pulumi.Output<string>;

The Azure Region in which this Notification Hub Namespace should be created.

property name

public name: pulumi.Output<string>;

The name to use for this Notification Hub Namespace. Changing this forces a new resource to be created.

property namespaceType

public namespaceType: pulumi.Output<string>;

The Type of Namespace - possible values are Messaging or NotificationHub. Changing this forces a new resource to be created.

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

The name of the Resource Group in which the Notification Hub Namespace should exist. Changing this forces a new resource to be created.

property servicebusEndpoint

public servicebusEndpoint: pulumi.Output<string>;

The ServiceBus Endpoint for this Notification Hub Namespace.

property sku

public sku: pulumi.Output<{ ... }>;

A sku block as defined below.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

function getHub

getHub(args: GetHubArgs, opts?: pulumi.InvokeOptions): Promise<GetHubResult>

Gets information about the specified Notification Hub within a Notification Hub Namespace.

function getNamespace

getNamespace(args: GetNamespaceArgs, opts?: pulumi.InvokeOptions): Promise<GetNamespaceResult>

Gets information about the specified Notification Hub Namespace.

interface AuthorizationRuleArgs

The set of arguments for constructing a AuthorizationRule resource.

property listen

listen?: pulumi.Input<boolean>;

Does this Authorization Rule have Listen access to the Notification Hub? Defaults to false.

property manage

manage?: pulumi.Input<boolean>;

Does this Authorization Rule have Manage access to the Notification Hub? Defaults to false.

property name

name?: pulumi.Input<string>;

The name to use for this Authorization Rule. Changing this forces a new resource to be created.

property namespaceName

namespaceName: pulumi.Input<string>;

The name of the Notification Hub Namespace in which the Notification Hub exists. Changing this forces a new resource to be created.

property notificationHubName

notificationHubName: pulumi.Input<string>;

The name of the Notification Hub for which the Authorization Rule should be created. Changing this forces a new resource to be created.

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

The name of the Resource Group in which the Notification Hub Namespace exists. Changing this forces a new resource to be created.

property send

send?: pulumi.Input<boolean>;

Does this Authorization Rule have Send access to the Notification Hub? Defaults to false.

interface AuthorizationRuleState

Input properties used for looking up and filtering AuthorizationRule resources.

property listen

listen?: pulumi.Input<boolean>;

Does this Authorization Rule have Listen access to the Notification Hub? Defaults to false.

property manage

manage?: pulumi.Input<boolean>;

Does this Authorization Rule have Manage access to the Notification Hub? Defaults to false.

property name

name?: pulumi.Input<string>;

The name to use for this Authorization Rule. Changing this forces a new resource to be created.

property namespaceName

namespaceName?: pulumi.Input<string>;

The name of the Notification Hub Namespace in which the Notification Hub exists. Changing this forces a new resource to be created.

property notificationHubName

notificationHubName?: pulumi.Input<string>;

The name of the Notification Hub for which the Authorization Rule should be created. Changing this forces a new resource to be created.

property primaryAccessKey

primaryAccessKey?: pulumi.Input<string>;

The Primary Access Key associated with this Authorization Rule.

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

The name of the Resource Group in which the Notification Hub Namespace exists. Changing this forces a new resource to be created.

property secondaryAccessKey

secondaryAccessKey?: pulumi.Input<string>;

The Secondary Access Key associated with this Authorization Rule.

property send

send?: pulumi.Input<boolean>;

Does this Authorization Rule have Send access to the Notification Hub? Defaults to false.

interface GetHubArgs

A collection of arguments for invoking getHub.

property name

name: string;

Specifies the Name of the Notification Hub.

property namespaceName

namespaceName: string;

Specifies the Name of the Notification Hub Namespace which contains the Notification Hub.

property resourceGroupName

resourceGroupName: string;

Specifies the Name of the Resource Group within which the Notification Hub exists.

interface GetHubResult

A collection of values returned by getHub.

property apnsCredentials

apnsCredentials: { ... }[];

A apns_credential block as defined below.

property gcmCredentials

gcmCredentials: { ... }[];

A gcm_credential block as defined below.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property location

location: string;

The Azure Region in which this Notification Hub exists.

interface GetNamespaceArgs

A collection of arguments for invoking getNamespace.

property name

name: string;

Specifies the Name of the Notification Hub Namespace.

property resourceGroupName

resourceGroupName: string;

Specifies the Name of the Resource Group within which the Notification Hub exists.

interface GetNamespaceResult

A collection of values returned by getNamespace.

property enabled

enabled: boolean;

Is this Notification Hub Namespace enabled?

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property location

location: string;

The Azure Region in which this Notification Hub Namespace exists.

property namespaceType

namespaceType: string;

The Type of Namespace, such as Messaging or NotificationHub.

property servicebusEndpoint

servicebusEndpoint: string;

property sku

sku: { ... };

A sku block as defined below.

interface HubArgs

The set of arguments for constructing a Hub resource.

property apnsCredential

apnsCredential?: pulumi.Input<{ ... }>;

A apns_credential block as defined below.

property gcmCredential

gcmCredential?: pulumi.Input<{ ... }>;

A gcm_credential block as defined below.

property location

location: pulumi.Input<string>;

The Azure Region in which this Notification Hub Namespace exists. Changing this forces a new resource to be created.

property name

name?: pulumi.Input<string>;

The name to use for this Notification Hub. Changing this forces a new resource to be created.

property namespaceName

namespaceName: pulumi.Input<string>;

The name of the Notification Hub Namespace in which to create this Notification Hub. Changing this forces a new resource to be created.

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

The name of the Resource Group in which the Notification Hub Namespace exists. Changing this forces a new resource to be created.

interface HubState

Input properties used for looking up and filtering Hub resources.

property apnsCredential

apnsCredential?: pulumi.Input<{ ... }>;

A apns_credential block as defined below.

property gcmCredential

gcmCredential?: pulumi.Input<{ ... }>;

A gcm_credential block as defined below.

property location

location?: pulumi.Input<string>;

The Azure Region in which this Notification Hub Namespace exists. Changing this forces a new resource to be created.

property name

name?: pulumi.Input<string>;

The name to use for this Notification Hub. Changing this forces a new resource to be created.

property namespaceName

namespaceName?: pulumi.Input<string>;

The name of the Notification Hub Namespace in which to create this Notification Hub. Changing this forces a new resource to be created.

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

The name of the Resource Group in which the Notification Hub Namespace exists. Changing this forces a new resource to be created.

interface NamespaceArgs

The set of arguments for constructing a Namespace resource.

property enabled

enabled?: pulumi.Input<boolean>;

Is this Notification Hub Namespace enabled? Defaults to true.

property location

location: pulumi.Input<string>;

The Azure Region in which this Notification Hub Namespace should be created.

property name

name?: pulumi.Input<string>;

The name to use for this Notification Hub Namespace. Changing this forces a new resource to be created.

property namespaceType

namespaceType: pulumi.Input<string>;

The Type of Namespace - possible values are Messaging or NotificationHub. Changing this forces a new resource to be created.

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

The name of the Resource Group in which the Notification Hub Namespace should exist. Changing this forces a new resource to be created.

property sku

sku: pulumi.Input<{ ... }>;

A sku block as defined below.

interface NamespaceState

Input properties used for looking up and filtering Namespace resources.

property enabled

enabled?: pulumi.Input<boolean>;

Is this Notification Hub Namespace enabled? Defaults to true.

property location

location?: pulumi.Input<string>;

The Azure Region in which this Notification Hub Namespace should be created.

property name

name?: pulumi.Input<string>;

The name to use for this Notification Hub Namespace. Changing this forces a new resource to be created.

property namespaceType

namespaceType?: pulumi.Input<string>;

The Type of Namespace - possible values are Messaging or NotificationHub. Changing this forces a new resource to be created.

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

The name of the Resource Group in which the Notification Hub Namespace should exist. Changing this forces a new resource to be created.

property servicebusEndpoint

servicebusEndpoint?: pulumi.Input<string>;

The ServiceBus Endpoint for this Notification Hub Namespace.

property sku

sku?: pulumi.Input<{ ... }>;

A sku block as defined below.