Share via


ArmCosmosDBModelFactory.ExtendedCosmosDBSqlTriggerResourceInfo Method

Definition

Initializes a new instance of ExtendedCosmosDBSqlTriggerResourceInfo.

public static Azure.ResourceManager.CosmosDB.Models.ExtendedCosmosDBSqlTriggerResourceInfo ExtendedCosmosDBSqlTriggerResourceInfo (string triggerName = default, string body = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBSqlTriggerType? triggerType = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBSqlTriggerOperation? triggerOperation = default, string rid = default, float? timestamp = default, Azure.ETag? etag = default);
static member ExtendedCosmosDBSqlTriggerResourceInfo : string * string * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBSqlTriggerType> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBSqlTriggerOperation> * string * Nullable<single> * Nullable<Azure.ETag> -> Azure.ResourceManager.CosmosDB.Models.ExtendedCosmosDBSqlTriggerResourceInfo
Public Shared Function ExtendedCosmosDBSqlTriggerResourceInfo (Optional triggerName As String = Nothing, Optional body As String = Nothing, Optional triggerType As Nullable(Of CosmosDBSqlTriggerType) = Nothing, Optional triggerOperation As Nullable(Of CosmosDBSqlTriggerOperation) = Nothing, Optional rid As String = Nothing, Optional timestamp As Nullable(Of Single) = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As ExtendedCosmosDBSqlTriggerResourceInfo

Parameters

triggerName
String

Name of the Cosmos DB SQL trigger.

body
String

Body of the Trigger.

triggerType
Nullable<CosmosDBSqlTriggerType>

Type of the Trigger.

triggerOperation
Nullable<CosmosDBSqlTriggerOperation>

The operation the trigger is associated with.

rid
String

A system generated property. A unique identifier.

timestamp
Nullable<Single>

A system generated property that denotes the last updated timestamp of the resource.

etag
Nullable<ETag>

A system generated property representing the resource etag required for optimistic concurrency control.

Returns

A new ExtendedCosmosDBSqlTriggerResourceInfo instance for mocking.

Applies to