Skip to content

Commit 563edba

Browse files
committed
Configurations: 'specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/OpenShiftClusters/tspconfig.yaml', API Version: 2025-07-25, SDK Release Type: stable, and CommitSHA: '1226c78da304f1c71d798994d4836a9e94d83240' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6058758 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
1 parent 1a249e9 commit 563edba

213 files changed

Lines changed: 6237 additions & 10005 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.

pnpm-lock.yaml

Lines changed: 21 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
# Release History
2-
3-
## 1.0.0-beta.2 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
13-
## 1.0.0-beta.1 (2024-07-26)
2+
3+
## 1.0.0 (2026-03-25)
144

155
### Features Added
166

17-
The package of @azure/arm-redhatopenshift is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).
7+
This is the first stable version with the package of @azure/arm-redhatopenshift

sdk/redhatopenshift/arm-redhatopenshift/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

sdk/redhatopenshift/arm-redhatopenshift/README.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
44

55
Rest API for Azure Red Hat OpenShift 4
66

7-
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/redhatopenshift/arm-redhatopenshift) |
8-
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-redhatopenshift) |
9-
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-redhatopenshift?view=azure-node-preview) |
10-
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
7+
Key links:
8+
9+
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/redhatopenshift/arm-redhatopenshift)
10+
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-redhatopenshift)
11+
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-redhatopenshift)
12+
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/redhatopenshift/arm-redhatopenshift/samples)
1113

1214
## Getting started
1315

@@ -35,7 +37,7 @@ npm install @azure/arm-redhatopenshift
3537
To create a client object to access the Azure Red Hat OpenShift API, you will need the `endpoint` of your Azure Red Hat OpenShift resource and a `credential`. The Azure Red Hat OpenShift client can use Azure Active Directory credentials to authenticate.
3638
You can find the endpoint for your Azure Red Hat OpenShift resource in the [Azure Portal][azure_portal].
3739

38-
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
40+
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
3941

4042
To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
4143

@@ -44,36 +46,35 @@ npm install @azure/identity
4446
```
4547

4648
You will also need to **register a new AAD application and grant access to Azure Red Hat OpenShift** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47-
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
4849

4950
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
5051

5152
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
5253

5354
```ts snippet:ReadmeSampleCreateClient_Node
54-
import { AstroManagementClient } from "@azure/arm-redhatopenshift";
55+
import { AzureRedHatOpenShiftClient } from "@azure/arm-redhatopenshift";
5556
import { DefaultAzureCredential } from "@azure/identity";
5657

5758
const subscriptionId = "00000000-0000-0000-0000-000000000000";
58-
const client = new AstroManagementClient(new DefaultAzureCredential(), subscriptionId);
59+
const client = new AzureRedHatOpenShiftClient(new DefaultAzureCredential(), subscriptionId);
5960
```
6061

6162
For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
6263

6364
```ts snippet:ReadmeSampleCreateClient_Browser
6465
import { InteractiveBrowserCredential } from "@azure/identity";
65-
import { AstroManagementClient } from "@azure/arm-redhatopenshift";
66+
import { AzureRedHatOpenShiftClient } from "@azure/arm-redhatopenshift";
6667

