EventGridDataConnection Class
Class representing an Event Grid data connection.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.kusto.models._models_py3.DataConnectionEventGridDataConnection
Constructor
EventGridDataConnection(*, location: Optional[str] = None, storage_account_resource_id: Optional[str] = None, event_grid_resource_id: Optional[str] = None, event_hub_resource_id: Optional[str] = None, consumer_group: Optional[str] = None, table_name: Optional[str] = None, mapping_rule_name: Optional[str] = None, data_format: Optional[Union[str, azure.mgmt.kusto.models._kusto_management_client_enums.EventGridDataFormat]] = None, ignore_first_record: Optional[bool] = None, blob_storage_event_type: Optional[Union[str, azure.mgmt.kusto.models._kusto_management_client_enums.BlobStorageEventType]] = None, managed_identity_resource_id: Optional[str] = None, database_routing: Optional[Union[str, azure.mgmt.kusto.models._kusto_management_client_enums.DatabaseRouting]] = None, **kwargs)
Variables
- id
- str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- str
The name of the resource.
- type
- str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- location
- str
Resource location.
- kind
- str or <xref:kusto_management_client.models.DataConnectionKind>
Required. Kind of the endpoint for the data connection.Constant filled by server. Possible values include: "EventHub", "EventGrid", "IotHub".
- storage_account_resource_id
- str
The resource ID of the storage account where the data resides.
- event_grid_resource_id
- str
The resource ID of the event grid that is subscribed to the storage account events.
- event_hub_resource_id
- str
The resource ID where the event grid is configured to send events.
- consumer_group
- str
The event hub consumer group.
- table_name
- str
The table where the data should be ingested. Optionally the table information can be added to each message.
- mapping_rule_name
- str
The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
- data_format
- str or <xref:kusto_management_client.models.EventGridDataFormat>
The data format of the message. Optionally the data format can be added to each message. Possible values include: "MULTIJSON", "JSON", "CSV", "TSV", "SCSV", "SOHSV", "PSV", "TXT", "RAW", "SINGLEJSON", "AVRO", "TSVE", "PARQUET", "ORC", "APACHEAVRO", "W3CLOGFILE".
- ignore_first_record
- bool
A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file.
- blob_storage_event_type
- str or <xref:kusto_management_client.models.BlobStorageEventType>
The name of blob storage event type to process. Possible values include: "Microsoft.Storage.BlobCreated", "Microsoft.Storage.BlobRenamed".
- managed_identity_resource_id
- str
The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account.
- managed_identity_object_id
- str
The object ID of managedIdentityResourceId.
- database_routing
- str or <xref:kusto_management_client.models.DatabaseRouting>
Indication for database routing information from the data connection, by default only database routing information is allowed. Possible values include: "Single", "Multi".
- provisioning_state
- str or <xref:kusto_management_client.models.ProvisioningState>
The provisioned state of the resource. Possible values include: "Running", "Creating", "Deleting", "Succeeded", "Failed", "Moving".
Feedback
Submit and view feedback for