Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Generated from 91d8e1718252bec320a012081c377adaf0133732 (#4798)
Browse files Browse the repository at this point in the history
Updated api-version path to '2018-01-01' from '2018-02-01'.
  • Loading branch information
AutorestCI authored Mar 1, 2019
1 parent c382c65 commit 47e2bd1
Show file tree
Hide file tree
Showing 65 changed files with 2,662 additions and 1,307 deletions.
2 changes: 1 addition & 1 deletion lib/services/eventgrid/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft
Copyright (c) 2019 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
Expand Down
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;
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;
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;
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;
Loading

0 comments on commit 47e2bd1

Please sign in to comment.