redhatopenshift

package
v5.89.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// An `apiServerProfile` block as defined below. Changing this forces a new resource to be created.
	ApiServerProfile ClusterApiServerProfileOutput `pulumi:"apiServerProfile"`
	// A `clusterProfile` block as defined below. Changing this forces a new resource to be created.
	ClusterProfile ClusterClusterProfileOutput `pulumi:"clusterProfile"`
	// The Red Hat OpenShift cluster console URL.
	ConsoleUrl pulumi.StringOutput `pulumi:"consoleUrl"`
	// An `ingressProfile` block as defined below. Changing this forces a new resource to be created.
	IngressProfile ClusterIngressProfileOutput `pulumi:"ingressProfile"`
	// The location where the Azure Red Hat OpenShift Cluster should be created. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// A `mainProfile` block as defined below. Changing this forces a new resource to be created.
	MainProfile ClusterMainProfileOutput `pulumi:"mainProfile"`
	// The name of the Azure Red Hat OpenShift Cluster to create. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A `networkProfile` block as defined below. Changing this forces a new resource to be created.
	NetworkProfile ClusterNetworkProfileOutput `pulumi:"networkProfile"`
	// Specifies the Resource Group where the Azure Red Hat OpenShift Cluster should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A `servicePrincipal` block as defined below.
	ServicePrincipal ClusterServicePrincipalOutput `pulumi:"servicePrincipal"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A `workerProfile` block as defined below. Changing this forces a new resource to be created.
	WorkerProfile ClusterWorkerProfileOutput `pulumi:"workerProfile"`
}

Manages a fully managed Azure Red Hat OpenShift Cluster (also known as ARO).

> **Note:** All arguments including the client secret will be stored in the raw state as plain-text. [Read more about sensitive data in state](https://www.terraform.io/docs/state/sensitive-data.html).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/redhatopenshift"
"github.com/pulumi/pulumi-azuread/sdk/v5/go/azuread"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = azuread.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleApplication, err := azuread.NewApplication(ctx, "example", &azuread.ApplicationArgs{
			DisplayName: pulumi.String("example-aro"),
		})
		if err != nil {
			return err
		}
		exampleServicePrincipal, err := azuread.NewServicePrincipal(ctx, "example", &azuread.ServicePrincipalArgs{
			ClientId: exampleApplication.ClientId,
		})
		if err != nil {
			return err
		}
		exampleServicePrincipalPassword, err := azuread.NewServicePrincipalPassword(ctx, "example", &azuread.ServicePrincipalPasswordArgs{
			ServicePrincipalId: exampleServicePrincipal.ObjectId,
		})
		if err != nil {
			return err
		}
		redhatopenshift, err := azuread.LookupServicePrincipal(ctx, &azuread.LookupServicePrincipalArgs{
			ClientId: pulumi.StringRef("f1dd0a37-89c6-4e07-bcd1-ffd3d43d8875"),
		}, nil)
		if err != nil {
			return err
		}
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West US"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name: pulumi.String("example-vnet"),
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/22"),
			},
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		roleNetwork1, err := authorization.NewAssignment(ctx, "role_network1", &authorization.AssignmentArgs{
			Scope:              exampleVirtualNetwork.ID(),
			RoleDefinitionName: pulumi.String("Network Contributor"),
			PrincipalId:        exampleServicePrincipal.ObjectId,
		})
		if err != nil {
			return err
		}
		roleNetwork2, err := authorization.NewAssignment(ctx, "role_network2", &authorization.AssignmentArgs{
			Scope:              exampleVirtualNetwork.ID(),
			RoleDefinitionName: pulumi.String("Network Contributor"),
			PrincipalId:        pulumi.String(redhatopenshift.ObjectId),
		})
		if err != nil {
			return err
		}
		mainSubnet, err := network.NewSubnet(ctx, "main_subnet", &network.SubnetArgs{
			Name:               pulumi.String("main-subnet"),
			ResourceGroupName:  exampleResourceGroup.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.0.0/23"),
			},
			ServiceEndpoints: pulumi.StringArray{
				pulumi.String("Microsoft.Storage"),
				pulumi.String("Microsoft.ContainerRegistry"),
			},
		})
		if err != nil {
			return err
		}
		workerSubnet, err := network.NewSubnet(ctx, "worker_subnet", &network.SubnetArgs{
			Name:               pulumi.String("worker-subnet"),
			ResourceGroupName:  exampleResourceGroup.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.2.0/23"),
			},
			ServiceEndpoints: pulumi.StringArray{
				pulumi.String("Microsoft.Storage"),
				pulumi.String("Microsoft.ContainerRegistry"),
			},
		})
		if err != nil {
			return err
		}
		exampleCluster, err := redhatopenshift.NewCluster(ctx, "example", &redhatopenshift.ClusterArgs{
			Name:              pulumi.String("examplearo"),
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			ClusterProfile: &redhatopenshift.ClusterClusterProfileArgs{
				Domain:  pulumi.String("aro-example.com"),
				Version: pulumi.String("4.13.23"),
			},
			NetworkProfile: &redhatopenshift.ClusterNetworkProfileArgs{
				PodCidr:     pulumi.String("10.128.0.0/14"),
				ServiceCidr: pulumi.String("172.30.0.0/16"),
			},
			MainProfile: &redhatopenshift.ClusterMainProfileArgs{
				VmSize:   pulumi.String("Standard_D8s_v3"),
				SubnetId: mainSubnet.ID(),
			},
			ApiServerProfile: &redhatopenshift.ClusterApiServerProfileArgs{
				Visibility: pulumi.String("Public"),
			},
			IngressProfile: &redhatopenshift.ClusterIngressProfileArgs{
				Visibility: pulumi.String("Public"),
			},
			WorkerProfile: &redhatopenshift.ClusterWorkerProfileArgs{
				VmSize:     pulumi.String("Standard_D4s_v3"),
				DiskSizeGb: pulumi.Int(128),
				NodeCount:  pulumi.Int(3),
				SubnetId:   workerSubnet.ID(),
			},
			ServicePrincipal: &redhatopenshift.ClusterServicePrincipalArgs{
				ClientId:     exampleApplication.ClientId,
				ClientSecret: exampleServicePrincipalPassword.Value,
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			roleNetwork1,
			roleNetwork2,
		}))
		if err != nil {
			return err
		}
		ctx.Export("consoleUrl", exampleCluster.ConsoleUrl)
		return nil
	})
}

```

## Import

Red Hat OpenShift Clusters can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:redhatopenshift/cluster:Cluster cluster1 /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.RedHatOpenShift/openShiftClusters/cluster1 ```

func GetCluster

func GetCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)

GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCluster

func NewCluster(ctx *pulumi.Context,
	name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)

NewCluster registers a new resource with the given unique name, arguments, and options.

func (*Cluster) ElementType

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext

func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

type ClusterApiServerProfile

type ClusterApiServerProfile struct {
	// The IP Address the Ingress Profile is associated with.
	IpAddress *string `pulumi:"ipAddress"`
	// The URL the API Server Profile is associated with.
	Url *string `pulumi:"url"`
	// Cluster API server visibility. Supported values are `Public` and `Private`. Changing this forces a new resource to be created.
	Visibility string `pulumi:"visibility"`
}

type ClusterApiServerProfileArgs

type ClusterApiServerProfileArgs struct {
	// The IP Address the Ingress Profile is associated with.
	IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
	// The URL the API Server Profile is associated with.
	Url pulumi.StringPtrInput `pulumi:"url"`
	// Cluster API server visibility. Supported values are `Public` and `Private`. Changing this forces a new resource to be created.
	Visibility pulumi.StringInput `pulumi:"visibility"`
}

func (ClusterApiServerProfileArgs) ElementType

func (ClusterApiServerProfileArgs) ToClusterApiServerProfileOutput

func (i ClusterApiServerProfileArgs) ToClusterApiServerProfileOutput() ClusterApiServerProfileOutput

func (ClusterApiServerProfileArgs) ToClusterApiServerProfileOutputWithContext

func (i ClusterApiServerProfileArgs) ToClusterApiServerProfileOutputWithContext(ctx context.Context) ClusterApiServerProfileOutput

func (ClusterApiServerProfileArgs) ToClusterApiServerProfilePtrOutput

func (i ClusterApiServerProfileArgs) ToClusterApiServerProfilePtrOutput() ClusterApiServerProfilePtrOutput

func (ClusterApiServerProfileArgs) ToClusterApiServerProfilePtrOutputWithContext

func (i ClusterApiServerProfileArgs) ToClusterApiServerProfilePtrOutputWithContext(ctx context.Context) ClusterApiServerProfilePtrOutput

type ClusterApiServerProfileInput

type ClusterApiServerProfileInput interface {
	pulumi.Input

	ToClusterApiServerProfileOutput() ClusterApiServerProfileOutput
	ToClusterApiServerProfileOutputWithContext(context.Context) ClusterApiServerProfileOutput
}

ClusterApiServerProfileInput is an input type that accepts ClusterApiServerProfileArgs and ClusterApiServerProfileOutput values. You can construct a concrete instance of `ClusterApiServerProfileInput` via:

ClusterApiServerProfileArgs{...}

type ClusterApiServerProfileOutput

type ClusterApiServerProfileOutput struct{ *pulumi.OutputState }

func (ClusterApiServerProfileOutput) ElementType

func (ClusterApiServerProfileOutput) IpAddress

The IP Address the Ingress Profile is associated with.

func (ClusterApiServerProfileOutput) ToClusterApiServerProfileOutput

func (o ClusterApiServerProfileOutput) ToClusterApiServerProfileOutput() ClusterApiServerProfileOutput

func (ClusterApiServerProfileOutput) ToClusterApiServerProfileOutputWithContext

func (o ClusterApiServerProfileOutput) ToClusterApiServerProfileOutputWithContext(ctx context.Context) ClusterApiServerProfileOutput

func (ClusterApiServerProfileOutput) ToClusterApiServerProfilePtrOutput

func (o ClusterApiServerProfileOutput) ToClusterApiServerProfilePtrOutput() ClusterApiServerProfilePtrOutput

func (ClusterApiServerProfileOutput) ToClusterApiServerProfilePtrOutputWithContext

func (o ClusterApiServerProfileOutput) ToClusterApiServerProfilePtrOutputWithContext(ctx context.Context) ClusterApiServerProfilePtrOutput

func (ClusterApiServerProfileOutput) Url

The URL the API Server Profile is associated with.

func (ClusterApiServerProfileOutput) Visibility

Cluster API server visibility. Supported values are `Public` and `Private`. Changing this forces a new resource to be created.

type ClusterApiServerProfilePtrInput

type ClusterApiServerProfilePtrInput interface {
	pulumi.Input

	ToClusterApiServerProfilePtrOutput() ClusterApiServerProfilePtrOutput
	ToClusterApiServerProfilePtrOutputWithContext(context.Context) ClusterApiServerProfilePtrOutput
}

ClusterApiServerProfilePtrInput is an input type that accepts ClusterApiServerProfileArgs, ClusterApiServerProfilePtr and ClusterApiServerProfilePtrOutput values. You can construct a concrete instance of `ClusterApiServerProfilePtrInput` via:

        ClusterApiServerProfileArgs{...}

or:

        nil

type ClusterApiServerProfilePtrOutput

type ClusterApiServerProfilePtrOutput struct{ *pulumi.OutputState }

func (ClusterApiServerProfilePtrOutput) Elem

func (ClusterApiServerProfilePtrOutput) ElementType

func (ClusterApiServerProfilePtrOutput) IpAddress

The IP Address the Ingress Profile is associated with.

func (ClusterApiServerProfilePtrOutput) ToClusterApiServerProfilePtrOutput

func (o ClusterApiServerProfilePtrOutput) ToClusterApiServerProfilePtrOutput() ClusterApiServerProfilePtrOutput

func (ClusterApiServerProfilePtrOutput) ToClusterApiServerProfilePtrOutputWithContext

func (o ClusterApiServerProfilePtrOutput) ToClusterApiServerProfilePtrOutputWithContext(ctx context.Context) ClusterApiServerProfilePtrOutput

func (ClusterApiServerProfilePtrOutput) Url

The URL the API Server Profile is associated with.

func (ClusterApiServerProfilePtrOutput) Visibility

Cluster API server visibility. Supported values are `Public` and `Private`. Changing this forces a new resource to be created.

type ClusterArgs

type ClusterArgs struct {
	// An `apiServerProfile` block as defined below. Changing this forces a new resource to be created.
	ApiServerProfile ClusterApiServerProfileInput
	// A `clusterProfile` block as defined below. Changing this forces a new resource to be created.
	ClusterProfile ClusterClusterProfileInput
	// An `ingressProfile` block as defined below. Changing this forces a new resource to be created.
	IngressProfile ClusterIngressProfileInput
	// The location where the Azure Red Hat OpenShift Cluster should be created. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// A `mainProfile` block as defined below. Changing this forces a new resource to be created.
	MainProfile ClusterMainProfileInput
	// The name of the Azure Red Hat OpenShift Cluster to create. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A `networkProfile` block as defined below. Changing this forces a new resource to be created.
	NetworkProfile ClusterNetworkProfileInput
	// Specifies the Resource Group where the Azure Red Hat OpenShift Cluster should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A `servicePrincipal` block as defined below.
	ServicePrincipal ClusterServicePrincipalInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// A `workerProfile` block as defined below. Changing this forces a new resource to be created.
	WorkerProfile ClusterWorkerProfileInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray

type ClusterArray []ClusterInput

func (ClusterArray) ElementType

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext

func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterArrayInput

type ClusterArrayInput interface {
	pulumi.Input

	ToClusterArrayOutput() ClusterArrayOutput
	ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput
}

ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:

ClusterArray{ ClusterArgs{...} }

type ClusterArrayOutput

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index

func (ClusterArrayOutput) ToClusterArrayOutput

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext

func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterClusterProfile

type ClusterClusterProfile struct {
	// The custom domain for the cluster. For more info, see [Prepare a custom domain for your cluster](https://docs.microsoft.com/azure/openshift/tutorial-create-cluster#prepare-a-custom-domain-for-your-cluster-optional). Changing this forces a new resource to be created.
	Domain string `pulumi:"domain"`
	// Whether Federal Information Processing Standard (FIPS) validated cryptographic modules are used. Defaults to `false`. Changing this forces a new resource to be created.
	FipsEnabled *bool `pulumi:"fipsEnabled"`
	// The name of a Resource Group which will be created to host VMs of Azure Red Hat OpenShift Cluster. The value cannot contain uppercase characters. Defaults to `aro-{domain}`. Changing this forces a new resource to be created.
	ManagedResourceGroupName *string `pulumi:"managedResourceGroupName"`
	// The Red Hat pull secret for the cluster. For more info, see [Get a Red Hat pull secret](https://learn.microsoft.com/azure/openshift/tutorial-create-cluster#get-a-red-hat-pull-secret-optional). Changing this forces a new resource to be created.
	PullSecret *string `pulumi:"pullSecret"`
	// The resource group that the cluster profile is attached to.
	ResourceGroupId *string `pulumi:"resourceGroupId"`
	// The version of the OpenShift cluster. Available versions can be found with the Azure CLI command `az aro get-versions --location <region>`. Changing this forces a new resource to be created.
	Version string `pulumi:"version"`
}

type ClusterClusterProfileArgs

type ClusterClusterProfileArgs struct {
	// The custom domain for the cluster. For more info, see [Prepare a custom domain for your cluster](https://docs.microsoft.com/azure/openshift/tutorial-create-cluster#prepare-a-custom-domain-for-your-cluster-optional). Changing this forces a new resource to be created.
	Domain pulumi.StringInput `pulumi:"domain"`
	// Whether Federal Information Processing Standard (FIPS) validated cryptographic modules are used. Defaults to `false`. Changing this forces a new resource to be created.
	FipsEnabled pulumi.BoolPtrInput `pulumi:"fipsEnabled"`
	// The name of a Resource Group which will be created to host VMs of Azure Red Hat OpenShift Cluster. The value cannot contain uppercase characters. Defaults to `aro-{domain}`. Changing this forces a new resource to be created.
	ManagedResourceGroupName pulumi.StringPtrInput `pulumi:"managedResourceGroupName"`
	// The Red Hat pull secret for the cluster. For more info, see [Get a Red Hat pull secret](https://learn.microsoft.com/azure/openshift/tutorial-create-cluster#get-a-red-hat-pull-secret-optional). Changing this forces a new resource to be created.
	PullSecret pulumi.StringPtrInput `pulumi:"pullSecret"`
	// The resource group that the cluster profile is attached to.
	ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"`
	// The version of the OpenShift cluster. Available versions can be found with the Azure CLI command `az aro get-versions --location <region>`. Changing this forces a new resource to be created.
	Version pulumi.StringInput `pulumi:"version"`
}

