Skip to content

Commit

Permalink
CodeGen from PR 13932 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[Hub Generated] Public private branch 'add-ingressStartAt' (Azure#13932)

* add ingressStartAt

* prettier

* add a new example

* Delete .npmrc

remove .npmrc

* fix prettier

fix prettier

* put readonly back for kind

* Adding descriptin to ingressStartAt

* fix failure for python track2

* Removing readonly from kind

Co-authored-by: Go Blue <zth@umich.edu>
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
  • Loading branch information
3 people committed Jun 15, 2021
1 parent fd411ac commit 4a090d3
Show file tree
Hide file tree
Showing 12 changed files with 1,657 additions and 1,229 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include _meta.json
recursive-include tests *.py *.yaml
include *.md
include azure/__init__.py
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "735587512f6d422ba40d1b521ac176e7dc018ae1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/timeseriesinsights/resource-manager/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --use=@microsoft.azure/autorest.python@~4.0.71 --version=V2",
"readme": "specification/timeseriesinsights/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __init__(
super(TimeSeriesInsightsClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2018-08-15-preview'
self.api_version = '2020-05-15'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,22 @@
from ._models_py3 import EventSourceMutableProperties
from ._models_py3 import EventSourceResource
from ._models_py3 import EventSourceUpdateParameters
from ._models_py3 import Gen1EnvironmentCreateOrUpdateParameters
from ._models_py3 import Gen1EnvironmentResource
from ._models_py3 import Gen1EnvironmentUpdateParameters
from ._models_py3 import Gen2EnvironmentCreateOrUpdateParameters
from ._models_py3 import Gen2EnvironmentResource
from ._models_py3 import Gen2EnvironmentUpdateParameters
from ._models_py3 import Gen2StorageConfigurationInput
from ._models_py3 import Gen2StorageConfigurationMutableProperties
from ._models_py3 import Gen2StorageConfigurationOutput
from ._models_py3 import IngressEnvironmentStatus
from ._models_py3 import IoTHubEventSourceCommonProperties
from ._models_py3 import IoTHubEventSourceCreateOrUpdateParameters
from ._models_py3 import IoTHubEventSourceResource
from ._models_py3 import IoTHubEventSourceUpdateParameters
from ._models_py3 import LocalTimestamp
from ._models_py3 import LocalTimestampTimeZoneOffset
from ._models_py3 import LongTermEnvironmentCreateOrUpdateParameters
from ._models_py3 import LongTermEnvironmentResource
from ._models_py3 import LongTermEnvironmentUpdateParameters
from ._models_py3 import LongTermStorageConfigurationInput
from ._models_py3 import LongTermStorageConfigurationMutableProperties
from ._models_py3 import LongTermStorageConfigurationOutput
from ._models_py3 import Operation
from ._models_py3 import OperationDisplay
from ._models_py3 import ReferenceDataSetCreateOrUpdateParameters
Expand All @@ -56,12 +59,10 @@
from ._models_py3 import Resource
from ._models_py3 import ResourceProperties
from ._models_py3 import Sku
from ._models_py3 import StandardEnvironmentCreateOrUpdateParameters
from ._models_py3 import StandardEnvironmentResource
from ._models_py3 import StandardEnvironmentUpdateParameters
from ._models_py3 import TimeSeriesIdProperty
from ._models_py3 import TrackedResource
from ._models_py3 import WarmStorageEnvironmentStatus
from ._models_py3 import WarmStoreConfigurationProperties
except (SyntaxError, ImportError):
from ._models import AccessPolicyCreateOrUpdateParameters
from ._models import AccessPolicyListResponse
Expand All @@ -86,19 +87,22 @@
from ._models import EventSourceMutableProperties
from ._models import EventSourceResource
from ._models import EventSourceUpdateParameters
from ._models import Gen1EnvironmentCreateOrUpdateParameters
from ._models import Gen1EnvironmentResource
from ._models import Gen1EnvironmentUpdateParameters
from ._models import Gen2EnvironmentCreateOrUpdateParameters
from ._models import Gen2EnvironmentResource
from ._models import Gen2EnvironmentUpdateParameters
from ._models import Gen2StorageConfigurationInput
from ._models import Gen2StorageConfigurationMutableProperties
from ._models import Gen2StorageConfigurationOutput
from ._models import IngressEnvironmentStatus
from ._models import IoTHubEventSourceCommonProperties
from ._models import IoTHubEventSourceCreateOrUpdateParameters
from ._models import IoTHubEventSourceResource
from ._models import IoTHubEventSourceUpdateParameters
from ._models import LocalTimestamp
from ._models import LocalTimestampTimeZoneOffset
from ._models import LongTermEnvironmentCreateOrUpdateParameters
from ._models import LongTermEnvironmentResource
from ._models import LongTermEnvironmentUpdateParameters
from ._models import LongTermStorageConfigurationInput
from ._models import LongTermStorageConfigurationMutableProperties
from ._models import LongTermStorageConfigurationOutput
from ._models import Operation
from ._models import OperationDisplay
from ._models import ReferenceDataSetCreateOrUpdateParameters
Expand All @@ -109,12 +113,10 @@
from ._models import Resource
from ._models import ResourceProperties
from ._models import Sku
from ._models import StandardEnvironmentCreateOrUpdateParameters
from ._models import StandardEnvironmentResource
from ._models import StandardEnvironmentUpdateParameters
from ._models import TimeSeriesIdProperty
from ._models import TrackedResource
from ._models import WarmStorageEnvironmentStatus
from ._models import WarmStoreConfigurationProperties
from ._paged_models import OperationPaged
from ._time_series_insights_client_enums import (
ProvisioningState,
Expand All @@ -123,6 +125,7 @@
PropertyType,
IngressState,
WarmStoragePropertiesState,
IngressStartAtType,
LocalTimestampFormat,
ReferenceDataKeyPropertyType,
DataStringComparisonBehavior,
Expand Down Expand Up @@ -153,19 +156,22 @@
'EventSourceMutableProperties',
'EventSourceResource',
'EventSourceUpdateParameters',
'Gen1EnvironmentCreateOrUpdateParameters',
'Gen1EnvironmentResource',
'Gen1EnvironmentUpdateParameters',
'Gen2EnvironmentCreateOrUpdateParameters',
'Gen2EnvironmentResource',
'Gen2EnvironmentUpdateParameters',
'Gen2StorageConfigurationInput',
'Gen2StorageConfigurationMutableProperties',
'Gen2StorageConfigurationOutput',
'IngressEnvironmentStatus',
'IoTHubEventSourceCommonProperties',
'IoTHubEventSourceCreateOrUpdateParameters',
'IoTHubEventSourceResource',
'IoTHubEventSourceUpdateParameters',
'LocalTimestamp',
'LocalTimestampTimeZoneOffset',
'LongTermEnvironmentCreateOrUpdateParameters',
'LongTermEnvironmentResource',
'LongTermEnvironmentUpdateParameters',
'LongTermStorageConfigurationInput',
'LongTermStorageConfigurationMutableProperties',
'LongTermStorageConfigurationOutput',
'Operation',
'OperationDisplay',
'ReferenceDataSetCreateOrUpdateParameters',
Expand All @@ -176,19 +182,18 @@
'Resource',
'ResourceProperties',
'Sku',
'StandardEnvironmentCreateOrUpdateParameters',
'StandardEnvironmentResource',
'StandardEnvironmentUpdateParameters',
'TimeSeriesIdProperty',
'TrackedResource',
'WarmStorageEnvironmentStatus',
'WarmStoreConfigurationProperties',
'OperationPaged',
'ProvisioningState',
'SkuName',
'StorageLimitExceededBehavior',
'PropertyType',
'IngressState',
'WarmStoragePropertiesState',
'IngressStartAtType',
'LocalTimestampFormat',
'ReferenceDataKeyPropertyType',
'DataStringComparisonBehavior',
Expand Down
Loading

0 comments on commit 4a090d3

Please sign in to comment.