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

[AutoPR track2_azure-mgmt-reservations] Fix newlines in Reservations document #225

Closed
wants to merge 1 commit into from
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
4 changes: 2 additions & 2 deletions sdk/reservations/azure-mgmt-reservations/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"@autorest/python@5.13.0",
"@autorest/modelerfour@4.19.3"
],
"commit": "b1bbbab2f04c23e279c717f955d9a86bc4757946",
"commit": "b20471f263e27fe1baa02075a673544aee3fb796",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/reservations/resource-manager/readme.md --multiapi --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.13.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"autorest_command": "autorest specification/reservations/resource-manager/readme.md --multiapi --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.13.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"readme": "specification/reservations/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "2.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,9 @@ async def begin_create_or_update(
Steps:


#.
Make the Get request to get the quota information for specific resource.

#.
To increase the quota, update the limit field in the response from Get request to new value.

#.
Submit the JSON to the quota request API to update the quota.
#. Make the Get request to get the quota information for specific resource.
#. To increase the quota, update the limit field in the response from Get request to new value.
#. Submit the JSON to the quota request API to update the quota.
The Create quota request may be constructed as follows. The PUT operation can be used to
update the quota.

Expand Down Expand Up @@ -347,11 +342,8 @@ async def begin_update(
**kwargs: Any
) -> AsyncLROPoller[Union["_models.CurrentQuotaLimitBase", "_models.QuotaRequestSubmitResponse201"]]:
"""Update the quota (service limits) of this resource to the requested value.

• To get the quota information for specific resource, send a GET request.

• To increase the quota, update the limit field from the GET response to a new value.

• To update the quota value, submit the JSON response to the quota request API to update the
quota.
• To update the quota. use the PATCH operation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,8 @@ def list(

* - Field
- Supported operators
* -


|requestSubmitTime | ge, le, eq, gt, lt. Default value is None.
* - requestSubmitTime
- ge, le, eq, gt, lt. Default value is None.
:type filter: str
:param top: Number of records to return. Default value is None.
:type top: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,14 +362,9 @@ def begin_create_or_update(
Steps:


#.
Make the Get request to get the quota information for specific resource.

#.
To increase the quota, update the limit field in the response from Get request to new value.

#.
Submit the JSON to the quota request API to update the quota.
#. Make the Get request to get the quota information for specific resource.
#. To increase the quota, update the limit field in the response from Get request to new value.
#. Submit the JSON to the quota request API to update the quota.
The Create quota request may be constructed as follows. The PUT operation can be used to
update the quota.

Expand Down Expand Up @@ -515,11 +510,8 @@ def begin_update(
**kwargs: Any
) -> LROPoller[Union["_models.CurrentQuotaLimitBase", "_models.QuotaRequestSubmitResponse201"]]:
"""Update the quota (service limits) of this resource to the requested value.

• To get the quota information for specific resource, send a GET request.

• To increase the quota, update the limit field from the GET response to a new value.

• To update the quota value, submit the JSON response to the quota request API to update the
quota.
• To update the quota. use the PATCH operation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,8 @@ def list(

* - Field
- Supported operators
* -


|requestSubmitTime | ge, le, eq, gt, lt. Default value is None.
* - requestSubmitTime
- ge, le, eq, gt, lt. Default value is None.
:type filter: str
:param top: Number of records to return. Default value is None.
:type top: int
Expand Down