Skip to content

Commit

Permalink
CodeGen from PR 30656 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge b173015fc71b4677c3b391f8b24adfb16991e285 into 4cb5b94f8c1da3d1bcd56cde3fa62dfd5493e345
  • Loading branch information
SDKAuto committed Sep 20, 2024
1 parent b551e02 commit 35fe825
Show file tree
Hide file tree
Showing 146 changed files with 5,287 additions and 534 deletions.
6 changes: 3 additions & 3 deletions sdk/hybridcompute/azure-mgmt-hybridcompute/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "b574e2a41acda14a90ef237006e8bbdda2b63c63",
"commit": "6b8458ea7a7c989c36f4a4f59eb8a7085525f032",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.15.0",
"@autorest/python@6.19.0",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/hybridcompute/resource-manager/readme.md --generate-sample=True --generate-test=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.15.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"autorest_command": "autorest specification/hybridcompute/resource-manager/readme.md --generate-sample=True --generate-test=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.19.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"readme": "specification/hybridcompute/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ class HybridComputeManagementClientConfiguration: # pylint: disable=too-many-in
: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 "2024-05-20-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2024-09-10-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:
api_version: str = kwargs.pop("api_version", "2024-05-20-preview")
api_version: str = kwargs.pop("api_version", "2024-09-10-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 @@ -20,8 +20,12 @@
from ._serialization import Deserializer, Serializer
from .operations import (
ExtensionMetadataOperations,
ExtensionMetadataV2Operations,
ExtensionPublisherOperations,
ExtensionTypeOperations,
GatewaysOperations,
HybridComputeManagementClientOperationsMixin,
LicenseProfilesOperations,
LicensesOperations,
MachineExtensionsOperations,
MachineRunCommandsOperations,
Expand Down Expand Up @@ -49,10 +53,19 @@ class HybridComputeManagementClient(
:vartype licenses: azure.mgmt.hybridcompute.operations.LicensesOperations
:ivar machines: MachinesOperations operations
:vartype machines: azure.mgmt.hybridcompute.operations.MachinesOperations
:ivar license_profiles: LicenseProfilesOperations operations
:vartype license_profiles: azure.mgmt.hybridcompute.operations.LicenseProfilesOperations
:ivar machine_extensions: MachineExtensionsOperations operations
:vartype machine_extensions: azure.mgmt.hybridcompute.operations.MachineExtensionsOperations
:ivar extension_metadata: ExtensionMetadataOperations operations
:vartype extension_metadata: azure.mgmt.hybridcompute.operations.ExtensionMetadataOperations
:ivar extension_metadata_v2: ExtensionMetadataV2Operations operations
:vartype extension_metadata_v2:
azure.mgmt.hybridcompute.operations.ExtensionMetadataV2Operations
:ivar extension_type: ExtensionTypeOperations operations
:vartype extension_type: azure.mgmt.hybridcompute.operations.ExtensionTypeOperations
:ivar extension_publisher: ExtensionPublisherOperations operations
:vartype extension_publisher: azure.mgmt.hybridcompute.operations.ExtensionPublisherOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.hybridcompute.operations.Operations
:ivar network_profile: NetworkProfileOperations operations
Expand Down Expand Up @@ -81,7 +94,7 @@ class HybridComputeManagementClient(
: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 "2024-05-20-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2024-09-10-preview". 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
Expand Down Expand Up @@ -124,12 +137,22 @@ def __init__(
self._serialize.client_side_validation = False
self.licenses = LicensesOperations(self._client, self._config, self._serialize, self._deserialize)
self.machines = MachinesOperations(self._client, self._config, self._serialize, self._deserialize)
self.license_profiles = LicenseProfilesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.machine_extensions = MachineExtensionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.extension_metadata = ExtensionMetadataOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.extension_metadata_v2 = ExtensionMetadataV2Operations(
self._client, self._config, self._serialize, self._deserialize
)
self.extension_type = ExtensionTypeOperations(self._client, self._config, self._serialize, self._deserialize)
self.extension_publisher = ExtensionPublisherOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.network_profile = NetworkProfileOperations(self._client, self._config, self._serialize, self._deserialize)
self.machine_run_commands = MachineRunCommandsOperations(
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 = "9.0.0b4"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ class HybridComputeManagementClientConfiguration: # pylint: disable=too-many-in
: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 "2024-05-20-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2024-09-10-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:
api_version: str = kwargs.pop("api_version", "2024-05-20-preview")
api_version: str = kwargs.pop("api_version", "2024-09-10-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 @@ -20,8 +20,12 @@
from ._configuration import HybridComputeManagementClientConfiguration
from .operations import (
ExtensionMetadataOperations,
ExtensionMetadataV2Operations,
ExtensionPublisherOperations,
ExtensionTypeOperations,
GatewaysOperations,
HybridComputeManagementClientOperationsMixin,
LicenseProfilesOperations,
LicensesOperations,
MachineExtensionsOperations,
MachineRunCommandsOperations,
Expand Down Expand Up @@ -49,12 +53,22 @@ class HybridComputeManagementClient(
:vartype licenses: azure.mgmt.hybridcompute.aio.operations.LicensesOperations
:ivar machines: MachinesOperations operations
:vartype machines: azure.mgmt.hybridcompute.aio.operations.MachinesOperations
:ivar license_profiles: LicenseProfilesOperations operations
:vartype license_profiles: azure.mgmt.hybridcompute.aio.operations.LicenseProfilesOperations
:ivar machine_extensions: MachineExtensionsOperations operations
:vartype machine_extensions:
azure.mgmt.hybridcompute.aio.operations.MachineExtensionsOperations
:ivar extension_metadata: ExtensionMetadataOperations operations
:vartype extension_metadata:
azure.mgmt.hybridcompute.aio.operations.ExtensionMetadataOperations
:ivar extension_metadata_v2: ExtensionMetadataV2Operations operations
:vartype extension_metadata_v2:
azure.mgmt.hybridcompute.aio.operations.ExtensionMetadataV2Operations
:ivar extension_type: ExtensionTypeOperations operations
:vartype extension_type: azure.mgmt.hybridcompute.aio.operations.ExtensionTypeOperations
:ivar extension_publisher: ExtensionPublisherOperations operations
:vartype extension_publisher:
azure.mgmt.hybridcompute.aio.operations.ExtensionPublisherOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.hybridcompute.aio.operations.Operations
:ivar network_profile: NetworkProfileOperations operations
Expand Down Expand Up @@ -85,7 +99,7 @@ class HybridComputeManagementClient(
: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 "2024-05-20-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2024-09-10-preview". 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
Expand Down Expand Up @@ -128,12 +142,22 @@ def __init__(
self._serialize.client_side_validation = False
self.licenses = LicensesOperations(self._client, self._config, self._serialize, self._deserialize)
self.machines = MachinesOperations(self._client, self._config, self._serialize, self._deserialize)
self.license_profiles = LicenseProfilesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.machine_extensions = MachineExtensionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.extension_metadata = ExtensionMetadataOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.extension_metadata_v2 = ExtensionMetadataV2Operations(
self._client, self._config, self._serialize, self._deserialize
)
self.extension_type = ExtensionTypeOperations(self._client, self._config, self._serialize, self._deserialize)
self.extension_publisher = ExtensionPublisherOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.network_profile = NetworkProfileOperations(self._client, self._config, self._serialize, self._deserialize)
self.machine_run_commands = MachineRunCommandsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@

from ._licenses_operations import LicensesOperations
from ._machines_operations import MachinesOperations
from ._license_profiles_operations import LicenseProfilesOperations
from ._machine_extensions_operations import MachineExtensionsOperations
from ._hybrid_compute_management_client_operations import HybridComputeManagementClientOperationsMixin
from ._extension_metadata_operations import ExtensionMetadataOperations
from ._extension_metadata_v2_operations import ExtensionMetadataV2Operations
from ._extension_type_operations import ExtensionTypeOperations
from ._extension_publisher_operations import ExtensionPublisherOperations
from ._operations import Operations
from ._network_profile_operations import NetworkProfileOperations
from ._machine_run_commands_operations import MachineRunCommandsOperations
Expand All @@ -28,9 +32,13 @@
__all__ = [
"LicensesOperations",
"MachinesOperations",
"LicenseProfilesOperations",
"MachineExtensionsOperations",
"HybridComputeManagementClientOperationsMixin",
"ExtensionMetadataOperations",
"ExtensionMetadataV2Operations",
"ExtensionTypeOperations",
"ExtensionPublisherOperations",
"Operations",
"NetworkProfileOperations",
"MachineRunCommandsOperations",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

from ... import models as _models
from ...operations._extension_metadata_operations import build_get_request, build_list_request
from .._vendor import HybridComputeManagementClientMixinABC

if sys.version_info >= (3, 9):
from collections.abc import MutableMapping
Expand Down
Loading

0 comments on commit 35fe825

Please sign in to comment.