ArmDataBoxEdgeModelFactory.EdgeFileEventTrigger Method

Definition

public static Azure.ResourceManager.DataBoxEdge.Models.EdgeFileEventTrigger EdgeFileEventTrigger(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string customContextTag = default, Azure.Core.ResourceIdentifier sourceInfoShareId = default, Azure.Core.ResourceIdentifier sinkInfoRoleId = default);
static member EdgeFileEventTrigger : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DataBoxEdge.Models.EdgeFileEventTrigger
Public Shared Function EdgeFileEventTrigger (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional customContextTag As String = Nothing, Optional sourceInfoShareId As ResourceIdentifier = Nothing, Optional sinkInfoRoleId As ResourceIdentifier = Nothing) As EdgeFileEventTrigger

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

customContextTag
String

A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module.

sourceInfoShareId
ResourceIdentifier

File share ID.

sinkInfoRoleId
ResourceIdentifier

Compute role ID.

Returns

A new EdgeFileEventTrigger instance for mocking.

Exceptions

sourceInfoShareId or sinkInfoRoleId is null.

Applies to