func (ClusterClusterProfileArgs) ElementType

func (ClusterClusterProfileArgs) ElementType() reflect.Type

func (ClusterClusterProfileArgs) ToClusterClusterProfileOutput

func (i ClusterClusterProfileArgs) ToClusterClusterProfileOutput() ClusterClusterProfileOutput

func (ClusterClusterProfileArgs) ToClusterClusterProfileOutputWithContext

func (i ClusterClusterProfileArgs) ToClusterClusterProfileOutputWithContext(ctx context.Context) ClusterClusterProfileOutput

func (ClusterClusterProfileArgs) ToClusterClusterProfilePtrOutput

func (i ClusterClusterProfileArgs) ToClusterClusterProfilePtrOutput() ClusterClusterProfilePtrOutput

func (ClusterClusterProfileArgs) ToClusterClusterProfilePtrOutputWithContext

func (i ClusterClusterProfileArgs) ToClusterClusterProfilePtrOutputWithContext(ctx context.Context) ClusterClusterProfilePtrOutput

type ClusterClusterProfileInput

type ClusterClusterProfileInput interface {
	pulumi.Input

	ToClusterClusterProfileOutput() ClusterClusterProfileOutput
	ToClusterClusterProfileOutputWithContext(context.Context) ClusterClusterProfileOutput
}

ClusterClusterProfileInput is an input type that accepts ClusterClusterProfileArgs and ClusterClusterProfileOutput values. You can construct a concrete instance of `ClusterClusterProfileInput` via:

ClusterClusterProfileArgs{...}

type ClusterClusterProfileOutput

type ClusterClusterProfileOutput struct{ *pulumi.OutputState }

func (ClusterClusterProfileOutput) Domain

