Microsoft.RedHatOpenShift (preview:2024-08-12)

2025/01/23 • 13 new methods

Operations_List (new)
Description The operation returns the RP operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.RedHatOpenShift/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
OpenShiftVersions_List (new)
Description The operation returns the installable OpenShift versions as a string.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/locations/{location}/openShiftVersions
{
api-version: string ,
subscriptionId: string ,
location: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
version: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
OpenShiftVersions_Get (new)
Description This operation returns installable OpenShift version as a string.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/locations/{location}/openShiftVersions/{openShiftVersion}
{
api-version: string ,
subscriptionId: string ,
location: string ,
openShiftVersion: string ,
}

⚐ Response (200)

{
properties:
{
version: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PlatformWorkloadIdentityRoleSets_List (new)
Description This operation returns a list of Platform Workload Identity Role Sets as a string
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/locations/{location}/platformWorkloadIdentityRoleSets
{
api-version: string ,
subscriptionId: string ,
location: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
openShiftVersion: string ,
platformWorkloadIdentityRoles:
[
{
operatorName: string ,
roleDefinitionName: string ,
roleDefinitionId: string ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PlatformWorkloadIdentityRoleSet_Get (new)
Description This operation returns Platform Workload Identity Role Set as a string
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/locations/{location}/platformWorkloadIdentityRoleSets/{openShiftMinorVersion}
{
api-version: string ,
subscriptionId: string ,
location: string ,
openShiftMinorVersion: string ,
}

⚐ Response (200)

{
properties:
{
openShiftVersion: string ,
platformWorkloadIdentityRoles:
[
{
operatorName: string ,
roleDefinitionName: string ,
roleDefinitionId: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
OpenShiftClusters_List (new)
Description The operation returns properties of each OpenShift cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/openShiftClusters
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
clusterProfile:
{
pullSecret: string ,
domain: string ,
version: string ,
resourceGroupId: string ,
fipsValidatedModules: enum ,
oidcIssuer: string ,
}
,
consoleProfile:
{
url: string ,
}
,
servicePrincipalProfile:
{
clientId: string ,
clientSecret: string ,
}
,
platformWorkloadIdentityProfile:
{
upgradeableTo: string ,
platformWorkloadIdentities: object ,
}
,
networkProfile:
{
podCidr: string ,
serviceCidr: string ,
outboundType: enum ,
loadBalancerProfile:
{
managedOutboundIps:
{
count: integer ,
}
,
effectiveOutboundIps:
[
{
id: string ,
}
,
]
,
}
,
preconfiguredNSG: enum ,
}
,
masterProfile:
{
vmSize: string ,
subnetId: string ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
workerProfiles:
[
{
name: string ,
vmSize: string ,
diskSizeGB: integer ,
subnetId: string ,
count: integer ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
]
,
workerProfilesStatus:
[
{
name: string ,
vmSize: string ,
diskSizeGB: integer ,
subnetId: string ,
count: integer ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
]
,
apiserverProfile:
{
visibility: enum ,
url: string ,
ip: string ,
}
,
ingressProfiles:
[
{
name: string ,
visibility: enum ,
ip: string ,
}
,
]
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
OpenShiftClusters_ListByResourceGroup (new)
Description The operation returns properties of each OpenShift cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
clusterProfile:
{
pullSecret: string ,
domain: string ,
version: string ,
resourceGroupId: string ,
fipsValidatedModules: enum ,
oidcIssuer: string ,
}
,
consoleProfile:
{
url: string ,
}
,
servicePrincipalProfile:
{
clientId: string ,
clientSecret: string ,
}
,
platformWorkloadIdentityProfile:
{
upgradeableTo: string ,
platformWorkloadIdentities: object ,
}
,
networkProfile:
{
podCidr: string ,
serviceCidr: string ,
outboundType: enum ,
loadBalancerProfile:
{
managedOutboundIps:
{
count: integer ,
}
,
effectiveOutboundIps:
[
{
id: string ,
}
,
]
,
}
,
preconfiguredNSG: enum ,
}
,
masterProfile:
{
vmSize: string ,
subnetId: string ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
workerProfiles:
[
{
name: string ,
vmSize: string ,
diskSizeGB: integer ,
subnetId: string ,
count: integer ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
]
,
workerProfilesStatus:
[
{
name: string ,
vmSize: string ,
diskSizeGB: integer ,
subnetId: string ,
count: integer ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
]
,
apiserverProfile:
{
visibility: enum ,
url: string ,
ip: string ,
}
,
ingressProfiles:
[
{
name: string ,
visibility: enum ,
ip: string ,
}
,
]
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
OpenShiftClusters_Get (new)
Description The operation returns properties of a OpenShift cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
clusterProfile:
{
pullSecret: string ,
domain: string ,
version: string ,
resourceGroupId: string ,
fipsValidatedModules: enum ,
oidcIssuer: string ,
}
,
consoleProfile:
{
url: string ,
}
,
servicePrincipalProfile:
{
clientId: string ,
clientSecret: string ,
}
,
platformWorkloadIdentityProfile:
{
upgradeableTo: string ,
platformWorkloadIdentities: object ,
}
,
networkProfile:
{
podCidr: string ,
serviceCidr: string ,
outboundType: enum ,
loadBalancerProfile:
{
managedOutboundIps:
{
count: integer ,
}
,
effectiveOutboundIps:
[
{
id: string ,
}
,
]
,
}
,
preconfiguredNSG: enum ,
}
,
masterProfile:
{
vmSize: string ,
subnetId: string ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
workerProfiles:
[
{
name: string ,
vmSize: string ,
diskSizeGB: integer ,
subnetId: string ,
count: integer ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
]
,
workerProfilesStatus:
[
{
name: string ,
vmSize: string ,
diskSizeGB: integer ,
subnetId: string ,
count: integer ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
]
,
apiserverProfile:
{
visibility: enum ,
url: string ,
ip: string ,
}
,
ingressProfiles:
[
{
name: string ,
visibility: enum ,
ip: string ,
}
,
]
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
OpenShiftClusters_CreateOrUpdate (new)
Description The operation returns properties of a OpenShift cluster.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
parameters:
{
properties:
{
provisioningState: enum ,
clusterProfile:
{
pullSecret: string ,
domain: string ,
version: string ,
resourceGroupId: string ,
fipsValidatedModules: enum ,
oidcIssuer: string ,
}
,
consoleProfile:
{
url: string ,
}
,
servicePrincipalProfile:
{
clientId: string ,
clientSecret: string ,
}
,
platformWorkloadIdentityProfile:
{
upgradeableTo: string ,
platformWorkloadIdentities: object ,
}
,
networkProfile:
{
podCidr: string ,
serviceCidr: string ,
outboundType: enum ,
loadBalancerProfile:
{
managedOutboundIps:
{
count: integer ,
}
,
effectiveOutboundIps:
[
{
id: string ,
}
,
]
,
}
,
preconfiguredNSG: enum ,
}
,
masterProfile:
{
vmSize: string ,
subnetId: string ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
workerProfiles:
[
{
name: string ,
vmSize: string ,
diskSizeGB: integer ,
subnetId: string ,
count: integer ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
]
,
workerProfilesStatus:
[
{
name: string ,
vmSize: string ,
diskSizeGB: integer ,
subnetId: string ,
count: integer ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
]
,
apiserverProfile:
{
visibility: enum ,
url: string ,
ip: string ,
}
,
ingressProfiles:
[
{
name: string ,
visibility: enum ,
ip: string ,
}
,
]
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
clusterProfile:
{
pullSecret: string ,
domain: string ,
version: string ,
resourceGroupId: string ,
fipsValidatedModules: enum ,
oidcIssuer: string ,
}
,
consoleProfile:
{
url: string ,
}
,
servicePrincipalProfile:
{
clientId: string ,
clientSecret: string ,
}
,
platformWorkloadIdentityProfile:
{
upgradeableTo: string ,
platformWorkloadIdentities: object ,
}
,
networkProfile:
{
podCidr: string ,
serviceCidr: string ,
outboundType: enum ,
loadBalancerProfile:
{
managedOutboundIps:
{
count: integer ,
}
,
effectiveOutboundIps:
[
{
id: string ,
}
,
]
,
}
,
preconfiguredNSG: enum ,
}
,
masterProfile:
{
vmSize: string ,
subnetId: string ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
workerProfiles:
[
{
name: string ,
vmSize: string ,
diskSizeGB: integer ,
subnetId: string ,
count: integer ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
]
,
workerProfilesStatus:
[
{
name: string ,
vmSize: string ,
diskSizeGB: integer ,
subnetId: string ,
count: integer ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
]
,
apiserverProfile:
{
visibility: enum ,
url: string ,
ip: string ,
}
,
ingressProfiles:
[
{
name: string ,
visibility: enum ,
ip: string ,
}
,
]
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (201)

{
properties:
{
provisioningState: enum ,
clusterProfile:
{
pullSecret: string ,
domain: string ,
version: string ,
resourceGroupId: string ,
fipsValidatedModules: enum ,
oidcIssuer: string ,
}
,
consoleProfile:
{
url: string ,
}
,
servicePrincipalProfile:
{
clientId: string ,
clientSecret: string ,
}
,
platformWorkloadIdentityProfile:
{
upgradeableTo: string ,
platformWorkloadIdentities: object ,
}
,
networkProfile:
{
podCidr: string ,
serviceCidr: string ,
outboundType: enum ,
loadBalancerProfile:
{
managedOutboundIps:
{
count: integer ,
}
,
effectiveOutboundIps:
[
{
id: string ,
}
,
]
,
}
,
preconfiguredNSG: enum ,
}
,
masterProfile:
{
vmSize: string ,
subnetId: string ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
workerProfiles:
[
{
name: string ,
vmSize: string ,
diskSizeGB: integer ,
subnetId: string ,
count: integer ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
]
,
workerProfilesStatus:
[
{
name: string ,
vmSize: string ,
diskSizeGB: integer ,
subnetId: string ,
count: integer ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
]
,
apiserverProfile:
{
visibility: enum ,
url: string ,
ip: string ,
}
,
ingressProfiles:
[
{
name: string ,
visibility: enum ,
ip: string ,
}
,
]
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
OpenShiftClusters_Delete (new)
Description The operation returns nothing.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
OpenShiftClusters_Update (new)
Description The operation returns properties of a OpenShift cluster.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
parameters:
{
tags: object ,
properties:
{
provisioningState: enum ,
clusterProfile:
{
pullSecret: string ,
domain: string ,
version: string ,
resourceGroupId: string ,
fipsValidatedModules: enum ,
oidcIssuer: string ,
}
,
consoleProfile:
{
url: string ,
}
,
servicePrincipalProfile:
{
clientId: string ,
clientSecret: string ,
}
,
platformWorkloadIdentityProfile:
{
upgradeableTo: string ,
platformWorkloadIdentities: object ,
}
,
networkProfile:
{
podCidr: string ,
serviceCidr: string ,
outboundType: enum ,
loadBalancerProfile:
{
managedOutboundIps:
{
count: integer ,
}
,
effectiveOutboundIps:
[
{
id: string ,
}
,
]
,
}
,
preconfiguredNSG: enum ,
}
,
masterProfile:
{
vmSize: string ,
subnetId: string ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
workerProfiles:
[
{
name: string ,
vmSize: string ,
diskSizeGB: integer ,
subnetId: string ,
count: integer ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
]
,
workerProfilesStatus:
[
{
name: string ,
vmSize: string ,
diskSizeGB: integer ,
subnetId: string ,
count: integer ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
]
,
apiserverProfile:
{
visibility: enum ,
url: string ,
ip: string ,
}
,
ingressProfiles:
[
{
name: string ,
visibility: enum ,
ip: string ,
}
,
]
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
clusterProfile:
{
pullSecret: string ,
domain: string ,
version: string ,
resourceGroupId: string ,
fipsValidatedModules: enum ,
oidcIssuer: string ,
}
,
consoleProfile:
{
url: string ,
}
,
servicePrincipalProfile:
{
clientId: string ,
clientSecret: string ,
}
,
platformWorkloadIdentityProfile:
{
upgradeableTo: string ,
platformWorkloadIdentities: object ,
}
,
networkProfile:
{
podCidr: string ,
serviceCidr: string ,
outboundType: enum ,
loadBalancerProfile:
{
managedOutboundIps:
{
count: integer ,
}
,
effectiveOutboundIps:
[
{
id: string ,
}
,
]
,
}
,
preconfiguredNSG: enum ,
}
,
masterProfile:
{
vmSize: string ,
subnetId: string ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
workerProfiles:
[
{
name: string ,
vmSize: string ,
diskSizeGB: integer ,
subnetId: string ,
count: integer ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
]
,
workerProfilesStatus:
[
{
name: string ,
vmSize: string ,
diskSizeGB: integer ,
subnetId: string ,
count: integer ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
]
,
apiserverProfile:
{
visibility: enum ,
url: string ,
ip: string ,
}
,
ingressProfiles:
[
{
name: string ,
visibility: enum ,
ip: string ,
}
,
]
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (201)

{
properties:
{
provisioningState: enum ,
clusterProfile:
{
pullSecret: string ,
domain: string ,
version: string ,
resourceGroupId: string ,
fipsValidatedModules: enum ,
oidcIssuer: string ,
}
,
consoleProfile:
{
url: string ,
}
,
servicePrincipalProfile:
{
clientId: string ,
clientSecret: string ,
}
,
platformWorkloadIdentityProfile:
{
upgradeableTo: string ,
platformWorkloadIdentities: object ,
}
,
networkProfile:
{
podCidr: string ,
serviceCidr: string ,
outboundType: enum ,
loadBalancerProfile:
{
managedOutboundIps:
{
count: integer ,
}
,
effectiveOutboundIps:
[
{
id: string ,
}
,
]
,
}
,
preconfiguredNSG: enum ,
}
,
masterProfile:
{
vmSize: string ,
subnetId: string ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
workerProfiles:
[
{
name: string ,
vmSize: string ,
diskSizeGB: integer ,
subnetId: string ,
count: integer ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
]
,
workerProfilesStatus:
[
{
name: string ,
vmSize: string ,
diskSizeGB: integer ,
subnetId: string ,
count: integer ,
encryptionAtHost: enum ,
diskEncryptionSetId: string ,
}
,
]
,
apiserverProfile:
{
visibility: enum ,
url: string ,
ip: string ,
}
,
ingressProfiles:
[
{
name: string ,
visibility: enum ,
ip: string ,
}
,
]
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
OpenShiftClusters_ListAdminCredentials (new)
Description The operation returns the admin kubeconfig.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listAdminCredentials
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
kubeconfig: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
OpenShiftClusters_ListCredentials (new)
Description The operation returns the credentials.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listCredentials
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
kubeadminUsername: string ,
kubeadminPassword: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}