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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"commit": "95e89f00932d2a8f04ff80e28f8ce10ee586ca7d",
"commit": "3350b3c1fe16b906adc33891c41ef8ace067c3dd",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management",
"@azure-tools/typespec-python": "0.36.0"
"@azure-tools/typespec-python": "0.38.4"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"CrossLanguagePackageId": "Microsoft.DevOpsInfrastructure",
"CrossLanguageDefinitionId": {
"azure.mgmt.devopsinfrastructure.models.AgentProfile": "Microsoft.DevOpsInfrastructure.AgentProfile",
"azure.mgmt.devopsinfrastructure.models.ResourcePredictionsProfile": "Microsoft.DevOpsInfrastructure.ResourcePredictionsProfile",
"azure.mgmt.devopsinfrastructure.models.AutomaticResourcePredictionsProfile": "Microsoft.DevOpsInfrastructure.AutomaticResourcePredictionsProfile",
"azure.mgmt.devopsinfrastructure.models.OrganizationProfile": "Microsoft.DevOpsInfrastructure.OrganizationProfile",
"azure.mgmt.devopsinfrastructure.models.AzureDevOpsOrganizationProfile": "Microsoft.DevOpsInfrastructure.AzureDevOpsOrganizationProfile",
"azure.mgmt.devopsinfrastructure.models.AzureDevOpsPermissionProfile": "Microsoft.DevOpsInfrastructure.AzureDevOpsPermissionProfile",
"azure.mgmt.devopsinfrastructure.models.CheckNameAvailability": "Microsoft.DevOpsInfrastructure.CheckNameAvailability",
"azure.mgmt.devopsinfrastructure.models.CheckNameAvailabilityResult": "Microsoft.DevOpsInfrastructure.CheckNameAvailabilityResult",
"azure.mgmt.devopsinfrastructure.models.DataDisk": "Microsoft.DevOpsInfrastructure.DataDisk",
"azure.mgmt.devopsinfrastructure.models.DevOpsAzureSku": "Microsoft.DevOpsInfrastructure.DevOpsAzureSku",
"azure.mgmt.devopsinfrastructure.models.ErrorAdditionalInfo": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo",
"azure.mgmt.devopsinfrastructure.models.ErrorDetail": "Azure.ResourceManager.CommonTypes.ErrorDetail",
"azure.mgmt.devopsinfrastructure.models.ErrorResponse": "Azure.ResourceManager.CommonTypes.ErrorResponse",
"azure.mgmt.devopsinfrastructure.models.FabricProfile": "Microsoft.DevOpsInfrastructure.FabricProfile",
"azure.mgmt.devopsinfrastructure.models.GitHubOrganization": "Microsoft.DevOpsInfrastructure.GitHubOrganization",
"azure.mgmt.devopsinfrastructure.models.GitHubOrganizationProfile": "Microsoft.DevOpsInfrastructure.GitHubOrganizationProfile",
"azure.mgmt.devopsinfrastructure.models.Resource": "Azure.ResourceManager.CommonTypes.Resource",
"azure.mgmt.devopsinfrastructure.models.ProxyResource": "Azure.ResourceManager.CommonTypes.ProxyResource",
"azure.mgmt.devopsinfrastructure.models.ImageVersion": "Microsoft.DevOpsInfrastructure.ImageVersion",
"azure.mgmt.devopsinfrastructure.models.ImageVersionProperties": "Microsoft.DevOpsInfrastructure.ImageVersionProperties",
"azure.mgmt.devopsinfrastructure.models.ManagedServiceIdentity": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity",
"azure.mgmt.devopsinfrastructure.models.ManualResourcePredictionsProfile": "Microsoft.DevOpsInfrastructure.ManualResourcePredictionsProfile",
"azure.mgmt.devopsinfrastructure.models.NetworkProfile": "Microsoft.DevOpsInfrastructure.NetworkProfile",
"azure.mgmt.devopsinfrastructure.models.Operation": "Azure.ResourceManager.CommonTypes.Operation",
"azure.mgmt.devopsinfrastructure.models.OperationDisplay": "Azure.ResourceManager.CommonTypes.OperationDisplay",
"azure.mgmt.devopsinfrastructure.models.Organization": "Microsoft.DevOpsInfrastructure.Organization",
"azure.mgmt.devopsinfrastructure.models.OsProfile": "Microsoft.DevOpsInfrastructure.OsProfile",
"azure.mgmt.devopsinfrastructure.models.TrackedResource": "Azure.ResourceManager.CommonTypes.TrackedResource",
"azure.mgmt.devopsinfrastructure.models.Pool": "Microsoft.DevOpsInfrastructure.Pool",
"azure.mgmt.devopsinfrastructure.models.PoolImage": "Microsoft.DevOpsInfrastructure.PoolImage",
"azure.mgmt.devopsinfrastructure.models.PoolProperties": "Microsoft.DevOpsInfrastructure.PoolProperties",
"azure.mgmt.devopsinfrastructure.models.PoolUpdate": "Azure.ResourceManager.Foundations.ResourceUpdateModel",
"azure.mgmt.devopsinfrastructure.models.PoolUpdateProperties": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties",
"azure.mgmt.devopsinfrastructure.models.Quota": "Microsoft.DevOpsInfrastructure.Quota",
"azure.mgmt.devopsinfrastructure.models.QuotaName": "Microsoft.DevOpsInfrastructure.QuotaName",
"azure.mgmt.devopsinfrastructure.models.ResourceDetailsObject": "Microsoft.DevOpsInfrastructure.ResourceDetailsObject",
"azure.mgmt.devopsinfrastructure.models.ResourceDetailsObjectProperties": "Microsoft.DevOpsInfrastructure.ResourceDetailsObjectProperties",
"azure.mgmt.devopsinfrastructure.models.ResourcePredictions": "Microsoft.DevOpsInfrastructure.ResourcePredictions",
"azure.mgmt.devopsinfrastructure.models.ResourceSku": "Microsoft.DevOpsInfrastructure.ResourceSku",
"azure.mgmt.devopsinfrastructure.models.ResourceSkuCapabilities": "Microsoft.DevOpsInfrastructure.ResourceSkuCapabilities",
"azure.mgmt.devopsinfrastructure.models.ResourceSkuLocationInfo": "Microsoft.DevOpsInfrastructure.ResourceSkuLocationInfo",
"azure.mgmt.devopsinfrastructure.models.ResourceSkuProperties": "Microsoft.DevOpsInfrastructure.ResourceSkuProperties",
"azure.mgmt.devopsinfrastructure.models.ResourceSkuRestrictionInfo": "Microsoft.DevOpsInfrastructure.ResourceSkuRestrictionInfo",
"azure.mgmt.devopsinfrastructure.models.ResourceSkuRestrictions": "Microsoft.DevOpsInfrastructure.ResourceSkuRestrictions",
"azure.mgmt.devopsinfrastructure.models.ResourceSkuZoneDetails": "Microsoft.DevOpsInfrastructure.ResourceSkuZoneDetails",
"azure.mgmt.devopsinfrastructure.models.SecretsManagementSettings": "Microsoft.DevOpsInfrastructure.SecretsManagementSettings",
"azure.mgmt.devopsinfrastructure.models.Stateful": "Microsoft.DevOpsInfrastructure.Stateful",
"azure.mgmt.devopsinfrastructure.models.StatelessAgentProfile": "Microsoft.DevOpsInfrastructure.StatelessAgentProfile",
"azure.mgmt.devopsinfrastructure.models.StorageProfile": "Microsoft.DevOpsInfrastructure.StorageProfile",
"azure.mgmt.devopsinfrastructure.models.SystemData": "Azure.ResourceManager.CommonTypes.SystemData",
"azure.mgmt.devopsinfrastructure.models.UserAssignedIdentity": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity",
"azure.mgmt.devopsinfrastructure.models.VmssFabricProfile": "Microsoft.DevOpsInfrastructure.VmssFabricProfile",
"azure.mgmt.devopsinfrastructure.models.Origin": "Azure.ResourceManager.CommonTypes.Origin",
"azure.mgmt.devopsinfrastructure.models.ActionType": "Azure.ResourceManager.CommonTypes.ActionType",
"azure.mgmt.devopsinfrastructure.models.CreatedByType": "Azure.ResourceManager.CommonTypes.createdByType",
"azure.mgmt.devopsinfrastructure.models.ProvisioningState": "Microsoft.DevOpsInfrastructure.ProvisioningState",
"azure.mgmt.devopsinfrastructure.models.AzureDevOpsPermissionType": "Microsoft.DevOpsInfrastructure.AzureDevOpsPermissionType",
"azure.mgmt.devopsinfrastructure.models.ResourcePredictionsProfileType": "Microsoft.DevOpsInfrastructure.ResourcePredictionsProfileType",
"azure.mgmt.devopsinfrastructure.models.PredictionPreference": "Microsoft.DevOpsInfrastructure.PredictionPreference",
"azure.mgmt.devopsinfrastructure.models.EphemeralType": "Microsoft.DevOpsInfrastructure.EphemeralType",
"azure.mgmt.devopsinfrastructure.models.CertificateStoreNameOption": "Microsoft.DevOpsInfrastructure.CertificateStoreNameOption",
"azure.mgmt.devopsinfrastructure.models.LogonType": "Microsoft.DevOpsInfrastructure.LogonType",
"azure.mgmt.devopsinfrastructure.models.OsDiskStorageAccountType": "Microsoft.DevOpsInfrastructure.OsDiskStorageAccountType",
"azure.mgmt.devopsinfrastructure.models.CachingType": "Microsoft.DevOpsInfrastructure.CachingType",
"azure.mgmt.devopsinfrastructure.models.StorageAccountType": "Microsoft.DevOpsInfrastructure.StorageAccountType",
"azure.mgmt.devopsinfrastructure.models.ManagedServiceIdentityType": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType",
"azure.mgmt.devopsinfrastructure.models.AvailabilityStatus": "Microsoft.DevOpsInfrastructure.AvailabilityStatus",
"azure.mgmt.devopsinfrastructure.models.CheckNameAvailabilityReason": "Microsoft.DevOpsInfrastructure.CheckNameAvailabilityReason",
"azure.mgmt.devopsinfrastructure.models.DevOpsInfrastructureResourceType": "Microsoft.DevOpsInfrastructure.DevOpsInfrastructureResourceType",
"azure.mgmt.devopsinfrastructure.models.ResourceStatus": "Microsoft.DevOpsInfrastructure.ResourceStatus",
"azure.mgmt.devopsinfrastructure.models.ResourceSkuRestrictionsType": "Microsoft.DevOpsInfrastructure.ResourceSkuRestrictionsType",
"azure.mgmt.devopsinfrastructure.models.ResourceSkuRestrictionsReasonCode": "Microsoft.DevOpsInfrastructure.ResourceSkuRestrictionsReasonCode",
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.operations.list": "Azure.ResourceManager.Operations.list",
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.pools.get": "Microsoft.DevOpsInfrastructure.Pools.get",
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.pools.begin_create_or_update": "Microsoft.DevOpsInfrastructure.Pools.createOrUpdate",
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.pools.begin_update": "Microsoft.DevOpsInfrastructure.Pools.update",
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.pools.begin_delete": "Microsoft.DevOpsInfrastructure.Pools.delete",
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.pools.list_by_resource_group": "Microsoft.DevOpsInfrastructure.Pools.listByResourceGroup",
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.pools.list_by_subscription": "Microsoft.DevOpsInfrastructure.Pools.listBySubscription",
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.pools.check_name_availability": "Microsoft.DevOpsInfrastructure.Pools.checkNameAvailability",
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.resource_details.list_by_pool": "Microsoft.DevOpsInfrastructure.ResourceDetails.listByPool",
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.sku.list_by_location": "Microsoft.DevOpsInfrastructure.Sku.listByLocation",
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.subscription_usages.usages": "Microsoft.DevOpsInfrastructure.SubscriptionUsages.usages",
"azure.mgmt.devopsinfrastructure.DevOpsInfrastructureMgmtClient.image_versions.list_by_image": "Microsoft.DevOpsInfrastructure.ImageVersions.listByImage"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,21 @@
# Code generated by Microsoft (R) Python Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
# pylint: disable=wrong-import-position

from ._client import DevOpsInfrastructureMgmtClient
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._client import DevOpsInfrastructureMgmtClient # type: ignore
from ._version import VERSION

__version__ = VERSION

try:
from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
from ._patch import *
except ImportError:
_patch_all = []
from ._patch import patch_sdk as _patch_sdk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class DevOpsInfrastructureMgmtClient:
:type subscription_id: str
:param base_url: Service host. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: The API version to use for this operation. Default value is "2024-10-19".
:keyword api_version: The API version to use for this operation. Default value is "2025-01-21".
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
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class DevOpsInfrastructureMgmtClientConfiguration: # pylint: disable=too-many-i
:type subscription_id: str
:param base_url: Service host. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: The API version to use for this operation. Default value is "2024-10-19".
:keyword api_version: The API version to use for this operation. Default value is "2025-01-21".
Note that overriding this default value may result in unsupported behavior.
:paramtype api_version: str
"""
Expand All @@ -41,7 +41,7 @@ def __init__(
base_url: str = "https://management.azure.com",
**kwargs: Any
) -> None:
api_version: str = kwargs.pop("api_version", "2024-10-19")
api_version: str = kwargs.pop("api_version", "2025-01-21")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Loading