azure-native.videoanalyzer.listEdgeModuleProvisioningToken
Explore with Pulumi AI
Creates a new provisioning token. A provisioning token allows for a single instance of Azure Video analyzer IoT edge module to be initialized and authorized to the cloud account. The provisioning token itself is short lived and it is only used for the initial handshake between IoT edge module and the cloud. After the initial handshake, the IoT edge module will agree on a set of authentication keys which will be auto-rotated as long as the module is able to periodically connect to the cloud. A new provisioning token can be generated for the same IoT edge module in case the module state lost or reset. Azure REST API version: 2021-11-01-preview.
Using listEdgeModuleProvisioningToken
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 listEdgeModuleProvisioningToken(args: ListEdgeModuleProvisioningTokenArgs, opts?: InvokeOptions): Promise<ListEdgeModuleProvisioningTokenResult>
function listEdgeModuleProvisioningTokenOutput(args: ListEdgeModuleProvisioningTokenOutputArgs, opts?: InvokeOptions): Output<ListEdgeModuleProvisioningTokenResult>
def list_edge_module_provisioning_token(account_name: Optional[str] = None,
edge_module_name: Optional[str] = None,
expiration_date: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ListEdgeModuleProvisioningTokenResult
def list_edge_module_provisioning_token_output(account_name: Optional[pulumi.Input[str]] = None,
edge_module_name: Optional[pulumi.Input[str]] = None,
expiration_date: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ListEdgeModuleProvisioningTokenResult]
func ListEdgeModuleProvisioningToken(ctx *Context, args *ListEdgeModuleProvisioningTokenArgs, opts ...InvokeOption) (*ListEdgeModuleProvisioningTokenResult, error)
func ListEdgeModuleProvisioningTokenOutput(ctx *Context, args *ListEdgeModuleProvisioningTokenOutputArgs, opts ...InvokeOption) ListEdgeModuleProvisioningTokenResultOutput
> Note: This function is named ListEdgeModuleProvisioningToken
in the Go SDK.
public static class ListEdgeModuleProvisioningToken
{
public static Task<ListEdgeModuleProvisioningTokenResult> InvokeAsync(ListEdgeModuleProvisioningTokenArgs args, InvokeOptions? opts = null)
public static Output<ListEdgeModuleProvisioningTokenResult> Invoke(ListEdgeModuleProvisioningTokenInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListEdgeModuleProvisioningTokenResult> listEdgeModuleProvisioningToken(ListEdgeModuleProvisioningTokenArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:videoanalyzer:listEdgeModuleProvisioningToken
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name string - The Azure Video Analyzer account name.
- Edge
Module stringName - The Edge Module name.
- Expiration
Date string - The desired expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Account
Name string - The Azure Video Analyzer account name.
- Edge
Module stringName - The Edge Module name.
- Expiration
Date string - The desired expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- account
Name String - The Azure Video Analyzer account name.
- edge
Module StringName - The Edge Module name.
- expiration
Date String - The desired expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- account
Name string - The Azure Video Analyzer account name.
- edge
Module stringName - The Edge Module name.
- expiration
Date string - The desired expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- account_
name str - The Azure Video Analyzer account name.
- edge_
module_ strname - The Edge Module name.
- expiration_
date str - The desired expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- account
Name String - The Azure Video Analyzer account name.
- edge
Module StringName - The Edge Module name.
- expiration
Date String - The desired expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
listEdgeModuleProvisioningToken Result
The following output properties are available:
- Expiration
Date string - The expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date.
- Token string
- The token blob to be provided to the Azure Video Analyzer IoT edge module through the Azure IoT Edge module twin properties.
- Expiration
Date string - The expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date.
- Token string
- The token blob to be provided to the Azure Video Analyzer IoT edge module through the Azure IoT Edge module twin properties.
- expiration
Date String - The expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date.
- token String
- The token blob to be provided to the Azure Video Analyzer IoT edge module through the Azure IoT Edge module twin properties.
- expiration
Date string - The expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date.
- token string
- The token blob to be provided to the Azure Video Analyzer IoT edge module through the Azure IoT Edge module twin properties.
- expiration_
date str - The expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date.
- token str
- The token blob to be provided to the Azure Video Analyzer IoT edge module through the Azure IoT Edge module twin properties.
- expiration
Date String - The expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date.
- token String
- The token blob to be provided to the Azure Video Analyzer IoT edge module through the Azure IoT Edge module twin properties.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0