Skip to content

Commit 21b3c3a

Browse files
[AutoPR azure-mgmt-redhatopenshift]-generated-from-SDK Generation - Python-6350827 (#47124)
* Configurations: 'specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/OpenShiftClusters/tspconfig.yaml', API Version: 2025-07-25, SDK Release Type: beta, and CommitSHA: 'd0beff06ece5e53277d93233b70d46b703346576' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6350827 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * update --------- Co-authored-by: Chenxi Jiang (WICRESOFT NORTH AMERICA LTD) <v-chenjiang@microsoft.com>
1 parent 758a027 commit 21b3c3a

74 files changed

Lines changed: 7234 additions & 6471 deletions

File tree

Some content is hidden

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

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

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

3+
## 4.0.0b1 (2026-05-26)
4+
5+
### Features Added
6+
7+
- Client `AzureRedHatOpenShiftClient` added method `send_request`
8+
- Added model `CloudError`
9+
10+
### Breaking Changes
11+
12+
- This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
13+
- Model `OpenShiftClusterUpdate` moved instance variable `provisioning_state`, `cluster_profile`, `console_profile`, `service_principal_profile`, `platform_workload_identity_profile`, `network_profile`, `master_profile`, `worker_profiles`, `worker_profiles_status`, `apiserver_profile` and `ingress_profiles` under property `properties` whose type is `OpenShiftClusterProperties`
14+
15+
### Other Changes
16+
17+
- Deleted model `OpenShiftClusterList`/`OpenShiftVersionList`/`OperationList`/`PlatformWorkloadIdentityRoleSetList` which actually were not used by SDK users
18+
319
## 3.0.0 (2026-02-06)
420

521
### Features Added

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

Lines changed: 2 additions & 2 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 Red Hat Openshift Management Client Library.
4-
This package has been tested with Python 3.9+.
4+
This package has been tested with Python 3.10+.
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.9+ is required to use this package.
15+
- Python 3.10+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package
Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
2-
"commit": "f52764d11d53276b79bbbba37f977ef0b03bbd2c",
2+
"apiVersion": "2025-07-25",
3+
"apiVersions": {
4+
"Microsoft.RedHatOpenShift": "2025-07-25"
5+
},
6+
"commit": "d0beff06ece5e53277d93233b70d46b703346576",
37
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4-
"autorest": "3.10.2",
5-
"use": [
6-
"@autorest/python@6.45.1",
7-
"@autorest/modelerfour@4.27.0"
8-
],
9-
"autorest_command": "autorest specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/OpenShiftClusters/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --package-mode=azure-mgmt --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.45.1 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
10-
"readme": "specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/OpenShiftClusters/readme.md"
8+
"typespec_src": "specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/OpenShiftClusters",
9+
"emitterVersion": "0.62.1"
1110
}
Lines changed: 70 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,73 @@
11
{
2-
"CrossLanguagePackageId": null,
2+
"CrossLanguagePackageId": "Microsoft.RedHatOpenShift",
33
"CrossLanguageDefinitionId": {
4-
"azure.mgmt.redhatopenshift.models.APIServerProfile": null,
5-
"azure.mgmt.redhatopenshift.models.CloudErrorBody": null,
6-
"azure.mgmt.redhatopenshift.models.ClusterProfile": null,
7-
"azure.mgmt.redhatopenshift.models.ConsoleProfile": null,
8-
"azure.mgmt.redhatopenshift.models.Display": null,
9-
"azure.mgmt.redhatopenshift.models.EffectiveOutboundIP": null,
10-
"azure.mgmt.redhatopenshift.models.IngressProfile": null,
11-
"azure.mgmt.redhatopenshift.models.LoadBalancerProfile": null,
12-
"azure.mgmt.redhatopenshift.models.ManagedOutboundIPs": null,
13-
"azure.mgmt.redhatopenshift.models.ManagedServiceIdentity": null,
14-
"azure.mgmt.redhatopenshift.models.MasterProfile": null,
15-
"azure.mgmt.redhatopenshift.models.NetworkProfile": null,
16-
"azure.mgmt.redhatopenshift.models.Resource": null,
17-
"azure.mgmt.redhatopenshift.models.TrackedResource": null,
18-
"azure.mgmt.redhatopenshift.models.OpenShiftCluster": null,
19-
"azure.mgmt.redhatopenshift.models.OpenShiftClusterAdminKubeconfig": null,
20-
"azure.mgmt.redhatopenshift.models.OpenShiftClusterCredentials": null,
21-
"azure.mgmt.redhatopenshift.models.OpenShiftClusterList": null,
22-
"azure.mgmt.redhatopenshift.models.OpenShiftClusterUpdate": null,
23-
"azure.mgmt.redhatopenshift.models.ProxyResource": null,
24-
"azure.mgmt.redhatopenshift.models.OpenShiftVersion": null,
25-
"azure.mgmt.redhatopenshift.models.OpenShiftVersionList": null,
26-
"azure.mgmt.redhatopenshift.models.Operation": null,
27-
"azure.mgmt.redhatopenshift.models.OperationList": null,
28-
"azure.mgmt.redhatopenshift.models.PlatformWorkloadIdentity": null,
29-
"azure.mgmt.redhatopenshift.models.PlatformWorkloadIdentityProfile": null,
30-
"azure.mgmt.redhatopenshift.models.PlatformWorkloadIdentityRole": null,
31-
"azure.mgmt.redhatopenshift.models.PlatformWorkloadIdentityRoleSet": null,
32-
"azure.mgmt.redhatopenshift.models.PlatformWorkloadIdentityRoleSetList": null,
33-
"azure.mgmt.redhatopenshift.models.ServicePrincipalProfile": null,
34-
"azure.mgmt.redhatopenshift.models.SystemData": null,
35-
"azure.mgmt.redhatopenshift.models.UserAssignedIdentity": null,
36-
"azure.mgmt.redhatopenshift.models.WorkerProfile": null,
37-
"azure.mgmt.redhatopenshift.models.CreatedByType": null,
38-
"azure.mgmt.redhatopenshift.models.EncryptionAtHost": null,
39-
"azure.mgmt.redhatopenshift.models.Visibility": null,
40-
"azure.mgmt.redhatopenshift.models.ManagedServiceIdentityType": null,
41-
"azure.mgmt.redhatopenshift.models.ProvisioningState": null,
42-
"azure.mgmt.redhatopenshift.models.FipsValidatedModules": null,
43-
"azure.mgmt.redhatopenshift.models.OutboundType": null,
44-
"azure.mgmt.redhatopenshift.models.PreconfiguredNSG": null,
45-
"azure.mgmt.redhatopenshift.operations.Operations.list": null,
46-
"azure.mgmt.redhatopenshift.aio.operations.Operations.list": null,
47-
"azure.mgmt.redhatopenshift.operations.OpenShiftVersionsOperations.list": null,
48-
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftVersionsOperations.list": null,
49-
"azure.mgmt.redhatopenshift.operations.OpenShiftVersionsOperations.get": null,
50-
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftVersionsOperations.get": null,
51-
"azure.mgmt.redhatopenshift.operations.PlatformWorkloadIdentityRoleSetsOperations.list": null,
52-
"azure.mgmt.redhatopenshift.aio.operations.PlatformWorkloadIdentityRoleSetsOperations.list": null,
53-
"azure.mgmt.redhatopenshift.operations.PlatformWorkloadIdentityRoleSetOperations.get": null,
54-
"azure.mgmt.redhatopenshift.aio.operations.PlatformWorkloadIdentityRoleSetOperations.get": null,
55-
"azure.mgmt.redhatopenshift.operations.OpenShiftClustersOperations.list": null,
56-
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftClustersOperations.list": null,
57-
"azure.mgmt.redhatopenshift.operations.OpenShiftClustersOperations.list_by_resource_group": null,
58-
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftClustersOperations.list_by_resource_group": null,
59-
"azure.mgmt.redhatopenshift.operations.OpenShiftClustersOperations.get": null,
60-
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftClustersOperations.get": null,
61-
"azure.mgmt.redhatopenshift.operations.OpenShiftClustersOperations.begin_create_or_update": null,
62-
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftClustersOperations.begin_create_or_update": null,
63-
"azure.mgmt.redhatopenshift.operations.OpenShiftClustersOperations.begin_delete": null,
64-
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftClustersOperations.begin_delete": null,
65-
"azure.mgmt.redhatopenshift.operations.OpenShiftClustersOperations.begin_update": null,
66-
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftClustersOperations.begin_update": null,
67-
"azure.mgmt.redhatopenshift.operations.OpenShiftClustersOperations.list_admin_credentials": null,
68-
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftClustersOperations.list_admin_credentials": null,
69-
"azure.mgmt.redhatopenshift.operations.OpenShiftClustersOperations.list_credentials": null,
70-
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftClustersOperations.list_credentials": null
71-
}
4+
"azure.mgmt.redhatopenshift.models.APIServerProfile": "Microsoft.RedHatOpenShift.APIServerProfile",
5+
"azure.mgmt.redhatopenshift.models.CloudError": "Microsoft.RedHatOpenShift.CloudError",
6+
"azure.mgmt.redhatopenshift.models.CloudErrorBody": "Microsoft.RedHatOpenShift.CloudErrorBody",
7+
"azure.mgmt.redhatopenshift.models.ClusterProfile": "Microsoft.RedHatOpenShift.ClusterProfile",
8+
"azure.mgmt.redhatopenshift.models.ConsoleProfile": "Microsoft.RedHatOpenShift.ConsoleProfile",
9+
"azure.mgmt.redhatopenshift.models.Display": "Microsoft.RedHatOpenShift.Display",
10+
"azure.mgmt.redhatopenshift.models.EffectiveOutboundIP": "Microsoft.RedHatOpenShift.EffectiveOutboundIP",
11+
"azure.mgmt.redhatopenshift.models.IngressProfile": "Microsoft.RedHatOpenShift.IngressProfile",
12+
"azure.mgmt.redhatopenshift.models.LoadBalancerProfile": "Microsoft.RedHatOpenShift.LoadBalancerProfile",
13+
"azure.mgmt.redhatopenshift.models.ManagedOutboundIPs": "Microsoft.RedHatOpenShift.ManagedOutboundIPs",
14+
"azure.mgmt.redhatopenshift.models.ManagedServiceIdentity": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity",
15+
"azure.mgmt.redhatopenshift.models.MasterProfile": "Microsoft.RedHatOpenShift.MasterProfile",
16+
"azure.mgmt.redhatopenshift.models.NetworkProfile": "Microsoft.RedHatOpenShift.NetworkProfile",
17+
"azure.mgmt.redhatopenshift.models.Resource": "Azure.ResourceManager.CommonTypes.Resource",
18+
"azure.mgmt.redhatopenshift.models.TrackedResource": "Azure.ResourceManager.CommonTypes.TrackedResource",
19+
"azure.mgmt.redhatopenshift.models.OpenShiftCluster": "Microsoft.RedHatOpenShift.OpenShiftCluster",
20+
"azure.mgmt.redhatopenshift.models.OpenShiftClusterAdminKubeconfig": "Microsoft.RedHatOpenShift.OpenShiftClusterAdminKubeconfig",
21+
"azure.mgmt.redhatopenshift.models.OpenShiftClusterCredentials": "Microsoft.RedHatOpenShift.OpenShiftClusterCredentials",
22+
"azure.mgmt.redhatopenshift.models.OpenShiftClusterProperties": "Microsoft.RedHatOpenShift.OpenShiftClusterProperties",
23+
"azure.mgmt.redhatopenshift.models.OpenShiftClusterUpdate": "Microsoft.RedHatOpenShift.OpenShiftClusterUpdate",
24+
"azure.mgmt.redhatopenshift.models.ProxyResource": "Azure.ResourceManager.CommonTypes.ProxyResource",
25+
"azure.mgmt.redhatopenshift.models.OpenShiftVersion": "Microsoft.RedHatOpenShift.OpenShiftVersion",
26+
"azure.mgmt.redhatopenshift.models.OpenShiftVersionProperties": "Microsoft.RedHatOpenShift.OpenShiftVersionProperties",
27+
"azure.mgmt.redhatopenshift.models.Operation": "Microsoft.RedHatOpenShift.Operation",
28+
"azure.mgmt.redhatopenshift.models.PlatformWorkloadIdentity": "Microsoft.RedHatOpenShift.PlatformWorkloadIdentity",
29+
"azure.mgmt.redhatopenshift.models.PlatformWorkloadIdentityProfile": "Microsoft.RedHatOpenShift.PlatformWorkloadIdentityProfile",
30+
"azure.mgmt.redhatopenshift.models.PlatformWorkloadIdentityRole": "Microsoft.RedHatOpenShift.PlatformWorkloadIdentityRole",
31+
"azure.mgmt.redhatopenshift.models.PlatformWorkloadIdentityRoleSet": "Microsoft.RedHatOpenShift.PlatformWorkloadIdentityRoleSet",
32+
"azure.mgmt.redhatopenshift.models.PlatformWorkloadIdentityRoleSetProperties": "Microsoft.RedHatOpenShift.PlatformWorkloadIdentityRoleSetProperties",
33+
"azure.mgmt.redhatopenshift.models.ServicePrincipalProfile": "Microsoft.RedHatOpenShift.ServicePrincipalProfile",
34+
"azure.mgmt.redhatopenshift.models.SystemData": "Azure.ResourceManager.CommonTypes.SystemData",
35+
"azure.mgmt.redhatopenshift.models.UserAssignedIdentity": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity",
36+
"azure.mgmt.redhatopenshift.models.WorkerProfile": "Microsoft.RedHatOpenShift.WorkerProfile",
37+
"azure.mgmt.redhatopenshift.models.CreatedByType": "Azure.ResourceManager.CommonTypes.createdByType",
38+
"azure.mgmt.redhatopenshift.models.ProvisioningState": "Microsoft.RedHatOpenShift.ProvisioningState",
39+
"azure.mgmt.redhatopenshift.models.FipsValidatedModules": "Microsoft.RedHatOpenShift.FipsValidatedModules",
40+
"azure.mgmt.redhatopenshift.models.OutboundType": "Microsoft.RedHatOpenShift.OutboundType",
41+
"azure.mgmt.redhatopenshift.models.PreconfiguredNSG": "Microsoft.RedHatOpenShift.PreconfiguredNSG",
42+
"azure.mgmt.redhatopenshift.models.EncryptionAtHost": "Microsoft.RedHatOpenShift.EncryptionAtHost",
43+
"azure.mgmt.redhatopenshift.models.Visibility": "Microsoft.RedHatOpenShift.Visibility",
44+
"azure.mgmt.redhatopenshift.models.ManagedServiceIdentityType": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType",
45+
"azure.mgmt.redhatopenshift.operations.Operations.list": "Azure.ResourceManager.Legacy.Operations.list",
46+
"azure.mgmt.redhatopenshift.aio.operations.Operations.list": "Azure.ResourceManager.Legacy.Operations.list",
47+
"azure.mgmt.redhatopenshift.operations.OpenShiftVersionsOperations.get": "Microsoft.RedHatOpenShift.OpenShiftVersions.get",
48+
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftVersionsOperations.get": "Microsoft.RedHatOpenShift.OpenShiftVersions.get",
49+
"azure.mgmt.redhatopenshift.operations.OpenShiftVersionsOperations.list": "Microsoft.RedHatOpenShift.OpenShiftVersions.list",
50+
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftVersionsOperations.list": "Microsoft.RedHatOpenShift.OpenShiftVersions.list",
51+
"azure.mgmt.redhatopenshift.operations.PlatformWorkloadIdentityRoleSetsOperations.list": "Microsoft.RedHatOpenShift.PlatformWorkloadIdentityRoleSets.list",
52+
"azure.mgmt.redhatopenshift.aio.operations.PlatformWorkloadIdentityRoleSetsOperations.list": "Microsoft.RedHatOpenShift.PlatformWorkloadIdentityRoleSets.list",
53+
"azure.mgmt.redhatopenshift.operations.OpenShiftClustersOperations.get": "Microsoft.RedHatOpenShift.OpenShiftClusters.get",
54+
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftClustersOperations.get": "Microsoft.RedHatOpenShift.OpenShiftClusters.get",
55+
"azure.mgmt.redhatopenshift.operations.OpenShiftClustersOperations.begin_create_or_update": "Microsoft.RedHatOpenShift.OpenShiftClusters.createOrUpdate",
56+
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftClustersOperations.begin_create_or_update": "Microsoft.RedHatOpenShift.OpenShiftClusters.createOrUpdate",
57+
"azure.mgmt.redhatopenshift.operations.OpenShiftClustersOperations.begin_update": "Microsoft.RedHatOpenShift.OpenShiftClusters.update",
58+
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftClustersOperations.begin_update": "Microsoft.RedHatOpenShift.OpenShiftClusters.update",
59+
"azure.mgmt.redhatopenshift.operations.OpenShiftClustersOperations.begin_delete": "Microsoft.RedHatOpenShift.OpenShiftClusters.delete",
60+
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftClustersOperations.begin_delete": "Microsoft.RedHatOpenShift.OpenShiftClusters.delete",
61+
"azure.mgmt.redhatopenshift.operations.OpenShiftClustersOperations.list_by_resource_group": "Microsoft.RedHatOpenShift.OpenShiftClusters.listByResourceGroup",
62+
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftClustersOperations.list_by_resource_group": "Microsoft.RedHatOpenShift.OpenShiftClusters.listByResourceGroup",
63+
"azure.mgmt.redhatopenshift.operations.OpenShiftClustersOperations.list": "Microsoft.RedHatOpenShift.OpenShiftClusters.list",
64+
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftClustersOperations.list": "Microsoft.RedHatOpenShift.OpenShiftClusters.list",
65+
"azure.mgmt.redhatopenshift.operations.OpenShiftClustersOperations.list_admin_credentials": "Microsoft.RedHatOpenShift.OpenShiftClusters.listAdminCredentials",
66+
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftClustersOperations.list_admin_credentials": "Microsoft.RedHatOpenShift.OpenShiftClusters.listAdminCredentials",
67+
"azure.mgmt.redhatopenshift.operations.OpenShiftClustersOperations.list_credentials": "Microsoft.RedHatOpenShift.OpenShiftClusters.listCredentials",
68+
"azure.mgmt.redhatopenshift.aio.operations.OpenShiftClustersOperations.list_credentials": "Microsoft.RedHatOpenShift.OpenShiftClusters.listCredentials",
69+
"azure.mgmt.redhatopenshift.operations.PlatformWorkloadIdentityRoleSetOperations.get": "Microsoft.RedHatOpenShift.PlatformWorkloadIdentityRoleSets.get",
70+
"azure.mgmt.redhatopenshift.aio.operations.PlatformWorkloadIdentityRoleSetOperations.get": "Microsoft.RedHatOpenShift.PlatformWorkloadIdentityRoleSets.get"
71+
},
72+
"CrossLanguageVersion": "3e80fdafe9b7"
7273
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# --------------------------------------------------------------------------
33
# Copyright (c) Microsoft Corporation. All rights reserved.
44
# Licensed under the MIT License. See License.txt in the project root for license information.
5-
# Code generated by Microsoft (R) AutoRest Code Generator.
5+
# Code generated by Microsoft (R) Python Code Generator.
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88
# pylint: disable=wrong-import-position
@@ -12,7 +12,7 @@
1212
if TYPE_CHECKING:
1313
from ._patch import * # pylint: disable=unused-wildcard-import
1414

15-
from ._azure_red_hat_open_shift_client import AzureRedHatOpenShiftClient # type: ignore
15+
from ._client import AzureRedHatOpenShiftClient # type: ignore
1616
from ._version import VERSION
1717

1818
__version__ = VERSION

0 commit comments

Comments
 (0)