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-hybridcontainerservice] Zman/fix conflicts dev aks fleet 2024 02 02 preview #6158

Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions sdk/apicenter/azure-mgmt-apicenter/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "1d2b8c05b55be5dd98ce94c835d7e96ee1ea7f5d",
"commit": "70a4ccdd2be61ae5bc524250c70270b0f4f2b540",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.7",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/apicenter/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/[email protected] --use=@autorest/[email protected] --version=3.9.7 --version-tolerant=False",
"autorest_command": "autorest specification/apicenter/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/[email protected] --use=@autorest/[email protected] --version=3.9.7 --version-tolerant=False",
"readme": "specification/apicenter/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,55 @@
from . import models as _models
from ._configuration import ApiCenterMgmtClientConfiguration
from ._serialization import Deserializer, Serializer
from .operations import Operations, ServicesOperations
from .operations import (
ApiDefinitionsOperations,
ApiVersionsOperations,
ApisOperations,
DeploymentsOperations,
EnvironmentsOperations,
MetadataSchemasOperations,
Operations,
ServicesOperations,
WorkspacesOperations,
)

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from azure.core.credentials import TokenCredential


class ApiCenterMgmtClient: # pylint: disable=client-accepts-api-version-keyword
class ApiCenterMgmtClient: # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
"""Azure API Center Resource Provider.

:ivar operations: Operations operations
:vartype operations: azure.mgmt.apicenter.operations.Operations
:ivar services: ServicesOperations operations
:vartype services: azure.mgmt.apicenter.operations.ServicesOperations
:ivar metadata_schemas: MetadataSchemasOperations operations
:vartype metadata_schemas: azure.mgmt.apicenter.operations.MetadataSchemasOperations
:ivar workspaces: WorkspacesOperations operations
:vartype workspaces: azure.mgmt.apicenter.operations.WorkspacesOperations
:ivar apis: ApisOperations operations
:vartype apis: azure.mgmt.apicenter.operations.ApisOperations
:ivar deployments: DeploymentsOperations operations
:vartype deployments: azure.mgmt.apicenter.operations.DeploymentsOperations
:ivar api_versions: ApiVersionsOperations operations
:vartype api_versions: azure.mgmt.apicenter.operations.ApiVersionsOperations
:ivar api_definitions: ApiDefinitionsOperations operations
:vartype api_definitions: azure.mgmt.apicenter.operations.ApiDefinitionsOperations
:ivar environments: EnvironmentsOperations operations
:vartype environments: azure.mgmt.apicenter.operations.EnvironmentsOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. Required.
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
: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-07-01-preview". Note that overriding
this default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2024-03-01". 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.
"""

