Skip to content

Commit 20947fe

Browse files
author
SDKAuto
committed
CodeGen from PR 34270 in Azure/azure-rest-api-specs
Merge 6d6de338301c13fb6000c2fe4f6f9af98ff5cfa4 into ba0c086df0ebe03a61579485c1c10de0d17804b2
1 parent 6c30600 commit 20947fe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1530
-716
lines changed

sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# Release History
22

3+
## 1.1.0 (2025-05-13)
4+
5+
### Features Added
6+
7+
- Model `Organization` added property `open_access`
8+
- Model `PoolImage` added property `ephemeral_type`
9+
- Model `SecretsManagementSettings` added property `certificate_store_name`
10+
- Added enum `ActionType`
11+
- Added enum `AvailabilityStatus`
12+
- Added enum `CertificateStoreNameOption`
13+
- Added model `CheckNameAvailability`
14+
- Added enum `CheckNameAvailabilityReason`
15+
- Added model `CheckNameAvailabilityResult`
16+
- Added enum `DevOpsInfrastructureResourceType`
17+
- Added enum `EphemeralType`
18+
- Added model `Operation`
19+
- Added model `OperationDisplay`
20+
- Added enum `Origin`
21+
- Model `PoolsOperations` added method `check_name_availability`
22+
- Method `Organization.__init__` has a new overload `def __init__(self: None, url: str, projects: Optional[List[str]], parallelism: Optional[int], open_access: Optional[bool])`
23+
- Method `PoolImage.__init__` has a new overload `def __init__(self: None, resource_id: Optional[str], well_known_image_name: Optional[str], aliases: Optional[List[str]], buffer: Optional[str], ephemeral_type: Optional[Union[str, _models.EphemeralType]])`
24+
- Method `SecretsManagementSettings.__init__` has a new overload `def __init__(self: None, observed_certificates: List[str], key_exportable: bool, certificate_store_location: Optional[str], certificate_store_name: Optional[Union[str, _models.CertificateStoreNameOption]])`
25+
- Method `CheckNameAvailability.__init__` has a new overload `def __init__(self: None, name: str, type: Union[str, _models.DevOpsInfrastructureResourceType])`
26+
- Method `CheckNameAvailability.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
27+
- Method `CheckNameAvailabilityResult.__init__` has a new overload `def __init__(self: None, available: Union[str, _models.AvailabilityStatus], message: str, name: str, reason: Union[str, _models.CheckNameAvailabilityReason])`
28+
- Method `CheckNameAvailabilityResult.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
29+
- Method `Operation.__init__` has a new overload `def __init__(self: None, display: Optional[_models.OperationDisplay])`
30+
- Method `Operation.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
31+
- Method `PoolsOperations.check_name_availability` has a new overload `def check_name_availability(self: None, body: CheckNameAvailability, content_type: str)`
32+
- Method `PoolsOperations.check_name_availability` has a new overload `def check_name_availability(self: None, body: JSON, content_type: str)`
33+
- Method `PoolsOperations.check_name_availability` has a new overload `def check_name_availability(self: None, body: IO[bytes], content_type: str)`
34+
335
## 1.0.0 (2024-11-21)
436

537
### Features Added

sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure Devopsinfrastructure Management Client Library.
4-
This package has been tested with Python 3.8+.
4+
This package has been tested with Python 3.9+.
55
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
66

77
## _Disclaimer_
@@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1212

1313
### Prerequisites
1414

15-
- Python 3.8+ is required to use this package.
15+
- Python 3.9+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package
@@ -24,7 +24,7 @@ pip install azure-identity
2424

2525
### Authentication
2626

27-
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
27+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
2828

2929
- `AZURE_CLIENT_ID` for Azure client ID.
3030
- `AZURE_TENANT_ID` for Azure tenant ID.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"commit": "95e89f00932d2a8f04ff80e28f8ce10ee586ca7d",
2+
"commit": "091d73844b3093dd62f54ba105f6e2b4cfa7e6ce",
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.44.2"
66
}
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
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.operations.Operations.list": "Azure.ResourceManager.Operations.list",
77+
"azure.mgmt.devopsinfrastructure.aio.operations.Operations.list": "Azure.ResourceManager.Operations.list",
78+
"azure.mgmt.devopsinfrastructure.operations.PoolsOperations.get": "Microsoft.DevOpsInfrastructure.Pools.get",
79+
"azure.mgmt.devopsinfrastructure.aio.operations.PoolsOperations.get": "Microsoft.DevOpsInfrastructure.Pools.get",
80+
"azure.mgmt.devopsinfrastructure.operations.PoolsOperations.begin_create_or_update": "Microsoft.DevOpsInfrastructure.Pools.createOrUpdate",
81+
"azure.mgmt.devopsinfrastructure.aio.operations.PoolsOperations.begin_create_or_update": "Microsoft.DevOpsInfrastructure.Pools.createOrUpdate",
82+
"azure.mgmt.devopsinfrastructure.operations.PoolsOperations.begin_update": "Microsoft.DevOpsInfrastructure.Pools.update",
83+
"azure.mgmt.devopsinfrastructure.aio.operations.PoolsOperations.begin_update": "Microsoft.DevOpsInfrastructure.Pools.update",
84+
"azure.mgmt.devopsinfrastructure.operations.PoolsOperations.begin_delete": "Microsoft.DevOpsInfrastructure.Pools.delete",
85+
"azure.mgmt.devopsinfrastructure.aio.operations.PoolsOperations.begin_delete": "Microsoft.DevOpsInfrastructure.Pools.delete",
86+
"azure.mgmt.devopsinfrastructure.operations.PoolsOperations.list_by_resource_group": "Microsoft.DevOpsInfrastructure.Pools.listByResourceGroup",
87+
"azure.mgmt.devopsinfrastructure.aio.operations.PoolsOperations.list_by_resource_group": "Microsoft.DevOpsInfrastructure.Pools.listByResourceGroup",
88+
"azure.mgmt.devopsinfrastructure.operations.PoolsOperations.list_by_subscription": "Microsoft.DevOpsInfrastructure.Pools.listBySubscription",
89+
"azure.mgmt.devopsinfrastructure.aio.operations.PoolsOperations.list_by_subscription": "Microsoft.DevOpsInfrastructure.Pools.listBySubscription",
90+
"azure.mgmt.devopsinfrastructure.operations.PoolsOperations.check_name_availability": "Microsoft.DevOpsInfrastructure.Pools.checkNameAvailability",
91+
"azure.mgmt.devopsinfrastructure.aio.operations.PoolsOperations.check_name_availability": "Microsoft.DevOpsInfrastructure.Pools.checkNameAvailability",
92+
"azure.mgmt.devopsinfrastructure.operations.ResourceDetailsOperations.list_by_pool": "Microsoft.DevOpsInfrastructure.ResourceDetails.listByPool",
93+
"azure.mgmt.devopsinfrastructure.aio.operations.ResourceDetailsOperations.list_by_pool": "Microsoft.DevOpsInfrastructure.ResourceDetails.listByPool",
94+
"azure.mgmt.devopsinfrastructure.operations.SkuOperations.list_by_location": "Microsoft.DevOpsInfrastructure.Sku.listByLocation",
95+
"azure.mgmt.devopsinfrastructure.aio.operations.SkuOperations.list_by_location": "Microsoft.DevOpsInfrastructure.Sku.listByLocation",
96+
"azure.mgmt.devopsinfrastructure.operations.SubscriptionUsagesOperations.usages": "Microsoft.DevOpsInfrastructure.SubscriptionUsages.usages",
97+
"azure.mgmt.devopsinfrastructure.aio.operations.SubscriptionUsagesOperations.usages": "Microsoft.DevOpsInfrastructure.SubscriptionUsages.usages",
98+
"azure.mgmt.devopsinfrastructure.operations.ImageVersionsOperations.list_by_image": "Microsoft.DevOpsInfrastructure.ImageVersions.listByImage",
99+
"azure.mgmt.devopsinfrastructure.aio.operations.ImageVersionsOperations.list_by_image": "Microsoft.DevOpsInfrastructure.ImageVersions.listByImage"
100+
}
101+
}

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

0 commit comments

Comments
 (0)