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-loganalytics] Fix list respone examples #16294

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 @@ -431,7 +431,7 @@ class DataExport(ProxyResource):
:vartype type: str
:param data_export_id: The data export rule ID.
:type data_export_id: str
:param table_names: An array of tables to export, for example:
:param table_names: Required. An array of tables to export, for example:
[“Heartbeat, SecurityEvent”].
:type table_names: list[str]
:param resource_id: Required. The destination resource ID. This can be
Expand All @@ -456,6 +456,7 @@ class DataExport(ProxyResource):
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'table_names': {'required': True},
'resource_id': {'required': True},
'data_export_type': {'readonly': True},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ class DataExport(ProxyResource):
:vartype type: str
:param data_export_id: The data export rule ID.
:type data_export_id: str
:param table_names: An array of tables to export, for example:
:param table_names: Required. An array of tables to export, for example:
[“Heartbeat, SecurityEvent”].
:type table_names: list[str]
:param resource_id: Required. The destination resource ID. This can be
Expand All @@ -456,6 +456,7 @@ class DataExport(ProxyResource):
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'table_names': {'required': True},
'resource_id': {'required': True},
'data_export_type': {'readonly': True},
}
Expand All @@ -474,7 +475,7 @@ class DataExport(ProxyResource):
'last_modified_date': {'key': 'properties.lastModifiedDate', 'type': 'str'},
}

def __init__(self, *, resource_id: str, data_export_id: str=None, table_names=None, event_hub_name: str=None, enable: bool=None, created_date: str=None, last_modified_date: str=None, **kwargs) -> None:
def __init__(self, *, table_names, resource_id: str, data_export_id: str=None, event_hub_name: str=None, enable: bool=None, created_date: str=None, last_modified_date: str=None, **kwargs) -> None:
super(DataExport, self).__init__(**kwargs)
self.data_export_id = data_export_id
self.table_names = table_names
Expand Down