Share via


EdgeModulesOperationsExtensions.CreateOrUpdate Method

Definition

Creates a new edge module or updates an existing one.

public static Microsoft.Azure.Management.VideoAnalyzer.Models.EdgeModuleEntity CreateOrUpdate (this Microsoft.Azure.Management.VideoAnalyzer.IEdgeModulesOperations operations, string resourceGroupName, string accountName, string edgeModuleName);
static member CreateOrUpdate : Microsoft.Azure.Management.VideoAnalyzer.IEdgeModulesOperations * string * string * string -> Microsoft.Azure.Management.VideoAnalyzer.Models.EdgeModuleEntity
<Extension()>
Public Function CreateOrUpdate (operations As IEdgeModulesOperations, resourceGroupName As String, accountName As String, edgeModuleName As String) As EdgeModuleEntity

Parameters

operations
IEdgeModulesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

accountName
String

The Azure Video Analyzer account name.

edgeModuleName
String

The Edge Module name.

Returns

Remarks

Creates a new edge module or updates an existing one. An edge module resource enables a single instance of an Azure Video Analyzer IoT edge module to interact with the Video Analyzer Account. This is used for authorization and also to make sure that the particular edge module instance only has access to the data it requires from the Azure Video Analyzer service. A new edge module resource should be created for every new instance of an Azure Video Analyzer edge module deployed to you Azure IoT edge environment. Edge module resources can be deleted if the specific module is not in use anymore.

Applies to