Skip to content

Commit

Permalink
CodeGen from PR 12122 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
add resourcegraph track2 config (Azure#12122)
  • Loading branch information
SDKAuto committed Jan 4, 2021
1 parent d1a132d commit 63baec1
Show file tree
Hide file tree
Showing 7 changed files with 880 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(
super(ResourceGraphClient, 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 = '2019-04-01'
self.api_version = '2020-04-01-preview'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

try:
from ._models_py3 import Column
from ._models_py3 import DateTimeInterval
from ._models_py3 import Error
from ._models_py3 import ErrorDetails
from ._models_py3 import ErrorResponse, ErrorResponseException
Expand All @@ -24,9 +25,19 @@
from ._models_py3 import QueryRequest
from ._models_py3 import QueryRequestOptions
from ._models_py3 import QueryResponse
from ._models_py3 import ResourceChangeData
from ._models_py3 import ResourceChangeDataAfterSnapshot
from ._models_py3 import ResourceChangeDataBeforeSnapshot
from ._models_py3 import ResourceChangeDetailsRequestParameters
from ._models_py3 import ResourceChangeList
from ._models_py3 import ResourceChangesRequestParameters
from ._models_py3 import ResourceChangesRequestParametersInterval
from ._models_py3 import ResourcePropertyChange
from ._models_py3 import ResourceSnapshotData
from ._models_py3 import Table
except (SyntaxError, ImportError):
from ._models import Column
from ._models import DateTimeInterval
from ._models import Error
from ._models import ErrorDetails
from ._models import ErrorResponse, ErrorResponseException
Expand All @@ -40,17 +51,30 @@
from ._models import QueryRequest
from ._models import QueryRequestOptions
from ._models import QueryResponse
from ._models import ResourceChangeData
from ._models import ResourceChangeDataAfterSnapshot
from ._models import ResourceChangeDataBeforeSnapshot
from ._models import ResourceChangeDetailsRequestParameters
from ._models import ResourceChangeList
from ._models import ResourceChangesRequestParameters
from ._models import ResourceChangesRequestParametersInterval
from ._models import ResourcePropertyChange
from ._models import ResourceSnapshotData
from ._models import Table
from ._paged_models import OperationPaged
from ._resource_graph_client_enums import (
ResultFormat,
FacetSortOrder,
ResultTruncated,
ColumnDataType,
ChangeType,
ChangeCategory,
PropertyChangeType,
)

__all__ = [
'Column',
'DateTimeInterval',
'Error',
'ErrorDetails',
'ErrorResponse', 'ErrorResponseException',
Expand All @@ -64,10 +88,22 @@
'QueryRequest',
'QueryRequestOptions',
'QueryResponse',
'ResourceChangeData',
'ResourceChangeDataAfterSnapshot',
'ResourceChangeDataBeforeSnapshot',
'ResourceChangeDetailsRequestParameters',
'ResourceChangeList',
'ResourceChangesRequestParameters',
'ResourceChangesRequestParametersInterval',
'ResourcePropertyChange',
'ResourceSnapshotData',
'Table',
'OperationPaged',
'ResultFormat',
'FacetSortOrder',
'ResultTruncated',
'ColumnDataType',
'ChangeType',
'ChangeCategory',
'PropertyChangeType',
]
Loading

0 comments on commit 63baec1

Please sign in to comment.