@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 7.2 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Notification Hub Resource.
*
* Uses Azure REST API version 2023-10-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-01-01-preview.
*
* Other available API versions: 2023-01-01-preview, 2023-09-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native notificationhubs [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare class NotificationHub extends pulumi.CustomResource {
/**
* Get an existing NotificationHub resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): NotificationHub;
/**
* Returns true if the given object is an instance of NotificationHub. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is NotificationHub;
/**
* Description of a NotificationHub AdmCredential.
*/
readonly admCredential: pulumi.Output<outputs.notificationhubs.AdmCredentialResponse | undefined>;
/**
* Description of a NotificationHub ApnsCredential.
*/
readonly apnsCredential: pulumi.Output<outputs.notificationhubs.ApnsCredentialResponse | undefined>;
/**
* Gets or sets the AuthorizationRules of the created NotificationHub
*/
readonly authorizationRules: pulumi.Output<outputs.notificationhubs.SharedAccessAuthorizationRulePropertiesResponse[]>;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* Description of a NotificationHub BaiduCredential.
*/
readonly baiduCredential: pulumi.Output<outputs.notificationhubs.BaiduCredentialResponse | undefined>;
/**
* Description of a NotificationHub BrowserCredential.
*/
readonly browserCredential: pulumi.Output<outputs.notificationhubs.BrowserCredentialResponse | undefined>;
readonly dailyMaxActiveDevices: pulumi.Output<number>;
/**
* Description of a NotificationHub FcmV1Credential.
*/
readonly fcmV1Credential: pulumi.Output<outputs.notificationhubs.FcmV1CredentialResponse | undefined>;
/**
* Description of a NotificationHub GcmCredential.
*/
readonly gcmCredential: pulumi.Output<outputs.notificationhubs.GcmCredentialResponse | undefined>;
/**
* The geo-location where the resource lives
*/
readonly location: pulumi.Output<string>;
/**
* Description of a NotificationHub MpnsCredential.
*/
readonly mpnsCredential: pulumi.Output<outputs.notificationhubs.MpnsCredentialResponse | undefined>;
/**
* The name of the resource
*/
readonly name: pulumi.Output<string>;
/**
* Gets or sets the RegistrationTtl of the created NotificationHub
*/
readonly registrationTtl: pulumi.Output<string | undefined>;
/**
* The Sku description for a namespace
*/
readonly sku: pulumi.Output<outputs.notificationhubs.SkuResponse | undefined>;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: pulumi.Output<outputs.notificationhubs.SystemDataResponse>;
/**
* Resource tags.
*/
readonly tags: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: pulumi.Output<string>;
/**
* Description of a NotificationHub WnsCredential.
*/
readonly wnsCredential: pulumi.Output<outputs.notificationhubs.WnsCredentialResponse | undefined>;
/**
* Description of a NotificationHub XiaomiCredential.
*/
readonly xiaomiCredential: pulumi.Output<outputs.notificationhubs.XiaomiCredentialResponse | undefined>;
/**
* Create a NotificationHub resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: NotificationHubArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a NotificationHub resource.
*/
export interface NotificationHubArgs {
/**
* Description of a NotificationHub AdmCredential.
*/
admCredential?: pulumi.Input<inputs.notificationhubs.AdmCredentialArgs>;
/**
* Description of a NotificationHub ApnsCredential.
*/
apnsCredential?: pulumi.Input<inputs.notificationhubs.ApnsCredentialArgs>;
/**
* Description of a NotificationHub BaiduCredential.
*/
baiduCredential?: pulumi.Input<inputs.notificationhubs.BaiduCredentialArgs>;
/**
* Description of a NotificationHub BrowserCredential.
*/
browserCredential?: pulumi.Input<inputs.notificationhubs.BrowserCredentialArgs>;
/**
* Description of a NotificationHub FcmV1Credential.
*/
fcmV1Credential?: pulumi.Input<inputs.notificationhubs.FcmV1CredentialArgs>;
/**
* Description of a NotificationHub GcmCredential.
*/
gcmCredential?: pulumi.Input<inputs.notificationhubs.GcmCredentialArgs>;
/**
* The geo-location where the resource lives
*/
location?: pulumi.Input<string>;
/**
* Description of a NotificationHub MpnsCredential.
*/
mpnsCredential?: pulumi.Input<inputs.notificationhubs.MpnsCredentialArgs>;
/**
* Gets or sets the NotificationHub name.
*/
name?: pulumi.Input<string>;
/**
* Namespace name
*/
namespaceName: pulumi.Input<string>;
/**
* Notification Hub name
*/
notificationHubName?: pulumi.Input<string>;
/**
* Gets or sets the RegistrationTtl of the created NotificationHub
*/
registrationTtl?: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The Sku description for a namespace
*/
sku?: pulumi.Input<inputs.notificationhubs.SkuArgs>;
/**
* Resource tags.
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* Description of a NotificationHub WnsCredential.
*/
wnsCredential?: pulumi.Input<inputs.notificationhubs.WnsCredentialArgs>;
/**
* Description of a NotificationHub XiaomiCredential.
*/
xiaomiCredential?: pulumi.Input<inputs.notificationhubs.XiaomiCredentialArgs>;
}