1. Packages
  2. Azure Native v1
  3. API Docs
  4. redhatopenshift
  5. listOpenShiftClusterAdminCredentials
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

azure-native-v1 logo
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:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ResourceName string
    The name of the OpenShift cluster resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ResourceName string
    The name of the OpenShift cluster resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    resourceName String
    The name of the OpenShift cluster resource.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    resourceName string
    The name of the OpenShift cluster resource.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    resource_name str
    The name of the OpenShift cluster resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    resourceName 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
    azure-native-v1 logo
    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