-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Compute] Adding LogAnalytics to Compute spec (#1863)
* Generated from 02702702645f7e64ae63f4b6016bcc966f8513d9 Adding 6.1 tag to readme * Generated from ef99ca24deaaecb3fdb6d1587617a98805cdd61b Dropping 4th digit from version number for clarity * Generated from c0dcfcd2e00ac0ac516d28ff343d1f1d40b3d45b Update readme.md * updating history to reflect new version * azure-servicefabric 6.1.2.9 * Restapi auto areddish custom vision swagger (#1771) * Generated from 0d4e675c639f9fe784946e2267223c132b266fcf Add automatic Python conf for Custom Vision Prediction * Generated from 049c2dd356adb296c9c28386207b66cd48781467 Add automatic Python conf to Custom Vision Training * Generated from 599b21132b4678729ebe24ad4a60439fbf57047c Fix Prediction Examples * Generated from disks (#1835) - doc only added image examples to 2017-12-01 * Restapi auto v sodsou content moderator v2 (#1861) * Generated from b594737f845e43b28bd77878820b39f8543650d1 Revert version changes * Generated from d18cc9d65430a8e1a1c3af522db42cbdbdcfe819 Missing Python version * Generated from 8eb897fbdd6a4dcd68621f9ae311447d478a2ced Adding LogAnalytics to comptue spec and also including previously missing VM sizes. * Generated from 03fbec7ef3885d93b5ee939eff0e9de9d4ef0185 Adding response type models in swagger and example files. * Generated from 2ff7912f1a75581dd595bd47c2cb290d71e9d31e Updating LogAnalyticsOperationResult to inherit from OperationStatusResponse. * Generated from 5f2d9322e0bd866cf2bb55bca4bca75d4c799371 Updating example files.
- Loading branch information
1 parent
4d830d8
commit e182820
Showing
11 changed files
with
651 additions
and
14 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
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
56 changes: 56 additions & 0 deletions
56
azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/log_analytics_input_base.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,56 @@ | ||
# 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 LogAnalyticsInputBase(Model): | ||
"""Api input base class for LogAnalytics Api. | ||
:param blob_container_sas_uri: SAS Uri of the logging blob container to | ||
which LogAnalytics Api writes output logs to. | ||
:type blob_container_sas_uri: str | ||
:param from_time: From time of the query | ||
:type from_time: datetime | ||
:param to_time: To time of the query | ||
:type to_time: datetime | ||
:param group_by_throttle_policy: Group query result by Throttle Policy | ||
applied. | ||
:type group_by_throttle_policy: bool | ||
:param group_by_operation_name: Group query result by by Operation Name. | ||
:type group_by_operation_name: bool | ||
:param group_by_resource_name: Group query result by Resource Name. | ||
:type group_by_resource_name: bool | ||
""" | ||
|
||
_validation = { | ||
'blob_container_sas_uri': {'required': True}, | ||
'from_time': {'required': True}, | ||
'to_time': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'blob_container_sas_uri': {'key': 'blobContainerSasUri', 'type': 'str'}, | ||
'from_time': {'key': 'fromTime', 'type': 'iso-8601'}, | ||
'to_time': {'key': 'toTime', 'type': 'iso-8601'}, | ||
'group_by_throttle_policy': {'key': 'groupByThrottlePolicy', 'type': 'bool'}, | ||
'group_by_operation_name': {'key': 'groupByOperationName', 'type': 'bool'}, | ||
'group_by_resource_name': {'key': 'groupByResourceName', 'type': 'bool'}, | ||
} | ||
|
||
def __init__(self, blob_container_sas_uri, from_time, to_time, group_by_throttle_policy=None, group_by_operation_name=None, group_by_resource_name=None): | ||
super(LogAnalyticsInputBase, self).__init__() | ||
self.blob_container_sas_uri = blob_container_sas_uri | ||
self.from_time = from_time | ||
self.to_time = to_time | ||
self.group_by_throttle_policy = group_by_throttle_policy | ||
self.group_by_operation_name = group_by_operation_name | ||
self.group_by_resource_name = group_by_resource_name |
56 changes: 56 additions & 0 deletions
56
azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/log_analytics_operation_result.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,56 @@ | ||
# 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 .operation_status_response import OperationStatusResponse | ||
|
||
|
||
class LogAnalyticsOperationResult(OperationStatusResponse): | ||
"""LogAnalytics operation status response. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar name: Operation ID | ||
:vartype name: str | ||
:ivar status: Operation status | ||
:vartype status: str | ||
:ivar start_time: Start time of the operation | ||
:vartype start_time: datetime | ||
:ivar end_time: End time of the operation | ||
:vartype end_time: datetime | ||
:ivar error: Api error | ||
:vartype error: ~azure.mgmt.compute.v2017_12_01.models.ApiError | ||
:ivar properties: LogAnalyticsOutput | ||
:vartype properties: | ||
~azure.mgmt.compute.v2017_12_01.models.LogAnalyticsOutput | ||
""" | ||
|
||
_validation = { | ||
'name': {'readonly': True}, | ||
'status': {'readonly': True}, | ||
'start_time': {'readonly': True}, | ||
'end_time': {'readonly': True}, | ||
'error': {'readonly': True}, | ||
'properties': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'status': {'key': 'status', 'type': 'str'}, | ||
'start_time': {'key': 'startTime', 'type': 'iso-8601'}, | ||
'end_time': {'key': 'endTime', 'type': 'iso-8601'}, | ||
'error': {'key': 'error', 'type': 'ApiError'}, | ||
'properties': {'key': 'properties', 'type': 'LogAnalyticsOutput'}, | ||
} | ||
|
||
def __init__(self): | ||
super(LogAnalyticsOperationResult, self).__init__() | ||
self.properties = None |
Oops, something went wrong.