UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

131 lines (130 loc) 4.74 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the notification hub. * * Uses Azure REST API version 2023-10-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 function getNotificationHub(args: GetNotificationHubArgs, opts?: pulumi.InvokeOptions): Promise<GetNotificationHubResult>; export interface GetNotificationHubArgs { /** * Namespace name */ namespaceName: string; /** * Notification Hub name */ notificationHubName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Notification Hub Resource. */ export interface GetNotificationHubResult { /** * Description of a NotificationHub AdmCredential. */ readonly admCredential?: outputs.notificationhubs.AdmCredentialResponse; /** * Description of a NotificationHub ApnsCredential. */ readonly apnsCredential?: outputs.notificationhubs.ApnsCredentialResponse; /** * Gets or sets the AuthorizationRules of the created NotificationHub */ readonly authorizationRules: outputs.notificationhubs.SharedAccessAuthorizationRulePropertiesResponse[]; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Description of a NotificationHub BaiduCredential. */ readonly baiduCredential?: outputs.notificationhubs.BaiduCredentialResponse; /** * Description of a NotificationHub BrowserCredential. */ readonly browserCredential?: outputs.notificationhubs.BrowserCredentialResponse; readonly dailyMaxActiveDevices: number; /** * Description of a NotificationHub FcmV1Credential. */ readonly fcmV1Credential?: outputs.notificationhubs.FcmV1CredentialResponse; /** * Description of a NotificationHub GcmCredential. */ readonly gcmCredential?: outputs.notificationhubs.GcmCredentialResponse; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * The geo-location where the resource lives */ readonly location: string; /** * Description of a NotificationHub MpnsCredential. */ readonly mpnsCredential?: outputs.notificationhubs.MpnsCredentialResponse; /** * The name of the resource */ readonly name: string; /** * Gets or sets the RegistrationTtl of the created NotificationHub */ readonly registrationTtl?: string; /** * The Sku description for a namespace */ readonly sku?: outputs.notificationhubs.SkuResponse; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.notificationhubs.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * Description of a NotificationHub WnsCredential. */ readonly wnsCredential?: outputs.notificationhubs.WnsCredentialResponse; /** * Description of a NotificationHub XiaomiCredential. */ readonly xiaomiCredential?: outputs.notificationhubs.XiaomiCredentialResponse; } /** * Gets the notification hub. * * Uses Azure REST API version 2023-10-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 function getNotificationHubOutput(args: GetNotificationHubOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNotificationHubResult>; export interface GetNotificationHubOutputArgs { /** * Namespace name */ namespaceName: pulumi.Input<string>; /** * Notification Hub name */ notificationHubName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }