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-maintenance] Rbandi124 maintenance microsoft.maintenance 2023 11 01 preview #5507

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/maintenance/azure-mgmt-maintenance/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "e6d90862a97c4f04f0c26a8869602bbfd8b10280",
"commit": "f40ca801e02881d0fd5df40908b0a8305d2ad57f",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.7",
"use": [
"@autorest/python@6.7.1",
"@autorest/modelerfour@4.26.2"
],
"autorest_command": "autorest specification/maintenance/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.7.1 --use=@autorest/modelerfour@4.26.2 --version=3.9.7 --version-tolerant=False",
"autorest_command": "autorest specification/maintenance/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.7.1 --use=@autorest/modelerfour@4.26.2 --version=3.9.7 --version-tolerant=False",
"readme": "specification/maintenance/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ class MaintenanceManagementClientConfiguration(Configuration): # pylint: disabl
:param subscription_id: Subscription credentials that uniquely identify a Microsoft Azure
subscription. The subscription ID forms part of the URI for every service call. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2023-09-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2023-11-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
super(MaintenanceManagementClientConfiguration, self).__init__(**kwargs)
api_version: str = kwargs.pop("api_version", "2023-09-01-preview")
api_version: str = kwargs.pop("api_version", "2023-11-01-preview")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class MaintenanceManagementClient: # pylint: disable=client-accepts-api-version
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: Api Version. Default value is "2023-09-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2023-11-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
"""
Expand Down
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.2.0b1"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ class MaintenanceManagementClientConfiguration(Configuration): # pylint: disabl
:param subscription_id: Subscription credentials that uniquely identify a Microsoft Azure
subscription. The subscription ID forms part of the URI for every service call. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2023-09-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2023-11-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
super(MaintenanceManagementClientConfiguration, self).__init__(**kwargs)
api_version: str = kwargs.pop("api_version", "2023-09-01-preview")
api_version: str = kwargs.pop("api_version", "2023-11-01-preview")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class MaintenanceManagementClient: # pylint: disable=client-accepts-api-version
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: Api Version. Default value is "2023-09-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2023-11-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def build_list_request(resource_group_name: str, subscription_id: str, **kwargs:
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def build_get_parent_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -93,7 +93,7 @@ def build_get_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -133,7 +133,7 @@ def build_create_or_update_or_cancel_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")

Expand Down Expand Up @@ -177,7 +177,7 @@ def build_create_or_update_parent_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -217,7 +217,7 @@ def build_create_or_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -248,7 +248,7 @@ def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest:
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def build_get_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -74,7 +74,7 @@ def build_create_or_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")

Expand Down Expand Up @@ -110,7 +110,7 @@ def build_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")

Expand Down Expand Up @@ -146,7 +146,7 @@ def build_delete_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def build_get_request(configuration_assignment_name: str, subscription_id: str,
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -71,7 +71,7 @@ def build_create_or_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")

Expand Down Expand Up @@ -104,7 +104,7 @@ def build_update_request(configuration_assignment_name: str, subscription_id: st
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")

Expand Down Expand Up @@ -137,7 +137,7 @@ def build_delete_request(configuration_assignment_name: str, subscription_id: st
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def build_get_parent_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -97,7 +97,7 @@ def build_create_or_update_parent_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")

Expand Down Expand Up @@ -146,7 +146,7 @@ def build_delete_parent_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -190,7 +190,7 @@ def build_get_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -232,7 +232,7 @@ def build_create_or_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")

Expand Down Expand Up @@ -277,7 +277,7 @@ def build_delete_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -320,7 +320,7 @@ def build_list_parent_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -360,7 +360,7 @@ def build_list_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest:
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def build_list_request(resource_group_name: str, subscription_id: str, **kwargs:
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def build_get_request(resource_group_name: str, resource_name: str, subscription
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -72,7 +72,7 @@ def build_create_or_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")

Expand Down Expand Up @@ -106,7 +106,7 @@ def build_delete_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down Expand Up @@ -137,7 +137,7 @@ def build_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")

Expand Down Expand Up @@ -169,7 +169,7 @@ def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest:
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def build_list_request(**kwargs: Any) -> HttpRequest:
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-09-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview"))
accept = _headers.pop("Accept", "application/json")

# Construct URL
Expand Down
Loading