azure-native.redhatopenshift.OpenShiftCluster
Explore with Pulumi AI
OpenShiftCluster represents an Azure Red Hat OpenShift cluster. API Version: 2020-04-30.
Example Usage
Creates or updates a OpenShift cluster with the specified subscription, resource group and resource name.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var openShiftCluster = new AzureNative.RedHatOpenShift.OpenShiftCluster("openShiftCluster", new()
    {
        ApiserverProfile = new AzureNative.RedHatOpenShift.Inputs.APIServerProfileArgs
        {
            Visibility = "Public",
        },
        ClusterProfile = new AzureNative.RedHatOpenShift.Inputs.ClusterProfileArgs
        {
            Domain = "cluster.location.aroapp.io",
            PullSecret = "{\"auths\":{\"registry.connect.redhat.com\":{\"auth\":\"\"},\"registry.redhat.io\":{\"auth\":\"\"}}}",
            ResourceGroupId = "/subscriptions/subscriptionId/resourceGroups/clusterResourceGroup",
        },
        ConsoleProfile = null,
        IngressProfiles = new[]
        {
            new AzureNative.RedHatOpenShift.Inputs.IngressProfileArgs
            {
                Name = "default",
                Visibility = "Public",
            },
        },
        Location = "location",
        MasterProfile = new AzureNative.RedHatOpenShift.Inputs.MasterProfileArgs
        {
            SubnetId = "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/master",
            VmSize = "Standard_D8s_v3",
        },
        NetworkProfile = new AzureNative.RedHatOpenShift.Inputs.NetworkProfileArgs
        {
            PodCidr = "10.128.0.0/14",
            ServiceCidr = "172.30.0.0/16",
        },
        ResourceGroupName = "resourceGroup",
        ResourceName = "resourceName",
        ServicePrincipalProfile = new AzureNative.RedHatOpenShift.Inputs.ServicePrincipalProfileArgs
        {
            ClientId = "clientId",
            ClientSecret = "clientSecret",
        },
        Tags = 
        {
            { "key", "value" },
        },
        WorkerProfiles = new[]
        {
            new AzureNative.RedHatOpenShift.Inputs.WorkerProfileArgs
            {
                Count = 3,
                DiskSizeGB = 128,
                Name = "worker",
                SubnetId = "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/worker",
                VmSize = "Standard_D2s_v3",
            },
        },
    });
});
package main
import (
	redhatopenshift "github.com/pulumi/pulumi-azure-native-sdk/redhatopenshift"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := redhatopenshift.NewOpenShiftCluster(ctx, "openShiftCluster", &redhatopenshift.OpenShiftClusterArgs{
			ApiserverProfile: &redhatopenshift.APIServerProfileArgs{
				Visibility: pulumi.String("Public"),
			},
			ClusterProfile: &redhatopenshift.ClusterProfileArgs{
				Domain:          pulumi.String("cluster.location.aroapp.io"),
				PullSecret:      pulumi.String("{\"auths\":{\"registry.connect.redhat.com\":{\"auth\":\"\"},\"registry.redhat.io\":{\"auth\":\"\"}}}"),
				ResourceGroupId: pulumi.String("/subscriptions/subscriptionId/resourceGroups/clusterResourceGroup"),
			},
			ConsoleProfile: nil,
			IngressProfiles: []redhatopenshift.IngressProfileArgs{
				{
					Name:       pulumi.String("default"),
					Visibility: pulumi.String("Public"),
				},
			},
			Location: pulumi.String("location"),
			MasterProfile: &redhatopenshift.MasterProfileArgs{
				SubnetId: pulumi.String("/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/master"),
				VmSize:   pulumi.String("Standard_D8s_v3"),
			},
			NetworkProfile: &redhatopenshift.NetworkProfileArgs{
				PodCidr:     pulumi.String("10.128.0.0/14"),
				ServiceCidr: pulumi.String("172.30.0.0/16"),
			},
			ResourceGroupName: pulumi.String("resourceGroup"),
			ResourceName:      pulumi.String("resourceName"),
			ServicePrincipalProfile: &redhatopenshift.ServicePrincipalProfileArgs{
				ClientId:     pulumi.String("clientId"),
				ClientSecret: pulumi.String("clientSecret"),
			},
			Tags: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
			WorkerProfiles: []redhatopenshift.WorkerProfileArgs{
				{
					Count:      pulumi.Int(3),
					DiskSizeGB: pulumi.Int(128),
					Name:       pulumi.String("worker"),
					SubnetId:   pulumi.String("/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/worker"),
					VmSize:     pulumi.String("Standard_D2s_v3"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.redhatopenshift.OpenShiftCluster;
import com.pulumi.azurenative.redhatopenshift.OpenShiftClusterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var openShiftCluster = new OpenShiftCluster("openShiftCluster", OpenShiftClusterArgs.builder()        
            .apiserverProfile(Map.of("visibility", "Public"))
            .clusterProfile(Map.ofEntries(
                Map.entry("domain", "cluster.location.aroapp.io"),
                Map.entry("pullSecret", "{\"auths\":{\"registry.connect.redhat.com\":{\"auth\":\"\"},\"registry.redhat.io\":{\"auth\":\"\"}}}"),
                Map.entry("resourceGroupId", "/subscriptions/subscriptionId/resourceGroups/clusterResourceGroup")
            ))
            .consoleProfile()
            .ingressProfiles(Map.ofEntries(
                Map.entry("name", "default"),
                Map.entry("visibility", "Public")
            ))
            .location("location")
            .masterProfile(Map.ofEntries(
                Map.entry("subnetId", "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/master"),
                Map.entry("vmSize", "Standard_D8s_v3")
            ))
            .networkProfile(Map.ofEntries(
                Map.entry("podCidr", "10.128.0.0/14"),
                Map.entry("serviceCidr", "172.30.0.0/16")
            ))
            .resourceGroupName("resourceGroup")
            .resourceName("resourceName")
            .servicePrincipalProfile(Map.ofEntries(
                Map.entry("clientId", "clientId"),
                Map.entry("clientSecret", "clientSecret")
            ))
            .tags(Map.of("key", "value"))
            .workerProfiles(Map.ofEntries(
                Map.entry("count", 3),
                Map.entry("diskSizeGB", 128),
                Map.entry("name", "worker"),
                Map.entry("subnetId", "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/worker"),
                Map.entry("vmSize", "Standard_D2s_v3")
            ))
            .build());
    }
}
import pulumi
import pulumi_azure_native as azure_native
open_shift_cluster = azure_native.redhatopenshift.OpenShiftCluster("openShiftCluster",
    apiserver_profile=azure_native.redhatopenshift.APIServerProfileArgs(
        visibility="Public",
    ),
    cluster_profile=azure_native.redhatopenshift.ClusterProfileArgs(
        domain="cluster.location.aroapp.io",
        pull_secret="{\"auths\":{\"registry.connect.redhat.com\":{\"auth\":\"\"},\"registry.redhat.io\":{\"auth\":\"\"}}}",
        resource_group_id="/subscriptions/subscriptionId/resourceGroups/clusterResourceGroup",
    ),
    console_profile=azure_native.redhatopenshift.ConsoleProfileArgs(),
    ingress_profiles=[azure_native.redhatopenshift.IngressProfileArgs(
        name="default",
        visibility="Public",
    )],
    location="location",
    master_profile=azure_native.redhatopenshift.MasterProfileArgs(
        subnet_id="/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/master",
        vm_size="Standard_D8s_v3",
    ),
    network_profile=azure_native.redhatopenshift.NetworkProfileArgs(
        pod_cidr="10.128.0.0/14",
        service_cidr="172.30.0.0/16",
    ),
    resource_group_name="resourceGroup",
    resource_name_="resourceName",
    service_principal_profile=azure_native.redhatopenshift.ServicePrincipalProfileArgs(
        client_id="clientId",
        client_secret="clientSecret",
    ),
    tags={
        "key": "value",
    },
    worker_profiles=[azure_native.redhatopenshift.WorkerProfileArgs(
        count=3,
        disk_size_gb=128,
        name="worker",
        subnet_id="/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/worker",
        vm_size="Standard_D2s_v3",
    )])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const openShiftCluster = new azure_native.redhatopenshift.OpenShiftCluster("openShiftCluster", {
    apiserverProfile: {
        visibility: "Public",
    },
    clusterProfile: {
        domain: "cluster.location.aroapp.io",
        pullSecret: "{\"auths\":{\"registry.connect.redhat.com\":{\"auth\":\"\"},\"registry.redhat.io\":{\"auth\":\"\"}}}",
        resourceGroupId: "/subscriptions/subscriptionId/resourceGroups/clusterResourceGroup",
    },
    consoleProfile: {},
    ingressProfiles: [{
        name: "default",
        visibility: "Public",
    }],
    location: "location",
    masterProfile: {
        subnetId: "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/master",
        vmSize: "Standard_D8s_v3",
    },
    networkProfile: {
        podCidr: "10.128.0.0/14",
        serviceCidr: "172.30.0.0/16",
    },
    resourceGroupName: "resourceGroup",
    resourceName: "resourceName",
    servicePrincipalProfile: {
        clientId: "clientId",
        clientSecret: "clientSecret",
    },
    tags: {
        key: "value",
    },
    workerProfiles: [{
        count: 3,
        diskSizeGB: 128,
        name: "worker",
        subnetId: "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/worker",
        vmSize: "Standard_D2s_v3",
    }],
});
resources:
  openShiftCluster:
    type: azure-native:redhatopenshift:OpenShiftCluster
    properties:
      apiserverProfile:
        visibility: Public
      clusterProfile:
        domain: cluster.location.aroapp.io
        pullSecret: '{"auths":{"registry.connect.redhat.com":{"auth":""},"registry.redhat.io":{"auth":""}}}'
        resourceGroupId: /subscriptions/subscriptionId/resourceGroups/clusterResourceGroup
      consoleProfile: {}
      ingressProfiles:
        - name: default
          visibility: Public
      location: location
      masterProfile:
        subnetId: /subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/master
        vmSize: Standard_D8s_v3
      networkProfile:
        podCidr: 10.128.0.0/14
        serviceCidr: 172.30.0.0/16
      resourceGroupName: resourceGroup
      resourceName: resourceName
      servicePrincipalProfile:
        clientId: clientId
        clientSecret: clientSecret
      tags:
        key: value
      workerProfiles:
        - count: 3
          diskSizeGB: 128
          name: worker
          subnetId: /subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/worker
          vmSize: Standard_D2s_v3
Create OpenShiftCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OpenShiftCluster(name: string, args: OpenShiftClusterArgs, opts?: CustomResourceOptions);@overload
def OpenShiftCluster(resource_name: str,
                     args: OpenShiftClusterArgs,
                     opts: Optional[ResourceOptions] = None)
@overload
def OpenShiftCluster(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     resource_group_name: Optional[str] = None,
                     network_profile: Optional[NetworkProfileArgs] = None,
                     console_profile: Optional[ConsoleProfileArgs] = None,
                     ingress_profiles: Optional[Sequence[IngressProfileArgs]] = None,
                     location: Optional[str] = None,
                     master_profile: Optional[MasterProfileArgs] = None,
                     apiserver_profile: Optional[APIServerProfileArgs] = None,
                     provisioning_state: Optional[str] = None,
                     cluster_profile: Optional[ClusterProfileArgs] = None,
                     resource_name_: Optional[str] = None,
                     service_principal_profile: Optional[ServicePrincipalProfileArgs] = None,
                     tags: Optional[Mapping[str, str]] = None,
                     worker_profiles: Optional[Sequence[WorkerProfileArgs]] = None)func NewOpenShiftCluster(ctx *Context, name string, args OpenShiftClusterArgs, opts ...ResourceOption) (*OpenShiftCluster, error)public OpenShiftCluster(string name, OpenShiftClusterArgs args, CustomResourceOptions? opts = null)
public OpenShiftCluster(String name, OpenShiftClusterArgs args)
public OpenShiftCluster(String name, OpenShiftClusterArgs args, CustomResourceOptions options)
type: azure-native:redhatopenshift:OpenShiftCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
 - The unique name of the resource.
 - args OpenShiftClusterArgs
 - The arguments to resource properties.
 - opts CustomResourceOptions
 - Bag of options to control resource's behavior.
 
- resource_name str
 - The unique name of the resource.
 - args OpenShiftClusterArgs
 - The arguments to resource properties.
 - opts ResourceOptions
 - Bag of options to control resource's behavior.
 
- ctx Context
 - Context object for the current deployment.
 - name string
 - The unique name of the resource.
 - args OpenShiftClusterArgs
 - The arguments to resource properties.
 - opts ResourceOption
 - Bag of options to control resource's behavior.
 
- name string
 - The unique name of the resource.
 - args OpenShiftClusterArgs
 - The arguments to resource properties.
 - opts CustomResourceOptions
 - Bag of options to control resource's behavior.
 
- name String
 - The unique name of the resource.
 - args OpenShiftClusterArgs
 - The arguments to resource properties.
 - options CustomResourceOptions
 - Bag of options to control resource's behavior.
 
Constructor example
The following reference example uses placeholder values for all input properties.
var openShiftClusterResource = new AzureNative.Redhatopenshift.OpenShiftCluster("openShiftClusterResource", new()
{
    ResourceGroupName = "string",
    NetworkProfile = 
    {
        { "podCidr", "string" },
        { "serviceCidr", "string" },
    },
    ConsoleProfile = 
    {
        { "url", "string" },
    },
    IngressProfiles = new[]
    {
        
        {
            { "ip", "string" },
            { "name", "string" },
            { "visibility", "string" },
        },
    },
    Location = "string",
    MasterProfile = 
    {
        { "subnetId", "string" },
        { "vmSize", "string" },
    },
    ApiserverProfile = 
    {
        { "ip", "string" },
        { "url", "string" },
        { "visibility", "string" },
    },
    ProvisioningState = "string",
    ClusterProfile = 
    {
        { "domain", "string" },
        { "pullSecret", "string" },
        { "resourceGroupId", "string" },
        { "version", "string" },
    },
    ResourceName = "string",
    ServicePrincipalProfile = 
    {
        { "clientId", "string" },
        { "clientSecret", "string" },
    },
    Tags = 
    {
        { "string", "string" },
    },
    WorkerProfiles = new[]
    {
        
        {
            { "count", 0 },
            { "diskSizeGB", 0 },
            { "name", "string" },
            { "subnetId", "string" },
            { "vmSize", "string" },
        },
    },
});
example, err := redhatopenshift.NewOpenShiftCluster(ctx, "openShiftClusterResource", &redhatopenshift.OpenShiftClusterArgs{
	ResourceGroupName: "string",
	NetworkProfile: map[string]interface{}{
		"podCidr":     "string",
		"serviceCidr": "string",
	},
	ConsoleProfile: map[string]interface{}{
		"url": "string",
	},
	IngressProfiles: []map[string]interface{}{
		map[string]interface{}{
			"ip":         "string",
			"name":       "string",
			"visibility": "string",
		},
	},
	Location: "string",
	MasterProfile: map[string]interface{}{
		"subnetId": "string",
		"vmSize":   "string",
	},
	ApiserverProfile: map[string]interface{}{
		"ip":         "string",
		"url":        "string",
		"visibility": "string",
	},
	ProvisioningState: "string",
	ClusterProfile: map[string]interface{}{
		"domain":          "string",
		"pullSecret":      "string",
		"resourceGroupId": "string",
		"version":         "string",
	},
	ResourceName: "string",
	ServicePrincipalProfile: map[string]interface{}{
		"clientId":     "string",
		"clientSecret": "string",
	},
	Tags: map[string]interface{}{
		"string": "string",
	},
	WorkerProfiles: []map[string]interface{}{
		map[string]interface{}{
			"count":      0,
			"diskSizeGB": 0,
			"name":       "string",
			"subnetId":   "string",
			"vmSize":     "string",
		},
	},
})
var openShiftClusterResource = new OpenShiftCluster("openShiftClusterResource", OpenShiftClusterArgs.builder()
    .resourceGroupName("string")
    .networkProfile(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .consoleProfile(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .ingressProfiles(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .location("string")
    .masterProfile(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .apiserverProfile(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .provisioningState("string")
    .clusterProfile(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .resourceName("string")
    .servicePrincipalProfile(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .workerProfiles(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
open_shift_cluster_resource = azure_native.redhatopenshift.OpenShiftCluster("openShiftClusterResource",
    resource_group_name=string,
    network_profile={
        podCidr: string,
        serviceCidr: string,
    },
    console_profile={
        url: string,
    },
    ingress_profiles=[{
        ip: string,
        name: string,
        visibility: string,
    }],
    location=string,
    master_profile={
        subnetId: string,
        vmSize: string,
    },
    apiserver_profile={
        ip: string,
        url: string,
        visibility: string,
    },
    provisioning_state=string,
    cluster_profile={
        domain: string,
        pullSecret: string,
        resourceGroupId: string,
        version: string,
    },
    resource_name_=string,
    service_principal_profile={
        clientId: string,
        clientSecret: string,
    },
    tags={
        string: string,
    },
    worker_profiles=[{
        count: 0,
        diskSizeGB: 0,
        name: string,
        subnetId: string,
        vmSize: string,
    }])
const openShiftClusterResource = new azure_native.redhatopenshift.OpenShiftCluster("openShiftClusterResource", {
    resourceGroupName: "string",
    networkProfile: {
        podCidr: "string",
        serviceCidr: "string",
    },
    consoleProfile: {
        url: "string",
    },
    ingressProfiles: [{
        ip: "string",
        name: "string",
        visibility: "string",
    }],
    location: "string",
    masterProfile: {
        subnetId: "string",
        vmSize: "string",
    },
    apiserverProfile: {
        ip: "string",
        url: "string",
        visibility: "string",
    },
    provisioningState: "string",
    clusterProfile: {
        domain: "string",
        pullSecret: "string",
        resourceGroupId: "string",
        version: "string",
    },
    resourceName: "string",
    servicePrincipalProfile: {
        clientId: "string",
        clientSecret: "string",
    },
    tags: {
        string: "string",
    },
    workerProfiles: [{
        count: 0,
        diskSizeGB: 0,
        name: "string",
        subnetId: "string",
        vmSize: "string",
    }],
});
type: azure-native:redhatopenshift:OpenShiftCluster
properties:
    apiserverProfile:
        ip: string
        url: string
        visibility: string
    clusterProfile:
        domain: string
        pullSecret: string
        resourceGroupId: string
        version: string
    consoleProfile:
        url: string
    ingressProfiles:
        - ip: string
          name: string
          visibility: string
    location: string
    masterProfile:
        subnetId: string
        vmSize: string
    networkProfile:
        podCidr: string
        serviceCidr: string
    provisioningState: string
    resourceGroupName: string
    resourceName: string
    servicePrincipalProfile:
        clientId: string
        clientSecret: string
    tags:
        string: string
    workerProfiles:
        - count: 0
          diskSizeGB: 0
          name: string
          subnetId: string
          vmSize: string
OpenShiftCluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The OpenShiftCluster resource accepts the following input properties:
- Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - Apiserver
Profile Pulumi.Azure Native. Red Hat Open Shift. Inputs. APIServer Profile  - The cluster API server profile.
 - Cluster
Profile Pulumi.Azure Native. Red Hat Open Shift. Inputs. Cluster Profile  - The cluster profile.
 - Console
Profile Pulumi.Azure Native. Red Hat Open Shift. Inputs. Console Profile  - The console profile.
 - Ingress
Profiles List<Pulumi.Azure Native. Red Hat Open Shift. Inputs. Ingress Profile>  - The cluster ingress profiles.
 - Location string
 - The geo-location where the resource lives
 - Master
Profile Pulumi.Azure Native. Red Hat Open Shift. Inputs. Master Profile  - The cluster master profile.
 - Network
Profile Pulumi.Azure Native. Red Hat Open Shift. Inputs. Network Profile  - The cluster network profile.
 - Provisioning
State string - The cluster provisioning state (immutable).
 - Resource
Name string - The name of the OpenShift cluster resource.
 - Service
Principal Pulumi.Profile Azure Native. Red Hat Open Shift. Inputs. Service Principal Profile  - The cluster service principal profile.
 - Dictionary<string, string>
 - Resource tags.
 - Worker
Profiles List<Pulumi.Azure Native. Red Hat Open Shift. Inputs. Worker Profile>  - The cluster worker profiles.
 
- Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - Apiserver
Profile APIServerProfile Args  - The cluster API server profile.
 - Cluster
Profile ClusterProfile Args  - The cluster profile.
 - Console
Profile ConsoleProfile Args  - The console profile.
 - Ingress
Profiles []IngressProfile Args  - The cluster ingress profiles.
 - Location string
 - The geo-location where the resource lives
 - Master
Profile MasterProfile Args  - The cluster master profile.
 - Network
Profile NetworkProfile Args  - The cluster network profile.
 - Provisioning
State string - The cluster provisioning state (immutable).
 - Resource
Name string - The name of the OpenShift cluster resource.
 - Service
Principal ServiceProfile Principal Profile Args  - The cluster service principal profile.
 - map[string]string
 - Resource tags.
 - Worker
Profiles []WorkerProfile Args  - The cluster worker profiles.
 
- resource
Group StringName  - The name of the resource group. The name is case insensitive.
 - apiserver
Profile APIServerProfile  - The cluster API server profile.
 - cluster
Profile ClusterProfile  - The cluster profile.
 - console
Profile ConsoleProfile  - The console profile.
 - ingress
Profiles List<IngressProfile>  - The cluster ingress profiles.
 - location String
 - The geo-location where the resource lives
 - master
Profile MasterProfile  - The cluster master profile.
 - network
Profile NetworkProfile  - The cluster network profile.
 - provisioning
State String - The cluster provisioning state (immutable).
 - resource
Name String - The name of the OpenShift cluster resource.
 - service
Principal ServiceProfile Principal Profile  - The cluster service principal profile.
 - Map<String,String>
 - Resource tags.
 - worker
Profiles List<WorkerProfile>  - The cluster worker profiles.
 
- resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - apiserver
Profile APIServerProfile  - The cluster API server profile.
 - cluster
Profile ClusterProfile  - The cluster profile.
 - console
Profile ConsoleProfile  - The console profile.
 - ingress
Profiles IngressProfile[]  - The cluster ingress profiles.
 - location string
 - The geo-location where the resource lives
 - master
Profile MasterProfile  - The cluster master profile.
 - network
Profile NetworkProfile  - The cluster network profile.
 - provisioning
State string - The cluster provisioning state (immutable).
 - resource
Name string - The name of the OpenShift cluster resource.
 - service
Principal ServiceProfile Principal Profile  - The cluster service principal profile.
 - {[key: string]: string}
 - Resource tags.
 - worker
Profiles WorkerProfile[]  - The cluster worker profiles.
 
- resource_
group_ strname  - The name of the resource group. The name is case insensitive.
 - apiserver_
profile APIServerProfile Args  - The cluster API server profile.
 - cluster_
profile ClusterProfile Args  - The cluster profile.
 - console_
profile ConsoleProfile Args  - The console profile.
 - ingress_
profiles Sequence[IngressProfile Args]  - The cluster ingress profiles.
 - location str
 - The geo-location where the resource lives
 - master_
profile MasterProfile Args  - The cluster master profile.
 - network_
profile NetworkProfile Args  - The cluster network profile.
 - provisioning_
state str - The cluster provisioning state (immutable).
 - resource_
name str - The name of the OpenShift cluster resource.
 - service_
principal_ Serviceprofile Principal Profile Args  - The cluster service principal profile.
 - Mapping[str, str]
 - Resource tags.
 - worker_
profiles Sequence[WorkerProfile Args]  - The cluster worker profiles.
 
- resource
Group StringName  - The name of the resource group. The name is case insensitive.
 - apiserver
Profile Property Map - The cluster API server profile.
 - cluster
Profile Property Map - The cluster profile.
 - console
Profile Property Map - The console profile.
 - ingress
Profiles List<Property Map> - The cluster ingress profiles.
 - location String
 - The geo-location where the resource lives
 - master
Profile Property Map - The cluster master profile.
 - network
Profile Property Map - The cluster network profile.
 - provisioning
State String - The cluster provisioning state (immutable).
 - resource
Name String - The name of the OpenShift cluster resource.
 - service
Principal Property MapProfile  - The cluster service principal profile.
 - Map<String>
 - Resource tags.
 - worker
Profiles List<Property Map> - The cluster worker profiles.
 
Outputs
All input properties are implicitly available as output properties. Additionally, the OpenShiftCluster resource produces the following output properties:
Supporting Types
APIServerProfile, APIServerProfileArgs    
- Ip string
 - The IP of the cluster API server (immutable).
 - Url string
 - The URL to access the cluster API server (immutable).
 - Visibility string
 - API server visibility (immutable).
 
- Ip string
 - The IP of the cluster API server (immutable).
 - Url string
 - The URL to access the cluster API server (immutable).
 - Visibility string
 - API server visibility (immutable).
 
- ip String
 - The IP of the cluster API server (immutable).
 - url String
 - The URL to access the cluster API server (immutable).
 - visibility String
 - API server visibility (immutable).
 
- ip string
 - The IP of the cluster API server (immutable).
 - url string
 - The URL to access the cluster API server (immutable).
 - visibility string
 - API server visibility (immutable).
 
- ip str
 - The IP of the cluster API server (immutable).
 - url str
 - The URL to access the cluster API server (immutable).
 - visibility str
 - API server visibility (immutable).
 
- ip String
 - The IP of the cluster API server (immutable).
 - url String
 - The URL to access the cluster API server (immutable).
 - visibility String
 - API server visibility (immutable).
 
APIServerProfileResponse, APIServerProfileResponseArgs      
- Ip string
 - The IP of the cluster API server (immutable).
 - Url string
 - The URL to access the cluster API server (immutable).
 - Visibility string
 - API server visibility (immutable).
 
- Ip string
 - The IP of the cluster API server (immutable).
 - Url string
 - The URL to access the cluster API server (immutable).
 - Visibility string
 - API server visibility (immutable).
 
- ip String
 - The IP of the cluster API server (immutable).
 - url String
 - The URL to access the cluster API server (immutable).
 - visibility String
 - API server visibility (immutable).
 
- ip string
 - The IP of the cluster API server (immutable).
 - url string
 - The URL to access the cluster API server (immutable).
 - visibility string
 - API server visibility (immutable).
 
- ip str
 - The IP of the cluster API server (immutable).
 - url str
 - The URL to access the cluster API server (immutable).
 - visibility str
 - API server visibility (immutable).
 
- ip String
 - The IP of the cluster API server (immutable).
 - url String
 - The URL to access the cluster API server (immutable).
 - visibility String
 - API server visibility (immutable).
 
ClusterProfile, ClusterProfileArgs    
- Domain string
 - The domain for the cluster (immutable).
 - Pull
Secret string - The pull secret for the cluster (immutable).
 - Resource
Group stringId  - The ID of the cluster resource group (immutable).
 - Version string
 - The version of the cluster (immutable).
 
- Domain string
 - The domain for the cluster (immutable).
 - Pull
Secret string - The pull secret for the cluster (immutable).
 - Resource
Group stringId  - The ID of the cluster resource group (immutable).
 - Version string
 - The version of the cluster (immutable).
 
- domain String
 - The domain for the cluster (immutable).
 - pull
Secret String - The pull secret for the cluster (immutable).
 - resource
Group StringId  - The ID of the cluster resource group (immutable).
 - version String
 - The version of the cluster (immutable).
 
- domain string
 - The domain for the cluster (immutable).
 - pull
Secret string - The pull secret for the cluster (immutable).
 - resource
Group stringId  - The ID of the cluster resource group (immutable).
 - version string
 - The version of the cluster (immutable).
 
- domain str
 - The domain for the cluster (immutable).
 - pull_
secret str - The pull secret for the cluster (immutable).
 - resource_
group_ strid  - The ID of the cluster resource group (immutable).
 - version str
 - The version of the cluster (immutable).
 
- domain String
 - The domain for the cluster (immutable).
 - pull
Secret String - The pull secret for the cluster (immutable).
 - resource
Group StringId  - The ID of the cluster resource group (immutable).
 - version String
 - The version of the cluster (immutable).
 
ClusterProfileResponse, ClusterProfileResponseArgs      
- Domain string
 - The domain for the cluster (immutable).
 - Pull
Secret string - The pull secret for the cluster (immutable).
 - Resource
Group stringId  - The ID of the cluster resource group (immutable).
 - Version string
 - The version of the cluster (immutable).
 
- Domain string
 - The domain for the cluster (immutable).
 - Pull
Secret string - The pull secret for the cluster (immutable).
 - Resource
Group stringId  - The ID of the cluster resource group (immutable).
 - Version string
 - The version of the cluster (immutable).
 
- domain String
 - The domain for the cluster (immutable).
 - pull
Secret String - The pull secret for the cluster (immutable).
 - resource
Group StringId  - The ID of the cluster resource group (immutable).
 - version String
 - The version of the cluster (immutable).
 
- domain string
 - The domain for the cluster (immutable).
 - pull
Secret string - The pull secret for the cluster (immutable).
 - resource
Group stringId  - The ID of the cluster resource group (immutable).
 - version string
 - The version of the cluster (immutable).
 
- domain str
 - The domain for the cluster (immutable).
 - pull_
secret str - The pull secret for the cluster (immutable).
 - resource_
group_ strid  - The ID of the cluster resource group (immutable).
 - version str
 - The version of the cluster (immutable).
 
- domain String
 - The domain for the cluster (immutable).
 - pull
Secret String - The pull secret for the cluster (immutable).
 - resource
Group StringId  - The ID of the cluster resource group (immutable).
 - version String
 - The version of the cluster (immutable).
 
ConsoleProfile, ConsoleProfileArgs    
- Url string
 - The URL to access the cluster console (immutable).
 
- Url string
 - The URL to access the cluster console (immutable).
 
- url String
 - The URL to access the cluster console (immutable).
 
- url string
 - The URL to access the cluster console (immutable).
 
- url str
 - The URL to access the cluster console (immutable).
 
- url String
 - The URL to access the cluster console (immutable).
 
ConsoleProfileResponse, ConsoleProfileResponseArgs      
- Url string
 - The URL to access the cluster console (immutable).
 
- Url string
 - The URL to access the cluster console (immutable).
 
- url String
 - The URL to access the cluster console (immutable).
 
- url string
 - The URL to access the cluster console (immutable).
 
- url str
 - The URL to access the cluster console (immutable).
 
- url String
 - The URL to access the cluster console (immutable).
 
IngressProfile, IngressProfileArgs    
- Ip string
 - The IP of the ingress (immutable).
 - Name string
 - The ingress profile name. Must be "default" (immutable).
 - Visibility string
 - Ingress visibility (immutable).
 
- Ip string
 - The IP of the ingress (immutable).
 - Name string
 - The ingress profile name. Must be "default" (immutable).
 - Visibility string
 - Ingress visibility (immutable).
 
- ip String
 - The IP of the ingress (immutable).
 - name String
 - The ingress profile name. Must be "default" (immutable).
 - visibility String
 - Ingress visibility (immutable).
 
- ip string
 - The IP of the ingress (immutable).
 - name string
 - The ingress profile name. Must be "default" (immutable).
 - visibility string
 - Ingress visibility (immutable).
 
- ip str
 - The IP of the ingress (immutable).
 - name str
 - The ingress profile name. Must be "default" (immutable).
 - visibility str
 - Ingress visibility (immutable).
 
- ip String
 - The IP of the ingress (immutable).
 - name String
 - The ingress profile name. Must be "default" (immutable).
 - visibility String
 - Ingress visibility (immutable).
 
IngressProfileResponse, IngressProfileResponseArgs      
- Ip string
 - The IP of the ingress (immutable).
 - Name string
 - The ingress profile name. Must be "default" (immutable).
 - Visibility string
 - Ingress visibility (immutable).
 
- Ip string
 - The IP of the ingress (immutable).
 - Name string
 - The ingress profile name. Must be "default" (immutable).
 - Visibility string
 - Ingress visibility (immutable).
 
- ip String
 - The IP of the ingress (immutable).
 - name String
 - The ingress profile name. Must be "default" (immutable).
 - visibility String
 - Ingress visibility (immutable).
 
- ip string
 - The IP of the ingress (immutable).
 - name string
 - The ingress profile name. Must be "default" (immutable).
 - visibility string
 - Ingress visibility (immutable).
 
- ip str
 - The IP of the ingress (immutable).
 - name str
 - The ingress profile name. Must be "default" (immutable).
 - visibility str
 - Ingress visibility (immutable).
 
- ip String
 - The IP of the ingress (immutable).
 - name String
 - The ingress profile name. Must be "default" (immutable).
 - visibility String
 - Ingress visibility (immutable).
 
MasterProfile, MasterProfileArgs    
MasterProfileResponse, MasterProfileResponseArgs      
NetworkProfile, NetworkProfileArgs    
- Pod
Cidr string - The CIDR used for OpenShift/Kubernetes Pods (immutable).
 - Service
Cidr string - The CIDR used for OpenShift/Kubernetes Services (immutable).
 
- Pod
Cidr string - The CIDR used for OpenShift/Kubernetes Pods (immutable).
 - Service
Cidr string - The CIDR used for OpenShift/Kubernetes Services (immutable).
 
- pod
Cidr String - The CIDR used for OpenShift/Kubernetes Pods (immutable).
 - service
Cidr String - The CIDR used for OpenShift/Kubernetes Services (immutable).
 
- pod
Cidr string - The CIDR used for OpenShift/Kubernetes Pods (immutable).
 - service
Cidr string - The CIDR used for OpenShift/Kubernetes Services (immutable).
 
- pod_
cidr str - The CIDR used for OpenShift/Kubernetes Pods (immutable).
 - service_
cidr str - The CIDR used for OpenShift/Kubernetes Services (immutable).
 
- pod
Cidr String - The CIDR used for OpenShift/Kubernetes Pods (immutable).
 - service
Cidr String - The CIDR used for OpenShift/Kubernetes Services (immutable).
 
NetworkProfileResponse, NetworkProfileResponseArgs      
- Pod
Cidr string - The CIDR used for OpenShift/Kubernetes Pods (immutable).
 - Service
Cidr string - The CIDR used for OpenShift/Kubernetes Services (immutable).
 
- Pod
Cidr string - The CIDR used for OpenShift/Kubernetes Pods (immutable).
 - Service
Cidr string - The CIDR used for OpenShift/Kubernetes Services (immutable).
 
- pod
Cidr String - The CIDR used for OpenShift/Kubernetes Pods (immutable).
 - service
Cidr String - The CIDR used for OpenShift/Kubernetes Services (immutable).
 
- pod
Cidr string - The CIDR used for OpenShift/Kubernetes Pods (immutable).
 - service
Cidr string - The CIDR used for OpenShift/Kubernetes Services (immutable).
 
- pod_
cidr str - The CIDR used for OpenShift/Kubernetes Pods (immutable).
 - service_
cidr str - The CIDR used for OpenShift/Kubernetes Services (immutable).
 
- pod
Cidr String - The CIDR used for OpenShift/Kubernetes Pods (immutable).
 - service
Cidr String - The CIDR used for OpenShift/Kubernetes Services (immutable).
 
ServicePrincipalProfile, ServicePrincipalProfileArgs      
- Client
Id string - The client ID used for the cluster (immutable).
 - Client
Secret string - The client secret used for the cluster (immutable).
 
- Client
Id string - The client ID used for the cluster (immutable).
 - Client
Secret string - The client secret used for the cluster (immutable).
 
- client
Id String - The client ID used for the cluster (immutable).
 - client
Secret String - The client secret used for the cluster (immutable).
 
- client
Id string - The client ID used for the cluster (immutable).
 - client
Secret string - The client secret used for the cluster (immutable).
 
- client_
id str - The client ID used for the cluster (immutable).
 - client_
secret str - The client secret used for the cluster (immutable).
 
- client
Id String - The client ID used for the cluster (immutable).
 - client
Secret String - The client secret used for the cluster (immutable).
 
ServicePrincipalProfileResponse, ServicePrincipalProfileResponseArgs        
- Client
Id string - The client ID used for the cluster (immutable).
 - Client
Secret string - The client secret used for the cluster (immutable).
 
- Client
Id string - The client ID used for the cluster (immutable).
 - Client
Secret string - The client secret used for the cluster (immutable).
 
- client
Id String - The client ID used for the cluster (immutable).
 - client
Secret String - The client secret used for the cluster (immutable).
 
- client
Id string - The client ID used for the cluster (immutable).
 - client
Secret string - The client secret used for the cluster (immutable).
 
- client_
id str - The client ID used for the cluster (immutable).
 - client_
secret str - The client secret used for the cluster (immutable).
 
- client
Id String - The client ID used for the cluster (immutable).
 - client
Secret String - The client secret used for the cluster (immutable).
 
WorkerProfile, WorkerProfileArgs    
- Count int
 - The number of worker VMs. Must be between 3 and 20 (immutable).
 - Disk
Size intGB  - The disk size of the worker VMs. Must be 128 or greater (immutable).
 - Name string
 - The worker profile name. Must be "worker" (immutable).
 - Subnet
Id string - The Azure resource ID of the worker subnet (immutable).
 - Vm
Size string - The size of the worker VMs (immutable).
 
- Count int
 - The number of worker VMs. Must be between 3 and 20 (immutable).
 - Disk
Size intGB  - The disk size of the worker VMs. Must be 128 or greater (immutable).
 - Name string
 - The worker profile name. Must be "worker" (immutable).
 - Subnet
Id string - The Azure resource ID of the worker subnet (immutable).
 - Vm
Size string - The size of the worker VMs (immutable).
 
- count Integer
 - The number of worker VMs. Must be between 3 and 20 (immutable).
 - disk
Size IntegerGB  - The disk size of the worker VMs. Must be 128 or greater (immutable).
 - name String
 - The worker profile name. Must be "worker" (immutable).
 - subnet
Id String - The Azure resource ID of the worker subnet (immutable).
 - vm
Size String - The size of the worker VMs (immutable).
 
- count number
 - The number of worker VMs. Must be between 3 and 20 (immutable).
 - disk
Size numberGB  - The disk size of the worker VMs. Must be 128 or greater (immutable).
 - name string
 - The worker profile name. Must be "worker" (immutable).
 - subnet
Id string - The Azure resource ID of the worker subnet (immutable).
 - vm
Size string - The size of the worker VMs (immutable).
 
- count int
 - The number of worker VMs. Must be between 3 and 20 (immutable).
 - disk_
size_ intgb  - The disk size of the worker VMs. Must be 128 or greater (immutable).
 - name str
 - The worker profile name. Must be "worker" (immutable).
 - subnet_
id str - The Azure resource ID of the worker subnet (immutable).
 - vm_
size str - The size of the worker VMs (immutable).
 
- count Number
 - The number of worker VMs. Must be between 3 and 20 (immutable).
 - disk
Size NumberGB  - The disk size of the worker VMs. Must be 128 or greater (immutable).
 - name String
 - The worker profile name. Must be "worker" (immutable).
 - subnet
Id String - The Azure resource ID of the worker subnet (immutable).
 - vm
Size String - The size of the worker VMs (immutable).
 
WorkerProfileResponse, WorkerProfileResponseArgs      
- Count int
 - The number of worker VMs. Must be between 3 and 20 (immutable).
 - Disk
Size intGB  - The disk size of the worker VMs. Must be 128 or greater (immutable).
 - Name string
 - The worker profile name. Must be "worker" (immutable).
 - Subnet
Id string - The Azure resource ID of the worker subnet (immutable).
 - Vm
Size string - The size of the worker VMs (immutable).
 
- Count int
 - The number of worker VMs. Must be between 3 and 20 (immutable).
 - Disk
Size intGB  - The disk size of the worker VMs. Must be 128 or greater (immutable).
 - Name string
 - The worker profile name. Must be "worker" (immutable).
 - Subnet
Id string - The Azure resource ID of the worker subnet (immutable).
 - Vm
Size string - The size of the worker VMs (immutable).
 
- count Integer
 - The number of worker VMs. Must be between 3 and 20 (immutable).
 - disk
Size IntegerGB  - The disk size of the worker VMs. Must be 128 or greater (immutable).
 - name String
 - The worker profile name. Must be "worker" (immutable).
 - subnet
Id String - The Azure resource ID of the worker subnet (immutable).
 - vm
Size String - The size of the worker VMs (immutable).
 
- count number
 - The number of worker VMs. Must be between 3 and 20 (immutable).
 - disk
Size numberGB  - The disk size of the worker VMs. Must be 128 or greater (immutable).
 - name string
 - The worker profile name. Must be "worker" (immutable).
 - subnet
Id string - The Azure resource ID of the worker subnet (immutable).
 - vm
Size string - The size of the worker VMs (immutable).
 
- count int
 - The number of worker VMs. Must be between 3 and 20 (immutable).
 - disk_
size_ intgb  - The disk size of the worker VMs. Must be 128 or greater (immutable).
 - name str
 - The worker profile name. Must be "worker" (immutable).
 - subnet_
id str - The Azure resource ID of the worker subnet (immutable).
 - vm_
size str - The size of the worker VMs (immutable).
 
- count Number
 - The number of worker VMs. Must be between 3 and 20 (immutable).
 - disk
Size NumberGB  - The disk size of the worker VMs. Must be 128 or greater (immutable).
 - name String
 - The worker profile name. Must be "worker" (immutable).
 - subnet
Id String - The Azure resource ID of the worker subnet (immutable).
 - vm
Size String - The size of the worker VMs (immutable).
 
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:redhatopenshift:OpenShiftCluster resourceName /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.RedHatOpenShift/OpenShiftClusters/resourceName 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
 - azure-native-v1 pulumi/pulumi-azure-native
 - License
 - Apache-2.0