Azure Native

v1.87.0 published on Tuesday, Nov 22, 2022 by Pulumi

getNotificationHub

Description of a NotificationHub Resource. API Version: 2017-04-01.

Using getNotificationHub

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getNotificationHub(args: GetNotificationHubArgs, opts?: InvokeOptions): Promise<GetNotificationHubResult>
function getNotificationHubOutput(args: GetNotificationHubOutputArgs, opts?: InvokeOptions): Output<GetNotificationHubResult>
def get_notification_hub(namespace_name: Optional[str] = None,
                         notification_hub_name: Optional[str] = None,
                         resource_group_name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetNotificationHubResult
def get_notification_hub_output(namespace_name: Optional[pulumi.Input[str]] = None,
                         notification_hub_name: Optional[pulumi.Input[str]] = None,
                         resource_group_name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetNotificationHubResult]
func LookupNotificationHub(ctx *Context, args *LookupNotificationHubArgs, opts ...InvokeOption) (*LookupNotificationHubResult, error)
func LookupNotificationHubOutput(ctx *Context, args *LookupNotificationHubOutputArgs, opts ...InvokeOption) LookupNotificationHubResultOutput

> Note: This function is named LookupNotificationHub in the Go SDK.

public static class GetNotificationHub 
{
    public static Task<GetNotificationHubResult> InvokeAsync(GetNotificationHubArgs args, InvokeOptions? opts = null)
    public static Output<GetNotificationHubResult> Invoke(GetNotificationHubInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNotificationHubResult> getNotificationHub(GetNotificationHubArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: azure-native:notificationhubs:getNotificationHub
  arguments:
    # arguments dictionary

The following arguments are supported:

NamespaceName string

The namespace name.

NotificationHubName string

The notification hub name.

ResourceGroupName string

The name of the resource group.

NamespaceName string

The namespace name.

NotificationHubName string

The notification hub name.

ResourceGroupName string

The name of the resource group.

namespaceName String

The namespace name.

notificationHubName String

The notification hub name.

resourceGroupName String

The name of the resource group.

namespaceName string

The namespace name.

notificationHubName string

The notification hub name.

resourceGroupName string

The name of the resource group.

namespace_name str

The namespace name.

notification_hub_name str

The notification hub name.

resource_group_name str

The name of the resource group.

namespaceName String

The namespace name.

notificationHubName String

The notification hub name.

resourceGroupName String

The name of the resource group.

getNotificationHub Result

The following output properties are available:

Id string

Resource Id

Name string

Resource name

Type string

Resource type

AdmCredential Pulumi.AzureNative.NotificationHubs.Outputs.AdmCredentialResponse

The AdmCredential of the created NotificationHub

ApnsCredential Pulumi.AzureNative.NotificationHubs.Outputs.ApnsCredentialResponse

The ApnsCredential of the created NotificationHub

AuthorizationRules List<Pulumi.AzureNative.NotificationHubs.Outputs.SharedAccessAuthorizationRulePropertiesResponse>

The AuthorizationRules of the created NotificationHub

BaiduCredential Pulumi.AzureNative.NotificationHubs.Outputs.BaiduCredentialResponse

The BaiduCredential of the created NotificationHub

GcmCredential Pulumi.AzureNative.NotificationHubs.Outputs.GcmCredentialResponse

The GcmCredential of the created NotificationHub

Location string

Resource location

MpnsCredential Pulumi.AzureNative.NotificationHubs.Outputs.MpnsCredentialResponse

The MpnsCredential of the created NotificationHub

RegistrationTtl string

The RegistrationTtl of the created NotificationHub

Sku Pulumi.AzureNative.NotificationHubs.Outputs.SkuResponse

The sku of the created namespace

Tags Dictionary<string, string>

Resource tags

WnsCredential Pulumi.AzureNative.NotificationHubs.Outputs.WnsCredentialResponse

The WnsCredential of the created NotificationHub

Id string

Resource Id

Name string

Resource name

Type string

Resource type

AdmCredential AdmCredentialResponse

The AdmCredential of the created NotificationHub

ApnsCredential ApnsCredentialResponse

The ApnsCredential of the created NotificationHub

AuthorizationRules []SharedAccessAuthorizationRulePropertiesResponse

The AuthorizationRules of the created NotificationHub

BaiduCredential BaiduCredentialResponse

The BaiduCredential of the created NotificationHub

GcmCredential GcmCredentialResponse

The GcmCredential of the created NotificationHub

Location string

Resource location

MpnsCredential MpnsCredentialResponse

The MpnsCredential of the created NotificationHub

RegistrationTtl string

The RegistrationTtl of the created NotificationHub

Sku SkuResponse

The sku of the created namespace

Tags map[string]string

Resource tags

WnsCredential WnsCredentialResponse

The WnsCredential of the created NotificationHub

id String

Resource Id

name String

Resource name

type String

Resource type

admCredential AdmCredentialResponse

The AdmCredential of the created NotificationHub

apnsCredential ApnsCredentialResponse

The ApnsCredential of the created NotificationHub

authorizationRules List<SharedAccessAuthorizationRulePropertiesResponse>

The AuthorizationRules of the created NotificationHub

baiduCredential BaiduCredentialResponse

The BaiduCredential of the created NotificationHub

gcmCredential GcmCredentialResponse

The GcmCredential of the created NotificationHub

location String

Resource location

mpnsCredential MpnsCredentialResponse

The MpnsCredential of the created NotificationHub

registrationTtl String

The RegistrationTtl of the created NotificationHub

sku SkuResponse

The sku of the created namespace

tags Map<String,String>

Resource tags

wnsCredential WnsCredentialResponse

The WnsCredential of the created NotificationHub

id string

Resource Id

name string

Resource name

type string

Resource type

admCredential AdmCredentialResponse

The AdmCredential of the created NotificationHub

apnsCredential ApnsCredentialResponse

The ApnsCredential of the created NotificationHub

authorizationRules SharedAccessAuthorizationRulePropertiesResponse[]

The AuthorizationRules of the created NotificationHub

baiduCredential BaiduCredentialResponse

The BaiduCredential of the created NotificationHub

gcmCredential GcmCredentialResponse

The GcmCredential of the created NotificationHub

location string

Resource location

mpnsCredential MpnsCredentialResponse

The MpnsCredential of the created NotificationHub

registrationTtl string

The RegistrationTtl of the created NotificationHub

sku SkuResponse

The sku of the created namespace

tags {[key: string]: string}

Resource tags

wnsCredential WnsCredentialResponse

The WnsCredential of the created NotificationHub

id str

Resource Id

name str

Resource name

type str

Resource type

adm_credential AdmCredentialResponse

The AdmCredential of the created NotificationHub

apns_credential ApnsCredentialResponse

The ApnsCredential of the created NotificationHub

authorization_rules Sequence[SharedAccessAuthorizationRulePropertiesResponse]

The AuthorizationRules of the created NotificationHub

baidu_credential BaiduCredentialResponse

The BaiduCredential of the created NotificationHub

gcm_credential GcmCredentialResponse

The GcmCredential of the created NotificationHub

location str

Resource location

mpns_credential MpnsCredentialResponse

The MpnsCredential of the created NotificationHub

registration_ttl str

The RegistrationTtl of the created NotificationHub

sku SkuResponse

The sku of the created namespace

tags Mapping[str, str]

Resource tags

wns_credential WnsCredentialResponse

The WnsCredential of the created NotificationHub

id String

Resource Id

name String

Resource name

type String

Resource type

admCredential Property Map

The AdmCredential of the created NotificationHub

apnsCredential Property Map

The ApnsCredential of the created NotificationHub

authorizationRules List<Property Map>

The AuthorizationRules of the created NotificationHub

baiduCredential Property Map

The BaiduCredential of the created NotificationHub

gcmCredential Property Map

The GcmCredential of the created NotificationHub

location String

Resource location

mpnsCredential Property Map

The MpnsCredential of the created NotificationHub

registrationTtl String

The RegistrationTtl of the created NotificationHub

sku Property Map

The sku of the created namespace

tags Map<String>

Resource tags

wnsCredential Property Map

The WnsCredential of the created NotificationHub

Supporting Types

AdmCredentialResponse

AuthTokenUrl string

The URL of the authorization token.

ClientId string

The client identifier.

ClientSecret string

The credential secret access key.

AuthTokenUrl string

The URL of the authorization token.

ClientId string

The client identifier.

ClientSecret string

The credential secret access key.

authTokenUrl String

The URL of the authorization token.

clientId String

The client identifier.

clientSecret String

The credential secret access key.

authTokenUrl string

The URL of the authorization token.

clientId string

The client identifier.

clientSecret string

The credential secret access key.

auth_token_url str

The URL of the authorization token.

client_id str

The client identifier.

client_secret str

The credential secret access key.

authTokenUrl String

The URL of the authorization token.

clientId String

The client identifier.

clientSecret String

The credential secret access key.

ApnsCredentialResponse

ApnsCertificate string

The APNS certificate. Specify if using Certificate Authentication Mode.

AppId string

The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.

AppName string

The name of the application or BundleId. Specify if using Token Authentication Mode.

CertificateKey string

The APNS certificate password if it exists.

Endpoint string

The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.

KeyId string

A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.

Thumbprint string

The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.

Token string

Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.

ApnsCertificate string

The APNS certificate. Specify if using Certificate Authentication Mode.

AppId string

The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.

AppName string

The name of the application or BundleId. Specify if using Token Authentication Mode.

CertificateKey string

The APNS certificate password if it exists.

Endpoint string

The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.

KeyId string

A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.

Thumbprint string

The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.

Token string

Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.

apnsCertificate String

The APNS certificate. Specify if using Certificate Authentication Mode.

appId String

The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.

appName String

The name of the application or BundleId. Specify if using Token Authentication Mode.

certificateKey String

The APNS certificate password if it exists.

endpoint String

The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.

keyId String

A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.

thumbprint String

The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.

token String

Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.

apnsCertificate string

The APNS certificate. Specify if using Certificate Authentication Mode.

appId string

The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.

appName string

The name of the application or BundleId. Specify if using Token Authentication Mode.

certificateKey string

The APNS certificate password if it exists.

endpoint string

The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.

keyId string

A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.

thumbprint string

The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.

token string

Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.

apns_certificate str

The APNS certificate. Specify if using Certificate Authentication Mode.

app_id str

The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.

app_name str

The name of the application or BundleId. Specify if using Token Authentication Mode.

certificate_key str

The APNS certificate password if it exists.

endpoint str

The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.

key_id str

A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.

thumbprint str

The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.

token str

Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.

apnsCertificate String

The APNS certificate. Specify if using Certificate Authentication Mode.

appId String

The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.

appName String

The name of the application or BundleId. Specify if using Token Authentication Mode.

certificateKey String

The APNS certificate password if it exists.

endpoint String

The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.

keyId String

A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.

thumbprint String

The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.

token String

Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.

BaiduCredentialResponse

BaiduApiKey string

Baidu Api Key.

BaiduEndPoint string

Baidu Endpoint.

BaiduSecretKey string

Baidu Secret Key

BaiduApiKey string

Baidu Api Key.

BaiduEndPoint string

Baidu Endpoint.

BaiduSecretKey string

Baidu Secret Key

baiduApiKey String

Baidu Api Key.

baiduEndPoint String

Baidu Endpoint.

baiduSecretKey String

Baidu Secret Key

baiduApiKey string

Baidu Api Key.

baiduEndPoint string

Baidu Endpoint.

baiduSecretKey string

Baidu Secret Key

baidu_api_key str

Baidu Api Key.

baidu_end_point str

Baidu Endpoint.

baidu_secret_key str

Baidu Secret Key

baiduApiKey String

Baidu Api Key.

baiduEndPoint String

Baidu Endpoint.

baiduSecretKey String

Baidu Secret Key

GcmCredentialResponse

GcmEndpoint string

The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'

GoogleApiKey string

The Google API key.

GcmEndpoint string

The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'

GoogleApiKey string

The Google API key.

gcmEndpoint String

The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'

googleApiKey String

The Google API key.

gcmEndpoint string

The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'

googleApiKey string

The Google API key.

gcm_endpoint str

The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'

google_api_key str

The Google API key.

gcmEndpoint String

The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'

googleApiKey String

The Google API key.

MpnsCredentialResponse

CertificateKey string

The certificate key for this credential.

MpnsCertificate string

The MPNS certificate.

Thumbprint string

The MPNS certificate Thumbprint

CertificateKey string

The certificate key for this credential.

MpnsCertificate string

The MPNS certificate.

Thumbprint string

The MPNS certificate Thumbprint

certificateKey String

The certificate key for this credential.

mpnsCertificate String

The MPNS certificate.

thumbprint String

The MPNS certificate Thumbprint

certificateKey string

The certificate key for this credential.

mpnsCertificate string

The MPNS certificate.

thumbprint string

The MPNS certificate Thumbprint

certificate_key str

The certificate key for this credential.

mpns_certificate str

The MPNS certificate.

thumbprint str

The MPNS certificate Thumbprint

certificateKey String

The certificate key for this credential.

mpnsCertificate String

The MPNS certificate.

thumbprint String

The MPNS certificate Thumbprint

SharedAccessAuthorizationRulePropertiesResponse

ClaimType string

A string that describes the claim type

ClaimValue string

A string that describes the claim value

CreatedTime string

The created time for this rule

KeyName string

A string that describes the authorization rule.

ModifiedTime string

The last modified time for this rule

PrimaryKey string

A base64-encoded 256-bit primary key for signing and validating the SAS token.

Revision int

The revision number for the rule

SecondaryKey string

A base64-encoded 256-bit primary key for signing and validating the SAS token.

Rights List<string>

The rights associated with the rule.

ClaimType string

A string that describes the claim type

ClaimValue string

A string that describes the claim value

CreatedTime string

The created time for this rule

KeyName string

A string that describes the authorization rule.

ModifiedTime string

The last modified time for this rule

PrimaryKey string

A base64-encoded 256-bit primary key for signing and validating the SAS token.

Revision int

The revision number for the rule

SecondaryKey string

A base64-encoded 256-bit primary key for signing and validating the SAS token.

Rights []string

The rights associated with the rule.

claimType String

A string that describes the claim type

claimValue String

A string that describes the claim value

createdTime String

The created time for this rule

keyName String

A string that describes the authorization rule.

modifiedTime String

The last modified time for this rule

primaryKey String

A base64-encoded 256-bit primary key for signing and validating the SAS token.

revision Integer

The revision number for the rule

secondaryKey String

A base64-encoded 256-bit primary key for signing and validating the SAS token.

rights List<String>

The rights associated with the rule.

claimType string

A string that describes the claim type

claimValue string

A string that describes the claim value

createdTime string

The created time for this rule

keyName string

A string that describes the authorization rule.

modifiedTime string

The last modified time for this rule

primaryKey string

A base64-encoded 256-bit primary key for signing and validating the SAS token.

revision number

The revision number for the rule

secondaryKey string

A base64-encoded 256-bit primary key for signing and validating the SAS token.

rights string[]

The rights associated with the rule.

claim_type str

A string that describes the claim type

claim_value str

A string that describes the claim value

created_time str

The created time for this rule

key_name str

A string that describes the authorization rule.

modified_time str

The last modified time for this rule

primary_key str

A base64-encoded 256-bit primary key for signing and validating the SAS token.

revision int

The revision number for the rule

secondary_key str

A base64-encoded 256-bit primary key for signing and validating the SAS token.

rights Sequence[str]

The rights associated with the rule.

claimType String

A string that describes the claim type

claimValue String

A string that describes the claim value

createdTime String

The created time for this rule

keyName String

A string that describes the authorization rule.

modifiedTime String

The last modified time for this rule

primaryKey String

A base64-encoded 256-bit primary key for signing and validating the SAS token.

revision Number

The revision number for the rule

secondaryKey String

A base64-encoded 256-bit primary key for signing and validating the SAS token.

rights List<String>

The rights associated with the rule.

SkuResponse

Name string

Name of the notification hub sku

Capacity int

The capacity of the resource

Family string

The Sku Family

Size string

The Sku size

Tier string

The tier of particular sku

Name string

Name of the notification hub sku

Capacity int

The capacity of the resource

Family string

The Sku Family

Size string

The Sku size

Tier string

The tier of particular sku

name String

Name of the notification hub sku

capacity Integer

The capacity of the resource

family String

The Sku Family

size String

The Sku size

tier String

The tier of particular sku

name string

Name of the notification hub sku

capacity number

The capacity of the resource

family string

The Sku Family

size string

The Sku size

tier string

The tier of particular sku

name str

Name of the notification hub sku

capacity int

The capacity of the resource

family str

The Sku Family

size str

The Sku size

tier str

The tier of particular sku

name String

Name of the notification hub sku

capacity Number

The capacity of the resource

family String

The Sku Family

size String

The Sku size

tier String

The tier of particular sku

WnsCredentialResponse

PackageSid string

The package ID for this credential.

SecretKey string

The secret key.

WindowsLiveEndpoint string

The Windows Live endpoint.

PackageSid string

The package ID for this credential.

SecretKey string

The secret key.

WindowsLiveEndpoint string

The Windows Live endpoint.

packageSid String

The package ID for this credential.

secretKey String

The secret key.

windowsLiveEndpoint String

The Windows Live endpoint.

packageSid string

The package ID for this credential.

secretKey string

The secret key.

windowsLiveEndpoint string

The Windows Live endpoint.

package_sid str

The package ID for this credential.

secret_key str

The secret key.

windows_live_endpoint str

The Windows Live endpoint.

packageSid String

The package ID for this credential.

secretKey String

The secret key.

windowsLiveEndpoint String

The Windows Live endpoint.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0