Microsoft.DataShare accounts/shareSubscriptions/triggers 2018-11-01-preview

Bicep resource definition

The accounts/shareSubscriptions/triggers resource type can be deployed to:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.DataShare/accounts/shareSubscriptions/triggers resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.DataShare/accounts/shareSubscriptions/triggers@2018-11-01-preview' = {
  name: 'string'
  kind: 'string'
  parent: resourceSymbolicName
  // For remaining properties, see accounts/shareSubscriptions/triggers objects
}

accounts/shareSubscriptions/triggers objects

Set the kind property to specify the type of object.

For ScheduleBased, use:

  kind: 'ScheduleBased'
  properties: {
    recurrenceInterval: 'string'
    synchronizationMode: 'string'
    synchronizationTime: 'string'
  }

Property values

accounts/shareSubscriptions/triggers

Name Description Value
name The resource name

See how to set names and types for child resources in Bicep.
string (required)
kind Set the object type ScheduleBased (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: shareSubscriptions

ScheduledTrigger

Name Description Value
kind Kind of synchronization on trigger. 'ScheduleBased' (required)
properties Properties of scheduled synchronization ScheduledTriggerProperties (required)

ScheduledTriggerProperties

Name Description Value
recurrenceInterval Recurrence Interval 'Day'
'Hour' (required)
synchronizationMode Synchronization mode 'FullSync'
'Incremental'
synchronizationTime Synchronization time string (required)

ARM template resource definition

The accounts/shareSubscriptions/triggers resource type can be deployed to:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.DataShare/accounts/shareSubscriptions/triggers resource, add the following JSON to your template.

{
  "type": "Microsoft.DataShare/accounts/shareSubscriptions/triggers",
  "apiVersion": "2018-11-01-preview",
  "name": "string",
  "kind": "string",
  // For remaining properties, see accounts/shareSubscriptions/triggers objects
}

accounts/shareSubscriptions/triggers objects

Set the kind property to specify the type of object.

For ScheduleBased, use:

  "kind": "ScheduleBased",
  "properties": {
    "recurrenceInterval": "string",
    "synchronizationMode": "string",
    "synchronizationTime": "string"
  }

Property values

accounts/shareSubscriptions/triggers

Name Description Value
type The resource type 'Microsoft.DataShare/accounts/shareSubscriptions/triggers'
apiVersion The resource api version '2018-11-01-preview'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
string (required)
kind Set the object type ScheduleBased (required)

ScheduledTrigger

Name Description Value
kind Kind of synchronization on trigger. 'ScheduleBased' (required)
properties Properties of scheduled synchronization ScheduledTriggerProperties (required)

ScheduledTriggerProperties

Name Description Value
recurrenceInterval Recurrence Interval 'Day'
'Hour' (required)
synchronizationMode Synchronization mode 'FullSync'
'Incremental'
synchronizationTime Synchronization time string (required)

Terraform (AzAPI provider) resource definition

The accounts/shareSubscriptions/triggers resource type can be deployed to:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.DataShare/accounts/shareSubscriptions/triggers resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DataShare/accounts/shareSubscriptions/triggers@2018-11-01-preview"
  name = "string"
  parent_id = "string"
  // For remaining properties, see accounts/shareSubscriptions/triggers objects
  body = jsonencode({
    kind = "string"
  })
}

accounts/shareSubscriptions/triggers objects

Set the kind property to specify the type of object.

For ScheduleBased, use:

  kind = "ScheduleBased"
  properties = {
    recurrenceInterval = "string"
    synchronizationMode = "string"
    synchronizationTime = "string"
  }

Property values

accounts/shareSubscriptions/triggers

Name Description Value
type The resource type "Microsoft.DataShare/accounts/shareSubscriptions/triggers@2018-11-01-preview"
name The resource name string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: shareSubscriptions
kind Set the object type ScheduleBased (required)

ScheduledTrigger

Name Description Value
kind Kind of synchronization on trigger. "ScheduleBased" (required)
properties Properties of scheduled synchronization ScheduledTriggerProperties (required)

ScheduledTriggerProperties

Name Description Value
recurrenceInterval Recurrence Interval "Day"
"Hour" (required)
synchronizationMode Synchronization mode "FullSync"
"Incremental"
synchronizationTime Synchronization time string (required)