Skip to content

Commit 666ea3e

Browse files
author
SDKAuto
committed
CodeGen from PR 32741 in Azure/azure-rest-api-specs
Merge 59699e9c7a7febd7e16a01e59e948b4241d812cf into 69339d9098a3110738a872aa0326246670f0b3f1
1 parent f1a476d commit 666ea3e

33 files changed

+1331
-498
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"commit": "95e89f00932d2a8f04ff80e28f8ce10ee586ca7d",
2+
"commit": "3350b3c1fe16b906adc33891c41ef8ace067c3dd",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"typespec_src": "specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management",
5-
"@azure-tools/typespec-python": "0.36.0"
5+
"@azure-tools/typespec-python": "0.38.4"
66
}
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
{
2+
"CrossLanguagePackageId": "Microsoft.DevOpsInfrastructure",
3+
"CrossLanguageDefinitionId": {
4+
"azure.mgmt.devopsinfrastructure.models.AgentProfile": "Microsoft.DevOpsInfrastructure.AgentProfile",
5+
"azure.mgmt.devopsinfrastructure.models.ResourcePredictionsProfile": "Microsoft.DevOpsInfrastructure.ResourcePredictionsProfile",
6+
"azure.mgmt.devopsinfrastructure.models.AutomaticResourcePredictionsProfile": "Microsoft.DevOpsInfrastructure.AutomaticResourcePredictionsProfile",
7+
"azure.mgmt.devopsinfrastructure.models.OrganizationProfile": "Microsoft.DevOpsInfrastructure.OrganizationProfile",
8+
"azure.mgmt.devopsinfrastructure.models.AzureDevOpsOrganizationProfile": "Microsoft.DevOpsInfrastructure.AzureDevOpsOrganizationProfile",
9+
"azure.mgmt.devopsinfrastructure.models.AzureDevOpsPermissionProfile": "Microsoft.DevOpsInfrastructure.AzureDevOpsPermissionProfile",
10+
"azure.mgmt.devopsinfrastructure.models.CheckNameAvailability": "Microsoft.DevOpsInfrastructure.CheckNameAvailability",
11+
"azure.mgmt.devopsinfrastructure.models.CheckNameAvailabilityResult": "Microsoft.DevOpsInfrastructure.CheckNameAvailabilityResult",
12+
"azure.mgmt.devopsinfrastructure.models.DataDisk": "Microsoft.DevOpsInfrastructure.DataDisk",
13+
"azure.mgmt.devopsinfrastructure.models.DevOpsAzureSku": "Microsoft.DevOpsInfrastructure.DevOpsAzureSku",
14+
"azure.mgmt.devopsinfrastructure.models.ErrorAdditionalInfo": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo",
15+
"azure.mgmt.devopsinfrastructure.models.ErrorDetail": "Azure.ResourceManager.CommonTypes.ErrorDetail",
16+
"azure.mgmt.devopsinfrastructure.models.ErrorResponse": "Azure.ResourceManager.CommonTypes.ErrorResponse",
17+
"azure.mgmt.devopsinfrastructure.models.FabricProfile": "Microsoft.DevOpsInfrastructure.FabricProfile",
18+
"azure.mgmt.devopsinfrastructure.models.GitHubOrganization": "Microsoft.DevOpsInfrastructure.GitHubOrganization",
19+
"azure.mgmt.devopsinfrastructure.models.GitHubOrganizationProfile": "Microsoft.DevOpsInfrastructure.GitHubOrganizationProfile",
20+
"azure.mgmt.devopsinfrastructure.models.Resource": "Azure.ResourceManager.CommonTypes.Resource",
21+
"azure.mgmt.devopsinfrastructure.models.ProxyResource": "Azure.ResourceManager.CommonTypes.ProxyResource",
22+
"azure.mgmt.devopsinfrastructure.models.ImageVersion": "Microsoft.DevOpsInfrastructure.ImageVersion",
23+
"azure.mgmt.devopsinfrastructure.models.ImageVersionProperties": "Microsoft.DevOpsInfrastructure.ImageVersionProperties",
24+
"azure.mgmt.devopsinfrastructure.models.ManagedServiceIdentity": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity",
25+
"azure.mgmt.devopsinfrastructure.models.ManualResourcePredictionsProfile": "Microsoft.DevOpsInfrastructure.ManualResourcePredictionsProfile",
26+
"azure.mgmt.devopsinfrastructure.models.NetworkProfile": "Microsoft.DevOpsInfrastructure.NetworkProfile",
27+
"azure.mgmt.devopsinfrastructure.models.Operation": "Azure.ResourceManager.CommonTypes.Operation",
28+
"azure.mgmt.devopsinfrastructure.models.OperationDisplay": "Azure.ResourceManager.CommonTypes.OperationDisplay",
29+
"azure.mgmt.devopsinfrastructure.models.Organization": "Microsoft.DevOpsInfrastructure.Organization",
30+
"azure.mgmt.devopsinfrastructure.models.OsProfile": "Microsoft.DevOpsInfrastructure.OsProfile",
31+
"azure.mgmt.devopsinfrastructure.models.TrackedResource": "Azure.ResourceManager.CommonTypes.TrackedResource",
32+
"azure.mgmt.devopsinfrastructure.models.Pool": "Microsoft.DevOpsInfrastructure.Pool",
33+
"azure.mgmt.devopsinfrastructure.models.PoolImage": "Microsoft.DevOpsInfrastructure.PoolImage",
34+
"azure.mgmt.devopsinfrastructure.models.PoolProperties": "Microsoft.DevOpsInfrastructure.PoolProperties",
35+
"azure.mgmt.devopsinfrastructure.models.PoolUpdate": "Azure.ResourceManager.Foundations.ResourceUpdateModel",
36+
"azure.mgmt.devopsinfrastructure.models.PoolUpdateProperties": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties",
37+
"azure.mgmt.devopsinfrastructure.models.Quota": "Microsoft.DevOpsInfrastructure.Quota",
38+
"azure.mgmt.devopsinfrastructure.models.QuotaName": "Microsoft.DevOpsInfrastructure.QuotaName",
39+
"azure.mgmt.devopsinfrastructure.models.ResourceDetailsObject": "Microsoft.DevOpsInfrastructure.ResourceDetailsObject",
40+
"azure.mgmt.devopsinfrastructure.models.ResourceDetailsObjectProperties": "Microsoft.DevOpsInfrastructure.ResourceDetailsObjectProperties",
41+
"azure.mgmt.devopsinfrastructure.models.ResourcePredictions": "Microsoft.DevOpsInfrastructure.ResourcePredictions",
42+
"azure.mgmt.devopsinfrastructure.models.ResourceSku": "Microsoft.DevOpsInfrastructure.ResourceSku",
43+
"azure.mgmt.devopsinfrastructure.models.ResourceSkuCapabilities": "Microsoft.DevOpsInfrastructure.ResourceSkuCapabilities",
44+
"azure.mgmt.devopsinfrastructure.models.ResourceSkuLocationInfo": "Microsoft.DevOpsInfrastructure.ResourceSkuLocationInfo",
45+
"azure.mgmt.devopsinfrastructure.models.ResourceSkuProperties": "Microsoft.DevOpsInfrastructure.ResourceSkuProperties",
46+
"azure.mgmt.devopsinfrastructure.models.ResourceSkuRestrictionInfo": "Microsoft.DevOpsInfrastructure.ResourceSkuRestrictionInfo",
47+
"azure.mgmt.devopsinfrastructure.models.ResourceSkuRestrictions": "Microsoft.DevOpsInfrastructure.ResourceSkuRestrictions",
48+
"azure.mgmt.devopsinfrastructure.models.ResourceSkuZoneDetails": "Microsoft.DevOpsInfrastructure.ResourceSkuZoneDetails",
49+
"azure.mgmt.devopsinfrastructure.models.SecretsManagementSettings": "Microsoft.DevOpsInfrastructure.SecretsManagementSettings",
50+
"azure.mgmt.devopsinfrastructure.models.Stateful": "Microsoft.DevOpsInfrastructure.Stateful",
51+
"azure.mgmt.devopsinfrastructure.models.StatelessAgentProfile": "Microsoft.DevOpsInfrastructure.StatelessAgentProfile",
52+
"azure.mgmt.devopsinfrastructure.models.StorageProfile": "Microsoft.DevOpsInfrastructure.StorageProfile",
53+
"azure.mgmt.devopsinfrastructure.models.SystemData": "Azure.ResourceManager.CommonTypes.SystemData",
54+
"azure.mgmt.devopsinfrastructure.models.UserAssignedIdentity": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity",
55+
"azure.mgmt.devopsinfrastructure.models.VmssFabricProfile": "Microsoft.DevOpsInfrastructure.VmssFabricProfile",
56+
"azure.mgmt.devopsinfrastructure.models.Origin": "Azure.ResourceManager.CommonTypes.Origin",
57+
"azure.mgmt.devopsinfrastructure.models.ActionType": "Azure.ResourceManager.CommonTypes.ActionType",
58+
"azure.mgmt.devopsinfrastructure.models.CreatedByType": "Azure.ResourceManager.CommonTypes.createdByType",
59+
"azure.mgmt.devopsinfrastructure.models.ProvisioningState": "Microsoft.DevOpsInfrastructure.ProvisioningState",
60+
"azure.mgmt.devopsinfrastructure.models.AzureDevOpsPermissionType": "Microsoft.DevOpsInfrastructure.AzureDevOpsPermissionType",
61+
"azure.mgmt.devopsinfrastructure.models.ResourcePredictionsProfileType": "Microsoft.DevOpsInfrastructure.ResourcePredictionsProfileType",
62+
"azure.mgmt.devopsinfrastructure.models.PredictionPreference": "Microsoft.DevOpsInfrastructure.PredictionPreference",
63+
"azure.mgmt.devopsinfrastructure.models.EphemeralType": "Microsoft.DevOpsInfrastructure.EphemeralType",
64+
"azure.mgmt.devopsinfrastructure.models.CertificateStoreNameOption": "Microsoft.DevOpsInfrastructure.CertificateStoreNameOption",
65+
"azure.mgmt.devopsinfrastructure.models.LogonType": "Microsoft.DevOpsInfrastructure.LogonType",
66+
"azure.mgmt.devopsinfrastructure.models.OsDiskStorageAccountType": "Microsoft.DevOpsInfrastructure.OsDiskStorageAccountType",
67+
"azure.mgmt.devopsinfrastructure.models.CachingType": "Microsoft.DevOpsInfrastructure.CachingType",
68+
"azure.mgmt.devopsinfrastructure.models.StorageAccountType": "Microsoft.DevOpsInfrastructure.StorageAccountType",
69+
"azure.mgmt.devopsinfrastructure.models.ManagedServiceIdentityType": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType",
70+
"azure.mgmt.devopsinfrastructure.models.AvailabilityStatus": "Microsoft.DevOpsInfrastructure.AvailabilityStatus",
71+
"azure.mgmt.devopsinfrastructure.models.CheckNameAvailabilityReason": "Microsoft.DevOpsInfrastructure.CheckNameAvailabilityReason",
72+
"azure.mgmt.devopsinfrastructure.models.DevOpsInfrastructureResourceType": "Microsoft.DevOpsInfrastructure.DevOpsInfrastructureResourceType",
73+
"azure.mgmt.devopsinfrastructure.models.ResourceStatus": "Microsoft.DevOpsInfrastructure.ResourceStatus",
74+
"azure.mgmt.devopsinfrastructure.models.ResourceSkuRestrictionsType": "Microsoft.DevOpsInfrastructure.ResourceSkuRestrictionsType",
75+
"azure.mgmt.devopsinfrastructure.models.ResourceSkuRestrictionsReasonCode": "Microsoft.DevOpsInfrastructure.ResourceSkuRestrictionsReasonCode",
76+
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.operations.list": "Azure.ResourceManager.Operations.list",
77+
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.pools.get": "Microsoft.DevOpsInfrastructure.Pools.get",
78+
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.pools.begin_create_or_update": "Microsoft.DevOpsInfrastructure.Pools.createOrUpdate",
79+
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.pools.begin_update": "Microsoft.DevOpsInfrastructure.Pools.update",
80+
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.pools.begin_delete": "Microsoft.DevOpsInfrastructure.Pools.delete",
81+
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.pools.list_by_resource_group": "Microsoft.DevOpsInfrastructure.Pools.listByResourceGroup",
82+
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.pools.list_by_subscription": "Microsoft.DevOpsInfrastructure.Pools.listBySubscription",
83+
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.pools.check_name_availability": "Microsoft.DevOpsInfrastructure.Pools.checkNameAvailability",
84+
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.resource_details.list_by_pool": "Microsoft.DevOpsInfrastructure.ResourceDetails.listByPool",
85+
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.sku.list_by_location": "Microsoft.DevOpsInfrastructure.Sku.listByLocation",
86+
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.subscription_usages.usages": "Microsoft.DevOpsInfrastructure.SubscriptionUsages.usages",
87+
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.image_versions.list_by_image": "Microsoft.DevOpsInfrastructure.ImageVersions.listByImage"
88+
}
89+
}

sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/__init__.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,21 @@
55
# Code generated by Microsoft (R) Python Code Generator.
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
89

9-
from ._client import DevOpsInfrastructureMgmtClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._client import DevOpsInfrastructureMgmtClient # type: ignore
1016
from ._version import VERSION
1117

1218
__version__ = VERSION
1319

1420
try:
1521
from ._patch import __all__ as _patch_all
16-
from ._patch import * # pylint: disable=unused-wildcard-import
22+
from ._patch import *
1723
except ImportError:
1824
_patch_all = []
1925
from ._patch import patch_sdk as _patch_sdk

sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class DevOpsInfrastructureMgmtClient:
5252
:type subscription_id: str
5353
:param base_url: Service host. Default value is "https://management.azure.com".
5454
:type base_url: str
55-
:keyword api_version: The API version to use for this operation. Default value is "2024-10-19".
55+
:keyword api_version: The API version to use for this operation. Default value is "2025-01-21".
5656
Note that overriding this default value may result in unsupported behavior.
5757
:paramtype api_version: str
5858
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no

sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/_configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class DevOpsInfrastructureMgmtClientConfiguration: # pylint: disable=too-many-i
2929
:type subscription_id: str
3030
:param base_url: Service host. Default value is "https://management.azure.com".
3131
:type base_url: str
32-
:keyword api_version: The API version to use for this operation. Default value is "2024-10-19".
32+
:keyword api_version: The API version to use for this operation. Default value is "2025-01-21".
3333
Note that overriding this default value may result in unsupported behavior.
3434
:paramtype api_version: str
3535
"""
@@ -41,7 +41,7 @@ def __init__(
4141
base_url: str = "https://management.azure.com",
4242
**kwargs: Any
4343
) -> None:
44-
api_version: str = kwargs.pop("api_version", "2024-10-19")
44+
api_version: str = kwargs.pop("api_version", "2025-01-21")
4545

4646
if credential is None:
4747
raise ValueError("Parameter 'credential' must not be None.")

0 commit comments

Comments
 (0)