67-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
6868
const credential = new InteractiveBrowserCredential({
6969
tenantId: "<YOUR_TENANT_ID>",
7070
clientId: "<YOUR_CLIENT_ID>",
7171
});
72-
const client = new AstroManagementClient(credential, subscriptionId);
72+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
73+
const client = new AzureRedHatOpenShiftClient(credential, subscriptionId);
7374
```
7475

75-
### JavaScript Bundle
7676

77+
### JavaScript Bundle
7778
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
7879

7980
## Key concepts
@@ -98,7 +99,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
9899

99100
## Next steps
100101

101-
Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
102+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/redhatopenshift/arm-redhatopenshift/samples) directory for detailed examples on how to use this library.
102103

103104
## Contributing
104105

@@ -108,10 +109,6 @@ If you'd like to contribute to this library, please read the [contributing guide
108109

109110
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
110111

111-
112-
113-
[azure_cli]: https://learn.microsoft.com/cli/azure
114-
[azure_sub]: https://azure.microsoft.com/free/
115112
[azure_sub]: https://azure.microsoft.com/free/
116113
[azure_portal]: https://portal.azure.com
117114
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity

sdk/redhatopenshift/arm-redhatopenshift/_meta.json

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
{
2-
"extends": "../../../api-extractor-base.json"
3-
}
1+
{ "extends": "../../../api-extractor-base.json" }
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import azsdkEslint from "@azure/eslint-plugin-azure-sdk";
2+
3+
export default azsdkEslint.config([
4+
{
5+
rules: {
6+
"@azure/azure-sdk/ts-modules-only-named": "warn",
7+
"@azure/azure-sdk/ts-package-json-types": "warn",
8+
"@azure/azure-sdk/ts-package-json-engine-is-present": "warn",
9+
"@azure/azure-sdk/ts-package-json-files-required": "off",
10+
"@azure/azure-sdk/ts-package-json-main-is-cjs": "off",
11+
"tsdoc/syntax": "warn",
12+
},
13+
},
14+
]);
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
{
2+
"apiVersions": {
3+
"Microsoft.RedHatOpenShift": "2025-07-25"
4+
},
5+
"emitterVersion": "0.51.0",
6+
"crossLanguageDefinitions": {
7+
"CrossLanguagePackageId": "Microsoft.RedHatOpenShift",
8+
"CrossLanguageDefinitionId": {
9+
"@azure/arm-redhatopenshift!OperationList:interface": "Microsoft.RedHatOpenShift.OperationList",
10+
"@azure/arm-redhatopenshift!Operation:interface": "Microsoft.RedHatOpenShift.Operation",
11+
"@azure/arm-redhatopenshift!Display:interface": "Microsoft.RedHatOpenShift.Display",
12+
"@azure/arm-redhatopenshift!CloudError:interface": "Microsoft.RedHatOpenShift.CloudError",
13+
"@azure/arm-redhatopenshift!CloudErrorBody:interface": "Microsoft.RedHatOpenShift.CloudErrorBody",
14+
"@azure/arm-redhatopenshift!OpenShiftVersion:interface": "Microsoft.RedHatOpenShift.OpenShiftVersion",
15+
"@azure/arm-redhatopenshift!OpenShiftVersionProperties:interface": "Microsoft.RedHatOpenShift.OpenShiftVersionProperties",
16+
"@azure/arm-redhatopenshift!ProxyResource:interface": "Azure.ResourceManager.CommonTypes.ProxyResource",
17+
"@azure/arm-redhatopenshift!Resource:interface": "Azure.ResourceManager.CommonTypes.Resource",
18+
"@azure/arm-redhatopenshift!SystemData:interface": "Azure.ResourceManager.CommonTypes.SystemData",
19+
"@azure/arm-redhatopenshift!OpenShiftVersionList:interface": "Microsoft.RedHatOpenShift.OpenShiftVersionList",
20+
"@azure/arm-redhatopenshift!PlatformWorkloadIdentityRoleSetList:interface": "Microsoft.RedHatOpenShift.PlatformWorkloadIdentityRoleSetList",
21+
"@azure/arm-redhatopenshift!PlatformWorkloadIdentityRoleSet:interface": "Microsoft.RedHatOpenShift.PlatformWorkloadIdentityRoleSet",
22+
"@azure/arm-redhatopenshift!PlatformWorkloadIdentityRoleSetProperties:interface": "Microsoft.RedHatOpenShift.PlatformWorkloadIdentityRoleSetProperties",
23+
"@azure/arm-redhatopenshift!PlatformWorkloadIdentityRole:interface": "Microsoft.RedHatOpenShift.PlatformWorkloadIdentityRole",
24+
"@azure/arm-redhatopenshift!OpenShiftCluster:interface": "Microsoft.RedHatOpenShift.OpenShiftCluster",
25+
"@azure/arm-redhatopenshift!OpenShiftClusterProperties:interface": "Microsoft.RedHatOpenShift.OpenShiftClusterProperties",
26+
"@azure/arm-redhatopenshift!ClusterProfile:interface": "Microsoft.RedHatOpenShift.ClusterProfile",
27+
"@azure/arm-redhatopenshift!ConsoleProfile:interface": "Microsoft.RedHatOpenShift.ConsoleProfile",
28+
"@azure/arm-redhatopenshift!ServicePrincipalProfile:interface": "Microsoft.RedHatOpenShift.ServicePrincipalProfile",
29+
"@azure/arm-redhatopenshift!PlatformWorkloadIdentityProfile:interface": "Microsoft.RedHatOpenShift.PlatformWorkloadIdentityProfile",
30+
"@azure/arm-redhatopenshift!PlatformWorkloadIdentity:interface": "Microsoft.RedHatOpenShift.PlatformWorkloadIdentity",
31+
"@azure/arm-redhatopenshift!NetworkProfile:interface": "Microsoft.RedHatOpenShift.NetworkProfile",
32+
"@azure/arm-redhatopenshift!LoadBalancerProfile:interface": "Microsoft.RedHatOpenShift.LoadBalancerProfile",
33+
"@azure/arm-redhatopenshift!ManagedOutboundIPs:interface": "Microsoft.RedHatOpenShift.ManagedOutboundIPs",
34+
"@azure/arm-redhatopenshift!EffectiveOutboundIP:interface": "Microsoft.RedHatOpenShift.EffectiveOutboundIP",
35+
"@azure/arm-redhatopenshift!MasterProfile:interface": "Microsoft.RedHatOpenShift.MasterProfile",
36+
"@azure/arm-redhatopenshift!WorkerProfile:interface": "Microsoft.RedHatOpenShift.WorkerProfile",
37+
"@azure/arm-redhatopenshift!APIServerProfile:interface": "Microsoft.RedHatOpenShift.APIServerProfile",
38+
"@azure/arm-redhatopenshift!IngressProfile:interface": "Microsoft.RedHatOpenShift.IngressProfile",
39+
"@azure/arm-redhatopenshift!ManagedServiceIdentity:interface": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity",
40+
"@azure/arm-redhatopenshift!UserAssignedIdentity:interface": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity",
41+
"@azure/arm-redhatopenshift!TrackedResource:interface": "Azure.ResourceManager.CommonTypes.TrackedResource",
42+
"@azure/arm-redhatopenshift!ArmOperationStatusResourceProvisioningState:interface": "Azure.ResourceManager.ArmOperationStatus",
43+
"@azure/arm-redhatopenshift!ErrorDetail:interface": "Azure.ResourceManager.CommonTypes.ErrorDetail",
44+
"@azure/arm-redhatopenshift!ErrorAdditionalInfo:interface": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo",
45+
"@azure/arm-redhatopenshift!OpenShiftClusterUpdate:interface": "Microsoft.RedHatOpenShift.OpenShiftClusterUpdate",
46+
"@azure/arm-redhatopenshift!OpenShiftClusterList:interface": "Microsoft.RedHatOpenShift.OpenShiftClusterList",
47+
"@azure/arm-redhatopenshift!OpenShiftClusterAdminKubeconfig:interface": "Microsoft.RedHatOpenShift.OpenShiftClusterAdminKubeconfig",
48+
"@azure/arm-redhatopenshift!OpenShiftClusterCredentials:interface": "Microsoft.RedHatOpenShift.OpenShiftClusterCredentials",
49+
"@azure/arm-redhatopenshift!KnowncreatedByType:enum": "Azure.ResourceManager.CommonTypes.createdByType",
50+
"@azure/arm-redhatopenshift!KnownProvisioningState:enum": "Microsoft.RedHatOpenShift.ProvisioningState",
51+
"@azure/arm-redhatopenshift!KnownFipsValidatedModules:enum": "Microsoft.RedHatOpenShift.FipsValidatedModules",
52+
"@azure/arm-redhatopenshift!KnownOutboundType:enum": "Microsoft.RedHatOpenShift.OutboundType",
53+
"@azure/arm-redhatopenshift!KnownPreconfiguredNSG:enum": "Microsoft.RedHatOpenShift.PreconfiguredNSG",
54+
"@azure/arm-redhatopenshift!KnownEncryptionAtHost:enum": "Microsoft.RedHatOpenShift.EncryptionAtHost",
55+
"@azure/arm-redhatopenshift!KnownVisibility:enum": "Microsoft.RedHatOpenShift.Visibility",
56+
"@azure/arm-redhatopenshift!KnownManagedServiceIdentityType:enum": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType",
57+
"@azure/arm-redhatopenshift!KnownResourceProvisioningState:enum": "Azure.ResourceManager.ResourceProvisioningState",
58+
"@azure/arm-redhatopenshift!KnownVersions:enum": "Microsoft.RedHatOpenShift.Versions",
59+
"@azure/arm-redhatopenshift!ManagedServiceIdentityUserAssignedIdentity:type": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.userAssignedIdentity.anonymous",
60+
"@azure/arm-redhatopenshift!PlatformWorkloadIdentityRoleSetOperations#get:member": "Microsoft.RedHatOpenShift.PlatformWorkloadIdentityRoleSets.get",
61+
"@azure/arm-redhatopenshift!OpenShiftClustersOperations#listCredentials:member": "Microsoft.RedHatOpenShift.OpenShiftClusters.listCredentials",
62+
"@azure/arm-redhatopenshift!OpenShiftClustersOperations#listAdminCredentials:member": "Microsoft.RedHatOpenShift.OpenShiftClusters.listAdminCredentials",
63+
"@azure/arm-redhatopenshift!OpenShiftClustersOperations#list:member": "Microsoft.RedHatOpenShift.OpenShiftClusters.list",
64+
"@azure/arm-redhatopenshift!OpenShiftClustersOperations#listByResourceGroup:member": "Microsoft.RedHatOpenShift.OpenShiftClusters.listByResourceGroup",
65+
"@azure/arm-redhatopenshift!OpenShiftClustersOperations#delete:member": "Microsoft.RedHatOpenShift.OpenShiftClusters.delete",
66+
"@azure/arm-redhatopenshift!OpenShiftClustersOperations#update:member": "Microsoft.RedHatOpenShift.OpenShiftClusters.update",
67+
"@azure/arm-redhatopenshift!OpenShiftClustersOperations#createOrUpdate:member": "Microsoft.RedHatOpenShift.OpenShiftClusters.createOrUpdate",
68+
"@azure/arm-redhatopenshift!OpenShiftClustersOperations#get:member": "Microsoft.RedHatOpenShift.OpenShiftClusters.get",
69+
"@azure/arm-redhatopenshift!PlatformWorkloadIdentityRoleSetsOperations#list:member": "Microsoft.RedHatOpenShift.PlatformWorkloadIdentityRoleSets.list",
70+
"@azure/arm-redhatopenshift!OpenShiftVersionsOperations#list:member": "Microsoft.RedHatOpenShift.OpenShiftVersions.list",
71+
"@azure/arm-redhatopenshift!OpenShiftVersionsOperations#get:member": "Microsoft.RedHatOpenShift.OpenShiftVersions.get",
72+
"@azure/arm-redhatopenshift!OperationsOperations#list:member": "Azure.ResourceManager.Legacy.Operations.list"
73+
}
74+
}
75+
}

0 commit comments

Comments
 (0)