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.getNamespaceAuthorizationRule
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 namespace by name. API Version: 2017-04-01.
Using getNamespaceAuthorizationRule
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 getNamespaceAuthorizationRule(args: GetNamespaceAuthorizationRuleArgs, opts?: InvokeOptions): Promise<GetNamespaceAuthorizationRuleResult>
function getNamespaceAuthorizationRuleOutput(args: GetNamespaceAuthorizationRuleOutputArgs, opts?: InvokeOptions): Output<GetNamespaceAuthorizationRuleResult>
def get_namespace_authorization_rule(authorization_rule_name: Optional[str] = None,
namespace_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNamespaceAuthorizationRuleResult
def get_namespace_authorization_rule_output(authorization_rule_name: Optional[pulumi.Input[str]] = None,
namespace_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceAuthorizationRuleResult]
func LookupNamespaceAuthorizationRule(ctx *Context, args *LookupNamespaceAuthorizationRuleArgs, opts ...InvokeOption) (*LookupNamespaceAuthorizationRuleResult, error)
func LookupNamespaceAuthorizationRuleOutput(ctx *Context, args *LookupNamespaceAuthorizationRuleOutputArgs, opts ...InvokeOption) LookupNamespaceAuthorizationRuleResultOutput
> Note: This function is named LookupNamespaceAuthorizationRule
in the Go SDK.
public static class GetNamespaceAuthorizationRule
{
public static Task<GetNamespaceAuthorizationRuleResult> InvokeAsync(GetNamespaceAuthorizationRuleArgs args, InvokeOptions? opts = null)
public static Output<GetNamespaceAuthorizationRuleResult> Invoke(GetNamespaceAuthorizationRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNamespaceAuthorizationRuleResult> getNamespaceAuthorizationRule(GetNamespaceAuthorizationRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:notificationhubs:getNamespaceAuthorizationRule
arguments:
# arguments dictionary
The following arguments are supported:
- string
- Authorization rule name.
- Namespace
Name string - The namespace name
- Resource
Group stringName - The name of the resource group.
- string
- Authorization rule name.
- Namespace
Name string - The namespace name
- Resource
Group stringName - The name of the resource group.
- String
- Authorization rule name.
- namespace
Name String - The namespace name
- resource
Group StringName - The name of the resource group.
- string
- Authorization rule name.
- namespace
Name string - The namespace name
- resource
Group stringName - The name of the resource group.
- str
- Authorization rule name.
- namespace_
name str - The namespace name
- resource_
group_ strname - The name of the resource group.
- String
- Authorization rule name.
- namespace
Name String - The namespace name
- resource
Group StringName - The name of the resource group.
getNamespaceAuthorizationRule 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