diff --git a/azure-mgmt-resourcegraph/MANIFEST.in b/azure-mgmt-resourcegraph/MANIFEST.in index bb37a2723dae..6ceb27f7a96e 100644 --- a/azure-mgmt-resourcegraph/MANIFEST.in +++ b/azure-mgmt-resourcegraph/MANIFEST.in @@ -1 +1,4 @@ include *.rst +include azure/__init__.py +include azure/mgmt/__init__.py + diff --git a/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/models/facet_request_options.py b/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/models/facet_request_options.py index 4ea94a3bd963..cb6d44fdbec0 100644 --- a/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/models/facet_request_options.py +++ b/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/models/facet_request_options.py @@ -15,9 +15,15 @@ class FacetRequestOptions(Model): """The options for facet evaluation. - :param sort_order: The sorting order by the hit count. Possible values - include: 'asc', 'desc'. Default value: "desc" . + :param sort_by: The column name or query expression to sort on. Defaults + to count if not present. + :type sort_by: str + :param sort_order: The sorting order by the selected column (count by + default). Possible values include: 'asc', 'desc'. Default value: "desc" . :type sort_order: str or ~azure.mgmt.resourcegraph.models.FacetSortOrder + :param filter: Specifies the filter condition for the 'where' clause which + will be run on main query's result, just before the actual faceting. + :type filter: str :param top: The maximum number of facet rows that should be returned. :type top: int """ @@ -27,11 +33,15 @@ class FacetRequestOptions(Model): } _attribute_map = { + 'sort_by': {'key': 'sortBy', 'type': 'str'}, 'sort_order': {'key': 'sortOrder', 'type': 'FacetSortOrder'}, + 'filter': {'key': 'filter', 'type': 'str'}, 'top': {'key': '$top', 'type': 'int'}, } def __init__(self, **kwargs): super(FacetRequestOptions, self).__init__(**kwargs) + self.sort_by = kwargs.get('sort_by', None) self.sort_order = kwargs.get('sort_order', "desc") + self.filter = kwargs.get('filter', None) self.top = kwargs.get('top', None) diff --git a/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/models/facet_request_options_py3.py b/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/models/facet_request_options_py3.py index 677fda8ce26c..ed06f25c8a2d 100644 --- a/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/models/facet_request_options_py3.py +++ b/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/models/facet_request_options_py3.py @@ -15,9 +15,15 @@ class FacetRequestOptions(Model): """The options for facet evaluation. - :param sort_order: The sorting order by the hit count. Possible values - include: 'asc', 'desc'. Default value: "desc" . + :param sort_by: The column name or query expression to sort on. Defaults + to count if not present. + :type sort_by: str + :param sort_order: The sorting order by the selected column (count by + default). Possible values include: 'asc', 'desc'. Default value: "desc" . :type sort_order: str or ~azure.mgmt.resourcegraph.models.FacetSortOrder + :param filter: Specifies the filter condition for the 'where' clause which + will be run on main query's result, just before the actual faceting. + :type filter: str :param top: The maximum number of facet rows that should be returned. :type top: int """ @@ -27,11 +33,15 @@ class FacetRequestOptions(Model): } _attribute_map = { + 'sort_by': {'key': 'sortBy', 'type': 'str'}, 'sort_order': {'key': 'sortOrder', 'type': 'FacetSortOrder'}, + 'filter': {'key': 'filter', 'type': 'str'}, 'top': {'key': '$top', 'type': 'int'}, } - def __init__(self, *, sort_order="desc", top: int=None, **kwargs) -> None: + def __init__(self, *, sort_by: str=None, sort_order="desc", filter: str=None, top: int=None, **kwargs) -> None: super(FacetRequestOptions, self).__init__(**kwargs) + self.sort_by = sort_by self.sort_order = sort_order + self.filter = filter self.top = top diff --git a/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/version.py b/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/version.py index e0ec669828cb..981739e4ff95 100644 --- a/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/version.py +++ b/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.1.0" +VERSION = "0.7.0"