getAuthoritiesSet

Use the akamai.getAuthoritiesSet data source to retrieve a contract’s authorities set. You use the authorities set when creating new zones.

Argument reference

This data source supports this argument:

  • contract - (Required) The contract ID.

Attributes reference

This data source supports this attribute:

  • authorities - A list of authorities.

Example Usage

using Pulumi;
using Akamai = Pulumi.Akamai;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Akamai.GetAuthoritiesSet.InvokeAsync(new Akamai.GetAuthoritiesSetArgs
        {
            Contract = "ctr_1-AB123",
        }));
    }

}
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := akamai.GetAuthoritiesSet(ctx, &GetAuthoritiesSetArgs{
			Contract: "ctr_1-AB123",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_akamai as akamai

example = akamai.get_authorities_set(contract="ctr_1-AB123")
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";

const example = pulumi.output(akamai.getAuthoritiesSet({
    contract: "ctr_1-AB123",
}));

Using getAuthoritiesSet

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 getAuthoritiesSet(args: GetAuthoritiesSetArgs, opts?: InvokeOptions): Promise<GetAuthoritiesSetResult>
function getAuthoritiesSetOutput(args: GetAuthoritiesSetOutputArgs, opts?: InvokeOptions): Output<GetAuthoritiesSetResult>
def get_authorities_set(contract: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetAuthoritiesSetResult
def get_authorities_set_output(contract: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetAuthoritiesSetResult]
func GetAuthoritiesSet(ctx *Context, args *GetAuthoritiesSetArgs, opts ...InvokeOption) (*GetAuthoritiesSetResult, error)
func GetAuthoritiesSetOutput(ctx *Context, args *GetAuthoritiesSetOutputArgs, opts ...InvokeOption) GetAuthoritiesSetResultOutput

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

public static class GetAuthoritiesSet 
{
    public static Task<GetAuthoritiesSetResult> InvokeAsync(GetAuthoritiesSetArgs args, InvokeOptions? opts = null)
    public static Output<GetAuthoritiesSetResult> Invoke(GetAuthoritiesSetInvokeArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Contract string
Contract string
contract string

getAuthoritiesSet Result

The following output properties are available:

Authorities List<string>
Contract string
Id string
The provider-assigned unique ID for this managed resource.
Authorities []string
Contract string
Id string
The provider-assigned unique ID for this managed resource.
authorities string[]
contract string
id string
The provider-assigned unique ID for this managed resource.
authorities Sequence[str]
contract str
id str
The provider-assigned unique ID for this managed resource.

Package Details

Repository
https://github.com/pulumi/pulumi-akamai
License
Apache-2.0
Notes
This Pulumi package is based on the akamai Terraform Provider.