Azure Native

Pulumi Official
Package maintained by Pulumi
v1.68.2 published on Tuesday, Aug 16, 2022 by Pulumi

listIotHubResourceKeys

The list of shared access policies with a next link. API Version: 2020-08-31.

Using listIotHubResourceKeys

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 listIotHubResourceKeys(args: ListIotHubResourceKeysArgs, opts?: InvokeOptions): Promise<ListIotHubResourceKeysResult>
function listIotHubResourceKeysOutput(args: ListIotHubResourceKeysOutputArgs, opts?: InvokeOptions): Output<ListIotHubResourceKeysResult>
def list_iot_hub_resource_keys(resource_group_name: Optional[str] = None,
                               resource_name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> ListIotHubResourceKeysResult
def list_iot_hub_resource_keys_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                               resource_name: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[ListIotHubResourceKeysResult]
func ListIotHubResourceKeys(ctx *Context, args *ListIotHubResourceKeysArgs, opts ...InvokeOption) (*ListIotHubResourceKeysResult, error)
func ListIotHubResourceKeysOutput(ctx *Context, args *ListIotHubResourceKeysOutputArgs, opts ...InvokeOption) ListIotHubResourceKeysResultOutput

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

public static class ListIotHubResourceKeys 
{
    public static Task<ListIotHubResourceKeysResult> InvokeAsync(ListIotHubResourceKeysArgs args, InvokeOptions? opts = null)
    public static Output<ListIotHubResourceKeysResult> Invoke(ListIotHubResourceKeysInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListIotHubResourceKeysResult> listIotHubResourceKeys(ListIotHubResourceKeysArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: azure-native:devices:listIotHubResourceKeys
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ResourceGroupName string

The name of the resource group that contains the IoT hub.

ResourceName string

The name of the IoT hub.

ResourceGroupName string

The name of the resource group that contains the IoT hub.

ResourceName string

The name of the IoT hub.

resourceGroupName String

The name of the resource group that contains the IoT hub.

resourceName String

The name of the IoT hub.

resourceGroupName string

The name of the resource group that contains the IoT hub.

resourceName string

The name of the IoT hub.

resource_group_name str

The name of the resource group that contains the IoT hub.

resource_name str

The name of the IoT hub.

resourceGroupName String

The name of the resource group that contains the IoT hub.

resourceName String

The name of the IoT hub.

listIotHubResourceKeys Result

The following output properties are available:

NextLink string

The next link.

Value []SharedAccessSignatureAuthorizationRuleResponse

The list of shared access policies.

nextLink String

The next link.

value List<SharedAccessSignatureAuthorizationRuleResponse>

The list of shared access policies.

nextLink string

The next link.

value SharedAccessSignatureAuthorizationRuleResponse[]

The list of shared access policies.

next_link str

The next link.

value Sequence[SharedAccessSignatureAuthorizationRuleResponse]

The list of shared access policies.

nextLink String

The next link.

value List<Property Map>

The list of shared access policies.

Supporting Types

SharedAccessSignatureAuthorizationRuleResponse

KeyName string

The name of the shared access policy.

Rights string

The permissions assigned to the shared access policy.

PrimaryKey string

The primary key.

SecondaryKey string

The secondary key.

KeyName string

The name of the shared access policy.

Rights string

The permissions assigned to the shared access policy.

PrimaryKey string

The primary key.

SecondaryKey string

The secondary key.

keyName String

The name of the shared access policy.

rights String

The permissions assigned to the shared access policy.

primaryKey String

The primary key.

secondaryKey String

The secondary key.

keyName string

The name of the shared access policy.

rights string

The permissions assigned to the shared access policy.

primaryKey string

The primary key.

secondaryKey string

The secondary key.

key_name str

The name of the shared access policy.

rights str

The permissions assigned to the shared access policy.

primary_key str

The primary key.

secondary_key str

The secondary key.

keyName String

The name of the shared access policy.

rights String

The permissions assigned to the shared access policy.

primaryKey String

The primary key.

secondaryKey String

The secondary key.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0