azure-native.eventgrid.listDomainSharedAccessKeys

Explore with Pulumi AI

List the two keys used to publish to a domain. API Version: 2020-06-01.

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