azure-native.eventgrid.listTopicSharedAccessKeys
Explore with Pulumi AI
List the two keys used to publish to a topic.
Uses Azure REST API version 2025-02-15.
Other available API versions: 2022-06-15, 2023-06-01-preview, 2023-12-15-preview, 2024-06-01-preview, 2024-12-15-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native eventgrid [ApiVersion]
. See the version guide for details.
Using listTopicSharedAccessKeys
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 listTopicSharedAccessKeys(args: ListTopicSharedAccessKeysArgs, opts?: InvokeOptions): Promise<ListTopicSharedAccessKeysResult>
function listTopicSharedAccessKeysOutput(args: ListTopicSharedAccessKeysOutputArgs, opts?: InvokeOptions): Output<ListTopicSharedAccessKeysResult>
def list_topic_shared_access_keys(resource_group_name: Optional[str] = None,
topic_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ListTopicSharedAccessKeysResult
def list_topic_shared_access_keys_output(resource_group_name: Optional[pulumi.Input[str]] = None,
topic_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ListTopicSharedAccessKeysResult]
func ListTopicSharedAccessKeys(ctx *Context, args *ListTopicSharedAccessKeysArgs, opts ...InvokeOption) (*ListTopicSharedAccessKeysResult, error)
func ListTopicSharedAccessKeysOutput(ctx *Context, args *ListTopicSharedAccessKeysOutputArgs, opts ...InvokeOption) ListTopicSharedAccessKeysResultOutput
> Note: This function is named ListTopicSharedAccessKeys
in the Go SDK.
public static class ListTopicSharedAccessKeys
{
public static Task<ListTopicSharedAccessKeysResult> InvokeAsync(ListTopicSharedAccessKeysArgs args, InvokeOptions? opts = null)
public static Output<ListTopicSharedAccessKeysResult> Invoke(ListTopicSharedAccessKeysInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListTopicSharedAccessKeysResult> listTopicSharedAccessKeys(ListTopicSharedAccessKeysArgs args, InvokeOptions options)
public static Output<ListTopicSharedAccessKeysResult> listTopicSharedAccessKeys(ListTopicSharedAccessKeysArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:eventgrid:listTopicSharedAccessKeys
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group within the user's subscription.
- Topic
Name string - Name of the topic.
- Resource
Group stringName - The name of the resource group within the user's subscription.
- Topic
Name string - Name of the topic.
- resource
Group StringName - The name of the resource group within the user's subscription.
- topic
Name String - Name of the topic.
- resource
Group stringName - The name of the resource group within the user's subscription.
- topic
Name string - Name of the topic.
- resource_
group_ strname - The name of the resource group within the user's subscription.
- topic_
name str - Name of the topic.
- resource
Group StringName - The name of the resource group within the user's subscription.
- topic
Name String - Name of the topic.
listTopicSharedAccessKeys Result
The following output properties are available:
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0