events_events
Creates, updates, deletes, gets or lists an events_events resource.
Overview
| Name | events_events |
| Type | Resource |
| Id | azure.migrate_projects.events_events |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | Gets or sets the relative URL to get to this REST resource. |
name | string | Gets or sets the name of this REST resource. |
properties | object | Gets or sets the properties of the event. |
type | string | Gets the type of this REST resource. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, resourceGroupName, migrateProjectName, eventName | api-version | |
delete | delete | subscriptionId, resourceGroupName, migrateProjectName, eventName | api-version | Delete the migrate event. Deleting non-existent migrate event is a no-operation. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
eventName | string | Unique name of an event within a migrate project. |
migrateProjectName | string | Name of the Azure Migrate project. |
resourceGroupName | string | Name of the Azure Resource Group that migrate project is part of. |
subscriptionId | string | Azure Subscription Id in which migrate project was created. |
api-version | string | Standard request header. Used by service to identify API version used by client. |
SELECT examples
- get
OK
SELECT
id,
name,
properties,
type
FROM azure.migrate_projects.events_events
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND migrateProjectName = '{{ migrateProjectName }}' -- required
AND eventName = '{{ eventName }}' -- required
AND api-version = '{{ api-version }}'
;
DELETE examples
- delete
Delete the migrate event. Deleting non-existent migrate event is a no-operation.
DELETE FROM azure.migrate_projects.events_events
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND migrateProjectName = '{{ migrateProjectName }}' --required
AND eventName = '{{ eventName }}' --required
AND api-version = '{{ api-version }}'
;