Media Streams Events
Oracle Cloud Infrastructure Events are JSON files that are emitted with some service operations and carry information about that operation.
You can define rules that trigger a specific action when an event occurs. For more information, see Overview of Events and Get Started with Events. Media Streams emits an event, when a Media Streams distribution channel is created, updated, or deleted.
Create Media Streams Distribution Channel Event Types
Friendly Name | Event Type |
---|---|
Create Media Stream Distribution Channel |
|
Media Stream Distribution Channel |
|
Move Media Stream Distribution Channel |
|
Update Media Stream Distribution Channel |
|
Example event for creating a Media Streams Distribution Channel:
{
"eventType": "com.oraclecloud.mediaservices.CreateStreamDistributionChannel",
"cloudEventsVersion": "0.1",
"eventTypeVersion": "2.0",
"source": "mediaservices",
"eventId": "<unique_ID>",
"eventTime": "2022-04-21T00:01:20.416Z",
"contentType": "application/json",
"data": {
"eventGroupingId": "<unique_ID>",
"eventName": "CreateStreamDistributionChannel",
"compartmentId": "<unique_ID>",
"compartmentName": "example_name",
"resourceName": "my_subscription",
"resourceId": "ocid1.streamdistributionchannel.oc1..<unique_ID>",
"availabilityDomain": "AD2",
"freeformTags": {},
"definedTags": {
"Oracle-Tags": {
"CreatedBy": "ocid1.instance.oc1..<unique_ID>",
"CreatedOn": "2022-04-21T00:01:20.185Z"
}
}
}
Create Stream Packaging Config Event Types
Friendly Name | Event Type |
---|---|
Create Media Stream Packaging Config |
|
Media Stream Packaging Config |
|
Move Media Stream Packaging Config |
|
Update Media Stream Packaging Config |
|
Example event for creating a Media Streams Packaging Config:
{
"eventType": "com.oraclecloud.mediaservices.CreateStreamPackagingConfig",
"cloudEventsVersion": "0.1",
"eventTypeVersion": "2.0",
"source": "mediaservices",
"eventId": "<unique_ID>",
"eventTime": "2022-04-21T00:01:20.971Z",
"contentType": "application/json",
"data": {
"eventGroupingId": "<unique_ID>",
"eventName": "CreateStreamPackagingConfig",
"compartmentId": "ocid1.compartment.oc1..<unique_ID>",
"compartmentName": "example_name",
"resourceName": "my_subscription",
"resourceId": "ocid1.streampackagingconfig.oc1.iad..<unique_ID>",
"availabilityDomain": "AD1",
"freeformTags": {},
"definedTags": {
"Oracle-Tags": {
"CreatedBy": "ocid1.instance.oc1.iad..<unique_ID>",
"CreatedOn": "2022-04-21T00:01:20.632Z"
Create Media Stream CDN Config Event Types
Friendly Name | Event Type |
---|---|
Create Media Stream CDN Config |
|
Media Stream CDN Config |
|
Move Media Stream CDN Config |
|
Update Media Stream CDN Config |
|
Example event for creating a Media Stream CDN Config:
{
"eventType": "com.oraclecloud.mediaservices.CreateStreamCdnConfig",
"cloudEventsVersion": "0.1",
"eventTypeVersion": "2.0",
"source": "mediaservices",
"eventId": "<unique_ID>",
"eventTime": "2022-04-21T00:01:21.288Z",
"contentType": "application/json",
"data": {
"eventGroupingId": "<unique_ID>",
"eventName": "CreateStreamCdnConfig",
"compartmentId": "ocid1.compartment.oc1..<unique_ID>",
"compartmentName": "example_name",
"resourceName": "my_subscription",
"resourceId": "ocid1.streamcdnconfig.oc1.iad..<unique_ID>",
"availabilityDomain": "AD1",
"freeformTags": {},
"definedTags": {
"Oracle-Tags": {
"CreatedBy": "ocid1.instance.oc1.iad..<unique_ID>",
"CreatedOn": "2022-04-21T00:01:21.018Z"
}
}