def get_access_profile(resource_group_name, resource_name, role_name, custom_headers:nil)
      response = get_access_profile_async(resource_group_name, resource_name, role_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def get_access_profile(resource_group_name, resource_name, role_name, custom_headers:nil)
      response = get_access_profile_async(resource_group_name, resource_name, role_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Gets an access profile of a managed cluster.

 Gets the accessProfile for the specified role name of the managed cluster
 with a specified resource group and name.

 @param resource_group_name [String] The name of the resource group.
 @param resource_name [String] The name of the managed cluster resource.
 @param role_name [String] The name of the role for managed cluster
 accessProfile resource.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [ManagedClusterAccessProfile] operation results.