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

[ReleasePR track2_azure-mgmt-maintenance] Add xms-ids for multiple RPs (maintenance~marketplaceordering) #19536

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
11 changes: 7 additions & 4 deletions sdk/maintenance/azure-mgmt-maintenance/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"autorest": "3.3.0",
"use": "@autorest/python@5.6.6",
"commit": "6300f518091891b00c993e538dc2d282c9b814de",
"autorest": "3.4.2",
"use": [
"@autorest/python@5.8.1",
"@autorest/modelerfour@4.19.2"
],
"commit": "c803720c6bcfcb0fcf4c97f3463ec33a18f9e55c",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/maintenance/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.6.6 --version=3.3.0",
"autorest_command": "autorest specification/maintenance/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.1 --use=@autorest/modelerfour@4.19.2 --version=3.4.2",
"readme": "specification/maintenance/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 @@ -44,7 +44,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:
def list(
self,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.ListApplyUpdate"]:
"""Get Configuration records within a subscription and resource group.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async def get_parent(
resource_type: str,
resource_name: str,
apply_update_name: str,
**kwargs
**kwargs: Any
) -> "_models.ApplyUpdate":
"""Track Updates to resource with parent.

Expand Down Expand Up @@ -129,7 +129,7 @@ async def get(
resource_type: str,
resource_name: str,
apply_update_name: str,
**kwargs
**kwargs: Any
) -> "_models.ApplyUpdate":
"""Track Updates to resource.

Expand Down Expand Up @@ -203,7 +203,7 @@ async def create_or_update_parent(
resource_parent_name: str,
resource_type: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> "_models.ApplyUpdate":
"""Apply Updates to resource with parent.

Expand Down Expand Up @@ -278,7 +278,7 @@ async def create_or_update(
provider_name: str,
resource_type: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> "_models.ApplyUpdate":
"""Apply Updates to resource.

Expand Down Expand Up @@ -343,7 +343,7 @@ async def create_or_update(

def list(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.ListApplyUpdate"]:
"""Get Configuration records within a subscription.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async def create_or_update_parent(
resource_name: str,
configuration_assignment_name: str,
configuration_assignment: "_models.ConfigurationAssignment",
**kwargs
**kwargs: Any
) -> "_models.ConfigurationAssignment":
"""Create configuration assignment.

Expand Down Expand Up @@ -139,7 +139,7 @@ async def delete_parent(
resource_type: str,
resource_name: str,
configuration_assignment_name: str,
**kwargs
**kwargs: Any
) -> Optional["_models.ConfigurationAssignment"]:
"""Unregister configuration for resource.

Expand Down Expand Up @@ -221,7 +221,7 @@ async def create_or_update(
resource_name: str,
configuration_assignment_name: str,
configuration_assignment: "_models.ConfigurationAssignment",
**kwargs
**kwargs: Any
) -> "_models.ConfigurationAssignment":
"""Create configuration assignment.

Expand Down Expand Up @@ -301,7 +301,7 @@ async def delete(
resource_type: str,
resource_name: str,
configuration_assignment_name: str,
**kwargs
**kwargs: Any
) -> Optional["_models.ConfigurationAssignment"]:
"""Unregister configuration for resource.

Expand Down Expand Up @@ -377,7 +377,7 @@ def list_parent(
resource_parent_name: str,
resource_type: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.ListConfigurationAssignmentsResult"]:
"""List configurationAssignments for resource.

Expand Down Expand Up @@ -468,7 +468,7 @@ def list(
provider_name: str,
resource_type: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.ListConfigurationAssignmentsResult"]:
"""List configurationAssignments for resource.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:
def list(
self,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.ListMaintenanceConfigurationsResult"]:
"""Get Configuration records within a subscription and resource group.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def get(
self,
resource_group_name: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> "_models.MaintenanceConfiguration":
"""Get Configuration record.

Expand Down Expand Up @@ -107,7 +107,7 @@ async def create_or_update(
resource_group_name: str,
resource_name: str,
configuration: "_models.MaintenanceConfiguration",
**kwargs
**kwargs: Any
) -> "_models.MaintenanceConfiguration":
"""Create or Update configuration record.

Expand Down Expand Up @@ -175,7 +175,7 @@ async def delete(
self,
resource_group_name: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> Optional["_models.MaintenanceConfiguration"]:
"""Delete Configuration record.

Expand Down Expand Up @@ -239,7 +239,7 @@ async def update(
resource_group_name: str,
resource_name: str,
configuration: "_models.MaintenanceConfiguration",
**kwargs
**kwargs: Any
) -> "_models.MaintenanceConfiguration":
"""Patch configuration record.

Expand Down Expand Up @@ -305,7 +305,7 @@ async def update(

def list(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.ListMaintenanceConfigurationsResult"]:
"""Get Configuration records within a subscription.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:

def list(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.OperationsListResult"]:
"""List available operations.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:

def list(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.ListMaintenanceConfigurationsResult"]:
"""Get Public Maintenance Configuration records.

Expand Down Expand Up @@ -113,7 +113,7 @@ async def get_next(next_link=None):
async def get(
self,
resource_name: str,
**kwargs
**kwargs: Any
) -> "_models.MaintenanceConfiguration":
"""Get Public Maintenance Configuration record.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def list_parent(
resource_parent_name: str,
resource_type: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.ListUpdatesResult"]:
"""Get Updates to resource.

Expand Down Expand Up @@ -140,7 +140,7 @@ def list(
provider_name: str,
resource_type: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.ListUpdatesResult"]:
"""Get Updates to resource.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ class Operation(msrest.serialization.Model):
:param origin: Origin of the operation.
:type origin: str
:param properties: Properties of the operation.
:type properties: str
:type properties: any
:param is_data_action: Indicates whether the operation is a data action.
:type is_data_action: bool
"""
Expand All @@ -389,7 +389,7 @@ class Operation(msrest.serialization.Model):
'name': {'key': 'name', 'type': 'str'},
'display': {'key': 'display', 'type': 'OperationInfo'},
'origin': {'key': 'origin', 'type': 'str'},
'properties': {'key': 'properties', 'type': 'str'},
'properties': {'key': 'properties', 'type': 'object'},
'is_data_action': {'key': 'isDataAction', 'type': 'bool'},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# --------------------------------------------------------------------------

import datetime
from typing import Dict, List, Optional, Union
from typing import Any, Dict, List, Optional, Union

from azure.core.exceptions import HttpResponseError
import msrest.serialization
Expand Down Expand Up @@ -418,7 +418,7 @@ class Operation(msrest.serialization.Model):
:param origin: Origin of the operation.
:type origin: str
:param properties: Properties of the operation.
:type properties: str
:type properties: any
:param is_data_action: Indicates whether the operation is a data action.
:type is_data_action: bool
"""
Expand All @@ -427,7 +427,7 @@ class Operation(msrest.serialization.Model):
'name': {'key': 'name', 'type': 'str'},
'display': {'key': 'display', 'type': 'OperationInfo'},
'origin': {'key': 'origin', 'type': 'str'},
'properties': {'key': 'properties', 'type': 'str'},
'properties': {'key': 'properties', 'type': 'object'},
'is_data_action': {'key': 'isDataAction', 'type': 'bool'},
}

Expand All @@ -437,7 +437,7 @@ def __init__(
name: Optional[str] = None,
display: Optional["OperationInfo"] = None,
origin: Optional[str] = None,
properties: Optional[str] = None,
properties: Optional[Any] = None,
is_data_action: Optional[bool] = None,
**kwargs
):
Expand Down