diff --git a/services/eventgrid/2018-01-01/eventgrid/CHANGELOG.md b/services/eventgrid/2018-01-01/eventgrid/CHANGELOG.md index 4b553421a78a..3e71f035f69e 100644 --- a/services/eventgrid/2018-01-01/eventgrid/CHANGELOG.md +++ b/services/eventgrid/2018-01-01/eventgrid/CHANGELOG.md @@ -1 +1,20 @@ -No changes to exported content compared to the previous release. +## New Content + +## Struct Changes + +### New Structs + +1. MachineLearningServicesDatasetDriftDetectedEventData +1. MachineLearningServicesModelDeployedEventData +1. MachineLearningServicesModelRegisteredEventData +1. MachineLearningServicesRunCompletedEventData +1. StorageBlobRenamedEventData +1. StorageDirectoryCreatedEventData +1. StorageDirectoryDeletedEventData +1. StorageDirectoryRenamedEventData + +### New Struct Fields + +1. StorageBlobCreatedEventData.ContentOffset +1. StorageBlobCreatedEventData.Identity +1. StorageBlobDeletedEventData.Identity diff --git a/services/eventgrid/2018-01-01/eventgrid/models.go b/services/eventgrid/2018-01-01/eventgrid/models.go index 22409444354c..2880fc15d397 100644 --- a/services/eventgrid/2018-01-01/eventgrid/models.go +++ b/services/eventgrid/2018-01-01/eventgrid/models.go @@ -721,6 +721,72 @@ type KeyVaultSecretNewVersionCreatedEventData struct { Exp *float64 `json:"exp,omitempty"` } +// MachineLearningServicesDatasetDriftDetectedEventData schema of the Data property of an EventGridEvent +// for an Microsoft.MachineLearningServices.DatasetDriftDetected event. +type MachineLearningServicesDatasetDriftDetectedEventData struct { + // DataDriftID - The ID of the data drift monitor that triggered the event. + DataDriftID *string `json:"dataDriftId,omitempty"` + // DataDriftName - The name of the data drift monitor that triggered the event. + DataDriftName *string `json:"dataDriftName,omitempty"` + // RunID - The ID of the Run that detected data drift. + RunID *string `json:"runId,omitempty"` + // BaseDatasetID - The ID of the base Dataset used to detect drift. + BaseDatasetID *string `json:"baseDatasetId,omitempty"` + // TargetDatasetID - The ID of the target Dataset used to detect drift. + TargetDatasetID *string `json:"targetDatasetId,omitempty"` + // DriftCoefficient - The coefficient result that triggered the event. + DriftCoefficient *float64 `json:"driftCoefficient,omitempty"` + // StartTime - The start time of the target dataset time series that resulted in drift detection. + StartTime *date.Time `json:"startTime,omitempty"` + // EndTime - The end time of the target dataset time series that resulted in drift detection. + EndTime *date.Time `json:"endTime,omitempty"` +} + +// MachineLearningServicesModelDeployedEventData schema of the Data property of an EventGridEvent for an +// Microsoft.MachineLearningServices.ModelDeployed event. +type MachineLearningServicesModelDeployedEventData struct { + // ServiceName - The name of the deployed service. + ServiceName *string `json:"serviceName,omitempty"` + // ServiceComputeType - The compute type (e.g. ACI, AKS) of the deployed service. + ServiceComputeType *string `json:"serviceComputeType,omitempty"` + // ModelIds - A common separated list of model IDs. The IDs of the models deployed in the service. + ModelIds *string `json:"modelIds,omitempty"` + // ServiceTags - The tags of the deployed service. + ServiceTags interface{} `json:"serviceTags,omitempty"` + // ServiceProperties - The properties of the deployed service. + ServiceProperties interface{} `json:"serviceProperties,omitempty"` +} + +// MachineLearningServicesModelRegisteredEventData schema of the Data property of an EventGridEvent for an +// Microsoft.MachineLearningServices.ModelRegistered event. +type MachineLearningServicesModelRegisteredEventData struct { + // ModelName - The name of the model that was registered. + ModelName *string `json:"modelName,omitempty"` + // ModelVersion - The version of the model that was registered. + ModelVersion *int32 `json:"modelVersion,omitempty"` + // ModelTags - The tags of the model that was registered. + ModelTags interface{} `json:"modelTags,omitempty"` + // ModelProperties - The properties of the model that was registered. + ModelProperties interface{} `json:"modelProperties,omitempty"` +} + +// MachineLearningServicesRunCompletedEventData schema of the Data property of an EventGridEvent for an +// Microsoft.MachineLearningServices.RunCompleted event. +type MachineLearningServicesRunCompletedEventData struct { + // ExperimentID - The ID of the experiment that the run belongs to. + ExperimentID *string `json:"experimentId,omitempty"` + // ExperimentName - The name of the experiment that the run belongs to. + ExperimentName *string `json:"experimentName,omitempty"` + // RunID - The ID of the Run that was completed. + RunID *string `json:"runId,omitempty"` + // RunType - The Run Type of the completed Run. + RunType *string `json:"runType,omitempty"` + // RunTags - The tags of the completed Run. + RunTags interface{} `json:"runTags,omitempty"` + // RunProperties - The properties of the completed Run. + RunProperties interface{} `json:"runProperties,omitempty"` +} + // MapsGeofenceEnteredEventData schema of the Data property of an EventGridEvent for a // Microsoft.Maps.GeofenceEntered event. type MapsGeofenceEnteredEventData struct { @@ -2188,18 +2254,22 @@ type StorageBlobCreatedEventData struct { ClientRequestID *string `json:"clientRequestId,omitempty"` // RequestID - The request id generated by the Storage service for the storage API operation that triggered this event. RequestID *string `json:"requestId,omitempty"` - // ETag - The etag of the object at the time this event was triggered. + // ETag - The etag of the blob at the time this event was triggered. ETag *string `json:"eTag,omitempty"` // ContentType - The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob. ContentType *string `json:"contentType,omitempty"` // ContentLength - The size of the blob in bytes. This is the same as what would be returned in the Content-Length header from the blob. ContentLength *int64 `json:"contentLength,omitempty"` + // ContentOffset - The offset of the blob in bytes. + ContentOffset *int64 `json:"contentOffset,omitempty"` // BlobType - The type of blob. BlobType *string `json:"blobType,omitempty"` // URL - The path to the blob. URL *string `json:"url,omitempty"` // Sequencer - An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name. Sequencer *string `json:"sequencer,omitempty"` + // Identity - The identity of the requester that triggered this event. + Identity *string `json:"identity,omitempty"` // StorageDiagnostics - For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers. StorageDiagnostics interface{} `json:"storageDiagnostics,omitempty"` } @@ -2221,6 +2291,92 @@ type StorageBlobDeletedEventData struct { URL *string `json:"url,omitempty"` // Sequencer - An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name. Sequencer *string `json:"sequencer,omitempty"` + // Identity - The identity of the requester that triggered this event. + Identity *string `json:"identity,omitempty"` + // StorageDiagnostics - For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers. + StorageDiagnostics interface{} `json:"storageDiagnostics,omitempty"` +} + +// StorageBlobRenamedEventData schema of the Data property of an EventGridEvent for an +// Microsoft.Storage.BlobRenamed event. +type StorageBlobRenamedEventData struct { + // API - The name of the API/operation that triggered this event. + API *string `json:"api,omitempty"` + // ClientRequestID - A request id provided by the client of the storage API operation that triggered this event. + ClientRequestID *string `json:"clientRequestId,omitempty"` + // RequestID - The request id generated by the storage service for the storage API operation that triggered this event. + RequestID *string `json:"requestId,omitempty"` + // SourceURL - The path to the blob that was renamed. + SourceURL *string `json:"sourceUrl,omitempty"` + // DestinationURL - The new path to the blob after the rename operation. + DestinationURL *string `json:"destinationUrl,omitempty"` + // Sequencer - An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name. + Sequencer *string `json:"sequencer,omitempty"` + // Identity - The identity of the requester that triggered this event. + Identity *string `json:"identity,omitempty"` + // StorageDiagnostics - For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers. + StorageDiagnostics interface{} `json:"storageDiagnostics,omitempty"` +} + +// StorageDirectoryCreatedEventData schema of the Data property of an EventGridEvent for an +// Microsoft.Storage.DirectoryCreated event. +type StorageDirectoryCreatedEventData struct { + // API - The name of the API/operation that triggered this event. + API *string `json:"api,omitempty"` + // ClientRequestID - A request id provided by the client of the storage API operation that triggered this event. + ClientRequestID *string `json:"clientRequestId,omitempty"` + // RequestID - The request id generated by the storage service for the storage API operation that triggered this event. + RequestID *string `json:"requestId,omitempty"` + // ETag - The etag of the directory at the time this event was triggered. + ETag *string `json:"eTag,omitempty"` + // URL - The path to the directory. + URL *string `json:"url,omitempty"` + // Sequencer - An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard string comparison to understand the relative sequence of two events on the same directory name. + Sequencer *string `json:"sequencer,omitempty"` + // Identity - The identity of the requester that triggered this event. + Identity *string `json:"identity,omitempty"` + // StorageDiagnostics - For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers. + StorageDiagnostics interface{} `json:"storageDiagnostics,omitempty"` +} + +// StorageDirectoryDeletedEventData schema of the Data property of an EventGridEvent for an +// Microsoft.Storage.DirectoryDeleted event. +type StorageDirectoryDeletedEventData struct { + // API - The name of the API/operation that triggered this event. + API *string `json:"api,omitempty"` + // ClientRequestID - A request id provided by the client of the storage API operation that triggered this event. + ClientRequestID *string `json:"clientRequestId,omitempty"` + // RequestID - The request id generated by the storage service for the storage API operation that triggered this event. + RequestID *string `json:"requestId,omitempty"` + // URL - The path to the deleted directory. + URL *string `json:"url,omitempty"` + // Recursive - Is this event for a recursive delete operation. + Recursive *bool `json:"recursive,omitempty"` + // Sequencer - An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard string comparison to understand the relative sequence of two events on the same directory name. + Sequencer *string `json:"sequencer,omitempty"` + // Identity - The identity of the requester that triggered this event. + Identity *string `json:"identity,omitempty"` + // StorageDiagnostics - For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers. + StorageDiagnostics interface{} `json:"storageDiagnostics,omitempty"` +} + +// StorageDirectoryRenamedEventData schema of the Data property of an EventGridEvent for an +// Microsoft.Storage.DirectoryRenamed event. +type StorageDirectoryRenamedEventData struct { + // API - The name of the API/operation that triggered this event. + API *string `json:"api,omitempty"` + // ClientRequestID - A request id provided by the client of the storage API operation that triggered this event. + ClientRequestID *string `json:"clientRequestId,omitempty"` + // RequestID - The request id generated by the storage service for the storage API operation that triggered this event. + RequestID *string `json:"requestId,omitempty"` + // SourceURL - The path to the directory that was renamed. + SourceURL *string `json:"sourceUrl,omitempty"` + // DestinationURL - The new path to the directory after the rename operation. + DestinationURL *string `json:"destinationUrl,omitempty"` + // Sequencer - An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard string comparison to understand the relative sequence of two events on the same directory name. + Sequencer *string `json:"sequencer,omitempty"` + // Identity - The identity of the requester that triggered this event. + Identity *string `json:"identity,omitempty"` // StorageDiagnostics - For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers. StorageDiagnostics interface{} `json:"storageDiagnostics,omitempty"` } diff --git a/services/eventgrid/2018-01-01/eventgrid/version.go b/services/eventgrid/2018-01-01/eventgrid/version.go index 94f5eb9a5d44..c83c081004f9 100644 --- a/services/eventgrid/2018-01-01/eventgrid/version.go +++ b/services/eventgrid/2018-01-01/eventgrid/version.go @@ -19,12 +19,12 @@ package eventgrid // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/1.0.0 eventgrid/2018-01-01" + return "Azure-SDK-For-Go/1.1.0 eventgrid/2018-01-01" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "1.0.0" + return "1.1.0" } -// tag: services/eventgrid/2018-01-01/eventgrid/v1.0.0 +// tag: services/eventgrid/2018-01-01/eventgrid/v1.1.0