Akamai

Pulumi Official
Package maintained by Pulumi
v3.0.0 published on Monday, Jul 25, 2022 by Pulumi

getIamSupportedLangs

Use akamai.getIamSupportedLangs to list all the possible languages Akamai supports. Use the values from this API to set the preferred language for a user. Users should see Control Center in the language you set for them. The default language is English.

Attributes reference

These attributes are returned:

  • languages — Languages supported by Akamai

API Reference

Example Usage

using Pulumi;
using Akamai = Pulumi.Akamai;

class MyStack : Stack
{
    public MyStack()
    {
        var supportedLangs = Output.Create(Akamai.GetIamSupportedLangs.InvokeAsync());
        this.SupportedSupportedLangs = supportedLangs;
    }

    [Output("supportedSupportedLangs")]
    public Output<string> SupportedSupportedLangs { get; set; }
}
package main

import (
	"github.com/pulumi/pulumi-akamai/sdk/v3/go/akamai"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		supportedLangs, err := akamai.GetIamSupportedLangs(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("supportedSupportedLangs", supportedLangs)
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_akamai as akamai

supported_langs = akamai.get_iam_supported_langs()
pulumi.export("supportedSupportedLangs", supported_langs)
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";

const supportedLangs = akamai.getIamSupportedLangs({});
export const supportedSupportedLangs = supportedLangs;
variables:
  supportedLangs:
    Fn::Invoke:
      Function: akamai:getIamSupportedLangs
      Arguments: {}
outputs:
  supportedSupportedLangs: ${supportedLangs}

Using getIamSupportedLangs

function getIamSupportedLangs(opts?: InvokeOptions): Promise<GetIamSupportedLangsResult>
def get_iam_supported_langs(opts: Optional[InvokeOptions] = None) -> GetIamSupportedLangsResult
func GetIamSupportedLangs(ctx *Context, opts ...InvokeOption) (*GetIamSupportedLangsResult, error)

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

public static class GetIamSupportedLangs 
{
    public static Task<GetIamSupportedLangsResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetIamSupportedLangsResult> getIamSupportedLangs(InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: akamai:index/getIamSupportedLangs:getIamSupportedLangs
  Arguments:
    # Arguments dictionary

getIamSupportedLangs Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Languages List<string>
Id string

The provider-assigned unique ID for this managed resource.

Languages []string
id String

The provider-assigned unique ID for this managed resource.

languages List<String>
id string

The provider-assigned unique ID for this managed resource.

languages string[]
id str

The provider-assigned unique ID for this managed resource.

languages Sequence[str]
id String

The provider-assigned unique ID for this managed resource.

languages List<String>

Package Details

Repository
https://github.com/pulumi/pulumi-akamai
License
Apache-2.0
Notes

This Pulumi package is based on the akamai Terraform Provider.