-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 0b82ba534dc6251cb7eeb885072e59254c59d54e
Add collectionFormat to comma-separated tags list parameter for favorites - generating API in CSharp generated errors
- Loading branch information
1 parent
7b80f13
commit c184e9c
Showing
19 changed files
with
1,688 additions
and
35 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
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
36 changes: 36 additions & 0 deletions
36
...zure/mgmt/applicationinsights/models/application_insights_component_available_features.py
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,36 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# 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. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class ApplicationInsightsComponentAvailableFeatures(Model): | ||
"""An Application Insights component available features. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar result: A list of Application Insigths component feature. | ||
:vartype result: | ||
list[~azure.mgmt.applicationinsights.models.ApplicationInsightsComponentFeature] | ||
""" | ||
|
||
_validation = { | ||
'result': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'result': {'key': 'Result', 'type': '[ApplicationInsightsComponentFeature]'}, | ||
} | ||
|
||
def __init__(self): | ||
super(ApplicationInsightsComponentAvailableFeatures, self).__init__() | ||
self.result = None |
91 changes: 91 additions & 0 deletions
91
...insights/azure/mgmt/applicationinsights/models/application_insights_component_favorite.py
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,91 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# 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. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class ApplicationInsightsComponentFavorite(Model): | ||
"""Properties that define a favorite that is associated to an Application | ||
Insights component. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:param name: The user-defined name of the favorite. | ||
:type name: str | ||
:param config: Configuration of this particular favorite, which are driven | ||
by the Azure portal UX. Configuration data is a string containing valid | ||
JSON | ||
:type config: str | ||
:param version: This instance's version of the data model. This can change | ||
as new features are added that can be marked favorite. Current examples | ||
include MetricsExplorer (ME) and Search. | ||
:type version: str | ||
:ivar favorite_id: Internally assigned unique id of the favorite | ||
definition. | ||
:vartype favorite_id: str | ||
:param favorite_type: Enum indicating if this favorite definition is owned | ||
by a specific user or is shared between all users with access to the | ||
Application Insights component. Possible values include: 'shared', 'user' | ||
:type favorite_type: str or | ||
~azure.mgmt.applicationinsights.models.FavoriteType | ||
:param source_type: The source of the favorite definition. | ||
:type source_type: str | ||
:ivar time_modified: Date and time in UTC of the last modification that | ||
was made to this favorite definition. | ||
:vartype time_modified: str | ||
:param tags: A list of 0 or more tags that are associated with this | ||
favorite definition | ||
:type tags: list[str] | ||
:param category: Favorite category, as defined by the user at creation | ||
time. | ||
:type category: str | ||
:param is_generated_from_template: Flag denoting wether or not this | ||
favorite was generated from a template. | ||
:type is_generated_from_template: bool | ||
:ivar user_id: Unique user id of the specific user that owns this | ||
favorite. | ||
:vartype user_id: str | ||
""" | ||
|
||
_validation = { | ||
'favorite_id': {'readonly': True}, | ||
'time_modified': {'readonly': True}, | ||
'user_id': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'name': {'key': 'Name', 'type': 'str'}, | ||
'config': {'key': 'Config', 'type': 'str'}, | ||
'version': {'key': 'Version', 'type': 'str'}, | ||
'favorite_id': {'key': 'FavoriteId', 'type': 'str'}, | ||
'favorite_type': {'key': 'FavoriteType', 'type': 'FavoriteType'}, | ||
'source_type': {'key': 'SourceType', 'type': 'str'}, | ||
'time_modified': {'key': 'TimeModified', 'type': 'str'}, | ||
'tags': {'key': 'Tags', 'type': '[str]'}, | ||
'category': {'key': 'Category', 'type': 'str'}, | ||
'is_generated_from_template': {'key': 'IsGeneratedFromTemplate', 'type': 'bool'}, | ||
'user_id': {'key': 'UserId', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, name=None, config=None, version=None, favorite_type=None, source_type=None, tags=None, category=None, is_generated_from_template=None): | ||
super(ApplicationInsightsComponentFavorite, self).__init__() | ||
self.name = name | ||
self.config = config | ||
self.version = version | ||
self.favorite_id = None | ||
self.favorite_type = favorite_type | ||
self.source_type = source_type | ||
self.time_modified = None | ||
self.tags = tags | ||
self.category = category | ||
self.is_generated_from_template = is_generated_from_template | ||
self.user_id = None |
77 changes: 77 additions & 0 deletions
77
...ninsights/azure/mgmt/applicationinsights/models/application_insights_component_feature.py
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,77 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# 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. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class ApplicationInsightsComponentFeature(Model): | ||
"""An Application Insights component daily data volume cap status. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar feature_name: The pricing feature name. | ||
:vartype feature_name: str | ||
:ivar meter_id: The meter id used for the feature. | ||
:vartype meter_id: str | ||
:ivar meter_rate_frequency: The meter meter rate for the feature's meter. | ||
:vartype meter_rate_frequency: str | ||
:ivar resouce_id: Reserved, not used now. | ||
:vartype resouce_id: str | ||
:ivar is_hidden: Reserved, not used now. | ||
:vartype is_hidden: bool | ||
:ivar capabilities: A list of Application Insigths component feature | ||
capability. | ||
:vartype capabilities: | ||
list[~azure.mgmt.applicationinsights.models.ApplicationInsightsComponentFeatureCapability] | ||
:ivar title: Desplay name of the feature. | ||
:vartype title: str | ||
:ivar is_main_feature: Whether can apply addon feature on to it. | ||
:vartype is_main_feature: bool | ||
:ivar supported_addon_features: The add on features on main feature. | ||
:vartype supported_addon_features: str | ||
""" | ||
|
||
_validation = { | ||
'feature_name': {'readonly': True}, | ||
'meter_id': {'readonly': True}, | ||
'meter_rate_frequency': {'readonly': True}, | ||
'resouce_id': {'readonly': True}, | ||
'is_hidden': {'readonly': True}, | ||
'capabilities': {'readonly': True}, | ||
'title': {'readonly': True}, | ||
'is_main_feature': {'readonly': True}, | ||
'supported_addon_features': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'feature_name': {'key': 'FeatureName', 'type': 'str'}, | ||
'meter_id': {'key': 'MeterId', 'type': 'str'}, | ||
'meter_rate_frequency': {'key': 'MeterRateFrequency', 'type': 'str'}, | ||
'resouce_id': {'key': 'ResouceId', 'type': 'str'}, | ||
'is_hidden': {'key': 'IsHidden', 'type': 'bool'}, | ||
'capabilities': {'key': 'Capabilities', 'type': '[ApplicationInsightsComponentFeatureCapability]'}, | ||
'title': {'key': 'Title', 'type': 'str'}, | ||
'is_main_feature': {'key': 'IsMainFeature', 'type': 'bool'}, | ||
'supported_addon_features': {'key': 'SupportedAddonFeatures', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self): | ||
super(ApplicationInsightsComponentFeature, self).__init__() | ||
self.feature_name = None | ||
self.meter_id = None | ||
self.meter_rate_frequency = None | ||
self.resouce_id = None | ||
self.is_hidden = None | ||
self.capabilities = None | ||
self.title = None | ||
self.is_main_feature = None | ||
self.supported_addon_features = None |
Oops, something went wrong.