Documentation ¶
Index ¶
- type Cluster
- type ClusterApiServerProfile
- type ClusterApiServerProfileArgs
- func (ClusterApiServerProfileArgs) ElementType() reflect.Type
- func (i ClusterApiServerProfileArgs) ToClusterApiServerProfileOutput() ClusterApiServerProfileOutput
- func (i ClusterApiServerProfileArgs) ToClusterApiServerProfileOutputWithContext(ctx context.Context) ClusterApiServerProfileOutput
- func (i ClusterApiServerProfileArgs) ToClusterApiServerProfilePtrOutput() ClusterApiServerProfilePtrOutput
- func (i ClusterApiServerProfileArgs) ToClusterApiServerProfilePtrOutputWithContext(ctx context.Context) ClusterApiServerProfilePtrOutput
- type ClusterApiServerProfileInput
- type ClusterApiServerProfileOutput
- func (ClusterApiServerProfileOutput) ElementType() reflect.Type
- func (o ClusterApiServerProfileOutput) IpAddress() pulumi.StringPtrOutput
- func (o ClusterApiServerProfileOutput) ToClusterApiServerProfileOutput() ClusterApiServerProfileOutput
- func (o ClusterApiServerProfileOutput) ToClusterApiServerProfileOutputWithContext(ctx context.Context) ClusterApiServerProfileOutput
- func (o ClusterApiServerProfileOutput) ToClusterApiServerProfilePtrOutput() ClusterApiServerProfilePtrOutput
- func (o ClusterApiServerProfileOutput) ToClusterApiServerProfilePtrOutputWithContext(ctx context.Context) ClusterApiServerProfilePtrOutput
- func (o ClusterApiServerProfileOutput) Url() pulumi.StringPtrOutput
- func (o ClusterApiServerProfileOutput) Visibility() pulumi.StringOutput
- type ClusterApiServerProfilePtrInput
- type ClusterApiServerProfilePtrOutput
- func (o ClusterApiServerProfilePtrOutput) Elem() ClusterApiServerProfileOutput
- func (ClusterApiServerProfilePtrOutput) ElementType() reflect.Type
- func (o ClusterApiServerProfilePtrOutput) IpAddress() pulumi.StringPtrOutput
- func (o ClusterApiServerProfilePtrOutput) ToClusterApiServerProfilePtrOutput() ClusterApiServerProfilePtrOutput
- func (o ClusterApiServerProfilePtrOutput) ToClusterApiServerProfilePtrOutputWithContext(ctx context.Context) ClusterApiServerProfilePtrOutput
- func (o ClusterApiServerProfilePtrOutput) Url() pulumi.StringPtrOutput
- func (o ClusterApiServerProfilePtrOutput) Visibility() pulumi.StringPtrOutput
- type ClusterArgs
- type ClusterArray
- type ClusterArrayInput
- type ClusterArrayOutput
- type ClusterClusterProfile
- type ClusterClusterProfileArgs
- func (ClusterClusterProfileArgs) ElementType() reflect.Type
- func (i ClusterClusterProfileArgs) ToClusterClusterProfileOutput() ClusterClusterProfileOutput
- func (i ClusterClusterProfileArgs) ToClusterClusterProfileOutputWithContext(ctx context.Context) ClusterClusterProfileOutput
- func (i ClusterClusterProfileArgs) ToClusterClusterProfilePtrOutput() ClusterClusterProfilePtrOutput
- func (i ClusterClusterProfileArgs) ToClusterClusterProfilePtrOutputWithContext(ctx context.Context) ClusterClusterProfilePtrOutput
- type ClusterClusterProfileInput
- type ClusterClusterProfileOutput
- func (o ClusterClusterProfileOutput) Domain() pulumi.StringOutput
- func (ClusterClusterProfileOutput) ElementType() reflect.Type
- func (o ClusterClusterProfileOutput) FipsEnabled() pulumi.BoolPtrOutput
- func (o ClusterClusterProfileOutput) ManagedResourceGroupName() pulumi.StringPtrOutput
- func (o ClusterClusterProfileOutput) PullSecret() pulumi.StringPtrOutput
- func (o ClusterClusterProfileOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o ClusterClusterProfileOutput) ToClusterClusterProfileOutput() ClusterClusterProfileOutput
- func (o ClusterClusterProfileOutput) ToClusterClusterProfileOutputWithContext(ctx context.Context) ClusterClusterProfileOutput
- func (o ClusterClusterProfileOutput) ToClusterClusterProfilePtrOutput() ClusterClusterProfilePtrOutput
- func (o ClusterClusterProfileOutput) ToClusterClusterProfilePtrOutputWithContext(ctx context.Context) ClusterClusterProfilePtrOutput
- func (o ClusterClusterProfileOutput) Version() pulumi.StringOutput
- type ClusterClusterProfilePtrInput
- type ClusterClusterProfilePtrOutput
- func (o ClusterClusterProfilePtrOutput) Domain() pulumi.StringPtrOutput
- func (o ClusterClusterProfilePtrOutput) Elem() ClusterClusterProfileOutput
- func (ClusterClusterProfilePtrOutput) ElementType() reflect.Type
- func (o ClusterClusterProfilePtrOutput) FipsEnabled() pulumi.BoolPtrOutput
- func (o ClusterClusterProfilePtrOutput) ManagedResourceGroupName() pulumi.StringPtrOutput
- func (o ClusterClusterProfilePtrOutput) PullSecret() pulumi.StringPtrOutput
- func (o ClusterClusterProfilePtrOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o ClusterClusterProfilePtrOutput) ToClusterClusterProfilePtrOutput() ClusterClusterProfilePtrOutput
- func (o ClusterClusterProfilePtrOutput) ToClusterClusterProfilePtrOutputWithContext(ctx context.Context) ClusterClusterProfilePtrOutput
- func (o ClusterClusterProfilePtrOutput) Version() pulumi.StringPtrOutput
- type ClusterIngressProfile
- type ClusterIngressProfileArgs
- func (ClusterIngressProfileArgs) ElementType() reflect.Type
- func (i ClusterIngressProfileArgs) ToClusterIngressProfileOutput() ClusterIngressProfileOutput
- func (i ClusterIngressProfileArgs) ToClusterIngressProfileOutputWithContext(ctx context.Context) ClusterIngressProfileOutput
- func (i ClusterIngressProfileArgs) ToClusterIngressProfilePtrOutput() ClusterIngressProfilePtrOutput
- func (i ClusterIngressProfileArgs) ToClusterIngressProfilePtrOutputWithContext(ctx context.Context) ClusterIngressProfilePtrOutput
- type ClusterIngressProfileInput
- type ClusterIngressProfileOutput
- func (ClusterIngressProfileOutput) ElementType() reflect.Type
- func (o ClusterIngressProfileOutput) IpAddress() pulumi.StringPtrOutput
- func (o ClusterIngressProfileOutput) Name() pulumi.StringPtrOutput
- func (o ClusterIngressProfileOutput) ToClusterIngressProfileOutput() ClusterIngressProfileOutput
- func (o ClusterIngressProfileOutput) ToClusterIngressProfileOutputWithContext(ctx context.Context) ClusterIngressProfileOutput
- func (o ClusterIngressProfileOutput) ToClusterIngressProfilePtrOutput() ClusterIngressProfilePtrOutput
- func (o ClusterIngressProfileOutput) ToClusterIngressProfilePtrOutputWithContext(ctx context.Context) ClusterIngressProfilePtrOutput
- func (o ClusterIngressProfileOutput) Visibility() pulumi.StringOutput
- type ClusterIngressProfilePtrInput
- type ClusterIngressProfilePtrOutput
- func (o ClusterIngressProfilePtrOutput) Elem() ClusterIngressProfileOutput
- func (ClusterIngressProfilePtrOutput) ElementType() reflect.Type
- func (o ClusterIngressProfilePtrOutput) IpAddress() pulumi.StringPtrOutput
- func (o ClusterIngressProfilePtrOutput) Name() pulumi.StringPtrOutput
- func (o ClusterIngressProfilePtrOutput) ToClusterIngressProfilePtrOutput() ClusterIngressProfilePtrOutput
- func (o ClusterIngressProfilePtrOutput) ToClusterIngressProfilePtrOutputWithContext(ctx context.Context) ClusterIngressProfilePtrOutput
- func (o ClusterIngressProfilePtrOutput) Visibility() pulumi.StringPtrOutput
- type ClusterInput
- type ClusterMainProfile
- type ClusterMainProfileArgs
- func (ClusterMainProfileArgs) ElementType() reflect.Type
- func (i ClusterMainProfileArgs) ToClusterMainProfileOutput() ClusterMainProfileOutput
- func (i ClusterMainProfileArgs) ToClusterMainProfileOutputWithContext(ctx context.Context) ClusterMainProfileOutput
- func (i ClusterMainProfileArgs) ToClusterMainProfilePtrOutput() ClusterMainProfilePtrOutput
- func (i ClusterMainProfileArgs) ToClusterMainProfilePtrOutputWithContext(ctx context.Context) ClusterMainProfilePtrOutput
- type ClusterMainProfileInput
- type ClusterMainProfileOutput
- func (o ClusterMainProfileOutput) DiskEncryptionSetId() pulumi.StringPtrOutput
- func (ClusterMainProfileOutput) ElementType() reflect.Type
- func (o ClusterMainProfileOutput) EncryptionAtHostEnabled() pulumi.BoolPtrOutput
- func (o ClusterMainProfileOutput) SubnetId() pulumi.StringOutput
- func (o ClusterMainProfileOutput) ToClusterMainProfileOutput() ClusterMainProfileOutput
- func (o ClusterMainProfileOutput) ToClusterMainProfileOutputWithContext(ctx context.Context) ClusterMainProfileOutput
- func (o ClusterMainProfileOutput) ToClusterMainProfilePtrOutput() ClusterMainProfilePtrOutput
- func (o ClusterMainProfileOutput) ToClusterMainProfilePtrOutputWithContext(ctx context.Context) ClusterMainProfilePtrOutput
- func (o ClusterMainProfileOutput) VmSize() pulumi.StringOutput
- type ClusterMainProfilePtrInput
- type ClusterMainProfilePtrOutput
- func (o ClusterMainProfilePtrOutput) DiskEncryptionSetId() pulumi.StringPtrOutput
- func (o ClusterMainProfilePtrOutput) Elem() ClusterMainProfileOutput
- func (ClusterMainProfilePtrOutput) ElementType() reflect.Type
- func (o ClusterMainProfilePtrOutput) EncryptionAtHostEnabled() pulumi.BoolPtrOutput
- func (o ClusterMainProfilePtrOutput) SubnetId() pulumi.StringPtrOutput
- func (o ClusterMainProfilePtrOutput) ToClusterMainProfilePtrOutput() ClusterMainProfilePtrOutput
- func (o ClusterMainProfilePtrOutput) ToClusterMainProfilePtrOutputWithContext(ctx context.Context) ClusterMainProfilePtrOutput
- func (o ClusterMainProfilePtrOutput) VmSize() pulumi.StringPtrOutput
- type ClusterMap
- type ClusterMapInput
- type ClusterMapOutput
- type ClusterNetworkProfile
- type ClusterNetworkProfileArgs
- func (ClusterNetworkProfileArgs) ElementType() reflect.Type
- func (i ClusterNetworkProfileArgs) ToClusterNetworkProfileOutput() ClusterNetworkProfileOutput
- func (i ClusterNetworkProfileArgs) ToClusterNetworkProfileOutputWithContext(ctx context.Context) ClusterNetworkProfileOutput
- func (i ClusterNetworkProfileArgs) ToClusterNetworkProfilePtrOutput() ClusterNetworkProfilePtrOutput
- func (i ClusterNetworkProfileArgs) ToClusterNetworkProfilePtrOutputWithContext(ctx context.Context) ClusterNetworkProfilePtrOutput
- type ClusterNetworkProfileInput
- type ClusterNetworkProfileOutput
- func (ClusterNetworkProfileOutput) ElementType() reflect.Type
- func (o ClusterNetworkProfileOutput) OutboundType() pulumi.StringPtrOutput
- func (o ClusterNetworkProfileOutput) PodCidr() pulumi.StringOutput
- func (o ClusterNetworkProfileOutput) PreconfiguredNetworkSecurityGroupEnabled() pulumi.BoolPtrOutput
- func (o ClusterNetworkProfileOutput) ServiceCidr() pulumi.StringOutput
- func (o ClusterNetworkProfileOutput) ToClusterNetworkProfileOutput() ClusterNetworkProfileOutput
- func (o ClusterNetworkProfileOutput) ToClusterNetworkProfileOutputWithContext(ctx context.Context) ClusterNetworkProfileOutput
- func (o ClusterNetworkProfileOutput) ToClusterNetworkProfilePtrOutput() ClusterNetworkProfilePtrOutput
- func (o ClusterNetworkProfileOutput) ToClusterNetworkProfilePtrOutputWithContext(ctx context.Context) ClusterNetworkProfilePtrOutput
- type ClusterNetworkProfilePtrInput
- type ClusterNetworkProfilePtrOutput
- func (o ClusterNetworkProfilePtrOutput) Elem() ClusterNetworkProfileOutput
- func (ClusterNetworkProfilePtrOutput) ElementType() reflect.Type
- func (o ClusterNetworkProfilePtrOutput) OutboundType() pulumi.StringPtrOutput
- func (o ClusterNetworkProfilePtrOutput) PodCidr() pulumi.StringPtrOutput
- func (o ClusterNetworkProfilePtrOutput) PreconfiguredNetworkSecurityGroupEnabled() pulumi.BoolPtrOutput
- func (o ClusterNetworkProfilePtrOutput) ServiceCidr() pulumi.StringPtrOutput
- func (o ClusterNetworkProfilePtrOutput) ToClusterNetworkProfilePtrOutput() ClusterNetworkProfilePtrOutput
- func (o ClusterNetworkProfilePtrOutput) ToClusterNetworkProfilePtrOutputWithContext(ctx context.Context) ClusterNetworkProfilePtrOutput
- type ClusterOutput
- func (o ClusterOutput) ApiServerProfile() ClusterApiServerProfileOutput
- func (o ClusterOutput) ClusterProfile() ClusterClusterProfileOutput
- func (o ClusterOutput) ConsoleUrl() pulumi.StringOutput
- func (ClusterOutput) ElementType() reflect.Type
- func (o ClusterOutput) IngressProfile() ClusterIngressProfileOutput
- func (o ClusterOutput) Location() pulumi.StringOutput
- func (o ClusterOutput) MainProfile() ClusterMainProfileOutput
- func (o ClusterOutput) Name() pulumi.StringOutput
- func (o ClusterOutput) NetworkProfile() ClusterNetworkProfileOutput
- func (o ClusterOutput) ResourceGroupName() pulumi.StringOutput
- func (o ClusterOutput) ServicePrincipal() ClusterServicePrincipalOutput
- func (o ClusterOutput) Tags() pulumi.StringMapOutput
- func (o ClusterOutput) ToClusterOutput() ClusterOutput
- func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
- func (o ClusterOutput) WorkerProfile() ClusterWorkerProfileOutput
- type ClusterServicePrincipal
- type ClusterServicePrincipalArgs
- func (ClusterServicePrincipalArgs) ElementType() reflect.Type
- func (i ClusterServicePrincipalArgs) ToClusterServicePrincipalOutput() ClusterServicePrincipalOutput
- func (i ClusterServicePrincipalArgs) ToClusterServicePrincipalOutputWithContext(ctx context.Context) ClusterServicePrincipalOutput
- func (i ClusterServicePrincipalArgs) ToClusterServicePrincipalPtrOutput() ClusterServicePrincipalPtrOutput
- func (i ClusterServicePrincipalArgs) ToClusterServicePrincipalPtrOutputWithContext(ctx context.Context) ClusterServicePrincipalPtrOutput
- type ClusterServicePrincipalInput
- type ClusterServicePrincipalOutput
- func (o ClusterServicePrincipalOutput) ClientId() pulumi.StringOutput
- func (o ClusterServicePrincipalOutput) ClientSecret() pulumi.StringOutput
- func (ClusterServicePrincipalOutput) ElementType() reflect.Type
- func (o ClusterServicePrincipalOutput) ToClusterServicePrincipalOutput() ClusterServicePrincipalOutput
- func (o ClusterServicePrincipalOutput) ToClusterServicePrincipalOutputWithContext(ctx context.Context) ClusterServicePrincipalOutput
- func (o ClusterServicePrincipalOutput) ToClusterServicePrincipalPtrOutput() ClusterServicePrincipalPtrOutput
- func (o ClusterServicePrincipalOutput) ToClusterServicePrincipalPtrOutputWithContext(ctx context.Context) ClusterServicePrincipalPtrOutput
- type ClusterServicePrincipalPtrInput
- type ClusterServicePrincipalPtrOutput
- func (o ClusterServicePrincipalPtrOutput) ClientId() pulumi.StringPtrOutput
- func (o ClusterServicePrincipalPtrOutput) ClientSecret() pulumi.StringPtrOutput
- func (o ClusterServicePrincipalPtrOutput) Elem() ClusterServicePrincipalOutput
- func (ClusterServicePrincipalPtrOutput) ElementType() reflect.Type
- func (o ClusterServicePrincipalPtrOutput) ToClusterServicePrincipalPtrOutput() ClusterServicePrincipalPtrOutput
- func (o ClusterServicePrincipalPtrOutput) ToClusterServicePrincipalPtrOutputWithContext(ctx context.Context) ClusterServicePrincipalPtrOutput
- type ClusterState
- type ClusterWorkerProfile
- type ClusterWorkerProfileArgs
- func (ClusterWorkerProfileArgs) ElementType() reflect.Type
- func (i ClusterWorkerProfileArgs) ToClusterWorkerProfileOutput() ClusterWorkerProfileOutput
- func (i ClusterWorkerProfileArgs) ToClusterWorkerProfileOutputWithContext(ctx context.Context) ClusterWorkerProfileOutput
- func (i ClusterWorkerProfileArgs) ToClusterWorkerProfilePtrOutput() ClusterWorkerProfilePtrOutput
- func (i ClusterWorkerProfileArgs) ToClusterWorkerProfilePtrOutputWithContext(ctx context.Context) ClusterWorkerProfilePtrOutput
- type ClusterWorkerProfileInput
- type ClusterWorkerProfileOutput
- func (o ClusterWorkerProfileOutput) DiskEncryptionSetId() pulumi.StringPtrOutput
- func (o ClusterWorkerProfileOutput) DiskSizeGb() pulumi.IntOutput
- func (ClusterWorkerProfileOutput) ElementType() reflect.Type
- func (o ClusterWorkerProfileOutput) EncryptionAtHostEnabled() pulumi.BoolPtrOutput
- func (o ClusterWorkerProfileOutput) NodeCount() pulumi.IntOutput
- func (o ClusterWorkerProfileOutput) SubnetId() pulumi.StringOutput
- func (o ClusterWorkerProfileOutput) ToClusterWorkerProfileOutput() ClusterWorkerProfileOutput
- func (o ClusterWorkerProfileOutput) ToClusterWorkerProfileOutputWithContext(ctx context.Context) ClusterWorkerProfileOutput
- func (o ClusterWorkerProfileOutput) ToClusterWorkerProfilePtrOutput() ClusterWorkerProfilePtrOutput
- func (o ClusterWorkerProfileOutput) ToClusterWorkerProfilePtrOutputWithContext(ctx context.Context) ClusterWorkerProfilePtrOutput
- func (o ClusterWorkerProfileOutput) VmSize() pulumi.StringOutput
- type ClusterWorkerProfilePtrInput
- type ClusterWorkerProfilePtrOutput
- func (o ClusterWorkerProfilePtrOutput) DiskEncryptionSetId() pulumi.StringPtrOutput
- func (o ClusterWorkerProfilePtrOutput) DiskSizeGb() pulumi.IntPtrOutput
- func (o ClusterWorkerProfilePtrOutput) Elem() ClusterWorkerProfileOutput
- func (ClusterWorkerProfilePtrOutput) ElementType() reflect.Type
- func (o ClusterWorkerProfilePtrOutput) EncryptionAtHostEnabled() pulumi.BoolPtrOutput
- func (o ClusterWorkerProfilePtrOutput) NodeCount() pulumi.IntPtrOutput
- func (o ClusterWorkerProfilePtrOutput) SubnetId() pulumi.StringPtrOutput
- func (o ClusterWorkerProfilePtrOutput) ToClusterWorkerProfilePtrOutput() ClusterWorkerProfilePtrOutput
- func (o ClusterWorkerProfilePtrOutput) ToClusterWorkerProfilePtrOutputWithContext(ctx context.Context) ClusterWorkerProfilePtrOutput
- func (o ClusterWorkerProfilePtrOutput) VmSize() pulumi.StringPtrOutput
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) 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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ClusterApiServerProfileOutput) IpAddress ¶
func (o ClusterApiServerProfileOutput) IpAddress() pulumi.StringPtrOutput
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 ¶
func (o ClusterApiServerProfileOutput) Url() pulumi.StringPtrOutput
The URL the API Server Profile is associated with.
func (ClusterApiServerProfileOutput) Visibility ¶
func (o ClusterApiServerProfileOutput) Visibility() pulumi.StringOutput
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
func ClusterApiServerProfilePtr ¶
func ClusterApiServerProfilePtr(v *ClusterApiServerProfileArgs) ClusterApiServerProfilePtrInput
type ClusterApiServerProfilePtrOutput ¶
type ClusterApiServerProfilePtrOutput struct{ *pulumi.OutputState }
func (ClusterApiServerProfilePtrOutput) Elem ¶
func (o ClusterApiServerProfilePtrOutput) Elem() ClusterApiServerProfileOutput
func (ClusterApiServerProfilePtrOutput) ElementType ¶
func (ClusterApiServerProfilePtrOutput) ElementType() reflect.Type
func (ClusterApiServerProfilePtrOutput) IpAddress ¶
func (o ClusterApiServerProfilePtrOutput) IpAddress() pulumi.StringPtrOutput
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 ¶
func (o ClusterApiServerProfilePtrOutput) Url() pulumi.StringPtrOutput
The URL the API Server Profile is associated with.
func (ClusterApiServerProfilePtrOutput) Visibility ¶
func (o ClusterApiServerProfilePtrOutput) Visibility() pulumi.StringPtrOutput
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 (o ClusterArrayOutput) Index(i pulumi.IntInput) ClusterOutput
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 ¶
func (o ClusterClusterProfileOutput) Domain() pulumi.StringOutput
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) ElementType() reflect.Type
func (ClusterClusterProfileOutput) FipsEnabled ¶
func (o ClusterClusterProfileOutput) FipsEnabled() pulumi.BoolPtrOutput
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 ¶
func (o ClusterClusterProfileOutput) PullSecret() pulumi.StringPtrOutput
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 ¶
func (o ClusterClusterProfileOutput) ResourceGroupId() pulumi.StringPtrOutput
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 ¶
func (o ClusterClusterProfileOutput) Version() pulumi.StringOutput
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
func ClusterClusterProfilePtr ¶
func ClusterClusterProfilePtr(v *ClusterClusterProfileArgs) ClusterClusterProfilePtrInput
type ClusterClusterProfilePtrOutput ¶
type ClusterClusterProfilePtrOutput struct{ *pulumi.OutputState }
func (ClusterClusterProfilePtrOutput) Domain ¶
func (o ClusterClusterProfilePtrOutput) Domain() pulumi.StringPtrOutput
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 (o ClusterClusterProfilePtrOutput) Elem() ClusterClusterProfileOutput
func (ClusterClusterProfilePtrOutput) ElementType ¶
func (ClusterClusterProfilePtrOutput) ElementType() reflect.Type
func (ClusterClusterProfilePtrOutput) FipsEnabled ¶
func (o ClusterClusterProfilePtrOutput) FipsEnabled() pulumi.BoolPtrOutput
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 ¶
func (o ClusterClusterProfilePtrOutput) PullSecret() pulumi.StringPtrOutput
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 ¶
func (o ClusterClusterProfilePtrOutput) ResourceGroupId() pulumi.StringPtrOutput
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 ¶
func (o ClusterClusterProfilePtrOutput) Version() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (ClusterIngressProfileOutput) IpAddress ¶
func (o ClusterIngressProfileOutput) IpAddress() pulumi.StringPtrOutput
The IP Address the Ingress Profile is associated with.
func (ClusterIngressProfileOutput) Name ¶
func (o ClusterIngressProfileOutput) Name() pulumi.StringPtrOutput
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 ¶
func (o ClusterIngressProfileOutput) Visibility() pulumi.StringOutput
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
func ClusterIngressProfilePtr ¶
func ClusterIngressProfilePtr(v *ClusterIngressProfileArgs) ClusterIngressProfilePtrInput
type ClusterIngressProfilePtrOutput ¶
type ClusterIngressProfilePtrOutput struct{ *pulumi.OutputState }
func (ClusterIngressProfilePtrOutput) Elem ¶
func (o ClusterIngressProfilePtrOutput) Elem() ClusterIngressProfileOutput
func (ClusterIngressProfilePtrOutput) ElementType ¶
func (ClusterIngressProfilePtrOutput) ElementType() reflect.Type
func (ClusterIngressProfilePtrOutput) IpAddress ¶
func (o ClusterIngressProfilePtrOutput) IpAddress() pulumi.StringPtrOutput
The IP Address the Ingress Profile is associated with.
func (ClusterIngressProfilePtrOutput) Name ¶
func (o ClusterIngressProfilePtrOutput) Name() pulumi.StringPtrOutput
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 ¶
func (o ClusterIngressProfilePtrOutput) Visibility() pulumi.StringPtrOutput
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 ¶
func (o ClusterMainProfileOutput) SubnetId() pulumi.StringOutput
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 ¶
func (o ClusterMainProfileOutput) VmSize() pulumi.StringOutput
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
func ClusterMainProfilePtr ¶
func ClusterMainProfilePtr(v *ClusterMainProfileArgs) ClusterMainProfilePtrInput
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 (o ClusterMainProfilePtrOutput) Elem() ClusterMainProfileOutput
func (ClusterMainProfilePtrOutput) ElementType ¶
func (ClusterMainProfilePtrOutput) ElementType() reflect.Type
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 ¶
func (o ClusterMainProfilePtrOutput) SubnetId() pulumi.StringPtrOutput
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 ¶
func (o ClusterMainProfilePtrOutput) VmSize() pulumi.StringPtrOutput
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 (o ClusterMapOutput) MapIndex(k pulumi.StringInput) ClusterOutput
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) ElementType() reflect.Type
func (ClusterNetworkProfileOutput) OutboundType ¶
func (o ClusterNetworkProfileOutput) OutboundType() pulumi.StringPtrOutput
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 ¶
func (o ClusterNetworkProfileOutput) PodCidr() pulumi.StringOutput
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 ¶
func (o ClusterNetworkProfileOutput) ServiceCidr() pulumi.StringOutput
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
func ClusterNetworkProfilePtr ¶
func ClusterNetworkProfilePtr(v *ClusterNetworkProfileArgs) ClusterNetworkProfilePtrInput
type ClusterNetworkProfilePtrOutput ¶
type ClusterNetworkProfilePtrOutput struct{ *pulumi.OutputState }
func (ClusterNetworkProfilePtrOutput) Elem ¶
func (o ClusterNetworkProfilePtrOutput) Elem() ClusterNetworkProfileOutput
func (ClusterNetworkProfilePtrOutput) ElementType ¶
func (ClusterNetworkProfilePtrOutput) ElementType() reflect.Type
func (ClusterNetworkProfilePtrOutput) OutboundType ¶
func (o ClusterNetworkProfilePtrOutput) OutboundType() pulumi.StringPtrOutput
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 ¶
func (o ClusterNetworkProfilePtrOutput) PodCidr() pulumi.StringPtrOutput
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 ¶
func (o ClusterNetworkProfilePtrOutput) ServiceCidr() pulumi.StringPtrOutput
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 ¶
func (o ClusterOutput) Name() pulumi.StringOutput
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 ¶
func (o ClusterOutput) Tags() pulumi.StringMapOutput
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) ElementType() reflect.Type
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 ¶
func (o ClusterServicePrincipalOutput) ClientId() pulumi.StringOutput
The Client ID for the Service Principal.
func (ClusterServicePrincipalOutput) ClientSecret ¶
func (o ClusterServicePrincipalOutput) ClientSecret() pulumi.StringOutput
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) ElementType() reflect.Type
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
func ClusterServicePrincipalPtr ¶
func ClusterServicePrincipalPtr(v *ClusterServicePrincipalArgs) ClusterServicePrincipalPtrInput
type ClusterServicePrincipalPtrOutput ¶
type ClusterServicePrincipalPtrOutput struct{ *pulumi.OutputState }
func (ClusterServicePrincipalPtrOutput) ClientId ¶
func (o ClusterServicePrincipalPtrOutput) ClientId() pulumi.StringPtrOutput
The Client ID for the Service Principal.
func (ClusterServicePrincipalPtrOutput) ClientSecret ¶
func (o ClusterServicePrincipalPtrOutput) ClientSecret() pulumi.StringPtrOutput
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 (o ClusterServicePrincipalPtrOutput) Elem() ClusterServicePrincipalOutput
func (ClusterServicePrincipalPtrOutput) ElementType ¶
func (ClusterServicePrincipalPtrOutput) ElementType() reflect.Type
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 ¶
func (o ClusterWorkerProfileOutput) DiskSizeGb() pulumi.IntOutput
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 ¶
func (o ClusterWorkerProfileOutput) NodeCount() pulumi.IntOutput
The initial number of worker nodes which should exist in the cluster. Changing this forces a new resource to be created.
func (ClusterWorkerProfileOutput) SubnetId ¶
func (o ClusterWorkerProfileOutput) SubnetId() pulumi.StringOutput
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 ¶
func (o ClusterWorkerProfileOutput) VmSize() pulumi.StringOutput
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
func ClusterWorkerProfilePtr ¶
func ClusterWorkerProfilePtr(v *ClusterWorkerProfileArgs) ClusterWorkerProfilePtrInput
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 ¶
func (o ClusterWorkerProfilePtrOutput) DiskSizeGb() pulumi.IntPtrOutput
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 (o ClusterWorkerProfilePtrOutput) Elem() ClusterWorkerProfileOutput
func (ClusterWorkerProfilePtrOutput) ElementType ¶
func (ClusterWorkerProfilePtrOutput) ElementType() reflect.Type
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 ¶
func (o ClusterWorkerProfilePtrOutput) NodeCount() pulumi.IntPtrOutput
The initial number of worker nodes which should exist in the cluster. Changing this forces a new resource to be created.
func (ClusterWorkerProfilePtrOutput) SubnetId ¶
func (o ClusterWorkerProfilePtrOutput) SubnetId() pulumi.StringPtrOutput
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 ¶
func (o ClusterWorkerProfilePtrOutput) VmSize() pulumi.StringPtrOutput
The size of the Virtual Machines for the worker nodes. Changing this forces a new resource to be created.