1. Packages
  2. Azure Native v2
  3. API Docs
  4. containerservice
  5. listManagedClusterAccessProfile
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.listManagedClusterAccessProfile

Explore with Pulumi AI

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

Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. Azure REST API version: 2020-03-01.

Other available API versions: 2019-06-01.

Using listManagedClusterAccessProfile

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 listManagedClusterAccessProfile(args: ListManagedClusterAccessProfileArgs, opts?: InvokeOptions): Promise<ListManagedClusterAccessProfileResult>
function listManagedClusterAccessProfileOutput(args: ListManagedClusterAccessProfileOutputArgs, opts?: InvokeOptions): Output<ListManagedClusterAccessProfileResult>
Copy
def list_managed_cluster_access_profile(resource_group_name: Optional[str] = None,
                                        resource_name: Optional[str] = None,
                                        role_name: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> ListManagedClusterAccessProfileResult
def list_managed_cluster_access_profile_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                        resource_name: Optional[pulumi.Input[str]] = None,
                                        role_name: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[ListManagedClusterAccessProfileResult]
Copy
func ListManagedClusterAccessProfile(ctx *Context, args *ListManagedClusterAccessProfileArgs, opts ...InvokeOption) (*ListManagedClusterAccessProfileResult, error)
func ListManagedClusterAccessProfileOutput(ctx *Context, args *ListManagedClusterAccessProfileOutputArgs, opts ...InvokeOption) ListManagedClusterAccessProfileResultOutput
Copy

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

public static class ListManagedClusterAccessProfile 
{
    public static Task<ListManagedClusterAccessProfileResult> InvokeAsync(ListManagedClusterAccessProfileArgs args, InvokeOptions? opts = null)
    public static Output<ListManagedClusterAccessProfileResult> Invoke(ListManagedClusterAccessProfileInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListManagedClusterAccessProfileResult> listManagedClusterAccessProfile(ListManagedClusterAccessProfileArgs args, InvokeOptions options)
public static Output<ListManagedClusterAccessProfileResult> listManagedClusterAccessProfile(ListManagedClusterAccessProfileArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:containerservice:listManagedClusterAccessProfile
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the managed cluster resource.
RoleName
This property is required.
Changes to this property will trigger replacement.
string
The name of the role for managed cluster accessProfile resource.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the managed cluster resource.
RoleName
This property is required.
Changes to this property will trigger replacement.
string
The name of the role for managed cluster accessProfile resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the managed cluster resource.
roleName
This property is required.
Changes to this property will trigger replacement.
String
The name of the role for managed cluster accessProfile resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
resourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the managed cluster resource.
roleName
This property is required.
Changes to this property will trigger replacement.
string
The name of the role for managed cluster accessProfile resource.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
resource_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the managed cluster resource.
role_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the role for managed cluster accessProfile resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the managed cluster resource.
roleName
This property is required.
Changes to this property will trigger replacement.
String
The name of the role for managed cluster accessProfile resource.

listManagedClusterAccessProfile Result

The following output properties are available:

Id string
Resource Id
Location string
Resource location
Name string
Resource name
Type string
Resource type
KubeConfig string
Base64-encoded Kubernetes configuration file.
Tags Dictionary<string, string>
Resource tags
Id string
Resource Id
Location string
Resource location
Name string
Resource name
Type string
Resource type
KubeConfig string
Base64-encoded Kubernetes configuration file.
Tags map[string]string
Resource tags
id String
Resource Id
location String
Resource location
name String
Resource name
type String
Resource type
kubeConfig String
Base64-encoded Kubernetes configuration file.
tags Map<String,String>
Resource tags
id string
Resource Id
location string
Resource location
name string
Resource name
type string
Resource type
kubeConfig string
Base64-encoded Kubernetes configuration file.
tags {[key: string]: string}
Resource tags
id str
Resource Id
location str
Resource location
name str
Resource name
type str
Resource type
kube_config str
Base64-encoded Kubernetes configuration file.
tags Mapping[str, str]
Resource tags
id String
Resource Id
location String
Resource location
name String
Resource name
type String
Resource type
kubeConfig String
Base64-encoded Kubernetes configuration file.
tags Map<String>
Resource tags

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
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