From 1861d8ad6e455752632eceefa3ebd522b18cea48 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Fri, 15 May 2020 21:58:28 +0000 Subject: [PATCH] Generated from 9bf11ff45176d23e0dae7498bc76ae676e9f1cb4 add back last empty line --- sdk/eventgrid/eventgrid/LICENSE.txt | 2 +- .../eventgrid/src/eventGridClient.ts | 2 +- sdk/eventgrid/eventgrid/src/models/index.ts | 655 +++++++++++- sdk/eventgrid/eventgrid/src/models/mappers.ts | 946 +++++++++++++++++- 4 files changed, 1601 insertions(+), 4 deletions(-) diff --git a/sdk/eventgrid/eventgrid/LICENSE.txt b/sdk/eventgrid/eventgrid/LICENSE.txt index b73b4a1293c3..ea8fb1516028 100644 --- a/sdk/eventgrid/eventgrid/LICENSE.txt +++ b/sdk/eventgrid/eventgrid/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2019 Microsoft +Copyright (c) 2020 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/eventgrid/eventgrid/src/eventGridClient.ts b/sdk/eventgrid/eventgrid/src/eventGridClient.ts index 2405169a7c16..59f920d24c56 100644 --- a/sdk/eventgrid/eventgrid/src/eventGridClient.ts +++ b/sdk/eventgrid/eventgrid/src/eventGridClient.ts @@ -22,7 +22,7 @@ class EventGridClient extends EventGridClientContext { * @param credentials Credentials needed for the client to connect to Azure. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: msRestAzure.AzureServiceClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials, options?: msRest.AzureServiceClientOptions) { super(credentials, options); } diff --git a/sdk/eventgrid/eventgrid/src/models/index.ts b/sdk/eventgrid/eventgrid/src/models/index.ts index e8d6da587fb4..5eb646ecca63 100644 --- a/sdk/eventgrid/eventgrid/src/models/index.ts +++ b/sdk/eventgrid/eventgrid/src/models/index.ts @@ -2473,7 +2473,7 @@ export interface MachineLearningServicesModelRegisteredEventData { /** * The version of the model that was registered. */ - modelVersion?: number; + modelVersion?: string; /** * The tags of the model that was registered. */ @@ -2581,6 +2581,626 @@ export interface MachineLearningServicesDatasetDriftDetectedEventData { endTime?: Date; } +/** + * Schema of the Data property of an EventGridEvent for an + * Microsoft.MachineLearningServices.RunStatusChanged event. + */ +export interface MachineLearningServicesRunStatusChangedEventData { + /** + * The ID of the experiment that the Machine Learning Run belongs to. + */ + experimentId?: string; + /** + * The name of the experiment that the Machine Learning Run belongs to. + */ + experimentName?: string; + /** + * The ID of the Machine Learning Run. + */ + runId?: string; + /** + * The Run Type of the Machine Learning Run. + */ + runType?: string; + /** + * The tags of the Machine Learning Run. + */ + runTags?: any; + /** + * The properties of the Machine Learning Run. + */ + runProperties?: any; + /** + * The status of the Machine Learning Run. + */ + runStatus?: string; +} + +/** + * Schema of the Data property of an EventGridEvent for an Microsoft.Cache.PatchingCompleted event. + */ +export interface RedisPatchingCompletedEventData { + /** + * The time at which the event occurred. + */ + timestamp?: Date; + /** + * The name of this event. + */ + name?: string; + /** + * The status of this event. Failed or succeeded + */ + status?: string; +} + +/** + * Schema of the Data property of an EventGridEvent for an Microsoft.Cache.ScalingCompleted event. + */ +export interface RedisScalingCompletedEventData { + /** + * The time at which the event occurred. + */ + timestamp?: Date; + /** + * The name of this event. + */ + name?: string; + /** + * The status of this event. Failed or succeeded + */ + status?: string; +} + +/** + * Schema of the Data property of an EventGridEvent for an Microsoft.Cache.ExportRDBCompleted + * event. + */ +export interface RedisExportRDBCompletedEventData { + /** + * The time at which the event occurred. + */ + timestamp?: Date; + /** + * The name of this event. + */ + name?: string; + /** + * The status of this event. Failed or succeeded + */ + status?: string; +} + +/** + * Schema of the Data property of an EventGridEvent for an Microsoft.Cache.ImportRDBCompleted + * event. + */ +export interface RedisImportRDBCompletedEventData { + /** + * The time at which the event occurred. + */ + timestamp?: Date; + /** + * The name of this event. + */ + name?: string; + /** + * The status of this event. Failed or succeeded + */ + status?: string; +} + +/** + * Detail of action on the app. + */ +export interface AppEventTypeDetail { + /** + * Type of action of the operation. Possible values include: 'Restarted', 'Stopped', + * 'ChangedAppSettings', 'Started', 'Completed', 'Failed' + */ + action?: AppAction; +} + +/** + * Schema of the Data property of an EventGridEvent for an Microsoft.Web.AppUpdated event. + */ +export interface WebAppUpdatedEventData { + appEventTypeDetail?: AppEventTypeDetail; + /** + * name of the web site that had this event. + */ + name?: string; + /** + * The client request id generated by the app service for the site API operation that triggered + * this event. + */ + clientRequestId?: string; + /** + * The correlation request id generated by the app service for the site API operation that + * triggered this event. + */ + correlationRequestId?: string; + /** + * The request id generated by the app service for the site API operation that triggered this + * event. + */ + requestId?: string; + /** + * HTTP request URL of this operation. + */ + address?: string; + /** + * HTTP verb of this operation. + */ + verb?: string; +} + +/** + * Schema of the Data property of an EventGridEvent for an Microsoft.Web.BackupOperationStarted + * event. + */ +export interface WebBackupOperationStartedEventData { + appEventTypeDetail?: AppEventTypeDetail; + /** + * name of the web site that had this event. + */ + name?: string; + /** + * The client request id generated by the app service for the site API operation that triggered + * this event. + */ + clientRequestId?: string; + /** + * The correlation request id generated by the app service for the site API operation that + * triggered this event. + */ + correlationRequestId?: string; + /** + * The request id generated by the app service for the site API operation that triggered this + * event. + */ + requestId?: string; + /** + * HTTP request URL of this operation. + */ + address?: string; + /** + * HTTP verb of this operation. + */ + verb?: string; +} + +/** + * Schema of the Data property of an EventGridEvent for an Microsoft.Web.BackupOperationCompleted + * event. + */ +export interface WebBackupOperationCompletedEventData { + appEventTypeDetail?: AppEventTypeDetail; + /** + * name of the web site that had this event. + */ + name?: string; + /** + * The client request id generated by the app service for the site API operation that triggered + * this event. + */ + clientRequestId?: string; + /** + * The correlation request id generated by the app service for the site API operation that + * triggered this event. + */ + correlationRequestId?: string; + /** + * The request id generated by the app service for the site API operation that triggered this + * event. + */ + requestId?: string; + /** + * HTTP request URL of this operation. + */ + address?: string; + /** + * HTTP verb of this operation. + */ + verb?: string; +} + +/** + * Schema of the Data property of an EventGridEvent for an Microsoft.Web.BackupOperationFailed + * event. + */ +export interface WebBackupOperationFailedEventData { + appEventTypeDetail?: AppEventTypeDetail; + /** + * name of the web site that had this event. + */ + name?: string; + /** + * The client request id generated by the app service for the site API operation that triggered + * this event. + */ + clientRequestId?: string; + /** + * The correlation request id generated by the app service for the site API operation that + * triggered this event. + */ + correlationRequestId?: string; + /** + * The request id generated by the app service for the site API operation that triggered this + * event. + */ + requestId?: string; + /** + * HTTP request URL of this operation. + */ + address?: string; + /** + * HTTP verb of this operation. + */ + verb?: string; +} + +/** + * Schema of the Data property of an EventGridEvent for an Microsoft.Web.RestoreOperationStarted + * event. + */ +export interface WebRestoreOperationStartedEventData { + appEventTypeDetail?: AppEventTypeDetail; + /** + * name of the web site that had this event. + */ + name?: string; + /** + * The client request id generated by the app service for the site API operation that triggered + * this event. + */ + clientRequestId?: string; + /** + * The correlation request id generated by the app service for the site API operation that + * triggered this event. + */ + correlationRequestId?: string; + /** + * The request id generated by the app service for the site API operation that triggered this + * event. + */ + requestId?: string; + /** + * HTTP request URL of this operation. + */ + address?: string; + /** + * HTTP verb of this operation. + */ + verb?: string; +} + +/** + * Schema of the Data property of an EventGridEvent for an Microsoft.Web.RestoreOperationCompleted + * event. + */ +export interface WebRestoreOperationCompletedEventData { + appEventTypeDetail?: AppEventTypeDetail; + /** + * name of the web site that had this event. + */ + name?: string; + /** + * The client request id generated by the app service for the site API operation that triggered + * this event. + */ + clientRequestId?: string; + /** + * The correlation request id generated by the app service for the site API operation that + * triggered this event. + */ + correlationRequestId?: string; + /** + * The request id generated by the app service for the site API operation that triggered this + * event. + */ + requestId?: string; + /** + * HTTP request URL of this operation. + */ + address?: string; + /** + * HTTP verb of this operation. + */ + verb?: string; +} + +/** + * Schema of the Data property of an EventGridEvent for an Microsoft.Web.RestoreOperationFailed + * event. + */ +export interface WebRestoreOperationFailedEventData { + appEventTypeDetail?: AppEventTypeDetail; + /** + * name of the web site that had this event. + */ + name?: string; + /** + * The client request id generated by the app service for the site API operation that triggered + * this event. + */ + clientRequestId?: string; + /** + * The correlation request id generated by the app service for the site API operation that + * triggered this event. + */ + correlationRequestId?: string; + /** + * The request id generated by the app service for the site API operation that triggered this + * event. + */ + requestId?: string; + /** + * HTTP request URL of this operation. + */ + address?: string; + /** + * HTTP verb of this operation. + */ + verb?: string; +} + +/** + * Schema of the Data property of an EventGridEvent for an Microsoft.Web.SlotSwapStarted event. + */ +export interface WebSlotSwapStartedEventData { + appEventTypeDetail?: AppEventTypeDetail; + /** + * name of the web site that had this event. + */ + name?: string; + /** + * The client request id generated by the app service for the site API operation that triggered + * this event. + */ + clientRequestId?: string; + /** + * The correlation request id generated by the app service for the site API operation that + * triggered this event. + */ + correlationRequestId?: string; + /** + * The request id generated by the app service for the site API operation that triggered this + * event. + */ + requestId?: string; + /** + * HTTP request URL of this operation. + */ + address?: string; + /** + * HTTP verb of this operation. + */ + verb?: string; +} + +/** + * Schema of the Data property of an EventGridEvent for an Microsoft.Web.SlotSwapCompleted event. + */ +export interface WebSlotSwapCompletedEventData { + appEventTypeDetail?: AppEventTypeDetail; + /** + * name of the web site that had this event. + */ + name?: string; + /** + * The client request id generated by the app service for the site API operation that triggered + * this event. + */ + clientRequestId?: string; + /** + * The correlation request id generated by the app service for the site API operation that + * triggered this event. + */ + correlationRequestId?: string; + /** + * The request id generated by the app service for the site API operation that triggered this + * event. + */ + requestId?: string; + /** + * HTTP request URL of this operation. + */ + address?: string; + /** + * HTTP verb of this operation. + */ + verb?: string; +} + +/** + * Schema of the Data property of an EventGridEvent for an Microsoft.Web.SlotSwapFailed event. + */ +export interface WebSlotSwapFailedEventData { + appEventTypeDetail?: AppEventTypeDetail; + /** + * name of the web site that had this event. + */ + name?: string; + /** + * The client request id generated by the app service for the site API operation that triggered + * this event. + */ + clientRequestId?: string; + /** + * The correlation request id generated by the app service for the site API operation that + * triggered this event. + */ + correlationRequestId?: string; + /** + * The request id generated by the app service for the site API operation that triggered this + * event. + */ + requestId?: string; + /** + * HTTP request URL of this operation. + */ + address?: string; + /** + * HTTP verb of this operation. + */ + verb?: string; +} + +/** + * Schema of the Data property of an EventGridEvent for an Microsoft.Web.SlotSwapWithPreviewStarted + * event. + */ +export interface WebSlotSwapWithPreviewStartedEventData { + appEventTypeDetail?: AppEventTypeDetail; + /** + * name of the web site that had this event. + */ + name?: string; + /** + * The client request id generated by the app service for the site API operation that triggered + * this event. + */ + clientRequestId?: string; + /** + * The correlation request id generated by the app service for the site API operation that + * triggered this event. + */ + correlationRequestId?: string; + /** + * The request id generated by the app service for the site API operation that triggered this + * event. + */ + requestId?: string; + /** + * HTTP request URL of this operation. + */ + address?: string; + /** + * HTTP verb of this operation. + */ + verb?: string; +} + +/** + * Schema of the Data property of an EventGridEvent for an + * Microsoft.Web.SlotSwapWithPreviewCancelled event. + */ +export interface WebSlotSwapWithPreviewCancelledEventData { + appEventTypeDetail?: AppEventTypeDetail; + /** + * name of the web site that had this event. + */ + name?: string; + /** + * The client request id generated by the app service for the site API operation that triggered + * this event. + */ + clientRequestId?: string; + /** + * The correlation request id generated by the app service for the site API operation that + * triggered this event. + */ + correlationRequestId?: string; + /** + * The request id generated by the app service for the site API operation that triggered this + * event. + */ + requestId?: string; + /** + * HTTP request URL of this operation. + */ + address?: string; + /** + * HTTP verb of this operation. + */ + verb?: string; +} + +/** + * Detail of action on the app service plan. + */ +export interface AppServicePlanEventTypeDetail { + /** + * Kind of environment where app service plan is. Possible values include: 'Public', 'AseV1', + * 'AseV2' + */ + stampKind?: StampKind; + /** + * Type of action on the app service plan. Possible values include: 'Updated' + */ + action?: AppServicePlanAction; + /** + * Possible values include: 'Started', 'Completed', 'Failed' + */ + status?: AsyncStatus; +} + +/** + * sku of app service plan. + */ +export interface WebAppServicePlanUpdatedEventDataSku { + /** + * name of app service plan sku. + */ + name?: string; + /** + * tier of app service plan sku. + */ + tier?: string; + /** + * size of app service plan sku. + */ + size?: string; + /** + * family of app service plan sku. + */ + family?: string; + /** + * capacity of app service plan sku. + */ + capacity?: string; +} + +/** + * Schema of the Data property of an EventGridEvent for an Microsoft.Web.AppServicePlanUpdated + * event. + */ +export interface WebAppServicePlanUpdatedEventData { + appServicePlanEventTypeDetail?: AppServicePlanEventTypeDetail; + /** + * sku of app service plan. + */ + sku?: WebAppServicePlanUpdatedEventDataSku; + /** + * name of the app service plan that had this event. + */ + name?: string; + /** + * The client request id generated by the app service for the app service plan API operation that + * triggered this event. + */ + clientRequestId?: string; + /** + * The correlation request id generated by the app service for the app service plan API operation + * that triggered this event. + */ + correlationRequestId?: string; + /** + * The request id generated by the app service for the app service plan API operation that + * triggered this event. + */ + requestId?: string; + /** + * HTTP request URL of this operation. + */ + address?: string; + /** + * HTTP verb of this operation. + */ + verb?: string; +} + /** * Defines values for MediaJobState. * Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', @@ -2615,3 +3235,36 @@ export type MediaJobErrorCategory = 'Service' | 'Download' | 'Upload' | 'Configu * @enum {string} */ export type MediaJobRetry = 'DoNotRetry' | 'MayRetry'; + +/** + * Defines values for AppAction. + * Possible values include: 'Restarted', 'Stopped', 'ChangedAppSettings', 'Started', 'Completed', + * 'Failed' + * @readonly + * @enum {string} + */ +export type AppAction = 'Restarted' | 'Stopped' | 'ChangedAppSettings' | 'Started' | 'Completed' | 'Failed'; + +/** + * Defines values for StampKind. + * Possible values include: 'Public', 'AseV1', 'AseV2' + * @readonly + * @enum {string} + */ +export type StampKind = 'Public' | 'AseV1' | 'AseV2'; + +/** + * Defines values for AppServicePlanAction. + * Possible values include: 'Updated' + * @readonly + * @enum {string} + */ +export type AppServicePlanAction = 'Updated'; + +/** + * Defines values for AsyncStatus. + * Possible values include: 'Started', 'Completed', 'Failed' + * @readonly + * @enum {string} + */ +export type AsyncStatus = 'Started' | 'Completed' | 'Failed'; diff --git a/sdk/eventgrid/eventgrid/src/models/mappers.ts b/sdk/eventgrid/eventgrid/src/models/mappers.ts index ce98ef624266..700defb57823 100644 --- a/sdk/eventgrid/eventgrid/src/models/mappers.ts +++ b/sdk/eventgrid/eventgrid/src/models/mappers.ts @@ -3728,7 +3728,7 @@ export const MachineLearningServicesModelRegisteredEventData: msRest.CompositeMa modelVersion: { serializedName: "modelVersion", type: { - name: "Number" + name: "String" } }, modelTags: { @@ -3891,6 +3891,950 @@ export const MachineLearningServicesDatasetDriftDetectedEventData: msRest.Compos } }; +export const MachineLearningServicesRunStatusChangedEventData: msRest.CompositeMapper = { + serializedName: "MachineLearningServicesRunStatusChangedEventData", + type: { + name: "Composite", + className: "MachineLearningServicesRunStatusChangedEventData", + modelProperties: { + experimentId: { + serializedName: "experimentId", + type: { + name: "String" + } + }, + experimentName: { + serializedName: "experimentName", + type: { + name: "String" + } + }, + runId: { + serializedName: "runId", + type: { + name: "String" + } + }, + runType: { + serializedName: "runType", + type: { + name: "String" + } + }, + runTags: { + serializedName: "runTags", + type: { + name: "Object" + } + }, + runProperties: { + serializedName: "runProperties", + type: { + name: "Object" + } + }, + runStatus: { + serializedName: "runStatus", + type: { + name: "String" + } + } + } + } +}; + +export const RedisPatchingCompletedEventData: msRest.CompositeMapper = { + serializedName: "RedisPatchingCompletedEventData", + type: { + name: "Composite", + className: "RedisPatchingCompletedEventData", + modelProperties: { + timestamp: { + serializedName: "timestamp", + type: { + name: "DateTime" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + status: { + serializedName: "status", + type: { + name: "String" + } + } + } + } +}; + +export const RedisScalingCompletedEventData: msRest.CompositeMapper = { + serializedName: "RedisScalingCompletedEventData", + type: { + name: "Composite", + className: "RedisScalingCompletedEventData", + modelProperties: { + timestamp: { + serializedName: "timestamp", + type: { + name: "DateTime" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + status: { + serializedName: "status", + type: { + name: "String" + } + } + } + } +}; + +export const RedisExportRDBCompletedEventData: msRest.CompositeMapper = { + serializedName: "RedisExportRDBCompletedEventData", + type: { + name: "Composite", + className: "RedisExportRDBCompletedEventData", + modelProperties: { + timestamp: { + serializedName: "timestamp", + type: { + name: "DateTime" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + status: { + serializedName: "status", + type: { + name: "String" + } + } + } + } +}; + +export const RedisImportRDBCompletedEventData: msRest.CompositeMapper = { + serializedName: "RedisImportRDBCompletedEventData", + type: { + name: "Composite", + className: "RedisImportRDBCompletedEventData", + modelProperties: { + timestamp: { + serializedName: "timestamp", + type: { + name: "DateTime" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + status: { + serializedName: "status", + type: { + name: "String" + } + } + } + } +}; + +export const AppEventTypeDetail: msRest.CompositeMapper = { + serializedName: "AppEventTypeDetail", + type: { + name: "Composite", + className: "AppEventTypeDetail", + modelProperties: { + action: { + serializedName: "action", + type: { + name: "String" + } + } + } + } +}; + +export const WebAppUpdatedEventData: msRest.CompositeMapper = { + serializedName: "WebAppUpdatedEventData", + type: { + name: "Composite", + className: "WebAppUpdatedEventData", + modelProperties: { + appEventTypeDetail: { + serializedName: "appEventTypeDetail", + type: { + name: "Composite", + className: "AppEventTypeDetail" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + clientRequestId: { + serializedName: "clientRequestId", + type: { + name: "String" + } + }, + correlationRequestId: { + serializedName: "correlationRequestId", + type: { + name: "String" + } + }, + requestId: { + serializedName: "requestId", + type: { + name: "String" + } + }, + address: { + serializedName: "address", + type: { + name: "String" + } + }, + verb: { + serializedName: "verb", + type: { + name: "String" + } + } + } + } +}; + +export const WebBackupOperationStartedEventData: msRest.CompositeMapper = { + serializedName: "WebBackupOperationStartedEventData", + type: { + name: "Composite", + className: "WebBackupOperationStartedEventData", + modelProperties: { + appEventTypeDetail: { + serializedName: "appEventTypeDetail", + type: { + name: "Composite", + className: "AppEventTypeDetail" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + clientRequestId: { + serializedName: "clientRequestId", + type: { + name: "String" + } + }, + correlationRequestId: { + serializedName: "correlationRequestId", + type: { + name: "String" + } + }, + requestId: { + serializedName: "requestId", + type: { + name: "String" + } + }, + address: { + serializedName: "address", + type: { + name: "String" + } + }, + verb: { + serializedName: "verb", + type: { + name: "String" + } + } + } + } +}; + +export const WebBackupOperationCompletedEventData: msRest.CompositeMapper = { + serializedName: "WebBackupOperationCompletedEventData", + type: { + name: "Composite", + className: "WebBackupOperationCompletedEventData", + modelProperties: { + appEventTypeDetail: { + serializedName: "appEventTypeDetail", + type: { + name: "Composite", + className: "AppEventTypeDetail" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + clientRequestId: { + serializedName: "clientRequestId", + type: { + name: "String" + } + }, + correlationRequestId: { + serializedName: "correlationRequestId", + type: { + name: "String" + } + }, + requestId: { + serializedName: "requestId", + type: { + name: "String" + } + }, + address: { + serializedName: "address", + type: { + name: "String" + } + }, + verb: { + serializedName: "verb", + type: { + name: "String" + } + } + } + } +}; + +export const WebBackupOperationFailedEventData: msRest.CompositeMapper = { + serializedName: "WebBackupOperationFailedEventData", + type: { + name: "Composite", + className: "WebBackupOperationFailedEventData", + modelProperties: { + appEventTypeDetail: { + serializedName: "appEventTypeDetail", + type: { + name: "Composite", + className: "AppEventTypeDetail" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + clientRequestId: { + serializedName: "clientRequestId", + type: { + name: "String" + } + }, + correlationRequestId: { + serializedName: "correlationRequestId", + type: { + name: "String" + } + }, + requestId: { + serializedName: "requestId", + type: { + name: "String" + } + }, + address: { + serializedName: "address", + type: { + name: "String" + } + }, + verb: { + serializedName: "verb", + type: { + name: "String" + } + } + } + } +}; + +export const WebRestoreOperationStartedEventData: msRest.CompositeMapper = { + serializedName: "WebRestoreOperationStartedEventData", + type: { + name: "Composite", + className: "WebRestoreOperationStartedEventData", + modelProperties: { + appEventTypeDetail: { + serializedName: "appEventTypeDetail", + type: { + name: "Composite", + className: "AppEventTypeDetail" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + clientRequestId: { + serializedName: "clientRequestId", + type: { + name: "String" + } + }, + correlationRequestId: { + serializedName: "correlationRequestId", + type: { + name: "String" + } + }, + requestId: { + serializedName: "requestId", + type: { + name: "String" + } + }, + address: { + serializedName: "address", + type: { + name: "String" + } + }, + verb: { + serializedName: "verb", + type: { + name: "String" + } + } + } + } +}; + +export const WebRestoreOperationCompletedEventData: msRest.CompositeMapper = { + serializedName: "WebRestoreOperationCompletedEventData", + type: { + name: "Composite", + className: "WebRestoreOperationCompletedEventData", + modelProperties: { + appEventTypeDetail: { + serializedName: "appEventTypeDetail", + type: { + name: "Composite", + className: "AppEventTypeDetail" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + clientRequestId: { + serializedName: "clientRequestId", + type: { + name: "String" + } + }, + correlationRequestId: { + serializedName: "correlationRequestId", + type: { + name: "String" + } + }, + requestId: { + serializedName: "requestId", + type: { + name: "String" + } + }, + address: { + serializedName: "address", + type: { + name: "String" + } + }, + verb: { + serializedName: "verb", + type: { + name: "String" + } + } + } + } +}; + +export const WebRestoreOperationFailedEventData: msRest.CompositeMapper = { + serializedName: "WebRestoreOperationFailedEventData", + type: { + name: "Composite", + className: "WebRestoreOperationFailedEventData", + modelProperties: { + appEventTypeDetail: { + serializedName: "appEventTypeDetail", + type: { + name: "Composite", + className: "AppEventTypeDetail" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + clientRequestId: { + serializedName: "clientRequestId", + type: { + name: "String" + } + }, + correlationRequestId: { + serializedName: "correlationRequestId", + type: { + name: "String" + } + }, + requestId: { + serializedName: "requestId", + type: { + name: "String" + } + }, + address: { + serializedName: "address", + type: { + name: "String" + } + }, + verb: { + serializedName: "verb", + type: { + name: "String" + } + } + } + } +}; + +export const WebSlotSwapStartedEventData: msRest.CompositeMapper = { + serializedName: "WebSlotSwapStartedEventData", + type: { + name: "Composite", + className: "WebSlotSwapStartedEventData", + modelProperties: { + appEventTypeDetail: { + serializedName: "appEventTypeDetail", + type: { + name: "Composite", + className: "AppEventTypeDetail" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + clientRequestId: { + serializedName: "clientRequestId", + type: { + name: "String" + } + }, + correlationRequestId: { + serializedName: "correlationRequestId", + type: { + name: "String" + } + }, + requestId: { + serializedName: "requestId", + type: { + name: "String" + } + }, + address: { + serializedName: "address", + type: { + name: "String" + } + }, + verb: { + serializedName: "verb", + type: { + name: "String" + } + } + } + } +}; + +export const WebSlotSwapCompletedEventData: msRest.CompositeMapper = { + serializedName: "WebSlotSwapCompletedEventData", + type: { + name: "Composite", + className: "WebSlotSwapCompletedEventData", + modelProperties: { + appEventTypeDetail: { + serializedName: "appEventTypeDetail", + type: { + name: "Composite", + className: "AppEventTypeDetail" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + clientRequestId: { + serializedName: "clientRequestId", + type: { + name: "String" + } + }, + correlationRequestId: { + serializedName: "correlationRequestId", + type: { + name: "String" + } + }, + requestId: { + serializedName: "requestId", + type: { + name: "String" + } + }, + address: { + serializedName: "address", + type: { + name: "String" + } + }, + verb: { + serializedName: "verb", + type: { + name: "String" + } + } + } + } +}; + +export const WebSlotSwapFailedEventData: msRest.CompositeMapper = { + serializedName: "WebSlotSwapFailedEventData", + type: { + name: "Composite", + className: "WebSlotSwapFailedEventData", + modelProperties: { + appEventTypeDetail: { + serializedName: "appEventTypeDetail", + type: { + name: "Composite", + className: "AppEventTypeDetail" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + clientRequestId: { + serializedName: "clientRequestId", + type: { + name: "String" + } + }, + correlationRequestId: { + serializedName: "correlationRequestId", + type: { + name: "String" + } + }, + requestId: { + serializedName: "requestId", + type: { + name: "String" + } + }, + address: { + serializedName: "address", + type: { + name: "String" + } + }, + verb: { + serializedName: "verb", + type: { + name: "String" + } + } + } + } +}; + +export const WebSlotSwapWithPreviewStartedEventData: msRest.CompositeMapper = { + serializedName: "WebSlotSwapWithPreviewStartedEventData", + type: { + name: "Composite", + className: "WebSlotSwapWithPreviewStartedEventData", + modelProperties: { + appEventTypeDetail: { + serializedName: "appEventTypeDetail", + type: { + name: "Composite", + className: "AppEventTypeDetail" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + clientRequestId: { + serializedName: "clientRequestId", + type: { + name: "String" + } + }, + correlationRequestId: { + serializedName: "correlationRequestId", + type: { + name: "String" + } + }, + requestId: { + serializedName: "requestId", + type: { + name: "String" + } + }, + address: { + serializedName: "address", + type: { + name: "String" + } + }, + verb: { + serializedName: "verb", + type: { + name: "String" + } + } + } + } +}; + +export const WebSlotSwapWithPreviewCancelledEventData: msRest.CompositeMapper = { + serializedName: "WebSlotSwapWithPreviewCancelledEventData", + type: { + name: "Composite", + className: "WebSlotSwapWithPreviewCancelledEventData", + modelProperties: { + appEventTypeDetail: { + serializedName: "appEventTypeDetail", + type: { + name: "Composite", + className: "AppEventTypeDetail" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + clientRequestId: { + serializedName: "clientRequestId", + type: { + name: "String" + } + }, + correlationRequestId: { + serializedName: "correlationRequestId", + type: { + name: "String" + } + }, + requestId: { + serializedName: "requestId", + type: { + name: "String" + } + }, + address: { + serializedName: "address", + type: { + name: "String" + } + }, + verb: { + serializedName: "verb", + type: { + name: "String" + } + } + } + } +}; + +export const AppServicePlanEventTypeDetail: msRest.CompositeMapper = { + serializedName: "AppServicePlanEventTypeDetail", + type: { + name: "Composite", + className: "AppServicePlanEventTypeDetail", + modelProperties: { + stampKind: { + serializedName: "stampKind", + type: { + name: "String" + } + }, + action: { + serializedName: "action", + type: { + name: "String" + } + }, + status: { + serializedName: "status", + type: { + name: "String" + } + } + } + } +}; + +export const WebAppServicePlanUpdatedEventDataSku: msRest.CompositeMapper = { + serializedName: "WebAppServicePlanUpdatedEventData_sku", + type: { + name: "Composite", + className: "WebAppServicePlanUpdatedEventDataSku", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + tier: { + serializedName: "Tier", + type: { + name: "String" + } + }, + size: { + serializedName: "Size", + type: { + name: "String" + } + }, + family: { + serializedName: "Family", + type: { + name: "String" + } + }, + capacity: { + serializedName: "Capacity", + type: { + name: "String" + } + } + } + } +}; + +export const WebAppServicePlanUpdatedEventData: msRest.CompositeMapper = { + serializedName: "WebAppServicePlanUpdatedEventData", + type: { + name: "Composite", + className: "WebAppServicePlanUpdatedEventData", + modelProperties: { + appServicePlanEventTypeDetail: { + serializedName: "appServicePlanEventTypeDetail", + type: { + name: "Composite", + className: "AppServicePlanEventTypeDetail" + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "WebAppServicePlanUpdatedEventDataSku" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + clientRequestId: { + serializedName: "clientRequestId", + type: { + name: "String" + } + }, + correlationRequestId: { + serializedName: "correlationRequestId", + type: { + name: "String" + } + }, + requestId: { + serializedName: "requestId", + type: { + name: "String" + } + }, + address: { + serializedName: "address", + type: { + name: "String" + } + }, + verb: { + serializedName: "verb", + type: { + name: "String" + } + } + } + } +}; + export const discriminators = { 'MediaJobOutput' : MediaJobOutput, 'MediaJobOutput.#Microsoft.Media.JobOutputAsset' : MediaJobOutputAsset