def __init__(
Expand All @@ -58,6 +84,15 @@ def __init__(
self._serialize.client_side_validation = False
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.services = ServicesOperations(self._client, self._config, self._serialize, self._deserialize)
self.metadata_schemas = MetadataSchemasOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.workspaces = WorkspacesOperations(self._client, self._config, self._serialize, self._deserialize)
self.apis = ApisOperations(self._client, self._config, self._serialize, self._deserialize)
self.deployments = DeploymentsOperations(self._client, self._config, self._serialize, self._deserialize)
self.api_versions = ApiVersionsOperations(self._client, self._config, self._serialize, self._deserialize)
self.api_definitions = ApiDefinitionsOperations(self._client, self._config, self._serialize, self._deserialize)
self.environments = EnvironmentsOperations(self._client, self._config, self._serialize, self._deserialize)

def _send_request(self, request: HttpRequest, **kwargs: Any) -> HttpResponse:
"""Runs the network request through the client's chained policies.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ class ApiCenterMgmtClientConfiguration(Configuration): # pylint: disable=too-ma

:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. Required.
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2023-07-01-preview". Note that overriding
this default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2024-03-01". 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(ApiCenterMgmtClientConfiguration, self).__init__(**kwargs)
api_version: str = kwargs.pop("api_version", "2023-07-01-preview")
api_version: str = kwargs.pop("api_version", "2024-03-01")

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 @@ -15,29 +15,55 @@
from .. import models as _models
from .._serialization import Deserializer, Serializer
from ._configuration import ApiCenterMgmtClientConfiguration
from .operations import Operations, ServicesOperations
from .operations import (
ApiDefinitionsOperations,
ApiVersionsOperations,
ApisOperations,
DeploymentsOperations,
EnvironmentsOperations,
MetadataSchemasOperations,
Operations,
ServicesOperations,
WorkspacesOperations,
)

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from azure.core.credentials_async import AsyncTokenCredential


class ApiCenterMgmtClient: # pylint: disable=client-accepts-api-version-keyword
class ApiCenterMgmtClient: # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
"""Azure API Center Resource Provider.

:ivar operations: Operations operations
:vartype operations: azure.mgmt.apicenter.aio.operations.Operations
:ivar services: ServicesOperations operations
:vartype services: azure.mgmt.apicenter.aio.operations.ServicesOperations
:ivar metadata_schemas: MetadataSchemasOperations operations
:vartype metadata_schemas: azure.mgmt.apicenter.aio.operations.MetadataSchemasOperations
:ivar workspaces: WorkspacesOperations operations
:vartype workspaces: azure.mgmt.apicenter.aio.operations.WorkspacesOperations
:ivar apis: ApisOperations operations
:vartype apis: azure.mgmt.apicenter.aio.operations.ApisOperations
:ivar deployments: DeploymentsOperations operations
:vartype deployments: azure.mgmt.apicenter.aio.operations.DeploymentsOperations
:ivar api_versions: ApiVersionsOperations operations
:vartype api_versions: azure.mgmt.apicenter.aio.operations.ApiVersionsOperations
:ivar api_definitions: ApiDefinitionsOperations operations
:vartype api_definitions: azure.mgmt.apicenter.aio.operations.ApiDefinitionsOperations
:ivar environments: EnvironmentsOperations operations
:vartype environments: azure.mgmt.apicenter.aio.operations.EnvironmentsOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription. Required.
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
: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-07-01-preview". Note that overriding
this default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2024-03-01". 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.
"""

def __init__(
Expand All @@ -58,6 +84,15 @@ def __init__(
self._serialize.client_side_validation = False
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.services = ServicesOperations(self._client, self._config, self._serialize, self._deserialize)
self.metadata_schemas = MetadataSchemasOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.workspaces = WorkspacesOperations(self._client, self._config, self._serialize, self._deserialize)
self.apis = ApisOperations(self._client, self._config, self._serialize, self._deserialize)
self.deployments = DeploymentsOperations(self._client, self._config, self._serialize, self._deserialize)
self.api_versions = ApiVersionsOperations(self._client, self._config, self._serialize, self._deserialize)
self.api_definitions = ApiDefinitionsOperations(self._client, self._config, self._serialize, self._deserialize)
self.environments = EnvironmentsOperations(self._client, self._config, self._serialize, self._deserialize)

def _send_request(self, request: HttpRequest, **kwargs: Any) -> Awaitable[AsyncHttpResponse]:
"""Runs the network request through the client's chained policies.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ class ApiCenterMgmtClientConfiguration(Configuration): # pylint: disable=too-ma

:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription. Required.
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2023-07-01-preview". Note that overriding
this default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2024-03-01". 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(ApiCenterMgmtClientConfiguration, self).__init__(**kwargs)
api_version: str = kwargs.pop("api_version", "2023-07-01-preview")
api_version: str = kwargs.pop("api_version", "2024-03-01")

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 @@ -8,6 +8,13 @@

from ._operations import Operations
from ._services_operations import ServicesOperations
from ._metadata_schemas_operations import MetadataSchemasOperations
from ._workspaces_operations import WorkspacesOperations
from ._apis_operations import ApisOperations
from ._deployments_operations import DeploymentsOperations
from ._api_versions_operations import ApiVersionsOperations
from ._api_definitions_operations import ApiDefinitionsOperations
from ._environments_operations import EnvironmentsOperations

from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
Expand All @@ -16,6 +23,13 @@
__all__ = [
"Operations",
"ServicesOperations",
"MetadataSchemasOperations",
"WorkspacesOperations",
"ApisOperations",
"DeploymentsOperations",
"ApiVersionsOperations",
"ApiDefinitionsOperations",
"EnvironmentsOperations",
]
__all__.extend([p for p in _patch_all if p not in __all__])
_patch_sdk()
Loading
Loading