1. Packages
  2. Azure Native
  3. API Docs
  4. eventgrid
  5. listDomainSharedAccessKeys
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.eventgrid.listDomainSharedAccessKeys

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    List the two keys used to publish to a domain. Azure REST API version: 2022-06-15.

    Other available API versions: 2020-04-01-preview, 2023-06-01-preview, 2023-12-15-preview, 2024-06-01-preview.

    Using listDomainSharedAccessKeys

    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 listDomainSharedAccessKeys(args: ListDomainSharedAccessKeysArgs, opts?: InvokeOptions): Promise<ListDomainSharedAccessKeysResult>
    function listDomainSharedAccessKeysOutput(args: ListDomainSharedAccessKeysOutputArgs, opts?: InvokeOptions): Output<ListDomainSharedAccessKeysResult>
    def list_domain_shared_access_keys(domain_name: Optional[str] = None,
                                       resource_group_name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> ListDomainSharedAccessKeysResult
    def list_domain_shared_access_keys_output(domain_name: Optional[pulumi.Input[str]] = None,
                                       resource_group_name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[ListDomainSharedAccessKeysResult]
    func ListDomainSharedAccessKeys(ctx *Context, args *ListDomainSharedAccessKeysArgs, opts ...InvokeOption) (*ListDomainSharedAccessKeysResult, error)
    func ListDomainSharedAccessKeysOutput(ctx *Context, args *ListDomainSharedAccessKeysOutputArgs, opts ...InvokeOption) ListDomainSharedAccessKeysResultOutput

    > Note: This function is named ListDomainSharedAccessKeys in the Go SDK.

    public static class ListDomainSharedAccessKeys 
    {
        public static Task<ListDomainSharedAccessKeysResult> InvokeAsync(ListDomainSharedAccessKeysArgs args, InvokeOptions? opts = null)
        public static Output<ListDomainSharedAccessKeysResult> Invoke(ListDomainSharedAccessKeysInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListDomainSharedAccessKeysResult> listDomainSharedAccessKeys(ListDomainSharedAccessKeysArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:eventgrid:listDomainSharedAccessKeys
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DomainName string
    Name of the domain.
    ResourceGroupName string
    The name of the resource group within the user's subscription.
    DomainName string
    Name of the domain.
    ResourceGroupName string
    The name of the resource group within the user's subscription.
    domainName String
    Name of the domain.
    resourceGroupName String
    The name of the resource group within the user's subscription.
    domainName string
    Name of the domain.
    resourceGroupName string
    The name of the resource group within the user's subscription.
    domain_name str
    Name of the domain.
    resource_group_name str
    The name of the resource group within the user's subscription.
    domainName String
    Name of the domain.
    resourceGroupName String
    The name of the resource group within the user's subscription.

    listDomainSharedAccessKeys Result

    The following output properties are available:

    Key1 string
    Shared access key1 for the domain.
    Key2 string
    Shared access key2 for the domain.
    Key1 string
    Shared access key1 for the domain.
    Key2 string
    Shared access key2 for the domain.
    key1 String
    Shared access key1 for the domain.
    key2 String
    Shared access key2 for the domain.
    key1 string
    Shared access key1 for the domain.
    key2 string
    Shared access key2 for the domain.
    key1 str
    Shared access key1 for the domain.
    key2 str
    Shared access key2 for the domain.
    key1 String
    Shared access key1 for the domain.
    key2 String
    Shared access key2 for the domain.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi