Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR azure-mgmt-resourcegraph] Update GraphQuery location property readOnly=false #11815

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

from ._configuration import ResourceGraphClientConfiguration
from .operations import ResourceGraphClientOperationsMixin
from .operations import ListOperations
from .operations import GetOperations
from .operations import Operations
from . import models

Expand All @@ -24,6 +26,10 @@ class ResourceGraphClient(ResourceGraphClientOperationsMixin, SDKClient):
:ivar config: Configuration for client.
:vartype config: ResourceGraphClientConfiguration

:ivar list: List operations
:vartype list: azure.mgmt.resourcegraph.operations.ListOperations
:ivar get: Get operations
:vartype get: azure.mgmt.resourcegraph.operations.GetOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.resourcegraph.operations.Operations

Expand All @@ -40,9 +46,13 @@ 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)

self.list = ListOperations(
self._client, self.config, self._serialize, self._deserialize)
self.get = GetOperations(
self._client, self.config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
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