Want to learn about running containers in Lambda? Join our free hands-on workshop. Register Now

GetAuthoritiesSet

Use akamai.edgedns.getAuthoritiesSet datasource to retrieve a contracts authorities set for use when creating new zones.

Example Usage

Basic usage:

using Pulumi;
using Akamai = Pulumi.Akamai;

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

}
package main

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

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

example = akamai.edgedns.get_authorities_set(contract="ctr_xxxxx")
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";

const example = pulumi.output(akamai.edgedns.getAuthoritiesSet({
    contract: "ctr_xxxxx",
}, { async: true }));

Using GetAuthoritiesSet

function getAuthoritiesSet(args: GetAuthoritiesSetArgs, opts?: InvokeOptions): Promise<GetAuthoritiesSetResult>
function  get_authorities_set(contract=None, opts=None)
func GetAuthoritiesSet(ctx *Context, args *GetAuthoritiesSetArgs, opts ...InvokeOption) (*GetAuthoritiesSetResult, error)
public static class GetAuthoritiesSet {
    public static Task<GetAuthoritiesSetResult> InvokeAsync(GetAuthoritiesSetArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Contract string

— (Required) The contract ID.

Contract string

— (Required) The contract ID.

contract string

— (Required) The contract ID.

contract str

— (Required) The contract ID.

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 List[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.