azure-native.redhatopenshift.listOpenShiftClusterCredentials
Explore with Pulumi AI
The operation returns the credentials.
Uses Azure REST API version 2023-11-22.
Other available API versions: 2022-09-04, 2023-04-01, 2023-07-01-preview, 2023-09-04, 2024-08-12-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native redhatopenshift [ApiVersion]
. See the version guide for details.
Using listOpenShiftClusterCredentials
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 listOpenShiftClusterCredentials(args: ListOpenShiftClusterCredentialsArgs, opts?: InvokeOptions): Promise<ListOpenShiftClusterCredentialsResult>
function listOpenShiftClusterCredentialsOutput(args: ListOpenShiftClusterCredentialsOutputArgs, opts?: InvokeOptions): Output<ListOpenShiftClusterCredentialsResult>
def list_open_shift_cluster_credentials(resource_group_name: Optional[str] = None,
resource_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ListOpenShiftClusterCredentialsResult
def list_open_shift_cluster_credentials_output(resource_group_name: Optional[pulumi.Input[str]] = None,
resource_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ListOpenShiftClusterCredentialsResult]
func ListOpenShiftClusterCredentials(ctx *Context, args *ListOpenShiftClusterCredentialsArgs, opts ...InvokeOption) (*ListOpenShiftClusterCredentialsResult, error)
func ListOpenShiftClusterCredentialsOutput(ctx *Context, args *ListOpenShiftClusterCredentialsOutputArgs, opts ...InvokeOption) ListOpenShiftClusterCredentialsResultOutput
> Note: This function is named ListOpenShiftClusterCredentials
in the Go SDK.
public static class ListOpenShiftClusterCredentials
{
public static Task<ListOpenShiftClusterCredentialsResult> InvokeAsync(ListOpenShiftClusterCredentialsArgs args, InvokeOptions? opts = null)
public static Output<ListOpenShiftClusterCredentialsResult> Invoke(ListOpenShiftClusterCredentialsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListOpenShiftClusterCredentialsResult> listOpenShiftClusterCredentials(ListOpenShiftClusterCredentialsArgs args, InvokeOptions options)
public static Output<ListOpenShiftClusterCredentialsResult> listOpenShiftClusterCredentials(ListOpenShiftClusterCredentialsArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:redhatopenshift:listOpenShiftClusterCredentials
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.
listOpenShiftClusterCredentials Result
The following output properties are available:
- Kubeadmin
Password string - The password for the kubeadmin user.
- Kubeadmin
Username string - The username for the kubeadmin user.
- Kubeadmin
Password string - The password for the kubeadmin user.
- Kubeadmin
Username string - The username for the kubeadmin user.
- kubeadmin
Password String - The password for the kubeadmin user.
- kubeadmin
Username String - The username for the kubeadmin user.
- kubeadmin
Password string - The password for the kubeadmin user.
- kubeadmin
Username string - The username for the kubeadmin user.
- kubeadmin_
password str - The password for the kubeadmin user.
- kubeadmin_
username str - The username for the kubeadmin user.
- kubeadmin
Password String - The password for the kubeadmin user.
- kubeadmin
Username String - The username for the kubeadmin user.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0