These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.redhatopenshift.listOpenShiftClusterAdminCredentials
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
The operation returns the admin kubeconfig. API Version: 2021-09-01-preview.
Using listOpenShiftClusterAdminCredentials
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 listOpenShiftClusterAdminCredentials(args: ListOpenShiftClusterAdminCredentialsArgs, opts?: InvokeOptions): Promise<ListOpenShiftClusterAdminCredentialsResult>
function listOpenShiftClusterAdminCredentialsOutput(args: ListOpenShiftClusterAdminCredentialsOutputArgs, opts?: InvokeOptions): Output<ListOpenShiftClusterAdminCredentialsResult>
def list_open_shift_cluster_admin_credentials(resource_group_name: Optional[str] = None,
resource_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ListOpenShiftClusterAdminCredentialsResult
def list_open_shift_cluster_admin_credentials_output(resource_group_name: Optional[pulumi.Input[str]] = None,
resource_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ListOpenShiftClusterAdminCredentialsResult]
func ListOpenShiftClusterAdminCredentials(ctx *Context, args *ListOpenShiftClusterAdminCredentialsArgs, opts ...InvokeOption) (*ListOpenShiftClusterAdminCredentialsResult, error)
func ListOpenShiftClusterAdminCredentialsOutput(ctx *Context, args *ListOpenShiftClusterAdminCredentialsOutputArgs, opts ...InvokeOption) ListOpenShiftClusterAdminCredentialsResultOutput
> Note: This function is named ListOpenShiftClusterAdminCredentials
in the Go SDK.
public static class ListOpenShiftClusterAdminCredentials
{
public static Task<ListOpenShiftClusterAdminCredentialsResult> InvokeAsync(ListOpenShiftClusterAdminCredentialsArgs args, InvokeOptions? opts = null)
public static Output<ListOpenShiftClusterAdminCredentialsResult> Invoke(ListOpenShiftClusterAdminCredentialsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListOpenShiftClusterAdminCredentialsResult> listOpenShiftClusterAdminCredentials(ListOpenShiftClusterAdminCredentialsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:redhatopenshift:listOpenShiftClusterAdminCredentials
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.
listOpenShiftClusterAdminCredentials Result
The following output properties are available:
- Kubeconfig string
- The base64-encoded kubeconfig file.
- Kubeconfig string
- The base64-encoded kubeconfig file.
- kubeconfig String
- The base64-encoded kubeconfig file.
- kubeconfig string
- The base64-encoded kubeconfig file.
- kubeconfig str
- The base64-encoded kubeconfig file.
- kubeconfig String
- The base64-encoded kubeconfig file.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi