Skip to content
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/devcenter/azure-mgmt-devcenter/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "4903b1ed79e30f689d7c469cfa06734cfcd106d6",
"commit": "9823d347bc63244aff3037c9b3896480011e4232",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"use": [
"@autorest/python@6.2.1",
"@autorest/modelerfour@4.24.3"
],
"autorest_command": "autorest specification/devcenter/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.2.1 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"autorest_command": "autorest specification/devcenter/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.2.1 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"readme": "specification/devcenter/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ class DevCenterMgmtClientConfiguration(Configuration): # pylint: disable=too-ma
: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
:keyword api_version: Api Version. Default value is "2022-11-11-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(DevCenterMgmtClientConfiguration, self).__init__(**kwargs)
api_version = kwargs.pop("api_version", "2022-10-12-preview") # type: Literal["2022-10-12-preview"]
api_version = kwargs.pop("api_version", "2022-11-11-preview") # type: Literal["2022-11-11-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 @@ -18,6 +18,7 @@
from .operations import (
AttachedNetworksOperations,
CatalogsOperations,
CheckNameAvailabilityOperations,
DevBoxDefinitionsOperations,
DevCentersOperations,
EnvironmentTypesOperations,
Expand Down Expand Up @@ -74,6 +75,9 @@ class DevCenterMgmtClient: # pylint: disable=client-accepts-api-version-keyword
:vartype operation_statuses: azure.mgmt.devcenter.operations.OperationStatusesOperations
:ivar usages: UsagesOperations operations
:vartype usages: azure.mgmt.devcenter.operations.UsagesOperations
:ivar check_name_availability: CheckNameAvailabilityOperations operations
:vartype check_name_availability:
azure.mgmt.devcenter.operations.CheckNameAvailabilityOperations
:ivar skus: SkusOperations operations
:vartype skus: azure.mgmt.devcenter.operations.SkusOperations
:ivar pools: PoolsOperations operations
Expand All @@ -88,7 +92,7 @@ class DevCenterMgmtClient: # 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
:keyword api_version: Api Version. Default value is "2022-11-11-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 @@ -137,6 +141,9 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize
)
self.usages = UsagesOperations(self._client, self._config, self._serialize, self._deserialize)
self.check_name_availability = CheckNameAvailabilityOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.skus = SkusOperations(self._client, self._config, self._serialize, self._deserialize)
self.pools = PoolsOperations(self._client, self._config, self._serialize, self._deserialize)
self.schedules = SchedulesOperations(self._client, self._config, self._serialize, self._deserialize)
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 = "1.0.0b3"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ class DevCenterMgmtClientConfiguration(Configuration): # pylint: disable=too-ma
: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
:keyword api_version: Api Version. Default value is "2022-11-11-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(DevCenterMgmtClientConfiguration, self).__init__(**kwargs)
api_version = kwargs.pop("api_version", "2022-10-12-preview") # type: Literal["2022-10-12-preview"]
api_version = kwargs.pop("api_version", "2022-11-11-preview") # type: Literal["2022-11-11-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 @@ -18,6 +18,7 @@
from .operations import (
AttachedNetworksOperations,
CatalogsOperations,
CheckNameAvailabilityOperations,
DevBoxDefinitionsOperations,
DevCentersOperations,
EnvironmentTypesOperations,
Expand Down Expand Up @@ -74,6 +75,9 @@ class DevCenterMgmtClient: # pylint: disable=client-accepts-api-version-keyword
:vartype operation_statuses: azure.mgmt.devcenter.aio.operations.OperationStatusesOperations
:ivar usages: UsagesOperations operations
:vartype usages: azure.mgmt.devcenter.aio.operations.UsagesOperations
:ivar check_name_availability: CheckNameAvailabilityOperations operations
:vartype check_name_availability:
azure.mgmt.devcenter.aio.operations.CheckNameAvailabilityOperations
:ivar skus: SkusOperations operations
:vartype skus: azure.mgmt.devcenter.aio.operations.SkusOperations
:ivar pools: PoolsOperations operations
Expand All @@ -88,7 +92,7 @@ class DevCenterMgmtClient: # 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
:keyword api_version: Api Version. Default value is "2022-11-11-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 @@ -137,6 +141,9 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize
)
self.usages = UsagesOperations(self._client, self._config, self._serialize, self._deserialize)
self.check_name_availability = CheckNameAvailabilityOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.skus = SkusOperations(self._client, self._config, self._serialize, self._deserialize)
self.pools = PoolsOperations(self._client, self._config, self._serialize, self._deserialize)
self.schedules = SchedulesOperations(self._client, self._config, self._serialize, self._deserialize)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from ._operations import Operations
from ._operation_statuses_operations import OperationStatusesOperations
from ._usages_operations import UsagesOperations
from ._check_name_availability_operations import CheckNameAvailabilityOperations
from ._skus_operations import SkusOperations
from ._pools_operations import PoolsOperations
from ._schedules_operations import SchedulesOperations
Expand All @@ -44,6 +45,7 @@
"Operations",
"OperationStatusesOperations",
"UsagesOperations",
"CheckNameAvailabilityOperations",
"SkusOperations",
"PoolsOperations",
"SchedulesOperations",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def list_by_project(

api_version = kwargs.pop(
"api_version", _params.pop("api-version", self._config.api_version)
) # type: Literal["2022-10-12-preview"]
) # type: Literal["2022-11-11-preview"]
cls = kwargs.pop("cls", None) # type: ClsType[_models.AttachedNetworkListResult]

