1. Packages
  2. Azure Native v2
  3. API Docs
  4. containerservice
  5. listFleetCredentials
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.containerservice.listFleetCredentials

Explore with Pulumi AI

azure-native-v2 logo
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

    Lists the user credentials of a Fleet. Azure REST API version: 2023-03-15-preview.

    Other available API versions: 2022-07-02-preview, 2023-06-15-preview, 2023-08-15-preview, 2023-10-15, 2024-02-02-preview, 2024-04-01, 2024-05-02-preview.

    Using listFleetCredentials

    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 listFleetCredentials(args: ListFleetCredentialsArgs, opts?: InvokeOptions): Promise<ListFleetCredentialsResult>
    function listFleetCredentialsOutput(args: ListFleetCredentialsOutputArgs, opts?: InvokeOptions): Output<ListFleetCredentialsResult>
    def list_fleet_credentials(fleet_name: Optional[str] = None,
                               resource_group_name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> ListFleetCredentialsResult
    def list_fleet_credentials_output(fleet_name: Optional[pulumi.Input[str]] = None,
                               resource_group_name: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[ListFleetCredentialsResult]
    func ListFleetCredentials(ctx *Context, args *ListFleetCredentialsArgs, opts ...InvokeOption) (*ListFleetCredentialsResult, error)
    func ListFleetCredentialsOutput(ctx *Context, args *ListFleetCredentialsOutputArgs, opts ...InvokeOption) ListFleetCredentialsResultOutput

    > Note: This function is named ListFleetCredentials in the Go SDK.

    public static class ListFleetCredentials 
    {
        public static Task<ListFleetCredentialsResult> InvokeAsync(ListFleetCredentialsArgs args, InvokeOptions? opts = null)
        public static Output<ListFleetCredentialsResult> Invoke(ListFleetCredentialsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListFleetCredentialsResult> listFleetCredentials(ListFleetCredentialsArgs args, InvokeOptions options)
    public static Output<ListFleetCredentialsResult> listFleetCredentials(ListFleetCredentialsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:containerservice:listFleetCredentials
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FleetName string
    The name of the Fleet resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    FleetName string
    The name of the Fleet resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    fleetName String
    The name of the Fleet resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    fleetName string
    The name of the Fleet resource.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    fleet_name str
    The name of the Fleet resource.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    fleetName String
    The name of the Fleet resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    listFleetCredentials Result

    The following output properties are available:

    Kubeconfigs []FleetCredentialResultResponse
    Array of base64-encoded Kubernetes configuration files.
    kubeconfigs List<FleetCredentialResultResponse>
    Array of base64-encoded Kubernetes configuration files.
    kubeconfigs FleetCredentialResultResponse[]
    Array of base64-encoded Kubernetes configuration files.
    kubeconfigs Sequence[FleetCredentialResultResponse]
    Array of base64-encoded Kubernetes configuration files.
    kubeconfigs List<Property Map>
    Array of base64-encoded Kubernetes configuration files.

    Supporting Types

    FleetCredentialResultResponse

    Name string
    The name of the credential.
    Value string
    Base64-encoded Kubernetes configuration file.
    Name string
    The name of the credential.
    Value string
    Base64-encoded Kubernetes configuration file.
    name String
    The name of the credential.
    value String
    Base64-encoded Kubernetes configuration file.
    name string
    The name of the credential.
    value string
    Base64-encoded Kubernetes configuration file.
    name str
    The name of the credential.
    value str
    Base64-encoded Kubernetes configuration file.
    name String
    The name of the credential.
    value String
    Base64-encoded Kubernetes configuration file.

    Package Details

    Repository
    azure-native-v2 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v2 logo
    These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
    Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi