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.47.1 published on Monday, Jun 24, 2024 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.47.1 published on Monday, Jun 24, 2024 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.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:redhatopenshift:getOpenShiftCluster
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the OpenShift cluster resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the OpenShift cluster resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the OpenShift cluster resource.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- resource
Name 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.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name 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
- System
Data 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"
- Apiserver
Profile Pulumi.Azure Native. Red Hat Open Shift. Outputs. APIServer Profile Response - The cluster API server profile.
- Cluster
Profile Pulumi.Azure Native. Red Hat Open Shift. Outputs. Cluster Profile Response - The cluster profile.
- Console
Profile Pulumi.Azure Native. Red Hat Open Shift. Outputs. Console Profile Response - The console profile.
- Ingress
Profiles List<Pulumi.Azure Native. Red Hat Open Shift. Outputs. Ingress Profile Response> - The cluster ingress profiles.
- Master
Profile Pulumi.Azure Native. Red Hat Open Shift. Outputs. Master Profile Response - The cluster master profile.
- Network
Profile Pulumi.Azure Native. Red Hat Open Shift. Outputs. Network Profile Response - The cluster network profile.
- Provisioning
State string - The cluster provisioning state.
- Service
Principal Pulumi.Profile Azure Native. Red Hat Open Shift. Outputs. Service Principal Profile Response - The cluster service principal profile.
- Dictionary<string, string>
- Resource tags.
- Worker
Profiles 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
- System
Data 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"
- 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 []IngressProfile Response - The cluster ingress profiles.
- Master
Profile MasterProfile Response - The cluster master profile.
- Network
Profile NetworkProfile Response - The cluster network profile.
- Provisioning
State string - The cluster provisioning state.
- Service
Principal ServiceProfile Principal Profile Response - The cluster service principal profile.
- map[string]string
- Resource tags.
- Worker
Profiles []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
- system
Data 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"
- 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 List<IngressProfile Response> - The cluster ingress profiles.
- master
Profile MasterProfile Response - The cluster master profile.
- network
Profile NetworkProfile Response - The cluster network profile.
- provisioning
State String - The cluster provisioning state.
- service
Principal ServiceProfile Principal Profile Response - The cluster service principal profile.
- Map<String,String>
- Resource tags.
- worker
Profiles 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
- system
Data 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"
- 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 IngressProfile Response[] - The cluster ingress profiles.
- master
Profile MasterProfile Response - The cluster master profile.
- network
Profile NetworkProfile Response - The cluster network profile.
- provisioning
State string - The cluster provisioning state.
- service
Principal ServiceProfile Principal Profile Response - The cluster service principal profile.
- {[key: string]: string}
- Resource tags.
- worker
Profiles 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
- system
Data 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"
- apiserver
Profile Property Map - The cluster API server profile.
- cluster
Profile Property Map - The cluster profile.
- console
Profile Property Map - The console profile.
- ingress
Profiles List<Property Map> - The cluster ingress profiles.
- master
Profile Property Map - The cluster master profile.
- network
Profile Property Map - The cluster network profile.
- provisioning
State String - The cluster provisioning state.
- service
Principal Property MapProfile - The cluster service principal profile.
- Map<String>
- Resource tags.
- worker
Profiles 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.
- Fips
Validated stringModules - If FIPS validated crypto modules are used
- Pull
Secret string - The pull secret for the cluster.
- Resource
Group stringId - The ID of the cluster resource group.
- Version string
- The version of the cluster.
- Domain string
- The domain for the cluster.
- Fips
Validated stringModules - If FIPS validated crypto modules are used
- Pull
Secret string - The pull secret for the cluster.
- Resource
Group stringId - The ID of the cluster resource group.
- Version string
- The version of the cluster.
- domain String
- The domain for the cluster.
- fips
Validated StringModules - If FIPS validated crypto modules are used
- pull
Secret String - The pull secret for the cluster.
- resource
Group StringId - The ID of the cluster resource group.
- version String
- The version of the cluster.
- domain string
- The domain for the cluster.
- fips
Validated stringModules - If FIPS validated crypto modules are used
- pull
Secret string - The pull secret for the cluster.
- resource
Group 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.
- fips
Validated StringModules - If FIPS validated crypto modules are used
- pull
Secret String - The pull secret for the cluster.
- resource
Group 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
- Disk
Encryption stringSet Id - The resource ID of an associated DiskEncryptionSet, if applicable.
- Encryption
At stringHost - Whether master virtual machines are encrypted at host.
- Subnet
Id string - The Azure resource ID of the master subnet.
- Vm
Size string - The size of the master VMs.
- Disk
Encryption stringSet Id - The resource ID of an associated DiskEncryptionSet, if applicable.
- Encryption
At stringHost - Whether master virtual machines are encrypted at host.
- Subnet
Id string - The Azure resource ID of the master subnet.
- Vm
Size string - The size of the master VMs.
- disk
Encryption StringSet Id - The resource ID of an associated DiskEncryptionSet, if applicable.
- encryption
At StringHost - Whether master virtual machines are encrypted at host.
- subnet
Id String - The Azure resource ID of the master subnet.
- vm
Size String - The size of the master VMs.
- disk
Encryption stringSet Id - The resource ID of an associated DiskEncryptionSet, if applicable.
- encryption
At stringHost - Whether master virtual machines are encrypted at host.
- subnet
Id string - The Azure resource ID of the master subnet.
- vm
Size 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.
- disk
Encryption StringSet Id - The resource ID of an associated DiskEncryptionSet, if applicable.
- encryption
At StringHost - Whether master virtual machines are encrypted at host.
- subnet
Id String - The Azure resource ID of the master subnet.
- vm
Size String - The size of the master VMs.
NetworkProfileResponse
- Pod
Cidr string - The CIDR used for OpenShift/Kubernetes Pods.
- Service
Cidr string - The CIDR used for OpenShift/Kubernetes Services.
- Pod
Cidr string - The CIDR used for OpenShift/Kubernetes Pods.
- Service
Cidr string - The CIDR used for OpenShift/Kubernetes Services.
- pod
Cidr String - The CIDR used for OpenShift/Kubernetes Pods.
- service
Cidr String - The CIDR used for OpenShift/Kubernetes Services.
- pod
Cidr string - The CIDR used for OpenShift/Kubernetes Pods.
- service
Cidr 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.
- pod
Cidr String - The CIDR used for OpenShift/Kubernetes Pods.
- service
Cidr String - The CIDR used for OpenShift/Kubernetes Services.
ServicePrincipalProfileResponse
- Client
Id string - The client ID used for the cluster.
- Client
Secret string - The client secret used for the cluster.
- Client
Id string - The client ID used for the cluster.
- Client
Secret string - The client secret used for the cluster.
- client
Id String - The client ID used for the cluster.
- client
Secret String - The client secret used for the cluster.
- client
Id string - The client ID used for the cluster.
- client
Secret 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.
- client
Id String - The client ID used for the cluster.
- client
Secret String - The client secret used for the cluster.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
WorkerProfileResponse
- Count int
- The number of worker VMs.
- Disk
Encryption stringSet Id - The resource ID of an associated DiskEncryptionSet, if applicable.
- Disk
Size intGB - The disk size of the worker VMs.
- Encryption
At stringHost - Whether master virtual machines are encrypted at host.
- Name string
- The worker profile name.
- Subnet
Id string - The Azure resource ID of the worker subnet.
- Vm
Size string - The size of the worker VMs.
- Count int
- The number of worker VMs.
- Disk
Encryption stringSet Id - The resource ID of an associated DiskEncryptionSet, if applicable.
- Disk
Size intGB - The disk size of the worker VMs.
- Encryption
At stringHost - Whether master virtual machines are encrypted at host.
- Name string
- The worker profile name.
- Subnet
Id string - The Azure resource ID of the worker subnet.
- Vm
Size string - The size of the worker VMs.
- count Integer
- The number of worker VMs.
- disk
Encryption StringSet Id - The resource ID of an associated DiskEncryptionSet, if applicable.
- disk
Size IntegerGB - The disk size of the worker VMs.
- encryption
At StringHost - Whether master virtual machines are encrypted at host.
- name String
- The worker profile name.
- subnet
Id String - The Azure resource ID of the worker subnet.
- vm
Size String - The size of the worker VMs.
- count number
- The number of worker VMs.
- disk
Encryption stringSet Id - The resource ID of an associated DiskEncryptionSet, if applicable.
- disk
Size numberGB - The disk size of the worker VMs.
- encryption
At stringHost - Whether master virtual machines are encrypted at host.
- name string
- The worker profile name.
- subnet
Id string - The Azure resource ID of the worker subnet.
- vm
Size 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.
- disk
Encryption StringSet Id - The resource ID of an associated DiskEncryptionSet, if applicable.
- disk
Size NumberGB - The disk size of the worker VMs.
- encryption
At StringHost - Whether master virtual machines are encrypted at host.
- name String
- The worker profile name.
- subnet
Id String - The Azure resource ID of the worker subnet.
- vm
Size 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.47.1 published on Monday, Jun 24, 2024 by Pulumi