NetworkListDescription

Use the akamai.NetworkListDescription resource to update the name or description of an existing network list.

Example Usage

using Pulumi;
using Akamai = Pulumi.Akamai;

class MyStack : Stack
{
    public MyStack()
    {
        var networkListDescription = new Akamai.NetworkListDescription("networkListDescription", new Akamai.NetworkListDescriptionArgs
        {
            NetworkListId = @var.Network_list_id,
            Description = "Test network list updated description",
        });
    }

}
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.NewNetworkListDescription(ctx, "networkListDescription", &akamai.NetworkListDescriptionArgs{
			NetworkListId: pulumi.Any(_var.Network_list_id),
			Description:   pulumi.String("Test network list updated description"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_akamai as akamai

network_list_description = akamai.NetworkListDescription("networkListDescription",
    network_list_id=var["network_list_id"],
    description="Test network list updated description")
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";

const networkListDescription = new akamai.NetworkListDescription("networkListDescription", {
    networkListId: _var.network_list_id,
    description: "Test network list updated description",
});

Create a NetworkListDescription Resource

new NetworkListDescription(name: string, args: NetworkListDescriptionArgs, opts?: CustomResourceOptions);
@overload
def NetworkListDescription(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           description: Optional[str] = None,
                           name: Optional[str] = None,
                           network_list_id: Optional[str] = None)
@overload
def NetworkListDescription(resource_name: str,
                           args: NetworkListDescriptionArgs,
                           opts: Optional[ResourceOptions] = None)
func NewNetworkListDescription(ctx *Context, name string, args NetworkListDescriptionArgs, opts ...ResourceOption) (*NetworkListDescription, error)
public NetworkListDescription(string name, NetworkListDescriptionArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args NetworkListDescriptionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args NetworkListDescriptionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args NetworkListDescriptionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args NetworkListDescriptionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

NetworkListDescription Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The NetworkListDescription resource accepts the following input properties:

Description string
The description to be assigned to the network list.
NetworkListId string
The unique ID of the network list to use.
Name string
The name to be assigned to the network list.
Description string
The description to be assigned to the network list.
NetworkListId string
The unique ID of the network list to use.
Name string
The name to be assigned to the network list.
description string
The description to be assigned to the network list.
networkListId string
The unique ID of the network list to use.
name string
The name to be assigned to the network list.
description str
The description to be assigned to the network list.
network_list_id str
The unique ID of the network list to use.
name str
The name to be assigned to the network list.

Outputs

All input properties are implicitly available as output properties. Additionally, the NetworkListDescription resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing NetworkListDescription Resource

Get an existing NetworkListDescription resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: NetworkListDescriptionState, opts?: CustomResourceOptions): NetworkListDescription
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        name: Optional[str] = None,
        network_list_id: Optional[str] = None) -> NetworkListDescription
func GetNetworkListDescription(ctx *Context, name string, id IDInput, state *NetworkListDescriptionState, opts ...ResourceOption) (*NetworkListDescription, error)
public static NetworkListDescription Get(string name, Input<string> id, NetworkListDescriptionState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Description string
The description to be assigned to the network list.
Name string
The name to be assigned to the network list.
NetworkListId string
The unique ID of the network list to use.
Description string
The description to be assigned to the network list.
Name string
The name to be assigned to the network list.
NetworkListId string
The unique ID of the network list to use.
description string
The description to be assigned to the network list.
name string
The name to be assigned to the network list.
networkListId string
The unique ID of the network list to use.
description str
The description to be assigned to the network list.
name str
The name to be assigned to the network list.
network_list_id str
The unique ID of the network list to use.

Package Details

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