error_map = {
Expand Down Expand Up @@ -194,7 +194,7 @@ async def get_by_project(

api_version = kwargs.pop(
"api_version", _params.pop("api-version", self._config.api_version)
) # type: Literal["2022-10-12-preview"]
) # type: Literal["2022-11-11-preview"]
cls = kwargs.pop("cls", None) # type: ClsType[_models.AttachedNetworkConnection]

request = build_get_by_project_request(
Expand Down Expand Up @@ -255,7 +255,7 @@ def list_by_dev_center(

api_version = kwargs.pop(
"api_version", _params.pop("api-version", self._config.api_version)
) # type: Literal["2022-10-12-preview"]
) # type: Literal["2022-11-11-preview"]
cls = kwargs.pop("cls", None) # type: ClsType[_models.AttachedNetworkListResult]

error_map = {
Expand Down Expand Up @@ -356,7 +356,7 @@ async def get_by_dev_center(

api_version = kwargs.pop(
"api_version", _params.pop("api-version", self._config.api_version)
) # type: Literal["2022-10-12-preview"]
) # type: Literal["2022-11-11-preview"]
cls = kwargs.pop("cls", None) # type: ClsType[_models.AttachedNetworkConnection]

request = build_get_by_dev_center_request(
Expand Down Expand Up @@ -412,7 +412,7 @@ async def _create_or_update_initial(

api_version = kwargs.pop(
"api_version", _params.pop("api-version", self._config.api_version)
) # type: Literal["2022-10-12-preview"]
) # type: Literal["2022-11-11-preview"]
content_type = kwargs.pop("content_type", _headers.pop("Content-Type", None)) # type: Optional[str]
cls = kwargs.pop("cls", None) # type: ClsType[_models.AttachedNetworkConnection]

Expand Down Expand Up @@ -582,7 +582,7 @@ async def begin_create_or_update(

api_version = kwargs.pop(
"api_version", _params.pop("api-version", self._config.api_version)
) # type: Literal["2022-10-12-preview"]
) # type: Literal["2022-11-11-preview"]
content_type = kwargs.pop("content_type", _headers.pop("Content-Type", None)) # type: Optional[str]
cls = kwargs.pop("cls", None) # type: ClsType[_models.AttachedNetworkConnection]
polling = kwargs.pop("polling", True) # type: Union[bool, AsyncPollingMethod]
Expand Down Expand Up @@ -645,7 +645,7 @@ async def _delete_initial( # pylint: disable=inconsistent-return-statements

api_version = kwargs.pop(
"api_version", _params.pop("api-version", self._config.api_version)
) # type: Literal["2022-10-12-preview"]
) # type: Literal["2022-11-11-preview"]
cls = kwargs.pop("cls", None) # type: ClsType[None]

request = build_delete_request(
Expand Down Expand Up @@ -706,7 +706,7 @@ async def begin_delete(

api_version = kwargs.pop(
"api_version", _params.pop("api-version", self._config.api_version)
) # type: Literal["2022-10-12-preview"]
) # type: Literal["2022-11-11-preview"]
cls = kwargs.pop("cls", None) # type: ClsType[None]
polling = kwargs.pop("polling", True) # type: Union[bool, AsyncPollingMethod]
lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def list_by_dev_center(

api_version = kwargs.pop(
"api_version", _params.pop("api-version", self._config.api_version)
) # type: Literal["2022-10-12-preview"]
) # type: Literal["2022-11-11-preview"]
cls = kwargs.pop("cls", None) # type: ClsType[_models.CatalogListResult]

error_map = {
Expand Down Expand Up @@ -192,7 +192,7 @@ async def get(

api_version = kwargs.pop(
"api_version", _params.pop("api-version", self._config.api_version)
) # type: Literal["2022-10-12-preview"]
) # type: Literal["2022-11-11-preview"]
cls = kwargs.pop("cls", None) # type: ClsType[_models.Catalog]

request = build_get_request(
Expand Down Expand Up @@ -248,7 +248,7 @@ async def _create_or_update_initial(

api_version = kwargs.pop(
"api_version", _params.pop("api-version", self._config.api_version)
) # type: Literal["2022-10-12-preview"]
) # type: Literal["2022-11-11-preview"]
content_type = kwargs.pop("content_type", _headers.pop("Content-Type", None)) # type: Optional[str]
cls = kwargs.pop("cls", None) # type: ClsType[_models.Catalog]

Expand Down Expand Up @@ -414,7 +414,7 @@ async def begin_create_or_update(

api_version = kwargs.pop(
"api_version", _params.pop("api-version", self._config.api_version)
) # type: Literal["2022-10-12-preview"]
) # type: Literal["2022-11-11-preview"]
content_type = kwargs.pop("content_type", _headers.pop("Content-Type", None)) # type: Optional[str]
cls = kwargs.pop("cls", None) # type: ClsType[_models.Catalog]
polling = kwargs.pop("polling", True) # type: Union[bool, AsyncPollingMethod]
Expand Down Expand Up @@ -482,7 +482,7 @@ async def _update_initial(

api_version = kwargs.pop(
"api_version", _params.pop("api-version", self._config.api_version)
) # type: Literal["2022-10-12-preview"]
) # type: Literal["2022-11-11-preview"]
content_type = kwargs.pop("content_type", _headers.pop("Content-Type", None)) # type: Optional[str]
cls = kwargs.pop("cls", None) # type: ClsType[Optional[_models.Catalog]]

Expand Down Expand Up @@ -650,7 +650,7 @@ async def begin_update(

api_version = kwargs.pop(
"api_version", _params.pop("api-version", self._config.api_version)
) # type: Literal["2022-10-12-preview"]
) # type: Literal["2022-11-11-preview"]
content_type = kwargs.pop("content_type", _headers.pop("Content-Type", None)) # type: Optional[str]
cls = kwargs.pop("cls", None) # type: ClsType[_models.Catalog]
polling = kwargs.pop("polling", True) # type: Union[bool, AsyncPollingMethod]
Expand Down Expand Up @@ -713,7 +713,7 @@ async def _delete_initial( # pylint: disable=inconsistent-return-statements

api_version = kwargs.pop(
"api_version", _params.pop("api-version", self._config.api_version)
) # type: Literal["2022-10-12-preview"]
) # type: Literal["2022-11-11-preview"]
cls = kwargs.pop("cls", None) # type: ClsType[None]

request = build_delete_request(
Expand Down Expand Up @@ -774,7 +774,7 @@ async def begin_delete(

api_version = kwargs.pop(
"api_version", _params.pop("api-version", self._config.api_version)
) # type: Literal["2022-10-12-preview"]
) # type: Literal["2022-11-11-preview"]
cls = kwargs.pop("cls", None) # type: ClsType[None]
polling = kwargs.pop("polling", True) # type: Union[bool, AsyncPollingMethod]
lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
Expand Down Expand Up @@ -832,7 +832,7 @@ async def _sync_initial( # pylint: disable=inconsistent-return-statements

api_version = kwargs.pop(
"api_version", _params.pop("api-version", self._config.api_version)
) # type: Literal["2022-10-12-preview"]
) # type: Literal["2022-11-11-preview"]
cls = kwargs.pop("cls", None) # type: ClsType[None]

request = build_sync_request(
Expand Down Expand Up @@ -893,7 +893,7 @@ async def begin_sync(

api_version = kwargs.pop(
"api_version", _params.pop("api-version", self._config.api_version)
) # type: Literal["2022-10-12-preview"]
) # type: Literal["2022-11-11-preview"]
cls = kwargs.pop("cls", None) # type: ClsType[None]
polling = kwargs.pop("polling", True) # type: Union[bool, AsyncPollingMethod]
lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
Expand Down
Loading