This repository has been archived by the owner on May 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 91d8e1718252bec320a012081c377adaf0133732 (#4798)
Updated api-version path to '2018-01-01' from '2018-02-01'.
- Loading branch information
1 parent
c382c65
commit 47e2bd1
Showing
65 changed files
with
2,662 additions
and
1,307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 72 additions & 0 deletions
72
lib/services/eventgrid/lib/models/appConfigurationKeyValueDeletedEventData.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
/* | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is | ||
* regenerated. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
/** | ||
* Schema of the Data property of an EventGridEvent for an | ||
* Microsoft.AppConfiguration.KeyValueDeleted event. | ||
* | ||
*/ | ||
class AppConfigurationKeyValueDeletedEventData { | ||
/** | ||
* Create a AppConfigurationKeyValueDeletedEventData. | ||
* @property {string} [key] The key used to identify the key-value that was | ||
* deleted. | ||
* @property {string} [label] The label, if any, used to identify the | ||
* key-value that was deleted. | ||
* @property {string} [etag] The etag representing the key-value that was | ||
* deleted. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of AppConfigurationKeyValueDeletedEventData | ||
* | ||
* @returns {object} metadata of AppConfigurationKeyValueDeletedEventData | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'AppConfigurationKeyValueDeletedEventData', | ||
type: { | ||
name: 'Composite', | ||
className: 'AppConfigurationKeyValueDeletedEventData', | ||
modelProperties: { | ||
key: { | ||
required: false, | ||
serializedName: 'key', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
label: { | ||
required: false, | ||
serializedName: 'label', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
etag: { | ||
required: false, | ||
serializedName: 'etag', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = AppConfigurationKeyValueDeletedEventData; |
72 changes: 72 additions & 0 deletions
72
lib/services/eventgrid/lib/models/appConfigurationKeyValueModifiedEventData.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
/* | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is | ||
* regenerated. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
/** | ||
* Schema of the Data property of an EventGridEvent for an | ||
* Microsoft.AppConfiguration.KeyValueModified event. | ||
* | ||
*/ | ||
class AppConfigurationKeyValueModifiedEventData { | ||
/** | ||
* Create a AppConfigurationKeyValueModifiedEventData. | ||
* @property {string} [key] The key used to identify the key-value that was | ||
* modified. | ||
* @property {string} [label] The label, if any, used to identify the | ||
* key-value that was modified. | ||
* @property {string} [etag] The etag representing the new state of the | ||
* key-value. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of AppConfigurationKeyValueModifiedEventData | ||
* | ||
* @returns {object} metadata of AppConfigurationKeyValueModifiedEventData | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'AppConfigurationKeyValueModifiedEventData', | ||
type: { | ||
name: 'Composite', | ||
className: 'AppConfigurationKeyValueModifiedEventData', | ||
modelProperties: { | ||
key: { | ||
required: false, | ||
serializedName: 'key', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
label: { | ||
required: false, | ||
serializedName: 'label', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
etag: { | ||
required: false, | ||
serializedName: 'etag', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = AppConfigurationKeyValueModifiedEventData; |
86 changes: 86 additions & 0 deletions
86
lib/services/eventgrid/lib/models/containerRegistryArtifactEventData.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
/* | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is | ||
* regenerated. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
/** | ||
* The content of the event request message. | ||
* | ||
*/ | ||
class ContainerRegistryArtifactEventData { | ||
/** | ||
* Create a ContainerRegistryArtifactEventData. | ||
* @property {string} [id] The event ID. | ||
* @property {date} [timestamp] The time at which the event occurred. | ||
* @property {string} [action] The action that encompasses the provided | ||
* event. | ||
* @property {object} [target] The target of the event. | ||
* @property {string} [target.mediaType] The MIME type of the artifact. | ||
* @property {number} [target.size] The size in bytes of the artifact. | ||
* @property {string} [target.digest] The digest of the artifact. | ||
* @property {string} [target.repository] The repository name of the | ||
* artifact. | ||
* @property {string} [target.tag] The tag of the artifact. | ||
* @property {string} [target.name] The name of the artifact. | ||
* @property {string} [target.version] The version of the artifact. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of ContainerRegistryArtifactEventData | ||
* | ||
* @returns {object} metadata of ContainerRegistryArtifactEventData | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'ContainerRegistryArtifactEventData', | ||
type: { | ||
name: 'Composite', | ||
className: 'ContainerRegistryArtifactEventData', | ||
modelProperties: { | ||
id: { | ||
required: false, | ||
serializedName: 'id', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
timestamp: { | ||
required: false, | ||
serializedName: 'timestamp', | ||
type: { | ||
name: 'DateTime' | ||
} | ||
}, | ||
action: { | ||
required: false, | ||
serializedName: 'action', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
target: { | ||
required: false, | ||
serializedName: 'target', | ||
type: { | ||
name: 'Composite', | ||
className: 'ContainerRegistryArtifactEventTarget' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = ContainerRegistryArtifactEventData; |
100 changes: 100 additions & 0 deletions
100
lib/services/eventgrid/lib/models/containerRegistryArtifactEventTarget.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
/* | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is | ||
* regenerated. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
/** | ||
* The target of the event. | ||
* | ||
*/ | ||
class ContainerRegistryArtifactEventTarget { | ||
/** | ||
* Create a ContainerRegistryArtifactEventTarget. | ||
* @property {string} [mediaType] The MIME type of the artifact. | ||
* @property {number} [size] The size in bytes of the artifact. | ||
* @property {string} [digest] The digest of the artifact. | ||
* @property {string} [repository] The repository name of the artifact. | ||
* @property {string} [tag] The tag of the artifact. | ||
* @property {string} [name] The name of the artifact. | ||
* @property {string} [version] The version of the artifact. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of ContainerRegistryArtifactEventTarget | ||
* | ||
* @returns {object} metadata of ContainerRegistryArtifactEventTarget | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'ContainerRegistryArtifactEventTarget', | ||
type: { | ||
name: 'Composite', | ||
className: 'ContainerRegistryArtifactEventTarget', | ||
modelProperties: { | ||
mediaType: { | ||
required: false, | ||
serializedName: 'mediaType', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
size: { | ||
required: false, | ||
serializedName: 'size', | ||
type: { | ||
name: 'Number' | ||
} | ||
}, | ||
digest: { | ||
required: false, | ||
serializedName: 'digest', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
repository: { | ||
required: false, | ||
serializedName: 'repository', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
tag: { | ||
required: false, | ||
serializedName: 'tag', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
name: { | ||
required: false, | ||
serializedName: 'name', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
version: { | ||
required: false, | ||
serializedName: 'version', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = ContainerRegistryArtifactEventTarget; |
Oops, something went wrong.