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.getNotificationHubAuthorizationRule
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 an authorization rule for a NotificationHub by name. API Version: 2017-04-01.
Using getNotificationHubAuthorizationRule
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 getNotificationHubAuthorizationRule(args: GetNotificationHubAuthorizationRuleArgs, opts?: InvokeOptions): Promise<GetNotificationHubAuthorizationRuleResult>
function getNotificationHubAuthorizationRuleOutput(args: GetNotificationHubAuthorizationRuleOutputArgs, opts?: InvokeOptions): Output<GetNotificationHubAuthorizationRuleResult>
def get_notification_hub_authorization_rule(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) -> GetNotificationHubAuthorizationRuleResult
def get_notification_hub_authorization_rule_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[GetNotificationHubAuthorizationRuleResult]
func LookupNotificationHubAuthorizationRule(ctx *Context, args *LookupNotificationHubAuthorizationRuleArgs, opts ...InvokeOption) (*LookupNotificationHubAuthorizationRuleResult, error)
func LookupNotificationHubAuthorizationRuleOutput(ctx *Context, args *LookupNotificationHubAuthorizationRuleOutputArgs, opts ...InvokeOption) LookupNotificationHubAuthorizationRuleResultOutput
> Note: This function is named LookupNotificationHubAuthorizationRule
in the Go SDK.
public static class GetNotificationHubAuthorizationRule
{
public static Task<GetNotificationHubAuthorizationRuleResult> InvokeAsync(GetNotificationHubAuthorizationRuleArgs args, InvokeOptions? opts = null)
public static Output<GetNotificationHubAuthorizationRuleResult> Invoke(GetNotificationHubAuthorizationRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNotificationHubAuthorizationRuleResult> getNotificationHubAuthorizationRule(GetNotificationHubAuthorizationRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:notificationhubs:getNotificationHubAuthorizationRule
arguments:
# arguments dictionary
The following arguments are supported:
- string
- authorization rule name.
- Namespace
Name string - The namespace name
- Notification
Hub stringName - The notification hub name.
- Resource
Group stringName - The name of the resource group.
- string
- authorization rule name.
- Namespace
Name string - The namespace name
- Notification
Hub stringName - The notification hub name.
- Resource
Group stringName - The name of the resource group.
- String
- authorization rule name.
- namespace
Name String - The namespace name
- notification
Hub StringName - The notification hub name.
- resource
Group StringName - The name of the resource group.
- string
- authorization rule name.
- namespace
Name string - The namespace name
- notification
Hub stringName - The notification hub name.
- resource
Group stringName - The name of the resource group.
- str
- authorization rule name.
- namespace_
name str - The namespace name
- notification_
hub_ strname - The notification hub name.
- resource_
group_ strname - The name of the resource group.
- String
- authorization rule name.
- namespace
Name String - The namespace name
- notification
Hub StringName - The notification hub name.
- resource
Group StringName - The name of the resource group.
getNotificationHubAuthorizationRule Result
The following output properties are available:
- 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
- Id string
- Resource Id
- Key
Name string - A string that describes the authorization rule.
- Modified
Time string - The last modified time for this rule
- Name string
- Resource name
- 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.
- Type string
- Resource type
- Location string
- Resource location
- Rights List<string>
- The rights associated with the rule.
- Sku
Pulumi.
Azure Native. Notification Hubs. Outputs. Sku Response - The sku of the created namespace
- Dictionary<string, string>
- Resource tags
- 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
- Id string
- Resource Id
- Key
Name string - A string that describes the authorization rule.
- Modified
Time string - The last modified time for this rule
- Name string
- Resource name
- 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.
- Type string
- Resource type
- Location string
- Resource location
- Rights []string
- The rights associated with the rule.
- Sku
Sku
Response - The sku of the created namespace
- map[string]string
- Resource tags
- 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
- id String
- Resource Id
- key
Name String - A string that describes the authorization rule.
- modified
Time String - The last modified time for this rule
- name String
- Resource name
- 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.
- type String
- Resource type
- location String
- Resource location
- rights List<String>
- The rights associated with the rule.
- sku
Sku
Response - The sku of the created namespace
- Map<String,String>
- Resource tags
- 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
- id string
- Resource Id
- key
Name string - A string that describes the authorization rule.
- modified
Time string - The last modified time for this rule
- name string
- Resource name
- 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.
- type string
- Resource type
- location string
- Resource location
- rights string[]
- The rights associated with the rule.
- sku
Sku
Response - The sku of the created namespace
- {[key: string]: string}
- Resource tags
- 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
- id str
- Resource Id
- key_
name str - A string that describes the authorization rule.
- modified_
time str - The last modified time for this rule
- name str
- Resource name
- 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.
- type str
- Resource type
- location str
- Resource location
- rights Sequence[str]
- The rights associated with the rule.
- sku
Sku
Response - The sku of the created namespace
- Mapping[str, str]
- Resource tags
- 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
- id String
- Resource Id
- key
Name String - A string that describes the authorization rule.
- modified
Time String - The last modified time for this rule
- name String
- Resource name
- 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.
- type String
- Resource type
- location String
- Resource location
- rights List<String>
- The rights associated with the rule.
- sku Property Map
- The sku of the created namespace
- Map<String>
- Resource tags
Supporting Types
SkuResponse
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