CheckExistsPropertyBatchOperation

Represents a PropertyBatchOperation that compares the Boolean existence of a property with the Exists argument. The PropertyBatchOperation operation fails if the property's existence is not equal to the Exists argument. The CheckExistsPropertyBatchOperation is generally used as a precondition for the write operations in the batch. Note that if one PropertyBatchOperation in a PropertyBatch fails, the entire batch fails and cannot be committed in a transactional manner.

Properties

Name Type Required
Kind string Yes
PropertyName string Yes
Exists boolean Yes

Kind

Type: string
Required: Yes

A discriminator property. Its value must be 'CheckExists' for objects of type 'CheckExistsPropertyBatchOperation'.


PropertyName

Type: string
Required: Yes

The name of the Service Fabric property.


Exists

Type: boolean
Required: Yes

Whether or not the property should exist for the operation to pass.