1. Packages
  2. Azure Native v1
  3. API Docs
  4. redhatopenshift
  5. OpenShiftCluster
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.redhatopenshift.OpenShiftCluster

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The OpenShiftCluster resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ApiserverProfile Pulumi.AzureNative.RedHatOpenShift.Inputs.APIServerProfile
    The cluster API server profile.
    ClusterProfile Pulumi.AzureNative.RedHatOpenShift.Inputs.ClusterProfile
    The cluster profile.
    ConsoleProfile Pulumi.AzureNative.RedHatOpenShift.Inputs.ConsoleProfile
    The console profile.
    IngressProfiles List<Pulumi.AzureNative.RedHatOpenShift.Inputs.IngressProfile>
    The cluster ingress profiles.
    Location string
    The geo-location where the resource lives
    MasterProfile Pulumi.AzureNative.RedHatOpenShift.Inputs.MasterProfile
    The cluster master profile.
    NetworkProfile Pulumi.AzureNative.RedHatOpenShift.Inputs.NetworkProfile
    The cluster network profile.
    ProvisioningState string
    The cluster provisioning state (immutable).
    ResourceName string
    The name of the OpenShift cluster resource.
    ServicePrincipalProfile Pulumi.AzureNative.RedHatOpenShift.Inputs.ServicePrincipalProfile
    The cluster service principal profile.
    Tags Dictionary<string, string>
    Resource tags.
    WorkerProfiles List<Pulumi.AzureNative.RedHatOpenShift.Inputs.WorkerProfile>
    The cluster worker profiles.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ApiserverProfile APIServerProfileArgs
    The cluster API server profile.
    ClusterProfile ClusterProfileArgs
    The cluster profile.
    ConsoleProfile ConsoleProfileArgs
    The console profile.
    IngressProfiles []IngressProfileArgs
    The cluster ingress profiles.
    Location string
    The geo-location where the resource lives
    MasterProfile MasterProfileArgs
    The cluster master profile.
    NetworkProfile NetworkProfileArgs
    The cluster network profile.
    ProvisioningState string
    The cluster provisioning state (immutable).
    ResourceName string
    The name of the OpenShift cluster resource.
    ServicePrincipalProfile ServicePrincipalProfileArgs
    The cluster service principal profile.
    Tags map[string]string
    Resource tags.
    WorkerProfiles []WorkerProfileArgs
    The cluster worker profiles.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    apiserverProfile APIServerProfile
    The cluster API server profile.
    clusterProfile ClusterProfile
    The cluster profile.
    consoleProfile ConsoleProfile
    The console profile.
    ingressProfiles List<IngressProfile>
    The cluster ingress profiles.
    location String
    The geo-location where the resource lives
    masterProfile MasterProfile
    The cluster master profile.
    networkProfile NetworkProfile
    The cluster network profile.
    provisioningState String
    The cluster provisioning state (immutable).
    resourceName String
    The name of the OpenShift cluster resource.
    servicePrincipalProfile ServicePrincipalProfile
    The cluster service principal profile.
    tags Map<String,String>
    Resource tags.
    workerProfiles List<WorkerProfile>
    The cluster worker profiles.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    apiserverProfile APIServerProfile
    The cluster API server profile.
    clusterProfile ClusterProfile
    The cluster profile.
    consoleProfile ConsoleProfile
    The console profile.
    ingressProfiles IngressProfile[]
    The cluster ingress profiles.
    location string
    The geo-location where the resource lives
    masterProfile MasterProfile
    The cluster master profile.
    networkProfile NetworkProfile
    The cluster network profile.
    provisioningState string
    The cluster provisioning state (immutable).
    resourceName string
    The name of the OpenShift cluster resource.
    servicePrincipalProfile ServicePrincipalProfile
    The cluster service principal profile.
    tags {[key: string]: string}
    Resource tags.
    workerProfiles WorkerProfile[]
    The cluster worker profiles.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    apiserver_profile APIServerProfileArgs
    The cluster API server profile.
    cluster_profile ClusterProfileArgs
    The cluster profile.
    console_profile ConsoleProfileArgs
    The console profile.
    ingress_profiles Sequence[IngressProfileArgs]
    The cluster ingress profiles.
    location str
    The geo-location where the resource lives
    master_profile MasterProfileArgs
    The cluster master profile.
    network_profile NetworkProfileArgs
    The cluster network profile.
    provisioning_state str
    The cluster provisioning state (immutable).
    resource_name str
    The name of the OpenShift cluster resource.
    service_principal_profile ServicePrincipalProfileArgs
    The cluster service principal profile.
    tags Mapping[str, str]
    Resource tags.
    worker_profiles Sequence[WorkerProfileArgs]
    The cluster worker profiles.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    apiserverProfile Property Map
    The cluster API server profile.
    clusterProfile Property Map
    The cluster profile.
    consoleProfile Property Map
    The console profile.
    ingressProfiles List<Property Map>
    The cluster ingress profiles.
    location String
    The geo-location where the resource lives
    masterProfile Property Map
    The cluster master profile.
    networkProfile Property Map
    The cluster network profile.
    provisioningState String
    The cluster provisioning state (immutable).
    resourceName String
    The name of the OpenShift cluster resource.
    servicePrincipalProfile Property Map
    The cluster service principal profile.
    tags Map<String>
    Resource tags.
    workerProfiles 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:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    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).
    PullSecret string
    The pull secret for the cluster (immutable).
    ResourceGroupId string
    The ID of the cluster resource group (immutable).
    Version string
    The version of the cluster (immutable).
    Domain string
    The domain for the cluster (immutable).
    PullSecret string
    The pull secret for the cluster (immutable).
    ResourceGroupId string
    The ID of the cluster resource group (immutable).
    Version string
    The version of the cluster (immutable).
    domain String
    The domain for the cluster (immutable).
    pullSecret String
    The pull secret for the cluster (immutable).
    resourceGroupId String
    The ID of the cluster resource group (immutable).
    version String
    The version of the cluster (immutable).
    domain string
    The domain for the cluster (immutable).
    pullSecret string
    The pull secret for the cluster (immutable).
    resourceGroupId string
    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_id str
    The ID of the cluster resource group (immutable).
    version str
    The version of the cluster (immutable).
    domain String
    The domain for the cluster (immutable).
    pullSecret String
    The pull secret for the cluster (immutable).
    resourceGroupId String
    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).
    PullSecret string
    The pull secret for the cluster (immutable).
    ResourceGroupId string
    The ID of the cluster resource group (immutable).
    Version string
    The version of the cluster (immutable).
    Domain string
    The domain for the cluster (immutable).
    PullSecret string
    The pull secret for the cluster (immutable).
    ResourceGroupId string
    The ID of the cluster resource group (immutable).
    Version string
    The version of the cluster (immutable).
    domain String
    The domain for the cluster (immutable).
    pullSecret String
    The pull secret for the cluster (immutable).
    resourceGroupId String
    The ID of the cluster resource group (immutable).
    version String
    The version of the cluster (immutable).
    domain string
    The domain for the cluster (immutable).
    pullSecret string
    The pull secret for the cluster (immutable).
    resourceGroupId string
    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_id str
    The ID of the cluster resource group (immutable).
    version str
    The version of the cluster (immutable).
    domain String
    The domain for the cluster (immutable).
    pullSecret String
    The pull secret for the cluster (immutable).
    resourceGroupId String
    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

    SubnetId string
    The Azure resource ID of the master subnet (immutable).
    VmSize string
    The size of the master VMs (immutable).
    SubnetId string
    The Azure resource ID of the master subnet (immutable).
    VmSize string
    The size of the master VMs (immutable).
    subnetId String
    The Azure resource ID of the master subnet (immutable).
    vmSize String
    The size of the master VMs (immutable).
    subnetId string
    The Azure resource ID of the master subnet (immutable).
    vmSize string
    The size of the master VMs (immutable).
    subnet_id str
    The Azure resource ID of the master subnet (immutable).
    vm_size str
    The size of the master VMs (immutable).
    subnetId String
    The Azure resource ID of the master subnet (immutable).
    vmSize String
    The size of the master VMs (immutable).

    MasterProfileResponse, MasterProfileResponseArgs

    SubnetId string
    The Azure resource ID of the master subnet (immutable).
    VmSize string
    The size of the master VMs (immutable).
    SubnetId string
    The Azure resource ID of the master subnet (immutable).
    VmSize string
    The size of the master VMs (immutable).
    subnetId String
    The Azure resource ID of the master subnet (immutable).
    vmSize String
    The size of the master VMs (immutable).
    subnetId string
    The Azure resource ID of the master subnet (immutable).
    vmSize string
    The size of the master VMs (immutable).
    subnet_id str
    The Azure resource ID of the master subnet (immutable).
    vm_size str
    The size of the master VMs (immutable).
    subnetId String
    The Azure resource ID of the master subnet (immutable).
    vmSize String
    The size of the master VMs (immutable).

    NetworkProfile, NetworkProfileArgs

    PodCidr string
    The CIDR used for OpenShift/Kubernetes Pods (immutable).
    ServiceCidr string
    The CIDR used for OpenShift/Kubernetes Services (immutable).
    PodCidr string
    The CIDR used for OpenShift/Kubernetes Pods (immutable).
    ServiceCidr string
    The CIDR used for OpenShift/Kubernetes Services (immutable).
    podCidr String
    The CIDR used for OpenShift/Kubernetes Pods (immutable).
    serviceCidr String
    The CIDR used for OpenShift/Kubernetes Services (immutable).
    podCidr string
    The CIDR used for OpenShift/Kubernetes Pods (immutable).
    serviceCidr 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).
    podCidr String
    The CIDR used for OpenShift/Kubernetes Pods (immutable).
    serviceCidr String
    The CIDR used for OpenShift/Kubernetes Services (immutable).

    NetworkProfileResponse, NetworkProfileResponseArgs

    PodCidr string
    The CIDR used for OpenShift/Kubernetes Pods (immutable).
    ServiceCidr string
    The CIDR used for OpenShift/Kubernetes Services (immutable).
    PodCidr string
    The CIDR used for OpenShift/Kubernetes Pods (immutable).
    ServiceCidr string
    The CIDR used for OpenShift/Kubernetes Services (immutable).
    podCidr String
    The CIDR used for OpenShift/Kubernetes Pods (immutable).
    serviceCidr String
    The CIDR used for OpenShift/Kubernetes Services (immutable).
    podCidr string
    The CIDR used for OpenShift/Kubernetes Pods (immutable).
    serviceCidr 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).
    podCidr String
    The CIDR used for OpenShift/Kubernetes Pods (immutable).
    serviceCidr String
    The CIDR used for OpenShift/Kubernetes Services (immutable).

    ServicePrincipalProfile, ServicePrincipalProfileArgs

    ClientId string
    The client ID used for the cluster (immutable).
    ClientSecret string
    The client secret used for the cluster (immutable).
    ClientId string
    The client ID used for the cluster (immutable).
    ClientSecret string
    The client secret used for the cluster (immutable).
    clientId String
    The client ID used for the cluster (immutable).
    clientSecret String
    The client secret used for the cluster (immutable).
    clientId string
    The client ID used for the cluster (immutable).
    clientSecret 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).
    clientId String
    The client ID used for the cluster (immutable).
    clientSecret String
    The client secret used for the cluster (immutable).

    ServicePrincipalProfileResponse, ServicePrincipalProfileResponseArgs

    ClientId string
    The client ID used for the cluster (immutable).
    ClientSecret string
    The client secret used for the cluster (immutable).
    ClientId string
    The client ID used for the cluster (immutable).
    ClientSecret string
    The client secret used for the cluster (immutable).
    clientId String
    The client ID used for the cluster (immutable).
    clientSecret String
    The client secret used for the cluster (immutable).
    clientId string
    The client ID used for the cluster (immutable).
    clientSecret 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).
    clientId String
    The client ID used for the cluster (immutable).
    clientSecret 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).
    DiskSizeGB int
    The disk size of the worker VMs. Must be 128 or greater (immutable).
    Name string
    The worker profile name. Must be "worker" (immutable).
    SubnetId string
    The Azure resource ID of the worker subnet (immutable).
    VmSize string
    The size of the worker VMs (immutable).
    Count int
    The number of worker VMs. Must be between 3 and 20 (immutable).
    DiskSizeGB int
    The disk size of the worker VMs. Must be 128 or greater (immutable).
    Name string
    The worker profile name. Must be "worker" (immutable).
    SubnetId string
    The Azure resource ID of the worker subnet (immutable).
    VmSize string
    The size of the worker VMs (immutable).
    count Integer
    The number of worker VMs. Must be between 3 and 20 (immutable).
    diskSizeGB Integer
    The disk size of the worker VMs. Must be 128 or greater (immutable).
    name String
    The worker profile name. Must be "worker" (immutable).
    subnetId String
    The Azure resource ID of the worker subnet (immutable).
    vmSize String
    The size of the worker VMs (immutable).
    count number
    The number of worker VMs. Must be between 3 and 20 (immutable).
    diskSizeGB number
    The disk size of the worker VMs. Must be 128 or greater (immutable).
    name string
    The worker profile name. Must be "worker" (immutable).
    subnetId string
    The Azure resource ID of the worker subnet (immutable).
    vmSize string
    The size of the worker VMs (immutable).
    count int
    The number of worker VMs. Must be between 3 and 20 (immutable).
    disk_size_gb int
    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).
    diskSizeGB Number
    The disk size of the worker VMs. Must be 128 or greater (immutable).
    name String
    The worker profile name. Must be "worker" (immutable).
    subnetId String
    The Azure resource ID of the worker subnet (immutable).
    vmSize String
    The size of the worker VMs (immutable).

    WorkerProfileResponse, WorkerProfileResponseArgs

    Count int
    The number of worker VMs. Must be between 3 and 20 (immutable).
    DiskSizeGB int
    The disk size of the worker VMs. Must be 128 or greater (immutable).
    Name string
    The worker profile name. Must be "worker" (immutable).
    SubnetId string
    The Azure resource ID of the worker subnet (immutable).
    VmSize string
    The size of the worker VMs (immutable).
    Count int
    The number of worker VMs. Must be between 3 and 20 (immutable).
    DiskSizeGB int
    The disk size of the worker VMs. Must be 128 or greater (immutable).
    Name string
    The worker profile name. Must be "worker" (immutable).
    SubnetId string
    The Azure resource ID of the worker subnet (immutable).
    VmSize string
    The size of the worker VMs (immutable).
    count Integer
    The number of worker VMs. Must be between 3 and 20 (immutable).
    diskSizeGB Integer
    The disk size of the worker VMs. Must be 128 or greater (immutable).
    name String
    The worker profile name. Must be "worker" (immutable).
    subnetId String
    The Azure resource ID of the worker subnet (immutable).
    vmSize String
    The size of the worker VMs (immutable).
    count number
    The number of worker VMs. Must be between 3 and 20 (immutable).
    diskSizeGB number
    The disk size of the worker VMs. Must be 128 or greater (immutable).
    name string
    The worker profile name. Must be "worker" (immutable).
    subnetId string
    The Azure resource ID of the worker subnet (immutable).
    vmSize string
    The size of the worker VMs (immutable).
    count int
    The number of worker VMs. Must be between 3 and 20 (immutable).
    disk_size_gb int
    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).
    diskSizeGB Number
    The disk size of the worker VMs. Must be 128 or greater (immutable).
    name String
    The worker profile name. Must be "worker" (immutable).
    subnetId String
    The Azure resource ID of the worker subnet (immutable).
    vmSize 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
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi