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.listNotificationHubKeys
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
Gets the Primary and Secondary ConnectionStrings to the NotificationHub API Version: 2017-04-01.
Using listNotificationHubKeys
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 listNotificationHubKeys(args: ListNotificationHubKeysArgs, opts?: InvokeOptions): Promise<ListNotificationHubKeysResult>
function listNotificationHubKeysOutput(args: ListNotificationHubKeysOutputArgs, opts?: InvokeOptions): Output<ListNotificationHubKeysResult>
def list_notification_hub_keys(authorization_rule_name: Optional[str] = None,
namespace_name: Optional[str] = None,
notification_hub_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ListNotificationHubKeysResult
def list_notification_hub_keys_output(authorization_rule_name: Optional[pulumi.Input[str]] = None,
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[ListNotificationHubKeysResult]
func ListNotificationHubKeys(ctx *Context, args *ListNotificationHubKeysArgs, opts ...InvokeOption) (*ListNotificationHubKeysResult, error)
func ListNotificationHubKeysOutput(ctx *Context, args *ListNotificationHubKeysOutputArgs, opts ...InvokeOption) ListNotificationHubKeysResultOutput
> Note: This function is named ListNotificationHubKeys
in the Go SDK.
public static class ListNotificationHubKeys
{
public static Task<ListNotificationHubKeysResult> InvokeAsync(ListNotificationHubKeysArgs args, InvokeOptions? opts = null)
public static Output<ListNotificationHubKeysResult> Invoke(ListNotificationHubKeysInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListNotificationHubKeysResult> listNotificationHubKeys(ListNotificationHubKeysArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:notificationhubs:listNotificationHubKeys
arguments:
# arguments dictionary
The following arguments are supported:
- string
- The connection string of the NotificationHub for the specified authorizationRule.
- Namespace
Name string - The namespace name.
- Notification
Hub stringName - The notification hub name.
- Resource
Group stringName - The name of the resource group.
- string
- The connection string of the NotificationHub for the specified authorizationRule.
- Namespace
Name string - The namespace name.
- Notification
Hub stringName - The notification hub name.
- Resource
Group stringName - The name of the resource group.
- String
- The connection string of the NotificationHub for the specified authorizationRule.
- namespace
Name String - The namespace name.
- notification
Hub StringName - The notification hub name.
- resource
Group StringName - The name of the resource group.
- string
- The connection string of the NotificationHub for the specified authorizationRule.
- namespace
Name string - The namespace name.
- notification
Hub stringName - The notification hub name.
- resource
Group stringName - The name of the resource group.
- str
- The connection string of the NotificationHub for the specified authorizationRule.
- namespace_
name str - The namespace name.
- notification_
hub_ strname - The notification hub name.
- resource_
group_ strname - The name of the resource group.
- String
- The connection string of the NotificationHub for the specified authorizationRule.
- namespace
Name String - The namespace name.
- notification
Hub StringName - The notification hub name.
- resource
Group StringName - The name of the resource group.
listNotificationHubKeys Result
The following output properties are available:
- Key
Name string - KeyName of the created AuthorizationRule
- Primary
Connection stringString - PrimaryConnectionString of the AuthorizationRule.
- Primary
Key string - PrimaryKey of the created AuthorizationRule.
- Secondary
Connection stringString - SecondaryConnectionString of the created AuthorizationRule
- Secondary
Key string - SecondaryKey of the created AuthorizationRule
- Key
Name string - KeyName of the created AuthorizationRule
- Primary
Connection stringString - PrimaryConnectionString of the AuthorizationRule.
- Primary
Key string - PrimaryKey of the created AuthorizationRule.
- Secondary
Connection stringString - SecondaryConnectionString of the created AuthorizationRule
- Secondary
Key string - SecondaryKey of the created AuthorizationRule
- key
Name String - KeyName of the created AuthorizationRule
- primary
Connection StringString - PrimaryConnectionString of the AuthorizationRule.
- primary
Key String - PrimaryKey of the created AuthorizationRule.
- secondary
Connection StringString - SecondaryConnectionString of the created AuthorizationRule
- secondary
Key String - SecondaryKey of the created AuthorizationRule
- key
Name string - KeyName of the created AuthorizationRule
- primary
Connection stringString - PrimaryConnectionString of the AuthorizationRule.
- primary
Key string - PrimaryKey of the created AuthorizationRule.
- secondary
Connection stringString - SecondaryConnectionString of the created AuthorizationRule
- secondary
Key string - SecondaryKey of the created AuthorizationRule
- key_
name str - KeyName of the created AuthorizationRule
- primary_
connection_ strstring - PrimaryConnectionString of the AuthorizationRule.
- primary_
key str - PrimaryKey of the created AuthorizationRule.
- secondary_
connection_ strstring - SecondaryConnectionString of the created AuthorizationRule
- secondary_
key str - SecondaryKey of the created AuthorizationRule
- key
Name String - KeyName of the created AuthorizationRule
- primary
Connection StringString - PrimaryConnectionString of the AuthorizationRule.
- primary
Key String - PrimaryKey of the created AuthorizationRule.
- secondary
Connection StringString - SecondaryConnectionString of the created AuthorizationRule
- secondary
Key String - SecondaryKey of the created AuthorizationRule
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