Skip to content

Commit

Permalink
[AutoPR] policyinsights/resource-manager (#4578)
Browse files Browse the repository at this point in the history
* Generated from f10ea592929dbbb5b3467a1b01fdff7ff86f1f70 (#4576)

Fix PolicyInsights code generation issue

* Generated from 65d16945f6922fec1bae78d37367e36a793e657b (#4594)

Fix incorrect types

* Packaging update of azure-mgmt-policyinsights

* Update version.py

* Generated from d7beca2c3fdece232d869cbb2168b240af187df2 (#4879)

Use object type

* Update HISTORY.rst

* Update version.py
  • Loading branch information
AutorestCI authored and lmazuel committed Apr 17, 2019
1 parent 92293a4 commit ed77d0f
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 12 deletions.
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

0 comments on commit ed77d0f

Please sign in to comment.