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.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.devices.listIotHubResourceKeys
Explore with Pulumi AI
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.47.1 published on Monday, Jun 24, 2024 by Pulumi
Get the security metadata for an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security. Azure REST API version: 2022-04-30-preview.
Other available API versions: 2017-07-01, 2022-11-15-preview, 2023-06-30, 2023-06-30-preview.
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:
- Resource
Group stringName - The name of the resource group that contains the IoT hub.
- Resource
Name string - The name of the IoT hub.
- Resource
Group stringName - The name of the resource group that contains the IoT hub.
- Resource
Name string - The name of the IoT hub.
- resource
Group StringName - The name of the resource group that contains the IoT hub.
- resource
Name String - The name of the IoT hub.
- resource
Group stringName - The name of the resource group that contains the IoT hub.
- resource
Name string - The name of the IoT hub.
- resource_
group_ strname - The name of the resource group that contains the IoT hub.
- resource_
name str - The name of the IoT hub.
- resource
Group StringName - The name of the resource group that contains the IoT hub.
- resource
Name String - The name of the IoT hub.
listIotHubResourceKeys Result
The following output properties are available:
- Next
Link string - The next link.
- Value
List<Pulumi.
Azure Native. Devices. Outputs. Shared Access Signature Authorization Rule Response> - The list of shared access policies.
- Next
Link string - The next link.
- Value
[]Shared
Access Signature Authorization Rule Response - The list of shared access policies.
- next
Link String - The next link.
- value
List<Shared
Access Signature Authorization Rule Response> - The list of shared access policies.
- next
Link string - The next link.
- value
Shared
Access Signature Authorization Rule Response[] - The list of shared access policies.
- next_
link str - The next link.
- value
Sequence[Shared
Access Signature Authorization Rule Response] - The list of shared access policies.
- next
Link String - The next link.
- value List<Property Map>
- The list of shared access policies.
Supporting Types
SharedAccessSignatureAuthorizationRuleResponse
- Key
Name string - The name of the shared access policy.
- Rights string
- The permissions assigned to the shared access policy.
- Primary
Key string - The primary key.
- Secondary
Key string - The secondary key.
- Key
Name string - The name of the shared access policy.
- Rights string
- The permissions assigned to the shared access policy.
- Primary
Key string - The primary key.
- Secondary
Key string - The secondary key.
- key
Name String - The name of the shared access policy.
- rights String
- The permissions assigned to the shared access policy.
- primary
Key String - The primary key.
- secondary
Key String - The secondary key.
- key
Name string - The name of the shared access policy.
- rights string
- The permissions assigned to the shared access policy.
- primary
Key string - The primary key.
- secondary
Key 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.
- key
Name String - The name of the shared access policy.
- rights String
- The permissions assigned to the shared access policy.
- primary
Key String - The primary key.
- secondary
Key String - The secondary key.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.47.1 published on Monday, Jun 24, 2024 by Pulumi