These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.notificationhubs.getNotificationHub
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Lists the notification hubs associated with a namespace. 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:
- Namespace
Name string - The namespace name.
- Notification
Hub stringName - The notification hub name.
- Resource
Group stringName - The name of the resource group.
- Namespace
Name string - The namespace name.
- Notification
Hub stringName - The notification hub name.
- Resource
Group stringName - The name of the resource group.
- namespace
Name String - The namespace name.
- notification
Hub StringName - The notification hub name.
- resource
Group StringName - The name of the resource group.
- namespace
Name string - The namespace name.
- notification
Hub stringName - The notification hub name.
- resource
Group stringName - The name of the resource group.
- namespace_
name str - The namespace name.
- notification_
hub_ strname - The notification hub name.
- resource_
group_ strname - The name of the resource group.
- namespace
Name String - The namespace name.
- notification
Hub StringName - The notification hub name.
- resource
Group StringName - 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
- Adm
Credential Pulumi.Azure Native. Notification Hubs. Outputs. Adm Credential Response - The AdmCredential of the created NotificationHub
- Apns
Credential Pulumi.Azure Native. Notification Hubs. Outputs. Apns Credential Response - The ApnsCredential of the created NotificationHub
- List<Pulumi.
Azure Native. Notification Hubs. Outputs. Shared Access Authorization Rule Properties Response> - The AuthorizationRules of the created NotificationHub
- Baidu
Credential Pulumi.Azure Native. Notification Hubs. Outputs. Baidu Credential Response - The BaiduCredential of the created NotificationHub
- Gcm
Credential Pulumi.Azure Native. Notification Hubs. Outputs. Gcm Credential Response - The GcmCredential of the created NotificationHub
- Location string
- Resource location
- Mpns
Credential Pulumi.Azure Native. Notification Hubs. Outputs. Mpns Credential Response - The MpnsCredential of the created NotificationHub
- Registration
Ttl string - The RegistrationTtl of the created NotificationHub
- Sku
Pulumi.
Azure Native. Notification Hubs. Outputs. Sku Response - The sku of the created namespace
- Dictionary<string, string>
- Resource tags
- Wns
Credential Pulumi.Azure Native. Notification Hubs. Outputs. Wns Credential Response - The WnsCredential of the created NotificationHub
- Id string
- Resource Id
- Name string
- Resource name
- Type string
- Resource type
- Adm
Credential AdmCredential Response - The AdmCredential of the created NotificationHub
- Apns
Credential ApnsCredential Response - The ApnsCredential of the created NotificationHub
- []Shared
Access Authorization Rule Properties Response - The AuthorizationRules of the created NotificationHub
- Baidu
Credential BaiduCredential Response - The BaiduCredential of the created NotificationHub
- Gcm
Credential GcmCredential Response - The GcmCredential of the created NotificationHub
- Location string
- Resource location
- Mpns
Credential MpnsCredential Response - The MpnsCredential of the created NotificationHub
- Registration
Ttl string - The RegistrationTtl of the created NotificationHub
- Sku
Sku
Response - The sku of the created namespace
- map[string]string
- Resource tags
- Wns
Credential WnsCredential Response - The WnsCredential of the created NotificationHub
- id String
- Resource Id
- name String
- Resource name
- type String
- Resource type
- adm
Credential AdmCredential Response - The AdmCredential of the created NotificationHub
- apns
Credential ApnsCredential Response - The ApnsCredential of the created NotificationHub
- List<Shared
Access Authorization Rule Properties Response> - The AuthorizationRules of the created NotificationHub
- baidu
Credential BaiduCredential Response - The BaiduCredential of the created NotificationHub
- gcm
Credential GcmCredential Response - The GcmCredential of the created NotificationHub
- location String
- Resource location
- mpns
Credential MpnsCredential Response - The MpnsCredential of the created NotificationHub
- registration
Ttl String - The RegistrationTtl of the created NotificationHub
- sku
Sku
Response - The sku of the created namespace
- Map<String,String>
- Resource tags
- wns
Credential WnsCredential Response - The WnsCredential of the created NotificationHub
- id string
- Resource Id
- name string
- Resource name
- type string
- Resource type
- adm
Credential AdmCredential Response - The AdmCredential of the created NotificationHub
- apns
Credential ApnsCredential Response - The ApnsCredential of the created NotificationHub
- Shared
Access Authorization Rule Properties Response[] - The AuthorizationRules of the created NotificationHub
- baidu
Credential BaiduCredential Response - The BaiduCredential of the created NotificationHub
- gcm
Credential GcmCredential Response - The GcmCredential of the created NotificationHub
- location string
- Resource location
- mpns
Credential MpnsCredential Response - The MpnsCredential of the created NotificationHub
- registration
Ttl string - The RegistrationTtl of the created NotificationHub
- sku
Sku
Response - The sku of the created namespace
- {[key: string]: string}
- Resource tags
- wns
Credential WnsCredential Response - The WnsCredential of the created NotificationHub
- id str
- Resource Id
- name str
- Resource name
- type str
- Resource type
- adm_
credential AdmCredential Response - The AdmCredential of the created NotificationHub
- apns_
credential ApnsCredential Response - The ApnsCredential of the created NotificationHub
- Sequence[Shared
Access Authorization Rule Properties Response] - The AuthorizationRules of the created NotificationHub
- baidu_
credential BaiduCredential Response - The BaiduCredential of the created NotificationHub
- gcm_
credential GcmCredential Response - The GcmCredential of the created NotificationHub
- location str
- Resource location
- mpns_
credential MpnsCredential Response - The MpnsCredential of the created NotificationHub
- registration_
ttl str - The RegistrationTtl of the created NotificationHub
- sku
Sku
Response - The sku of the created namespace
- Mapping[str, str]
- Resource tags
- wns_
credential WnsCredential Response - The WnsCredential of the created NotificationHub
- id String
- Resource Id
- name String
- Resource name
- type String
- Resource type
- adm
Credential Property Map - The AdmCredential of the created NotificationHub
- apns
Credential Property Map - The ApnsCredential of the created NotificationHub
- List<Property Map>
- The AuthorizationRules of the created NotificationHub
- baidu
Credential Property Map - The BaiduCredential of the created NotificationHub
- gcm
Credential Property Map - The GcmCredential of the created NotificationHub
- location String
- Resource location
- mpns
Credential Property Map - The MpnsCredential of the created NotificationHub
- registration
Ttl String - The RegistrationTtl of the created NotificationHub
- sku Property Map
- The sku of the created namespace
- Map<String>
- Resource tags
- wns
Credential Property Map - The WnsCredential of the created NotificationHub
Supporting Types
AdmCredentialResponse
- Auth
Token stringUrl - The URL of the authorization token.
- Client
Id string - The client identifier.
- Client
Secret string - The credential secret access key.
- Auth
Token stringUrl - The URL of the authorization token.
- Client
Id string - The client identifier.
- Client
Secret string - The credential secret access key.
- auth
Token StringUrl - The URL of the authorization token.
- client
Id String - The client identifier.
- client
Secret String - The credential secret access key.
- auth
Token stringUrl - The URL of the authorization token.
- client
Id string - The client identifier.
- client
Secret string - The credential secret access key.
- auth_
token_ strurl - The URL of the authorization token.
- client_
id str - The client identifier.
- client_
secret str - The credential secret access key.
- auth
Token StringUrl - The URL of the authorization token.
- client
Id String - The client identifier.
- client
Secret String - The credential secret access key.
ApnsCredentialResponse
- Apns
Certificate string - The APNS certificate. Specify if using Certificate Authentication Mode.
- App
Id 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.
- App
Name string - The name of the application or BundleId. Specify if using Token Authentication Mode.
- Certificate
Key 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'.
- Key
Id 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 string - The APNS certificate. Specify if using Certificate Authentication Mode.
- App
Id 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.
- App
Name string - The name of the application or BundleId. Specify if using Token Authentication Mode.
- Certificate
Key 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'.
- Key
Id 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 String - The APNS certificate. Specify if using Certificate Authentication Mode.
- app
Id 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.
- app
Name String - The name of the application or BundleId. Specify if using Token Authentication Mode.
- certificate
Key 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'.
- key
Id 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 string - The APNS certificate. Specify if using Certificate Authentication Mode.
- app
Id 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.
- app
Name string - The name of the application or BundleId. Specify if using Token Authentication Mode.
- certificate
Key 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'.
- key
Id 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.
- apns
Certificate String - The APNS certificate. Specify if using Certificate Authentication Mode.
- app
Id 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.
- app
Name String - The name of the application or BundleId. Specify if using Token Authentication Mode.
- certificate
Key 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'.
- key
Id 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
- Baidu
Api stringKey - Baidu Api Key.
- Baidu
End stringPoint - Baidu Endpoint.
- Baidu
Secret stringKey - Baidu Secret Key
- Baidu
Api stringKey - Baidu Api Key.
- Baidu
End stringPoint - Baidu Endpoint.
- Baidu
Secret stringKey - Baidu Secret Key
- baidu
Api StringKey - Baidu Api Key.
- baidu
End StringPoint - Baidu Endpoint.
- baidu
Secret StringKey - Baidu Secret Key
- baidu
Api stringKey - Baidu Api Key.
- baidu
End stringPoint - Baidu Endpoint.
- baidu
Secret stringKey - Baidu Secret Key
- baidu_
api_ strkey - Baidu Api Key.
- baidu_
end_ strpoint - Baidu Endpoint.
- baidu_
secret_ strkey - Baidu Secret Key
- baidu
Api StringKey - Baidu Api Key.
- baidu
End StringPoint - Baidu Endpoint.
- baidu
Secret StringKey - Baidu Secret Key
GcmCredentialResponse
- Gcm
Endpoint string - The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'
- Google
Api stringKey - The Google API key.
- Gcm
Endpoint string - The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'
- Google
Api stringKey - The Google API key.
- gcm
Endpoint String - The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'
- google
Api StringKey - The Google API key.
- gcm
Endpoint string - The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'
- google
Api stringKey - The Google API key.
- gcm_
endpoint str - The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'
- google_
api_ strkey - The Google API key.
- gcm
Endpoint String - The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send'
- google
Api StringKey - The Google API key.
MpnsCredentialResponse
- Certificate
Key string - The certificate key for this credential.
- Mpns
Certificate string - The MPNS certificate.
- Thumbprint string
- The MPNS certificate Thumbprint
- Certificate
Key string - The certificate key for this credential.
- Mpns
Certificate string - The MPNS certificate.
- Thumbprint string
- The MPNS certificate Thumbprint
- certificate
Key String - The certificate key for this credential.
- mpns
Certificate String - The MPNS certificate.
- thumbprint String
- The MPNS certificate Thumbprint
- certificate
Key string - The certificate key for this credential.
- mpns
Certificate 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
- certificate
Key String - The certificate key for this credential.
- mpns
Certificate String - The MPNS certificate.
- thumbprint String
- The MPNS certificate Thumbprint
SharedAccessAuthorizationRulePropertiesResponse
- Claim
Type string - A string that describes the claim type
- Claim
Value string - A string that describes the claim value
- Created
Time string - The created time for this rule
- Key
Name string - A string that describes the authorization rule.
- Modified
Time string - The last modified time for this rule
- Primary
Key string - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- Revision int
- The revision number for the rule
- Secondary
Key string - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- Rights List<string>
- The rights associated with the rule.
- Claim
Type string - A string that describes the claim type
- Claim
Value string - A string that describes the claim value
- Created
Time string - The created time for this rule
- Key
Name string - A string that describes the authorization rule.
- Modified
Time string - The last modified time for this rule
- Primary
Key string - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- Revision int
- The revision number for the rule
- Secondary
Key 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 String - A string that describes the claim type
- claim
Value String - A string that describes the claim value
- created
Time String - The created time for this rule
- key
Name String - A string that describes the authorization rule.
- modified
Time String - The last modified time for this rule
- primary
Key String - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- revision Integer
- The revision number for the rule
- secondary
Key String - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- rights List<String>
- The rights associated with the rule.
- claim
Type string - A string that describes the claim type
- claim
Value string - A string that describes the claim value
- created
Time string - The created time for this rule
- key
Name string - A string that describes the authorization rule.
- modified
Time string - The last modified time for this rule
- primary
Key string - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- revision number
- The revision number for the rule
- secondary
Key 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.
- claim
Type String - A string that describes the claim type
- claim
Value String - A string that describes the claim value
- created
Time String - The created time for this rule
- key
Name String - A string that describes the authorization rule.
- modified
Time String - The last modified time for this rule
- primary
Key String - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- revision Number
- The revision number for the rule
- secondary
Key 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
WnsCredentialResponse
- Package
Sid string - The package ID for this credential.
- Secret
Key string - The secret key.
- Windows
Live stringEndpoint - The Windows Live endpoint.
- Package
Sid string - The package ID for this credential.
- Secret
Key string - The secret key.
- Windows
Live stringEndpoint - The Windows Live endpoint.
- package
Sid String - The package ID for this credential.
- secret
Key String - The secret key.
- windows
Live StringEndpoint - The Windows Live endpoint.
- package
Sid string - The package ID for this credential.
- secret
Key string - The secret key.
- windows
Live stringEndpoint - The Windows Live endpoint.
- package_
sid str - The package ID for this credential.
- secret_
key str - The secret key.
- windows_
live_ strendpoint - The Windows Live endpoint.
- package
Sid String - The package ID for this credential.
- secret
Key String - The secret key.
- windows
Live StringEndpoint - The Windows Live endpoint.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi