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.eventhub.listEventHubKeys
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 ACS and SAS connection strings for the Event Hub. API Version: 2017-04-01.
Using listEventHubKeys
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 listEventHubKeys(args: ListEventHubKeysArgs, opts?: InvokeOptions): Promise<ListEventHubKeysResult>
function listEventHubKeysOutput(args: ListEventHubKeysOutputArgs, opts?: InvokeOptions): Output<ListEventHubKeysResult>
def list_event_hub_keys(authorization_rule_name: Optional[str] = None,
event_hub_name: Optional[str] = None,
namespace_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ListEventHubKeysResult
def list_event_hub_keys_output(authorization_rule_name: Optional[pulumi.Input[str]] = None,
event_hub_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[ListEventHubKeysResult]
func ListEventHubKeys(ctx *Context, args *ListEventHubKeysArgs, opts ...InvokeOption) (*ListEventHubKeysResult, error)
func ListEventHubKeysOutput(ctx *Context, args *ListEventHubKeysOutputArgs, opts ...InvokeOption) ListEventHubKeysResultOutput
> Note: This function is named ListEventHubKeys
in the Go SDK.
public static class ListEventHubKeys
{
public static Task<ListEventHubKeysResult> InvokeAsync(ListEventHubKeysArgs args, InvokeOptions? opts = null)
public static Output<ListEventHubKeysResult> Invoke(ListEventHubKeysInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListEventHubKeysResult> listEventHubKeys(ListEventHubKeysArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:eventhub:listEventHubKeys
arguments:
# arguments dictionary
The following arguments are supported:
- string
- The authorization rule name.
- Event
Hub stringName - The Event Hub name
- Namespace
Name string - The Namespace name
- Resource
Group stringName - Name of the resource group within the azure subscription.
- string
- The authorization rule name.
- Event
Hub stringName - The Event Hub name
- Namespace
Name string - The Namespace name
- Resource
Group stringName - Name of the resource group within the azure subscription.
- String
- The authorization rule name.
- event
Hub StringName - The Event Hub name
- namespace
Name String - The Namespace name
- resource
Group StringName - Name of the resource group within the azure subscription.
- string
- The authorization rule name.
- event
Hub stringName - The Event Hub name
- namespace
Name string - The Namespace name
- resource
Group stringName - Name of the resource group within the azure subscription.
- str
- The authorization rule name.
- event_
hub_ strname - The Event Hub name
- namespace_
name str - The Namespace name
- resource_
group_ strname - Name of the resource group within the azure subscription.
- String
- The authorization rule name.
- event
Hub StringName - The Event Hub name
- namespace
Name String - The Namespace name
- resource
Group StringName - Name of the resource group within the azure subscription.
listEventHubKeys Result
The following output properties are available:
- Alias
Primary stringConnection String - Primary connection string of the alias if GEO DR is enabled
- Alias
Secondary stringConnection String - Secondary connection string of the alias if GEO DR is enabled
- Key
Name string - A string that describes the AuthorizationRule.
- Primary
Connection stringString - Primary connection string of the created namespace AuthorizationRule.
- Primary
Key string - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- Secondary
Connection stringString - Secondary connection string of the created namespace AuthorizationRule.
- Secondary
Key string - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- Alias
Primary stringConnection String - Primary connection string of the alias if GEO DR is enabled
- Alias
Secondary stringConnection String - Secondary connection string of the alias if GEO DR is enabled
- Key
Name string - A string that describes the AuthorizationRule.
- Primary
Connection stringString - Primary connection string of the created namespace AuthorizationRule.
- Primary
Key string - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- Secondary
Connection stringString - Secondary connection string of the created namespace AuthorizationRule.
- Secondary
Key string - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- alias
Primary StringConnection String - Primary connection string of the alias if GEO DR is enabled
- alias
Secondary StringConnection String - Secondary connection string of the alias if GEO DR is enabled
- key
Name String - A string that describes the AuthorizationRule.
- primary
Connection StringString - Primary connection string of the created namespace AuthorizationRule.
- primary
Key String - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- secondary
Connection StringString - Secondary connection string of the created namespace AuthorizationRule.
- secondary
Key String - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- alias
Primary stringConnection String - Primary connection string of the alias if GEO DR is enabled
- alias
Secondary stringConnection String - Secondary connection string of the alias if GEO DR is enabled
- key
Name string - A string that describes the AuthorizationRule.
- primary
Connection stringString - Primary connection string of the created namespace AuthorizationRule.
- primary
Key string - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- secondary
Connection stringString - Secondary connection string of the created namespace AuthorizationRule.
- secondary
Key string - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- alias_
primary_ strconnection_ string - Primary connection string of the alias if GEO DR is enabled
- alias_
secondary_ strconnection_ string - Secondary connection string of the alias if GEO DR is enabled
- key_
name str - A string that describes the AuthorizationRule.
- primary_
connection_ strstring - Primary connection string of the created namespace AuthorizationRule.
- primary_
key str - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- secondary_
connection_ strstring - Secondary connection string of the created namespace AuthorizationRule.
- secondary_
key str - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- alias
Primary StringConnection String - Primary connection string of the alias if GEO DR is enabled
- alias
Secondary StringConnection String - Secondary connection string of the alias if GEO DR is enabled
- key
Name String - A string that describes the AuthorizationRule.
- primary
Connection StringString - Primary connection string of the created namespace AuthorizationRule.
- primary
Key String - A base64-encoded 256-bit primary key for signing and validating the SAS token.
- secondary
Connection StringString - Secondary connection string of the created namespace AuthorizationRule.
- secondary
Key String - A base64-encoded 256-bit primary key for signing and validating the SAS token.
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