AnalyticsSynapseArtifactsModelFactory.TriggerResource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of TriggerResource.
public static Azure.Analytics.Synapse.Artifacts.Models.TriggerResource TriggerResource (string id = default, string name = default, string type = default, string etag = default, Azure.Analytics.Synapse.Artifacts.Models.Trigger properties = default);
static member TriggerResource : string * string * string * string * Azure.Analytics.Synapse.Artifacts.Models.Trigger -> Azure.Analytics.Synapse.Artifacts.Models.TriggerResource
Public Shared Function TriggerResource (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional etag As String = Nothing, Optional properties As Trigger = Nothing) As TriggerResource
Parameters
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- etag
- String
Resource Etag.
- properties
- Trigger
Properties of the trigger. Please note Trigger is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include BlobEventsTrigger, BlobTrigger, ChainingTrigger, CustomEventsTrigger, MultiplePipelineTrigger, RerunTumblingWindowTrigger, ScheduleTrigger and TumblingWindowTrigger.
Returns
A new TriggerResource instance for mocking.
Applies to
Azure SDK for .NET