The custom domain for the cluster. For more info, see [Prepare a custom domain for your cluster](https://docs.microsoft.com/azure/openshift/tutorial-create-cluster#prepare-a-custom-domain-for-your-cluster-optional). Changing this forces a new resource to be created.

func (ClusterClusterProfileOutput) ElementType

func (ClusterClusterProfileOutput) FipsEnabled

Whether Federal Information Processing Standard (FIPS) validated cryptographic modules are used. Defaults to `false`. Changing this forces a new resource to be created.

func (ClusterClusterProfileOutput) ManagedResourceGroupName added in v5.82.0

func (o ClusterClusterProfileOutput) ManagedResourceGroupName() pulumi.StringPtrOutput

The name of a Resource Group which will be created to host VMs of Azure Red Hat OpenShift Cluster. The value cannot contain uppercase characters. Defaults to `aro-{domain}`. Changing this forces a new resource to be created.

func (ClusterClusterProfileOutput) PullSecret

The Red Hat pull secret for the cluster. For more info, see [Get a Red Hat pull secret](https://learn.microsoft.com/azure/openshift/tutorial-create-cluster#get-a-red-hat-pull-secret-optional). Changing this forces a new resource to be created.

func (ClusterClusterProfileOutput) ResourceGroupId

The resource group that the cluster profile is attached to.

func (ClusterClusterProfileOutput) ToClusterClusterProfileOutput

func (o ClusterClusterProfileOutput) ToClusterClusterProfileOutput() ClusterClusterProfileOutput

func (ClusterClusterProfileOutput) ToClusterClusterProfileOutputWithContext

func (o ClusterClusterProfileOutput) ToClusterClusterProfileOutputWithContext(ctx context.Context) ClusterClusterProfileOutput

func (ClusterClusterProfileOutput) ToClusterClusterProfilePtrOutput

func (o ClusterClusterProfileOutput) ToClusterClusterProfilePtrOutput() ClusterClusterProfilePtrOutput

func (ClusterClusterProfileOutput) ToClusterClusterProfilePtrOutputWithContext

func (o ClusterClusterProfileOutput) ToClusterClusterProfilePtrOutputWithContext(ctx context.Context) ClusterClusterProfilePtrOutput

func (ClusterClusterProfileOutput) Version

The version of the OpenShift cluster. Available versions can be found with the Azure CLI command `az aro get-versions --location <region>`. Changing this forces a new resource to be created.

type ClusterClusterProfilePtrInput

type ClusterClusterProfilePtrInput interface {
	pulumi.Input

	ToClusterClusterProfilePtrOutput() ClusterClusterProfilePtrOutput
	ToClusterClusterProfilePtrOutputWithContext(context.Context) ClusterClusterProfilePtrOutput
}

ClusterClusterProfilePtrInput is an input type that accepts ClusterClusterProfileArgs, ClusterClusterProfilePtr and ClusterClusterProfilePtrOutput values. You can construct a concrete instance of `ClusterClusterProfilePtrInput` via:

        ClusterClusterProfileArgs{...}

or:

        nil

type ClusterClusterProfilePtrOutput

type ClusterClusterProfilePtrOutput struct{ *pulumi.OutputState }

func (ClusterClusterProfilePtrOutput) Domain

The custom domain for the cluster. For more info, see [Prepare a custom domain for your cluster](https://docs.microsoft.com/azure/openshift/tutorial-create-cluster#prepare-a-custom-domain-for-your-cluster-optional). Changing this forces a new resource to be created.

func (ClusterClusterProfilePtrOutput) Elem

func (ClusterClusterProfilePtrOutput) ElementType

func (ClusterClusterProfilePtrOutput) FipsEnabled

Whether Federal Information Processing Standard (FIPS) validated cryptographic modules are used. Defaults to `false`. Changing this forces a new resource to be created.

func (ClusterClusterProfilePtrOutput) ManagedResourceGroupName added in v5.82.0

func (o ClusterClusterProfilePtrOutput) ManagedResourceGroupName() pulumi.StringPtrOutput

The name of a Resource Group which will be created to host VMs of Azure Red Hat OpenShift Cluster. The value cannot contain uppercase characters. Defaults to `aro-{domain}`. Changing this forces a new resource to be created.

func (ClusterClusterProfilePtrOutput) PullSecret

The Red Hat pull secret for the cluster. For more info, see [Get a Red Hat pull secret](https://learn.microsoft.com/azure/openshift/tutorial-create-cluster#get-a-red-hat-pull-secret-optional). Changing this forces a new resource to be created.

func (ClusterClusterProfilePtrOutput) ResourceGroupId

The resource group that the cluster profile is attached to.

func (ClusterClusterProfilePtrOutput) ToClusterClusterProfilePtrOutput

func (o ClusterClusterProfilePtrOutput) ToClusterClusterProfilePtrOutput() ClusterClusterProfilePtrOutput

func (ClusterClusterProfilePtrOutput) ToClusterClusterProfilePtrOutputWithContext

func (o ClusterClusterProfilePtrOutput) ToClusterClusterProfilePtrOutputWithContext(ctx context.Context) ClusterClusterProfilePtrOutput

func (ClusterClusterProfilePtrOutput) Version

The version of the OpenShift cluster. Available versions can be found with the Azure CLI command `az aro get-versions --location <region>`. Changing this forces a new resource to be created.

type ClusterIngressProfile

type ClusterIngressProfile struct {
	// The IP Address the Ingress Profile is associated with.
	IpAddress *string `pulumi:"ipAddress"`
	// The name of the Azure Red Hat OpenShift Cluster to create. Changing this forces a new resource to be created.
	Name *string `pulumi:"name"`
	// Cluster Ingress visibility. Supported values are `Public` and `Private`. Changing this forces a new resource to be created.
	Visibility string `pulumi:"visibility"`
}

type ClusterIngressProfileArgs

type ClusterIngressProfileArgs struct {
	// The IP Address the Ingress Profile is associated with.
	IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
	// The name of the Azure Red Hat OpenShift Cluster to create. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Cluster Ingress visibility. Supported values are `Public` and `Private`. Changing this forces a new resource to be created.
	Visibility pulumi.StringInput `pulumi:"visibility"`
}

func (ClusterIngressProfileArgs) ElementType

func (ClusterIngressProfileArgs) ElementType() reflect.Type

func (ClusterIngressProfileArgs) ToClusterIngressProfileOutput

func (i ClusterIngressProfileArgs) ToClusterIngressProfileOutput() ClusterIngressProfileOutput

func (ClusterIngressProfileArgs) ToClusterIngressProfileOutputWithContext

func (i ClusterIngressProfileArgs) ToClusterIngressProfileOutputWithContext(ctx context.Context) ClusterIngressProfileOutput

func (ClusterIngressProfileArgs) ToClusterIngressProfilePtrOutput

func (i ClusterIngressProfileArgs) ToClusterIngressProfilePtrOutput() ClusterIngressProfilePtrOutput

func (ClusterIngressProfileArgs) ToClusterIngressProfilePtrOutputWithContext

func (i ClusterIngressProfileArgs) ToClusterIngressProfilePtrOutputWithContext(ctx context.Context) ClusterIngressProfilePtrOutput

type ClusterIngressProfileInput

type ClusterIngressProfileInput interface {
	pulumi.Input

	ToClusterIngressProfileOutput() ClusterIngressProfileOutput
	ToClusterIngressProfileOutputWithContext(context.Context) ClusterIngressProfileOutput
}

ClusterIngressProfileInput is an input type that accepts ClusterIngressProfileArgs and ClusterIngressProfileOutput values. You can construct a concrete instance of `ClusterIngressProfileInput` via:

ClusterIngressProfileArgs{...}

type ClusterIngressProfileOutput

type ClusterIngressProfileOutput struct{ *pulumi.OutputState }

func (ClusterIngressProfileOutput) ElementType

func (ClusterIngressProfileOutput) IpAddress

The IP Address the Ingress Profile is associated with.

func (ClusterIngressProfileOutput) Name

The name of the Azure Red Hat OpenShift Cluster to create. Changing this forces a new resource to be created.

func (ClusterIngressProfileOutput) ToClusterIngressProfileOutput

func (o ClusterIngressProfileOutput) ToClusterIngressProfileOutput() ClusterIngressProfileOutput

func (ClusterIngressProfileOutput) ToClusterIngressProfileOutputWithContext

func (o ClusterIngressProfileOutput) ToClusterIngressProfileOutputWithContext(ctx context.Context) ClusterIngressProfileOutput

func (ClusterIngressProfileOutput) ToClusterIngressProfilePtrOutput

func (o ClusterIngressProfileOutput) ToClusterIngressProfilePtrOutput() ClusterIngressProfilePtrOutput

func (ClusterIngressProfileOutput) ToClusterIngressProfilePtrOutputWithContext

func (o ClusterIngressProfileOutput) ToClusterIngressProfilePtrOutputWithContext(ctx context.Context) ClusterIngressProfilePtrOutput

func (ClusterIngressProfileOutput) Visibility

Cluster Ingress visibility. Supported values are `Public` and `Private`. Changing this forces a new resource to be created.

type ClusterIngressProfilePtrInput

type ClusterIngressProfilePtrInput interface {
	pulumi.Input

	ToClusterIngressProfilePtrOutput() ClusterIngressProfilePtrOutput
	ToClusterIngressProfilePtrOutputWithContext(context.Context) ClusterIngressProfilePtrOutput
}

ClusterIngressProfilePtrInput is an input type that accepts ClusterIngressProfileArgs, ClusterIngressProfilePtr and ClusterIngressProfilePtrOutput values. You can construct a concrete instance of `ClusterIngressProfilePtrInput` via:

        ClusterIngressProfileArgs{...}

or:

        nil

type ClusterIngressProfilePtrOutput

type ClusterIngressProfilePtrOutput struct{ *pulumi.OutputState }

func (ClusterIngressProfilePtrOutput) Elem

func (ClusterIngressProfilePtrOutput) ElementType

func (ClusterIngressProfilePtrOutput) IpAddress

The IP Address the Ingress Profile is associated with.

func (ClusterIngressProfilePtrOutput) Name

The name of the Azure Red Hat OpenShift Cluster to create. Changing this forces a new resource to be created.

func (ClusterIngressProfilePtrOutput) ToClusterIngressProfilePtrOutput

func (o ClusterIngressProfilePtrOutput) ToClusterIngressProfilePtrOutput() ClusterIngressProfilePtrOutput

func (ClusterIngressProfilePtrOutput) ToClusterIngressProfilePtrOutputWithContext

func (o ClusterIngressProfilePtrOutput) ToClusterIngressProfilePtrOutputWithContext(ctx context.Context) ClusterIngressProfilePtrOutput

func (ClusterIngressProfilePtrOutput) Visibility

Cluster Ingress visibility. Supported values are `Public` and `Private`. Changing this forces a new resource to be created.

type ClusterInput

type ClusterInput interface {
	pulumi.Input

	ToClusterOutput() ClusterOutput
	ToClusterOutputWithContext(ctx context.Context) ClusterOutput
}

type ClusterMainProfile

type ClusterMainProfile struct {
	// The resource ID of an associated disk encryption set. Changing this forces a new resource to be created.
	DiskEncryptionSetId *string `pulumi:"diskEncryptionSetId"`
	// Whether main virtual machines are encrypted at host. Defaults to `false`. Changing this forces a new resource to be created.
	//
	// > **NOTE:** `encryptionAtHostEnabled` is only available for certain VM sizes and the `EncryptionAtHost` feature must be enabled for your subscription. Please see the [Azure documentation](https://learn.microsoft.com/azure/virtual-machines/disks-enable-host-based-encryption-portal?tabs=azure-powershell) for more information.
	EncryptionAtHostEnabled *bool `pulumi:"encryptionAtHostEnabled"`
	// The ID of the subnet where main nodes will be hosted. Changing this forces a new resource to be created.
	SubnetId string `pulumi:"subnetId"`
	// The size of the Virtual Machines for the main nodes. Changing this forces a new resource to be created.
	VmSize string `pulumi:"vmSize"`
}

type ClusterMainProfileArgs

type ClusterMainProfileArgs struct {
	// The resource ID of an associated disk encryption set. Changing this forces a new resource to be created.
	DiskEncryptionSetId pulumi.StringPtrInput `pulumi:"diskEncryptionSetId"`
	// Whether main virtual machines are encrypted at host. Defaults to `false`. Changing this forces a new resource to be created.
	//
	// > **NOTE:** `encryptionAtHostEnabled` is only available for certain VM sizes and the `EncryptionAtHost` feature must be enabled for your subscription. Please see the [Azure documentation](https://learn.microsoft.com/azure/virtual-machines/disks-enable-host-based-encryption-portal?tabs=azure-powershell) for more information.
	EncryptionAtHostEnabled pulumi.BoolPtrInput `pulumi:"encryptionAtHostEnabled"`
	// The ID of the subnet where main nodes will be hosted. Changing this forces a new resource to be created.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// The size of the Virtual Machines for the main nodes. Changing this forces a new resource to be created.
	VmSize pulumi.StringInput `pulumi:"vmSize"`
}

func (ClusterMainProfileArgs) ElementType

func (ClusterMainProfileArgs) ElementType() reflect.Type

func (ClusterMainProfileArgs) ToClusterMainProfileOutput

func (i ClusterMainProfileArgs) ToClusterMainProfileOutput() ClusterMainProfileOutput

func (ClusterMainProfileArgs) ToClusterMainProfileOutputWithContext

func (i ClusterMainProfileArgs) ToClusterMainProfileOutputWithContext(ctx context.Context) ClusterMainProfileOutput

func (ClusterMainProfileArgs) ToClusterMainProfilePtrOutput

func (i ClusterMainProfileArgs) ToClusterMainProfilePtrOutput() ClusterMainProfilePtrOutput

func (ClusterMainProfileArgs) ToClusterMainProfilePtrOutputWithContext

func (i ClusterMainProfileArgs) ToClusterMainProfilePtrOutputWithContext(ctx context.Context) ClusterMainProfilePtrOutput

type ClusterMainProfileInput

type ClusterMainProfileInput interface {
	pulumi.Input

	ToClusterMainProfileOutput() ClusterMainProfileOutput
	ToClusterMainProfileOutputWithContext(context.Context) ClusterMainProfileOutput
}

ClusterMainProfileInput is an input type that accepts ClusterMainProfileArgs and ClusterMainProfileOutput values. You can construct a concrete instance of `ClusterMainProfileInput` via:

ClusterMainProfileArgs{...}

type ClusterMainProfileOutput

type ClusterMainProfileOutput struct{ *pulumi.OutputState }

func (ClusterMainProfileOutput) DiskEncryptionSetId

func (o ClusterMainProfileOutput) DiskEncryptionSetId() pulumi.StringPtrOutput

The resource ID of an associated disk encryption set. Changing this forces a new resource to be created.

func (ClusterMainProfileOutput) ElementType

func (ClusterMainProfileOutput) ElementType() reflect.Type

func (ClusterMainProfileOutput) EncryptionAtHostEnabled

func (o ClusterMainProfileOutput) EncryptionAtHostEnabled() pulumi.BoolPtrOutput

Whether main virtual machines are encrypted at host. Defaults to `false`. Changing this forces a new resource to be created.

> **NOTE:** `encryptionAtHostEnabled` is only available for certain VM sizes and the `EncryptionAtHost` feature must be enabled for your subscription. Please see the [Azure documentation](https://learn.microsoft.com/azure/virtual-machines/disks-enable-host-based-encryption-portal?tabs=azure-powershell) for more information.

func (ClusterMainProfileOutput) SubnetId

The ID of the subnet where main nodes will be hosted. Changing this forces a new resource to be created.

func (ClusterMainProfileOutput) ToClusterMainProfileOutput

func (o ClusterMainProfileOutput) ToClusterMainProfileOutput() ClusterMainProfileOutput

func (ClusterMainProfileOutput) ToClusterMainProfileOutputWithContext

func (o ClusterMainProfileOutput) ToClusterMainProfileOutputWithContext(ctx context.Context) ClusterMainProfileOutput

func (ClusterMainProfileOutput) ToClusterMainProfilePtrOutput

func (o ClusterMainProfileOutput) ToClusterMainProfilePtrOutput() ClusterMainProfilePtrOutput

func (ClusterMainProfileOutput) ToClusterMainProfilePtrOutputWithContext

func (o ClusterMainProfileOutput) ToClusterMainProfilePtrOutputWithContext(ctx context.Context) ClusterMainProfilePtrOutput

func (ClusterMainProfileOutput) VmSize

The size of the Virtual Machines for the main nodes. Changing this forces a new resource to be created.

type ClusterMainProfilePtrInput

type ClusterMainProfilePtrInput interface {
	pulumi.Input

	ToClusterMainProfilePtrOutput() ClusterMainProfilePtrOutput
	ToClusterMainProfilePtrOutputWithContext(context.Context) ClusterMainProfilePtrOutput
}

ClusterMainProfilePtrInput is an input type that accepts ClusterMainProfileArgs, ClusterMainProfilePtr and ClusterMainProfilePtrOutput values. You can construct a concrete instance of `ClusterMainProfilePtrInput` via:

        ClusterMainProfileArgs{...}

or:

        nil

type ClusterMainProfilePtrOutput

type ClusterMainProfilePtrOutput struct{ *pulumi.OutputState }

func (ClusterMainProfilePtrOutput) DiskEncryptionSetId

func (o ClusterMainProfilePtrOutput) DiskEncryptionSetId() pulumi.StringPtrOutput

The resource ID of an associated disk encryption set. Changing this forces a new resource to be created.

func (ClusterMainProfilePtrOutput) Elem

func (ClusterMainProfilePtrOutput) ElementType

func (ClusterMainProfilePtrOutput) EncryptionAtHostEnabled

func (o ClusterMainProfilePtrOutput) EncryptionAtHostEnabled() pulumi.BoolPtrOutput

Whether main virtual machines are encrypted at host. Defaults to `false`. Changing this forces a new resource to be created.

> **NOTE:** `encryptionAtHostEnabled` is only available for certain VM sizes and the `EncryptionAtHost` feature must be enabled for your subscription. Please see the [Azure documentation](https://learn.microsoft.com/azure/virtual-machines/disks-enable-host-based-encryption-portal?tabs=azure-powershell) for more information.

func (ClusterMainProfilePtrOutput) SubnetId

The ID of the subnet where main nodes will be hosted. Changing this forces a new resource to be created.

func (ClusterMainProfilePtrOutput) ToClusterMainProfilePtrOutput

func (o ClusterMainProfilePtrOutput) ToClusterMainProfilePtrOutput() ClusterMainProfilePtrOutput

func (ClusterMainProfilePtrOutput) ToClusterMainProfilePtrOutputWithContext

func (o ClusterMainProfilePtrOutput) ToClusterMainProfilePtrOutputWithContext(ctx context.Context) ClusterMainProfilePtrOutput

func (ClusterMainProfilePtrOutput) VmSize

The size of the Virtual Machines for the main nodes. Changing this forces a new resource to be created.

type ClusterMap

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext

func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterMapInput

type ClusterMapInput interface {
	pulumi.Input

	ToClusterMapOutput() ClusterMapOutput
	ToClusterMapOutputWithContext(context.Context) ClusterMapOutput
}

ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:

ClusterMap{ "key": ClusterArgs{...} }

type ClusterMapOutput

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex

func (ClusterMapOutput) ToClusterMapOutput

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext

func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterNetworkProfile

type ClusterNetworkProfile struct {
	// The outbound (egress) routing method. Possible values are `Loadbalancer` and `UserDefinedRouting`. Defaults to `Loadbalancer`. Changing this forces a new resource to be created.
	OutboundType *string `pulumi:"outboundType"`
	// The CIDR to use for pod IP addresses. Changing this forces a new resource to be created.
	PodCidr string `pulumi:"podCidr"`
	// Whether a preconfigured network security group is being used on the subnets.  Defaults to `false`.  Changing this forces a new resource to be created.
	PreconfiguredNetworkSecurityGroupEnabled *bool `pulumi:"preconfiguredNetworkSecurityGroupEnabled"`
	// The network range used by the OpenShift service. Changing this forces a new resource to be created.
	ServiceCidr string `pulumi:"serviceCidr"`
}

type ClusterNetworkProfileArgs

type ClusterNetworkProfileArgs struct {
	// The outbound (egress) routing method. Possible values are `Loadbalancer` and `UserDefinedRouting`. Defaults to `Loadbalancer`. Changing this forces a new resource to be created.
	OutboundType pulumi.StringPtrInput `pulumi:"outboundType"`
	// The CIDR to use for pod IP addresses. Changing this forces a new resource to be created.
	PodCidr pulumi.StringInput `pulumi:"podCidr"`
	// Whether a preconfigured network security group is being used on the subnets.  Defaults to `false`.  Changing this forces a new resource to be created.
	PreconfiguredNetworkSecurityGroupEnabled pulumi.BoolPtrInput `pulumi:"preconfiguredNetworkSecurityGroupEnabled"`
	// The network range used by the OpenShift service. Changing this forces a new resource to be created.
	ServiceCidr pulumi.StringInput `pulumi:"serviceCidr"`
}

func (ClusterNetworkProfileArgs) ElementType

func (ClusterNetworkProfileArgs) ElementType() reflect.Type

func (ClusterNetworkProfileArgs) ToClusterNetworkProfileOutput

func (i ClusterNetworkProfileArgs) ToClusterNetworkProfileOutput() ClusterNetworkProfileOutput

func (ClusterNetworkProfileArgs) ToClusterNetworkProfileOutputWithContext

func (i ClusterNetworkProfileArgs) ToClusterNetworkProfileOutputWithContext(ctx context.Context) ClusterNetworkProfileOutput

func (ClusterNetworkProfileArgs) ToClusterNetworkProfilePtrOutput

func (i ClusterNetworkProfileArgs) ToClusterNetworkProfilePtrOutput() ClusterNetworkProfilePtrOutput

func (ClusterNetworkProfileArgs) ToClusterNetworkProfilePtrOutputWithContext

func (i ClusterNetworkProfileArgs) ToClusterNetworkProfilePtrOutputWithContext(ctx context.Context) ClusterNetworkProfilePtrOutput

type ClusterNetworkProfileInput

type ClusterNetworkProfileInput interface {
	pulumi.Input

	ToClusterNetworkProfileOutput() ClusterNetworkProfileOutput
	ToClusterNetworkProfileOutputWithContext(context.Context) ClusterNetworkProfileOutput
}

ClusterNetworkProfileInput is an input type that accepts ClusterNetworkProfileArgs and ClusterNetworkProfileOutput values. You can construct a concrete instance of `ClusterNetworkProfileInput` via:

ClusterNetworkProfileArgs{...}

type ClusterNetworkProfileOutput

type ClusterNetworkProfileOutput struct{ *pulumi.OutputState }

func (ClusterNetworkProfileOutput) ElementType

func (ClusterNetworkProfileOutput) OutboundType

The outbound (egress) routing method. Possible values are `Loadbalancer` and `UserDefinedRouting`. Defaults to `Loadbalancer`. Changing this forces a new resource to be created.

func (ClusterNetworkProfileOutput) PodCidr

The CIDR to use for pod IP addresses. Changing this forces a new resource to be created.

func (ClusterNetworkProfileOutput) PreconfiguredNetworkSecurityGroupEnabled added in v5.82.0

func (o ClusterNetworkProfileOutput) PreconfiguredNetworkSecurityGroupEnabled() pulumi.BoolPtrOutput

Whether a preconfigured network security group is being used on the subnets. Defaults to `false`. Changing this forces a new resource to be created.

func (ClusterNetworkProfileOutput) ServiceCidr

The network range used by the OpenShift service. Changing this forces a new resource to be created.

func (ClusterNetworkProfileOutput) ToClusterNetworkProfileOutput

func (o ClusterNetworkProfileOutput) ToClusterNetworkProfileOutput() ClusterNetworkProfileOutput

func (ClusterNetworkProfileOutput) ToClusterNetworkProfileOutputWithContext

func (o ClusterNetworkProfileOutput) ToClusterNetworkProfileOutputWithContext(ctx context.Context) ClusterNetworkProfileOutput

func (ClusterNetworkProfileOutput) ToClusterNetworkProfilePtrOutput

func (o ClusterNetworkProfileOutput) ToClusterNetworkProfilePtrOutput() ClusterNetworkProfilePtrOutput

func (ClusterNetworkProfileOutput) ToClusterNetworkProfilePtrOutputWithContext

func (o ClusterNetworkProfileOutput) ToClusterNetworkProfilePtrOutputWithContext(ctx context.Context) ClusterNetworkProfilePtrOutput

type ClusterNetworkProfilePtrInput

type ClusterNetworkProfilePtrInput interface {
	pulumi.Input

	ToClusterNetworkProfilePtrOutput() ClusterNetworkProfilePtrOutput
	ToClusterNetworkProfilePtrOutputWithContext(context.Context) ClusterNetworkProfilePtrOutput
}

ClusterNetworkProfilePtrInput is an input type that accepts ClusterNetworkProfileArgs, ClusterNetworkProfilePtr and ClusterNetworkProfilePtrOutput values. You can construct a concrete instance of `ClusterNetworkProfilePtrInput` via:

        ClusterNetworkProfileArgs{...}

or:

        nil

type ClusterNetworkProfilePtrOutput

type ClusterNetworkProfilePtrOutput struct{ *pulumi.OutputState }

func (ClusterNetworkProfilePtrOutput) Elem

func (ClusterNetworkProfilePtrOutput) ElementType

func (ClusterNetworkProfilePtrOutput) OutboundType

The outbound (egress) routing method. Possible values are `Loadbalancer` and `UserDefinedRouting`. Defaults to `Loadbalancer`. Changing this forces a new resource to be created.

func (ClusterNetworkProfilePtrOutput) PodCidr

The CIDR to use for pod IP addresses. Changing this forces a new resource to be created.

func (ClusterNetworkProfilePtrOutput) PreconfiguredNetworkSecurityGroupEnabled added in v5.82.0

func (o ClusterNetworkProfilePtrOutput) PreconfiguredNetworkSecurityGroupEnabled() pulumi.BoolPtrOutput

Whether a preconfigured network security group is being used on the subnets. Defaults to `false`. Changing this forces a new resource to be created.

func (ClusterNetworkProfilePtrOutput) ServiceCidr

The network range used by the OpenShift service. Changing this forces a new resource to be created.

func (ClusterNetworkProfilePtrOutput) ToClusterNetworkProfilePtrOutput

func (o ClusterNetworkProfilePtrOutput) ToClusterNetworkProfilePtrOutput() ClusterNetworkProfilePtrOutput

func (ClusterNetworkProfilePtrOutput) ToClusterNetworkProfilePtrOutputWithContext

func (o ClusterNetworkProfilePtrOutput) ToClusterNetworkProfilePtrOutputWithContext(ctx context.Context) ClusterNetworkProfilePtrOutput

type ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) ApiServerProfile

func (o ClusterOutput) ApiServerProfile() ClusterApiServerProfileOutput

An `apiServerProfile` block as defined below. Changing this forces a new resource to be created.

func (ClusterOutput) ClusterProfile

func (o ClusterOutput) ClusterProfile() ClusterClusterProfileOutput

A `clusterProfile` block as defined below. Changing this forces a new resource to be created.

func (ClusterOutput) ConsoleUrl

func (o ClusterOutput) ConsoleUrl() pulumi.StringOutput

The Red Hat OpenShift cluster console URL.

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) IngressProfile

func (o ClusterOutput) IngressProfile() ClusterIngressProfileOutput

An `ingressProfile` block as defined below. Changing this forces a new resource to be created.

func (ClusterOutput) Location

func (o ClusterOutput) Location() pulumi.StringOutput

The location where the Azure Red Hat OpenShift Cluster should be created. Changing this forces a new resource to be created.

func (ClusterOutput) MainProfile

func (o ClusterOutput) MainProfile() ClusterMainProfileOutput

A `mainProfile` block as defined below. Changing this forces a new resource to be created.

func (ClusterOutput) Name

The name of the Azure Red Hat OpenShift Cluster to create. Changing this forces a new resource to be created.

func (ClusterOutput) NetworkProfile

func (o ClusterOutput) NetworkProfile() ClusterNetworkProfileOutput

A `networkProfile` block as defined below. Changing this forces a new resource to be created.

func (ClusterOutput) ResourceGroupName

func (o ClusterOutput) ResourceGroupName() pulumi.StringOutput

Specifies the Resource Group where the Azure Red Hat OpenShift Cluster should exist. Changing this forces a new resource to be created.

func (ClusterOutput) ServicePrincipal

func (o ClusterOutput) ServicePrincipal() ClusterServicePrincipalOutput

A `servicePrincipal` block as defined below.

func (ClusterOutput) Tags

A mapping of tags to assign to the resource.

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (ClusterOutput) WorkerProfile

func (o ClusterOutput) WorkerProfile() ClusterWorkerProfileOutput

A `workerProfile` block as defined below. Changing this forces a new resource to be created.

type ClusterServicePrincipal

type ClusterServicePrincipal struct {
	// The Client ID for the Service Principal.
	ClientId string `pulumi:"clientId"`
	// The Client Secret for the Service Principal.
	//
	// > **Note:** Currently a service principal cannot be associated with more than one ARO clusters on the Azure subscription.
	ClientSecret string `pulumi:"clientSecret"`
}

type ClusterServicePrincipalArgs

type ClusterServicePrincipalArgs struct {
	// The Client ID for the Service Principal.
	ClientId pulumi.StringInput `pulumi:"clientId"`
	// The Client Secret for the Service Principal.
	//
	// > **Note:** Currently a service principal cannot be associated with more than one ARO clusters on the Azure subscription.
	ClientSecret pulumi.StringInput `pulumi:"clientSecret"`
}

func (ClusterServicePrincipalArgs) ElementType

func (ClusterServicePrincipalArgs) ToClusterServicePrincipalOutput

func (i ClusterServicePrincipalArgs) ToClusterServicePrincipalOutput() ClusterServicePrincipalOutput

func (ClusterServicePrincipalArgs) ToClusterServicePrincipalOutputWithContext

func (i ClusterServicePrincipalArgs) ToClusterServicePrincipalOutputWithContext(ctx context.Context) ClusterServicePrincipalOutput

func (ClusterServicePrincipalArgs) ToClusterServicePrincipalPtrOutput

func (i ClusterServicePrincipalArgs) ToClusterServicePrincipalPtrOutput() ClusterServicePrincipalPtrOutput

func (ClusterServicePrincipalArgs) ToClusterServicePrincipalPtrOutputWithContext

func (i ClusterServicePrincipalArgs) ToClusterServicePrincipalPtrOutputWithContext(ctx context.Context) ClusterServicePrincipalPtrOutput

type ClusterServicePrincipalInput

type ClusterServicePrincipalInput interface {
	pulumi.Input

	ToClusterServicePrincipalOutput() ClusterServicePrincipalOutput
	ToClusterServicePrincipalOutputWithContext(context.Context) ClusterServicePrincipalOutput
}

ClusterServicePrincipalInput is an input type that accepts ClusterServicePrincipalArgs and ClusterServicePrincipalOutput values. You can construct a concrete instance of `ClusterServicePrincipalInput` via:

ClusterServicePrincipalArgs{...}

type ClusterServicePrincipalOutput

type ClusterServicePrincipalOutput struct{ *pulumi.OutputState }

func (ClusterServicePrincipalOutput) ClientId

The Client ID for the Service Principal.

func (ClusterServicePrincipalOutput) ClientSecret

The Client Secret for the Service Principal.

> **Note:** Currently a service principal cannot be associated with more than one ARO clusters on the Azure subscription.

func (ClusterServicePrincipalOutput) ElementType

func (ClusterServicePrincipalOutput) ToClusterServicePrincipalOutput

func (o ClusterServicePrincipalOutput) ToClusterServicePrincipalOutput() ClusterServicePrincipalOutput

func (ClusterServicePrincipalOutput) ToClusterServicePrincipalOutputWithContext

func (o ClusterServicePrincipalOutput) ToClusterServicePrincipalOutputWithContext(ctx context.Context) ClusterServicePrincipalOutput

func (ClusterServicePrincipalOutput) ToClusterServicePrincipalPtrOutput

func (o ClusterServicePrincipalOutput) ToClusterServicePrincipalPtrOutput() ClusterServicePrincipalPtrOutput

func (ClusterServicePrincipalOutput) ToClusterServicePrincipalPtrOutputWithContext

func (o ClusterServicePrincipalOutput) ToClusterServicePrincipalPtrOutputWithContext(ctx context.Context) ClusterServicePrincipalPtrOutput

type ClusterServicePrincipalPtrInput

type ClusterServicePrincipalPtrInput interface {
	pulumi.Input

	ToClusterServicePrincipalPtrOutput() ClusterServicePrincipalPtrOutput
	ToClusterServicePrincipalPtrOutputWithContext(context.Context) ClusterServicePrincipalPtrOutput
}

ClusterServicePrincipalPtrInput is an input type that accepts ClusterServicePrincipalArgs, ClusterServicePrincipalPtr and ClusterServicePrincipalPtrOutput values. You can construct a concrete instance of `ClusterServicePrincipalPtrInput` via:

        ClusterServicePrincipalArgs{...}

or:

        nil

type ClusterServicePrincipalPtrOutput

type ClusterServicePrincipalPtrOutput struct{ *pulumi.OutputState }

func (ClusterServicePrincipalPtrOutput) ClientId

The Client ID for the Service Principal.

func (ClusterServicePrincipalPtrOutput) ClientSecret

The Client Secret for the Service Principal.

> **Note:** Currently a service principal cannot be associated with more than one ARO clusters on the Azure subscription.

func (ClusterServicePrincipalPtrOutput) Elem

func (ClusterServicePrincipalPtrOutput) ElementType

func (ClusterServicePrincipalPtrOutput) ToClusterServicePrincipalPtrOutput

func (o ClusterServicePrincipalPtrOutput) ToClusterServicePrincipalPtrOutput() ClusterServicePrincipalPtrOutput

func (ClusterServicePrincipalPtrOutput) ToClusterServicePrincipalPtrOutputWithContext

func (o ClusterServicePrincipalPtrOutput) ToClusterServicePrincipalPtrOutputWithContext(ctx context.Context) ClusterServicePrincipalPtrOutput

type ClusterState

type ClusterState struct {
	// An `apiServerProfile` block as defined below. Changing this forces a new resource to be created.
	ApiServerProfile ClusterApiServerProfilePtrInput
	// A `clusterProfile` block as defined below. Changing this forces a new resource to be created.
	ClusterProfile ClusterClusterProfilePtrInput
	// The Red Hat OpenShift cluster console URL.
	ConsoleUrl pulumi.StringPtrInput
	// An `ingressProfile` block as defined below. Changing this forces a new resource to be created.
	IngressProfile ClusterIngressProfilePtrInput
	// The location where the Azure Red Hat OpenShift Cluster should be created. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// A `mainProfile` block as defined below. Changing this forces a new resource to be created.
	MainProfile ClusterMainProfilePtrInput
	// The name of the Azure Red Hat OpenShift Cluster to create. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A `networkProfile` block as defined below. Changing this forces a new resource to be created.
	NetworkProfile ClusterNetworkProfilePtrInput
	// Specifies the Resource Group where the Azure Red Hat OpenShift Cluster should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A `servicePrincipal` block as defined below.
	ServicePrincipal ClusterServicePrincipalPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// A `workerProfile` block as defined below. Changing this forces a new resource to be created.
	WorkerProfile ClusterWorkerProfilePtrInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type ClusterWorkerProfile

type ClusterWorkerProfile struct {
	// The resource ID of an associated disk encryption set. Changing this forces a new resource to be created.
	DiskEncryptionSetId *string `pulumi:"diskEncryptionSetId"`
	// The internal OS disk size of the worker Virtual Machines in GB. Changing this forces a new resource to be created.
	DiskSizeGb int `pulumi:"diskSizeGb"`
	// Whether worker virtual machines are encrypted at host. Defaults to `false`. Changing this forces a new resource to be created.
	//
	// > **NOTE:** `encryptionAtHostEnabled` is only available for certain VM sizes and the `EncryptionAtHost` feature must be enabled for your subscription. Please see the [Azure documentation](https://learn.microsoft.com/azure/virtual-machines/disks-enable-host-based-encryption-portal?tabs=azure-powershell) for more information.
	EncryptionAtHostEnabled *bool `pulumi:"encryptionAtHostEnabled"`
	// The initial number of worker nodes which should exist in the cluster. Changing this forces a new resource to be created.
	NodeCount int `pulumi:"nodeCount"`
	// The ID of the subnet where worker nodes will be hosted. Changing this forces a new resource to be created.
	SubnetId string `pulumi:"subnetId"`
	// The size of the Virtual Machines for the worker nodes. Changing this forces a new resource to be created.
	VmSize string `pulumi:"vmSize"`
}

type ClusterWorkerProfileArgs

type ClusterWorkerProfileArgs struct {
	// The resource ID of an associated disk encryption set. Changing this forces a new resource to be created.
	DiskEncryptionSetId pulumi.StringPtrInput `pulumi:"diskEncryptionSetId"`
	// The internal OS disk size of the worker Virtual Machines in GB. Changing this forces a new resource to be created.
	DiskSizeGb pulumi.IntInput `pulumi:"diskSizeGb"`
	// Whether worker virtual machines are encrypted at host. Defaults to `false`. Changing this forces a new resource to be created.
	//
	// > **NOTE:** `encryptionAtHostEnabled` is only available for certain VM sizes and the `EncryptionAtHost` feature must be enabled for your subscription. Please see the [Azure documentation](https://learn.microsoft.com/azure/virtual-machines/disks-enable-host-based-encryption-portal?tabs=azure-powershell) for more information.
	EncryptionAtHostEnabled pulumi.BoolPtrInput `pulumi:"encryptionAtHostEnabled"`
	// The initial number of worker nodes which should exist in the cluster. Changing this forces a new resource to be created.
	NodeCount pulumi.IntInput `pulumi:"nodeCount"`
	// The ID of the subnet where worker nodes will be hosted. Changing this forces a new resource to be created.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// The size of the Virtual Machines for the worker nodes. Changing this forces a new resource to be created.
	VmSize pulumi.StringInput `pulumi:"vmSize"`
}

func (ClusterWorkerProfileArgs) ElementType

func (ClusterWorkerProfileArgs) ElementType() reflect.Type

func (ClusterWorkerProfileArgs) ToClusterWorkerProfileOutput

func (i ClusterWorkerProfileArgs) ToClusterWorkerProfileOutput() ClusterWorkerProfileOutput

func (ClusterWorkerProfileArgs) ToClusterWorkerProfileOutputWithContext

func (i ClusterWorkerProfileArgs) ToClusterWorkerProfileOutputWithContext(ctx context.Context) ClusterWorkerProfileOutput

func (ClusterWorkerProfileArgs) ToClusterWorkerProfilePtrOutput

func (i ClusterWorkerProfileArgs) ToClusterWorkerProfilePtrOutput() ClusterWorkerProfilePtrOutput

func (ClusterWorkerProfileArgs) ToClusterWorkerProfilePtrOutputWithContext

func (i ClusterWorkerProfileArgs) ToClusterWorkerProfilePtrOutputWithContext(ctx context.Context) ClusterWorkerProfilePtrOutput

type ClusterWorkerProfileInput

type ClusterWorkerProfileInput interface {
	pulumi.Input

	ToClusterWorkerProfileOutput() ClusterWorkerProfileOutput
	ToClusterWorkerProfileOutputWithContext(context.Context) ClusterWorkerProfileOutput
}

ClusterWorkerProfileInput is an input type that accepts ClusterWorkerProfileArgs and ClusterWorkerProfileOutput values. You can construct a concrete instance of `ClusterWorkerProfileInput` via:

ClusterWorkerProfileArgs{...}

type ClusterWorkerProfileOutput

type ClusterWorkerProfileOutput struct{ *pulumi.OutputState }

func (ClusterWorkerProfileOutput) DiskEncryptionSetId

func (o ClusterWorkerProfileOutput) DiskEncryptionSetId() pulumi.StringPtrOutput

The resource ID of an associated disk encryption set. Changing this forces a new resource to be created.

func (ClusterWorkerProfileOutput) DiskSizeGb

The internal OS disk size of the worker Virtual Machines in GB. Changing this forces a new resource to be created.

func (ClusterWorkerProfileOutput) ElementType

func (ClusterWorkerProfileOutput) ElementType() reflect.Type

func (ClusterWorkerProfileOutput) EncryptionAtHostEnabled

func (o ClusterWorkerProfileOutput) EncryptionAtHostEnabled() pulumi.BoolPtrOutput

Whether worker virtual machines are encrypted at host. Defaults to `false`. Changing this forces a new resource to be created.

> **NOTE:** `encryptionAtHostEnabled` is only available for certain VM sizes and the `EncryptionAtHost` feature must be enabled for your subscription. Please see the [Azure documentation](https://learn.microsoft.com/azure/virtual-machines/disks-enable-host-based-encryption-portal?tabs=azure-powershell) for more information.

func (ClusterWorkerProfileOutput) NodeCount

The initial number of worker nodes which should exist in the cluster. Changing this forces a new resource to be created.

func (ClusterWorkerProfileOutput) SubnetId

The ID of the subnet where worker nodes will be hosted. Changing this forces a new resource to be created.

func (ClusterWorkerProfileOutput) ToClusterWorkerProfileOutput

func (o ClusterWorkerProfileOutput) ToClusterWorkerProfileOutput() ClusterWorkerProfileOutput

func (ClusterWorkerProfileOutput) ToClusterWorkerProfileOutputWithContext

func (o ClusterWorkerProfileOutput) ToClusterWorkerProfileOutputWithContext(ctx context.Context) ClusterWorkerProfileOutput

func (ClusterWorkerProfileOutput) ToClusterWorkerProfilePtrOutput

func (o ClusterWorkerProfileOutput) ToClusterWorkerProfilePtrOutput() ClusterWorkerProfilePtrOutput

func (ClusterWorkerProfileOutput) ToClusterWorkerProfilePtrOutputWithContext

func (o ClusterWorkerProfileOutput) ToClusterWorkerProfilePtrOutputWithContext(ctx context.Context) ClusterWorkerProfilePtrOutput

func (ClusterWorkerProfileOutput) VmSize

The size of the Virtual Machines for the worker nodes. Changing this forces a new resource to be created.

type ClusterWorkerProfilePtrInput

type ClusterWorkerProfilePtrInput interface {
	pulumi.Input

	ToClusterWorkerProfilePtrOutput() ClusterWorkerProfilePtrOutput
	ToClusterWorkerProfilePtrOutputWithContext(context.Context) ClusterWorkerProfilePtrOutput
}

ClusterWorkerProfilePtrInput is an input type that accepts ClusterWorkerProfileArgs, ClusterWorkerProfilePtr and ClusterWorkerProfilePtrOutput values. You can construct a concrete instance of `ClusterWorkerProfilePtrInput` via:

        ClusterWorkerProfileArgs{...}

or:

        nil

type ClusterWorkerProfilePtrOutput

type ClusterWorkerProfilePtrOutput struct{ *pulumi.OutputState }

func (ClusterWorkerProfilePtrOutput) DiskEncryptionSetId

func (o ClusterWorkerProfilePtrOutput) DiskEncryptionSetId() pulumi.StringPtrOutput

The resource ID of an associated disk encryption set. Changing this forces a new resource to be created.

func (ClusterWorkerProfilePtrOutput) DiskSizeGb

The internal OS disk size of the worker Virtual Machines in GB. Changing this forces a new resource to be created.

func (ClusterWorkerProfilePtrOutput) Elem

func (ClusterWorkerProfilePtrOutput) ElementType

func (ClusterWorkerProfilePtrOutput) EncryptionAtHostEnabled

func (o ClusterWorkerProfilePtrOutput) EncryptionAtHostEnabled() pulumi.BoolPtrOutput

Whether worker virtual machines are encrypted at host. Defaults to `false`. Changing this forces a new resource to be created.

> **NOTE:** `encryptionAtHostEnabled` is only available for certain VM sizes and the `EncryptionAtHost` feature must be enabled for your subscription. Please see the [Azure documentation](https://learn.microsoft.com/azure/virtual-machines/disks-enable-host-based-encryption-portal?tabs=azure-powershell) for more information.

func (ClusterWorkerProfilePtrOutput) NodeCount

The initial number of worker nodes which should exist in the cluster. Changing this forces a new resource to be created.

func (ClusterWorkerProfilePtrOutput) SubnetId

The ID of the subnet where worker nodes will be hosted. Changing this forces a new resource to be created.

func (ClusterWorkerProfilePtrOutput) ToClusterWorkerProfilePtrOutput

func (o ClusterWorkerProfilePtrOutput) ToClusterWorkerProfilePtrOutput() ClusterWorkerProfilePtrOutput

func (ClusterWorkerProfilePtrOutput) ToClusterWorkerProfilePtrOutputWithContext

func (o ClusterWorkerProfilePtrOutput) ToClusterWorkerProfilePtrOutputWithContext(ctx context.Context) ClusterWorkerProfilePtrOutput

func (ClusterWorkerProfilePtrOutput) VmSize

The size of the Virtual Machines for the worker nodes. Changing this forces a new resource to be created.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL