Skip to content
Merged
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
7 changes: 7 additions & 0 deletions azure-mgmt-policyinsights/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
Release History
===============

0.3.1 (2019-04-16)
++++++++++++++++++

**Bugfixes**

- Fix expressionValues and targetValues type

0.3.0 (2019-03-12)
++++++++++++++++++

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ class ExpressionEvaluationDetails(Model):
:param path: Property path if the expression is a field or an alias.
:type path: str
:param expression_value: Value of the expression.
:type expression_value: str
:type expression_value: object
:param target_value: Target value to be compared with the expression
value.
:type target_value: str
:type target_value: object
:param operator: Operator to compare the expression value and the target
value.
:type operator: str
Expand All @@ -35,8 +35,8 @@ class ExpressionEvaluationDetails(Model):
'result': {'key': 'result', 'type': 'str'},
'expression': {'key': 'expression', 'type': 'str'},
'path': {'key': 'path', 'type': 'str'},
'expression_value': {'key': 'expressionValue', 'type': 'str'},
'target_value': {'key': 'targetValue', 'type': 'str'},
'expression_value': {'key': 'expressionValue', 'type': 'object'},
'target_value': {'key': 'targetValue', 'type': 'object'},
'operator': {'key': 'operator', 'type': 'str'},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ class ExpressionEvaluationDetails(Model):
:param path: Property path if the expression is a field or an alias.
:type path: str
:param expression_value: Value of the expression.
:type expression_value: str
:type expression_value: object
:param target_value: Target value to be compared with the expression
value.
:type target_value: str
:type target_value: object
:param operator: Operator to compare the expression value and the target
value.
:type operator: str
Expand All @@ -35,12 +35,12 @@ class ExpressionEvaluationDetails(Model):
'result': {'key': 'result', 'type': 'str'},
'expression': {'key': 'expression', 'type': 'str'},
'path': {'key': 'path', 'type': 'str'},
'expression_value': {'key': 'expressionValue', 'type': 'str'},
'target_value': {'key': 'targetValue', 'type': 'str'},
'expression_value': {'key': 'expressionValue', 'type': 'object'},
'target_value': {'key': 'targetValue', 'type': 'object'},
'operator': {'key': 'operator', 'type': 'str'},
}

def __init__(self, *, result: str=None, expression: str=None, path: str=None, expression_value: str=None, target_value: str=None, operator: str=None, **kwargs) -> None:
def __init__(self, *, result: str=None, expression: str=None, path: str=None, expression_value=None, target_value=None, operator: str=None, **kwargs) -> None:
super(ExpressionEvaluationDetails, self).__init__(**kwargs)
self.result = result
self.expression = expression
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Operations(object):
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
:ivar api_version: API version to use with the client requests. Constant value: "2018-07-01-preview".
:ivar api_version: Client Api Version. Constant value: "2018-07-01-preview".
"""

models = models
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class PolicyStatesOperations(object):
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
:ivar management_groups_namespace: The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed. Constant value: "Microsoft.Management".
:ivar api_version: API version to use with the client requests. Constant value: "2018-07-01-preview".
:ivar api_version: Client Api Version. Constant value: "2018-07-01-preview".
:ivar policy_states_summary_resource: The virtual resource under PolicyStates resource type for summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the only allowed value. Constant value: "latest".
:ivar authorization_namespace: The namespace for Microsoft Authorization resource provider; only "Microsoft.Authorization" is allowed. Constant value: "Microsoft.Authorization".
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
# regenerated.
# --------------------------------------------------------------------------

VERSION = "0.3.0"
VERSION = "0.3.1"

1 change: 1 addition & 0 deletions azure-mgmt-policyinsights/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
version=version,
description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME),
long_description=readme + '\n\n' + history,
long_description_content_type='text/x-rst',
license='MIT License',
author='Microsoft Corporation',
author_email='azpysdkhelp@microsoft.com',
Expand Down