[azsystemevents] Updating with latest system event: 012021c786c360e0c34faf7af888c7fd7dbe2df5 (#23582)

This commit is contained in:
Richard Park 2024-10-14 12:56:08 -07:00 коммит произвёл GitHub
Родитель e866b62dbf
Коммит 34816e3a87
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
4 изменённых файлов: 45 добавлений и 35 удалений

Просмотреть файл

@ -4,6 +4,8 @@
### Features Added
- New field has been added to ACSIncomingCallEventData: OnBehalfOfCallee.
### Breaking Changes
### Bugs Fixed
@ -27,14 +29,14 @@
### Breaking Changes
- Models that were not system events (ex: ACSChatMessageEventInThreadBaseProperties), or referenced by system events, have been removed.
- Models that were not system events (ex: ACSChatMessageEventInThreadBaseProperties), or referenced by system events, have been removed.
## 0.4.0 (2024-06-11)
### Breaking Changes
- `Type` has been removed, making it simpler to compare the EventGridEvent.Type and CloudEvent.Type values against
our provided constants.
our provided constants.
- The following models have had 'Advanced' removed from their name:
- ACSMessageButtonContent
@ -56,6 +58,7 @@ our provided constants.
### Breaking Changes
Field and type renames:
- Globally, types and fields named ChannelType has been renamed to ChannelKind
- ACS events and constants have been changed to use an all-caps name (ex: AcsEmailDeliveryReportStatusDetails -> ACSEmailDeliveryReportStatusDetails).
- ACSAdvancedMessageContext.ID -> MessageID

Просмотреть файл

@ -579,6 +579,9 @@ type ACSIncomingCallEventData struct {
// Signed incoming call context.
IncomingCallContext *string
// The communication identifier of the user on behalf of whom the call is made.
OnBehalfOfCallee *CommunicationIdentifierModel
// The Id of the server call
ServerCallID *string
}
@ -1749,36 +1752,39 @@ type APIManagementUserUpdatedEventData struct {
// AVSClusterCreatedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ClusterCreated event.
type AVSClusterCreatedEventData struct {
// REQUIRED; Id of the operation that caused this event.
OperationID *string
// Hosts added to the cluster in this event, if any.
AddedHostNames []string
// Hosts in Maintenance mode in the cluster, if any.
InMaintenanceHostNames []string
// Id of the operation that caused this event.
OperationID *string
// Hosts removed from the cluster in this event, if any.
RemovedHostNames []string
}
// AVSClusterDeletedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ClusterDeleted event.
type AVSClusterDeletedEventData struct {
// REQUIRED; Id of the operation that caused this event.
OperationID *string
// Hosts added to the cluster in this event, if any.
AddedHostNames []string
// Hosts in Maintenance mode in the cluster, if any.
InMaintenanceHostNames []string
// Id of the operation that caused this event.
OperationID *string
// Hosts removed from the cluster in this event, if any.
RemovedHostNames []string
}
// AVSClusterFailedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ClusterFailed event.
type AVSClusterFailedEventData struct {
// REQUIRED; Id of the operation that caused this event.
OperationID *string
// Hosts added to the cluster in this event, if any.
AddedHostNames []string
@ -1788,39 +1794,36 @@ type AVSClusterFailedEventData struct {
// Hosts in Maintenance mode in the cluster, if any.
InMaintenanceHostNames []string
// Id of the operation that caused this event.
OperationID *string
// Hosts removed from the cluster in this event, if any.
RemovedHostNames []string
}
// AVSClusterUpdatedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ClusterUpdated event.
type AVSClusterUpdatedEventData struct {
// REQUIRED; Id of the operation that caused this event.
OperationID *string
// Hosts added to the cluster in this event, if any.
AddedHostNames []string
// Hosts in Maintenance mode in the cluster, if any.
InMaintenanceHostNames []string
// Id of the operation that caused this event.
OperationID *string
// Hosts removed from the cluster in this event, if any.
RemovedHostNames []string
}
// AVSClusterUpdatingEventData - Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ClusterUpdating event.
type AVSClusterUpdatingEventData struct {
// REQUIRED; Id of the operation that caused this event.
OperationID *string
// Hosts added to the cluster in this event, if any.
AddedHostNames []string
// Hosts in Maintenance mode in the cluster, if any.
InMaintenanceHostNames []string
// Id of the operation that caused this event.
OperationID *string
// Hosts removed from the cluster in this event, if any.
RemovedHostNames []string
}
@ -1828,34 +1831,34 @@ type AVSClusterUpdatingEventData struct {
// AVSPrivateCloudFailedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.AVS.PrivateCloudFailed
// event.
type AVSPrivateCloudFailedEventData struct {
// REQUIRED; Id of the operation that caused this event.
OperationID *string
// Failure reason of an event.
FailureMessage *string
// Id of the operation that caused this event.
OperationID *string
}
// AVSPrivateCloudUpdatedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.AVS.PrivateCloudUpdated
// event.
type AVSPrivateCloudUpdatedEventData struct {
// Id of the operation that caused this event.
// REQUIRED; Id of the operation that caused this event.
OperationID *string
}
// AVSPrivateCloudUpdatingEventData - Schema of the Data property of an EventGridEvent for a Microsoft.AVS.PrivateCloudUpdating
// event.
type AVSPrivateCloudUpdatingEventData struct {
// Id of the operation that caused this event.
// REQUIRED; Id of the operation that caused this event.
OperationID *string
}
// AVSScriptExecutionCancelledEventData - Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ScriptExecutionCancelled
// event.
type AVSScriptExecutionCancelledEventData struct {
// Cmdlet referenced in the execution that caused this event.
// REQUIRED; Cmdlet referenced in the execution that caused this event.
CmdletID *string
// Id of the operation that caused this event.
// REQUIRED; Id of the operation that caused this event.
OperationID *string
// Stdout outputs from the execution, if any.
@ -1865,15 +1868,15 @@ type AVSScriptExecutionCancelledEventData struct {
// AVSScriptExecutionFailedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ScriptExecutionFailed
// event.
type AVSScriptExecutionFailedEventData struct {
// Cmdlet referenced in the execution that caused this event.
// REQUIRED; Cmdlet referenced in the execution that caused this event.
CmdletID *string
// REQUIRED; Id of the operation that caused this event.
OperationID *string
// Failure reason of an event.
FailureMessage *string
// Id of the operation that caused this event.
OperationID *string
// Stdout outputs from the execution, if any.
Output []string
}
@ -1881,13 +1884,13 @@ type AVSScriptExecutionFailedEventData struct {
// AVSScriptExecutionFinishedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ScriptExecutionFinished
// event.
type AVSScriptExecutionFinishedEventData struct {
// REQUIRED; Cmdlet referenced in the execution that caused this event.
CmdletID *string
// REQUIRED; Named outputs of completed execution, if any.
NamedOutputs map[string]*string
// Cmdlet referenced in the execution that caused this event.
CmdletID *string
// Id of the operation that caused this event.
// REQUIRED; Id of the operation that caused this event.
OperationID *string
// Stdout outputs from the execution, if any.
@ -1897,10 +1900,10 @@ type AVSScriptExecutionFinishedEventData struct {
// AVSScriptExecutionStartedEventData - Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ScriptExecutionStarted
// event.
type AVSScriptExecutionStartedEventData struct {
// Cmdlet referenced in the execution that caused this event.
// REQUIRED; Cmdlet referenced in the execution that caused this event.
CmdletID *string
// Id of the operation that caused this event.
// REQUIRED; Id of the operation that caused this event.
OperationID *string
// Stdout outputs from the execution, if any.

Просмотреть файл

@ -1131,6 +1131,7 @@ func (a ACSIncomingCallEventData) MarshalJSON() ([]byte, error) {
populate(objectMap, "customContext", a.CustomContext)
populate(objectMap, "from", a.FromCommunicationIdentifier)
populate(objectMap, "incomingCallContext", a.IncomingCallContext)
populate(objectMap, "onBehalfOfCallee", a.OnBehalfOfCallee)
populate(objectMap, "serverCallId", a.ServerCallID)
populate(objectMap, "to", a.ToCommunicationIdentifier)
return json.Marshal(objectMap)
@ -1160,6 +1161,9 @@ func (a *ACSIncomingCallEventData) UnmarshalJSON(data []byte) error {
case "incomingCallContext":
err = unpopulate(val, "IncomingCallContext", &a.IncomingCallContext)
delete(rawMsg, key)
case "onBehalfOfCallee":
err = unpopulate(val, "OnBehalfOfCallee", &a.OnBehalfOfCallee)
delete(rawMsg, key)
case "serverCallId":
err = unpopulate(val, "ServerCallID", &a.ServerCallID)
delete(rawMsg, key)

Просмотреть файл

@ -1,3 +1,3 @@
directory: specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents
commit: 6c709e5a3325eaa862649acee2252ce1c8166042
commit: 012021c786c360e0c34faf7af888c7fd7dbe2df5
repo: Azure/azure-rest-api-specs