This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.redhatopenshift.getOpenShiftCluster
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
The operation returns properties of a OpenShift cluster. Azure REST API version: 2022-09-04.
Other available API versions: 2023-04-01, 2023-07-01-preview, 2023-09-04, 2023-11-22, 2024-08-12-preview.
Using getOpenShiftCluster
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getOpenShiftCluster(args: GetOpenShiftClusterArgs, opts?: InvokeOptions): Promise<GetOpenShiftClusterResult>
function getOpenShiftClusterOutput(args: GetOpenShiftClusterOutputArgs, opts?: InvokeOptions): Output<GetOpenShiftClusterResult>def get_open_shift_cluster(resource_group_name: Optional[str] = None,
                           resource_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetOpenShiftClusterResult
def get_open_shift_cluster_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                           resource_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetOpenShiftClusterResult]func LookupOpenShiftCluster(ctx *Context, args *LookupOpenShiftClusterArgs, opts ...InvokeOption) (*LookupOpenShiftClusterResult, error)
func LookupOpenShiftClusterOutput(ctx *Context, args *LookupOpenShiftClusterOutputArgs, opts ...InvokeOption) LookupOpenShiftClusterResultOutput> Note: This function is named LookupOpenShiftCluster in the Go SDK.
public static class GetOpenShiftCluster 
{
    public static Task<GetOpenShiftClusterResult> InvokeAsync(GetOpenShiftClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetOpenShiftClusterResult> Invoke(GetOpenShiftClusterInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOpenShiftClusterResult> getOpenShiftCluster(GetOpenShiftClusterArgs args, InvokeOptions options)
public static Output<GetOpenShiftClusterResult> getOpenShiftCluster(GetOpenShiftClusterArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:redhatopenshift:getOpenShiftCluster
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ResourceName string
- The name of the OpenShift cluster resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ResourceName string
- The name of the OpenShift cluster resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- resourceName String
- The name of the OpenShift cluster resource.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- resourceName string
- The name of the OpenShift cluster resource.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- resource_name str
- The name of the OpenShift cluster resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- resourceName String
- The name of the OpenShift cluster resource.
getOpenShiftCluster Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- SystemData Pulumi.Azure Native. Red Hat Open Shift. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- ApiserverProfile Pulumi.Azure Native. Red Hat Open Shift. Outputs. APIServer Profile Response 
- The cluster API server profile.
- ClusterProfile Pulumi.Azure Native. Red Hat Open Shift. Outputs. Cluster Profile Response 
- The cluster profile.
- ConsoleProfile Pulumi.Azure Native. Red Hat Open Shift. Outputs. Console Profile Response 
- The console profile.
- IngressProfiles List<Pulumi.Azure Native. Red Hat Open Shift. Outputs. Ingress Profile Response> 
- The cluster ingress profiles.
- MasterProfile Pulumi.Azure Native. Red Hat Open Shift. Outputs. Master Profile Response 
- The cluster master profile.
- NetworkProfile Pulumi.Azure Native. Red Hat Open Shift. Outputs. Network Profile Response 
- The cluster network profile.
- ProvisioningState string
- The cluster provisioning state.
- ServicePrincipal Pulumi.Profile Azure Native. Red Hat Open Shift. Outputs. Service Principal Profile Response 
- The cluster service principal profile.
- Dictionary<string, string>
- Resource tags.
- WorkerProfiles List<Pulumi.Azure Native. Red Hat Open Shift. Outputs. Worker Profile Response> 
- The cluster worker profiles.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- ApiserverProfile APIServerProfile Response 
- The cluster API server profile.
- ClusterProfile ClusterProfile Response 
- The cluster profile.
- ConsoleProfile ConsoleProfile Response 
- The console profile.
- IngressProfiles []IngressProfile Response 
- The cluster ingress profiles.
- MasterProfile MasterProfile Response 
- The cluster master profile.
- NetworkProfile NetworkProfile Response 
- The cluster network profile.
- ProvisioningState string
- The cluster provisioning state.
- ServicePrincipal ServiceProfile Principal Profile Response 
- The cluster service principal profile.
- map[string]string
- Resource tags.
- WorkerProfiles []WorkerProfile Response 
- The cluster worker profiles.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- apiserverProfile APIServerProfile Response 
- The cluster API server profile.
- clusterProfile ClusterProfile Response 
- The cluster profile.
- consoleProfile ConsoleProfile Response 
- The console profile.
- ingressProfiles List<IngressProfile Response> 
- The cluster ingress profiles.
- masterProfile MasterProfile Response 
- The cluster master profile.
- networkProfile NetworkProfile Response 
- The cluster network profile.
- provisioningState String
- The cluster provisioning state.
- servicePrincipal ServiceProfile Principal Profile Response 
- The cluster service principal profile.
- Map<String,String>
- Resource tags.
- workerProfiles List<WorkerProfile Response> 
- The cluster worker profiles.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- apiserverProfile APIServerProfile Response 
- The cluster API server profile.
- clusterProfile ClusterProfile Response 
- The cluster profile.
- consoleProfile ConsoleProfile Response 
- The console profile.
- ingressProfiles IngressProfile Response[] 
- The cluster ingress profiles.
- masterProfile MasterProfile Response 
- The cluster master profile.
- networkProfile NetworkProfile Response 
- The cluster network profile.
- provisioningState string
- The cluster provisioning state.
- servicePrincipal ServiceProfile Principal Profile Response 
- The cluster service principal profile.
- {[key: string]: string}
- Resource tags.
- workerProfiles WorkerProfile Response[] 
- The cluster worker profiles.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- apiserver_profile APIServerProfile Response 
- The cluster API server profile.
- cluster_profile ClusterProfile Response 
- The cluster profile.
- console_profile ConsoleProfile Response 
- The console profile.
- ingress_profiles Sequence[IngressProfile Response] 
- The cluster ingress profiles.
- master_profile MasterProfile Response 
- The cluster master profile.
- network_profile NetworkProfile Response 
- The cluster network profile.
- provisioning_state str
- The cluster provisioning state.
- service_principal_ Serviceprofile Principal Profile Response 
- The cluster service principal profile.
- Mapping[str, str]
- Resource tags.
- worker_profiles Sequence[WorkerProfile Response] 
- The cluster worker profiles.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- apiserverProfile Property Map
- The cluster API server profile.
- clusterProfile Property Map
- The cluster profile.
- consoleProfile Property Map
- The console profile.
- ingressProfiles List<Property Map>
- The cluster ingress profiles.
- masterProfile Property Map
- The cluster master profile.
- networkProfile Property Map
- The cluster network profile.
- provisioningState String
- The cluster provisioning state.
- servicePrincipal Property MapProfile 
- The cluster service principal profile.
- Map<String>
- Resource tags.
- workerProfiles List<Property Map>
- The cluster worker profiles.
Supporting Types
APIServerProfileResponse  
- Ip string
- The IP of the cluster API server.
- Url string
- The URL to access the cluster API server.
- Visibility string
- API server visibility.
- Ip string
- The IP of the cluster API server.
- Url string
- The URL to access the cluster API server.
- Visibility string
- API server visibility.
- ip String
- The IP of the cluster API server.
- url String
- The URL to access the cluster API server.
- visibility String
- API server visibility.
- ip string
- The IP of the cluster API server.
- url string
- The URL to access the cluster API server.
- visibility string
- API server visibility.
- ip str
- The IP of the cluster API server.
- url str
- The URL to access the cluster API server.
- visibility str
- API server visibility.
- ip String
- The IP of the cluster API server.
- url String
- The URL to access the cluster API server.
- visibility String
- API server visibility.
ClusterProfileResponse  
- Domain string
- The domain for the cluster.
- FipsValidated stringModules 
- If FIPS validated crypto modules are used
- PullSecret string
- The pull secret for the cluster.
- ResourceGroup stringId 
- The ID of the cluster resource group.
- Version string
- The version of the cluster.
- Domain string
- The domain for the cluster.
- FipsValidated stringModules 
- If FIPS validated crypto modules are used
- PullSecret string
- The pull secret for the cluster.
- ResourceGroup stringId 
- The ID of the cluster resource group.
- Version string
- The version of the cluster.
- domain String
- The domain for the cluster.
- fipsValidated StringModules 
- If FIPS validated crypto modules are used
- pullSecret String
- The pull secret for the cluster.
- resourceGroup StringId 
- The ID of the cluster resource group.
- version String
- The version of the cluster.
- domain string
- The domain for the cluster.
- fipsValidated stringModules 
- If FIPS validated crypto modules are used
- pullSecret string
- The pull secret for the cluster.
- resourceGroup stringId 
- The ID of the cluster resource group.
- version string
- The version of the cluster.
- domain str
- The domain for the cluster.
- fips_validated_ strmodules 
- If FIPS validated crypto modules are used
- pull_secret str
- The pull secret for the cluster.
- resource_group_ strid 
- The ID of the cluster resource group.
- version str
- The version of the cluster.
- domain String
- The domain for the cluster.
- fipsValidated StringModules 
- If FIPS validated crypto modules are used
- pullSecret String
- The pull secret for the cluster.
- resourceGroup StringId 
- The ID of the cluster resource group.
- version String
- The version of the cluster.
ConsoleProfileResponse  
- Url string
- The URL to access the cluster console.
- Url string
- The URL to access the cluster console.
- url String
- The URL to access the cluster console.
- url string
- The URL to access the cluster console.
- url str
- The URL to access the cluster console.
- url String
- The URL to access the cluster console.
IngressProfileResponse  
- Ip string
- The IP of the ingress.
- Name string
- The ingress profile name.
- Visibility string
- Ingress visibility.
- Ip string
- The IP of the ingress.
- Name string
- The ingress profile name.
- Visibility string
- Ingress visibility.
- ip String
- The IP of the ingress.
- name String
- The ingress profile name.
- visibility String
- Ingress visibility.
- ip string
- The IP of the ingress.
- name string
- The ingress profile name.
- visibility string
- Ingress visibility.
- ip str
- The IP of the ingress.
- name str
- The ingress profile name.
- visibility str
- Ingress visibility.
- ip String
- The IP of the ingress.
- name String
- The ingress profile name.
- visibility String
- Ingress visibility.
MasterProfileResponse  
- DiskEncryption stringSet Id 
- The resource ID of an associated DiskEncryptionSet, if applicable.
- EncryptionAt stringHost 
- Whether master virtual machines are encrypted at host.
- SubnetId string
- The Azure resource ID of the master subnet.
- VmSize string
- The size of the master VMs.
- DiskEncryption stringSet Id 
- The resource ID of an associated DiskEncryptionSet, if applicable.
- EncryptionAt stringHost 
- Whether master virtual machines are encrypted at host.
- SubnetId string
- The Azure resource ID of the master subnet.
- VmSize string
- The size of the master VMs.
- diskEncryption StringSet Id 
- The resource ID of an associated DiskEncryptionSet, if applicable.
- encryptionAt StringHost 
- Whether master virtual machines are encrypted at host.
- subnetId String
- The Azure resource ID of the master subnet.
- vmSize String
- The size of the master VMs.
- diskEncryption stringSet Id 
- The resource ID of an associated DiskEncryptionSet, if applicable.
- encryptionAt stringHost 
- Whether master virtual machines are encrypted at host.
- subnetId string
- The Azure resource ID of the master subnet.
- vmSize string
- The size of the master VMs.
- disk_encryption_ strset_ id 
- The resource ID of an associated DiskEncryptionSet, if applicable.
- encryption_at_ strhost 
- Whether master virtual machines are encrypted at host.
- subnet_id str
- The Azure resource ID of the master subnet.
- vm_size str
- The size of the master VMs.
- diskEncryption StringSet Id 
- The resource ID of an associated DiskEncryptionSet, if applicable.
- encryptionAt StringHost 
- Whether master virtual machines are encrypted at host.
- subnetId String
- The Azure resource ID of the master subnet.
- vmSize String
- The size of the master VMs.
NetworkProfileResponse  
- PodCidr string
- The CIDR used for OpenShift/Kubernetes Pods.
- ServiceCidr string
- The CIDR used for OpenShift/Kubernetes Services.
- PodCidr string
- The CIDR used for OpenShift/Kubernetes Pods.
- ServiceCidr string
- The CIDR used for OpenShift/Kubernetes Services.
- podCidr String
- The CIDR used for OpenShift/Kubernetes Pods.
- serviceCidr String
- The CIDR used for OpenShift/Kubernetes Services.
- podCidr string
- The CIDR used for OpenShift/Kubernetes Pods.
- serviceCidr string
- The CIDR used for OpenShift/Kubernetes Services.
- pod_cidr str
- The CIDR used for OpenShift/Kubernetes Pods.
- service_cidr str
- The CIDR used for OpenShift/Kubernetes Services.
- podCidr String
- The CIDR used for OpenShift/Kubernetes Pods.
- serviceCidr String
- The CIDR used for OpenShift/Kubernetes Services.
ServicePrincipalProfileResponse   
- ClientId string
- The client ID used for the cluster.
- ClientSecret string
- The client secret used for the cluster.
- ClientId string
- The client ID used for the cluster.
- ClientSecret string
- The client secret used for the cluster.
- clientId String
- The client ID used for the cluster.
- clientSecret String
- The client secret used for the cluster.
- clientId string
- The client ID used for the cluster.
- clientSecret string
- The client secret used for the cluster.
- client_id str
- The client ID used for the cluster.
- client_secret str
- The client secret used for the cluster.
- clientId String
- The client ID used for the cluster.
- clientSecret String
- The client secret used for the cluster.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
WorkerProfileResponse  
- Count int
- The number of worker VMs.
- DiskEncryption stringSet Id 
- The resource ID of an associated DiskEncryptionSet, if applicable.
- DiskSize intGB 
- The disk size of the worker VMs.
- EncryptionAt stringHost 
- Whether master virtual machines are encrypted at host.
- Name string
- The worker profile name.
- SubnetId string
- The Azure resource ID of the worker subnet.
- VmSize string
- The size of the worker VMs.
- Count int
- The number of worker VMs.
- DiskEncryption stringSet Id 
- The resource ID of an associated DiskEncryptionSet, if applicable.
- DiskSize intGB 
- The disk size of the worker VMs.
- EncryptionAt stringHost 
- Whether master virtual machines are encrypted at host.
- Name string
- The worker profile name.
- SubnetId string
- The Azure resource ID of the worker subnet.
- VmSize string
- The size of the worker VMs.
- count Integer
- The number of worker VMs.
- diskEncryption StringSet Id 
- The resource ID of an associated DiskEncryptionSet, if applicable.
- diskSize IntegerGB 
- The disk size of the worker VMs.
- encryptionAt StringHost 
- Whether master virtual machines are encrypted at host.
- name String
- The worker profile name.
- subnetId String
- The Azure resource ID of the worker subnet.
- vmSize String
- The size of the worker VMs.
- count number
- The number of worker VMs.
- diskEncryption stringSet Id 
- The resource ID of an associated DiskEncryptionSet, if applicable.
- diskSize numberGB 
- The disk size of the worker VMs.
- encryptionAt stringHost 
- Whether master virtual machines are encrypted at host.
- name string
- The worker profile name.
- subnetId string
- The Azure resource ID of the worker subnet.
- vmSize string
- The size of the worker VMs.
- count int
- The number of worker VMs.
- disk_encryption_ strset_ id 
- The resource ID of an associated DiskEncryptionSet, if applicable.
- disk_size_ intgb 
- The disk size of the worker VMs.
- encryption_at_ strhost 
- Whether master virtual machines are encrypted at host.
- name str
- The worker profile name.
- subnet_id str
- The Azure resource ID of the worker subnet.
- vm_size str
- The size of the worker VMs.
- count Number
- The number of worker VMs.
- diskEncryption StringSet Id 
- The resource ID of an associated DiskEncryptionSet, if applicable.
- diskSize NumberGB 
- The disk size of the worker VMs.
- encryptionAt StringHost 
- Whether master virtual machines are encrypted at host.
- name String
- The worker profile name.
- subnetId String
- The Azure resource ID of the worker subnet.
- vmSize String
- The size of the worker VMs.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi