[AutoRelease] t2-qumulo-2023-04-26-76312(can only be merged by SDK owner) (#30074)
* code and test * Update CHANGELOG.md * Update _version.py * Update CHANGELOG.md --------- Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> Co-authored-by: zhenbiao wei <424401670@qq.com> Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
This commit is contained in:
Родитель
b8c88d21a5
Коммит
fff7cfb26a
|
@ -1,5 +1,11 @@
|
|||
# Release History
|
||||
|
||||
## 1.0.0 (2023-05-20)
|
||||
|
||||
### other change
|
||||
|
||||
- First GA
|
||||
|
||||
## 1.0.0b1 (2023-04-14)
|
||||
|
||||
* Initial Release
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"commit": "88d0f7765c07e71cdbae6e44bde4b44fd53d07dd",
|
||||
"commit": "38311a16b5bfcb756164c6c48a64b0bc90d01a54",
|
||||
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
|
||||
"autorest": "3.9.2",
|
||||
"use": [
|
||||
|
|
|
@ -29,14 +29,14 @@ class QumuloMgmtClientConfiguration(Configuration): # pylint: disable=too-many-
|
|||
:type credential: ~azure.core.credentials.TokenCredential
|
||||
:param subscription_id: The ID of the target subscription. Required.
|
||||
:type subscription_id: str
|
||||
:keyword api_version: Api Version. Default value is "2022-10-12-preview". Note that overriding
|
||||
this default value may result in unsupported behavior.
|
||||
:keyword api_version: Api Version. Default value is "2022-10-12". 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(QumuloMgmtClientConfiguration, self).__init__(**kwargs)
|
||||
api_version: str = kwargs.pop("api_version", "2022-10-12-preview")
|
||||
api_version: str = kwargs.pop("api_version", "2022-10-12")
|
||||
|
||||
if credential is None:
|
||||
raise ValueError("Parameter 'credential' must not be None.")
|
||||
|
|
|
@ -35,8 +35,8 @@ class QumuloMgmtClient: # pylint: disable=client-accepts-api-version-keyword
|
|||
: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 "2022-10-12-preview". Note that overriding
|
||||
this default value may result in unsupported behavior.
|
||||
:keyword api_version: Api Version. Default value is "2022-10-12". Note that overriding this
|
||||
default value may result in unsupported behavior.
|
||||
:paramtype api_version: str
|
||||
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
||||
Retry-After header is present.
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
VERSION = "1.0.0b1"
|
||||
VERSION = "1.0.0"
|
||||
|
|
|
@ -29,14 +29,14 @@ class QumuloMgmtClientConfiguration(Configuration): # pylint: disable=too-many-
|
|||
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
|
||||
:param subscription_id: The ID of the target subscription. Required.
|
||||
:type subscription_id: str
|
||||
:keyword api_version: Api Version. Default value is "2022-10-12-preview". Note that overriding
|
||||
this default value may result in unsupported behavior.
|
||||
:keyword api_version: Api Version. Default value is "2022-10-12". 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(QumuloMgmtClientConfiguration, self).__init__(**kwargs)
|
||||
api_version: str = kwargs.pop("api_version", "2022-10-12-preview")
|
||||
api_version: str = kwargs.pop("api_version", "2022-10-12")
|
||||
|
||||
if credential is None:
|
||||
raise ValueError("Parameter 'credential' must not be None.")
|
||||
|
|
|
@ -35,8 +35,8 @@ class QumuloMgmtClient: # pylint: disable=client-accepts-api-version-keyword
|
|||
: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 "2022-10-12-preview". Note that overriding
|
||||
this default value may result in unsupported behavior.
|
||||
:keyword api_version: Api Version. Default value is "2022-10-12". Note that overriding this
|
||||
default value may result in unsupported behavior.
|
||||
:paramtype api_version: str
|
||||
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
||||
Retry-After header is present.
|
||||
|
|
|
@ -42,7 +42,7 @@ def build_list_by_subscription_request(subscription_id: str, **kwargs: Any) -> H
|
|||
_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", "2022-10-12-preview"))
|
||||
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2022-10-12"))
|
||||
accept = _headers.pop("Accept", "application/json")
|
||||
|
||||
# Construct URL
|
||||
|
@ -66,7 +66,7 @@ def build_list_by_resource_group_request(resource_group_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", "2022-10-12-preview"))
|
||||
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2022-10-12"))
|
||||
accept = _headers.pop("Accept", "application/json")
|
||||
|
||||
# Construct URL
|
||||
|
@ -98,7 +98,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", "2022-10-12-preview"))
|
||||
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2022-10-12"))
|
||||
accept = _headers.pop("Accept", "application/json")
|
||||
|
||||
# Construct URL
|
||||
|
@ -131,7 +131,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", "2022-10-12-preview"))
|
||||
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2022-10-12"))
|
||||
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
||||
accept = _headers.pop("Accept", "application/json")
|
||||
|
||||
|
@ -167,7 +167,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", "2022-10-12-preview"))
|
||||
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2022-10-12"))
|
||||
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
||||
accept = _headers.pop("Accept", "application/json")
|
||||
|
||||
|
@ -203,7 +203,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", "2022-10-12-preview"))
|
||||
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2022-10-12"))
|
||||
accept = _headers.pop("Accept", "application/json")
|
||||
|
||||
# Construct URL
|
||||
|
|
|
@ -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", "2022-10-12-preview"))
|
||||
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2022-10-12"))
|
||||
accept = _headers.pop("Accept", "application/json")
|
||||
|
||||
# Construct URL
|
||||
|
|
|
@ -59,6 +59,6 @@ def main():
|
|||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/preview/2022-10-12-preview/examples/FileSystems_CreateOrUpdate_MaximumSet_Gen.json
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_CreateOrUpdate_MaximumSet_Gen.json
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
@ -47,13 +47,13 @@ def main():
|
|||
},
|
||||
"provisioningState": "Accepted",
|
||||
"storageSku": "Standard",
|
||||
"userDetails": {"email": "aaaaaaaaaaaaaaaaaaaaaaa"},
|
||||
"userDetails": {"email": "viptslwulnpaupfljvnjeq"},
|
||||
},
|
||||
},
|
||||
).result()
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/preview/2022-10-12-preview/examples/FileSystems_CreateOrUpdate_MinimumSet_Gen.json
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_CreateOrUpdate_MinimumSet_Gen.json
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
@ -36,6 +36,6 @@ def main():
|
|||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/preview/2022-10-12-preview/examples/FileSystems_Delete_MaximumSet_Gen.json
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Delete_MaximumSet_Gen.json
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
@ -36,6 +36,6 @@ def main():
|
|||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/preview/2022-10-12-preview/examples/FileSystems_Delete_MinimumSet_Gen.json
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Delete_MinimumSet_Gen.json
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
@ -36,6 +36,6 @@ def main():
|
|||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/preview/2022-10-12-preview/examples/FileSystems_Get_MaximumSet_Gen.json
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Get_MaximumSet_Gen.json
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
@ -36,6 +36,6 @@ def main():
|
|||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/preview/2022-10-12-preview/examples/FileSystems_Get_MinimumSet_Gen.json
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Get_MinimumSet_Gen.json
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
@ -36,6 +36,6 @@ def main():
|
|||
print(item)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/preview/2022-10-12-preview/examples/FileSystems_ListByResourceGroup_MaximumSet_Gen.json
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_ListByResourceGroup_MaximumSet_Gen.json
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
@ -36,6 +36,6 @@ def main():
|
|||
print(item)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/preview/2022-10-12-preview/examples/FileSystems_ListByResourceGroup_MinimumSet_Gen.json
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_ListByResourceGroup_MinimumSet_Gen.json
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
@ -34,6 +34,6 @@ def main():
|
|||
print(item)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/preview/2022-10-12-preview/examples/FileSystems_ListBySubscription_MaximumSet_Gen.json
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_ListBySubscription_MaximumSet_Gen.json
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
@ -34,6 +34,6 @@ def main():
|
|||
print(item)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/preview/2022-10-12-preview/examples/FileSystems_ListBySubscription_MinimumSet_Gen.json
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_ListBySubscription_MinimumSet_Gen.json
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
@ -45,7 +45,7 @@ def main():
|
|||
"publisherId": "wfmokfdjbwpjhz",
|
||||
},
|
||||
"privateIPs": ["eugjqbaoucgjsopzfrq"],
|
||||
"userDetails": {"email": "viptslwulnpaupfljvnjeq"},
|
||||
"userDetails": {"email": "aa"},
|
||||
},
|
||||
"tags": {"key7534": "jsgqvqbagquvxowbrkanyhzvo"},
|
||||
},
|
||||
|
@ -53,6 +53,6 @@ def main():
|
|||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/preview/2022-10-12-preview/examples/FileSystems_Update_MaximumSet_Gen.json
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Update_MaximumSet_Gen.json
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
@ -34,6 +34,6 @@ def main():
|
|||
print(item)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/preview/2022-10-12-preview/examples/Operations_List_MaximumSet_Gen.json
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/Operations_List_MaximumSet_Gen.json
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
@ -34,6 +34,6 @@ def main():
|
|||
print(item)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/preview/2022-10-12-preview/examples/Operations_List_MinimumSet_Gen.json
|
||||
# x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/Operations_List_MinimumSet_Gen.json
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
Загрузка…
Ссылка в новой задаче