1. Packages
  2. Akamai
  3. API Docs
  4. NetworkListSubscription
Akamai v8.0.0 published on Saturday, Mar 1, 2025 by Pulumi

akamai.NetworkListSubscription

Explore with Pulumi AI

Create NetworkListSubscription Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new NetworkListSubscription(name: string, args: NetworkListSubscriptionArgs, opts?: CustomResourceOptions);
@overload
def NetworkListSubscription(resource_name: str,
                            args: NetworkListSubscriptionArgs,
                            opts: Optional[ResourceOptions] = None)

@overload
def NetworkListSubscription(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            network_lists: Optional[Sequence[str]] = None,
                            recipients: Optional[Sequence[str]] = None)
func NewNetworkListSubscription(ctx *Context, name string, args NetworkListSubscriptionArgs, opts ...ResourceOption) (*NetworkListSubscription, error)
public NetworkListSubscription(string name, NetworkListSubscriptionArgs args, CustomResourceOptions? opts = null)
public NetworkListSubscription(String name, NetworkListSubscriptionArgs args)
public NetworkListSubscription(String name, NetworkListSubscriptionArgs args, CustomResourceOptions options)
type: akamai:NetworkListSubscription
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. NetworkListSubscriptionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. NetworkListSubscriptionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. NetworkListSubscriptionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. NetworkListSubscriptionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. NetworkListSubscriptionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var networkListSubscriptionResource = new Akamai.NetworkListSubscription("networkListSubscriptionResource", new()
{
    NetworkLists = new[]
    {
        "string",
    },
    Recipients = new[]
    {
        "string",
    },
});
Copy
example, err := akamai.NewNetworkListSubscription(ctx, "networkListSubscriptionResource", &akamai.NetworkListSubscriptionArgs{
	NetworkLists: pulumi.StringArray{
		pulumi.String("string"),
	},
	Recipients: pulumi.StringArray{
		pulumi.String("string"),
	},
})
Copy
var networkListSubscriptionResource = new NetworkListSubscription("networkListSubscriptionResource", NetworkListSubscriptionArgs.builder()
    .networkLists("string")
    .recipients("string")
    .build());
Copy
network_list_subscription_resource = akamai.NetworkListSubscription("networkListSubscriptionResource",
    network_lists=["string"],
    recipients=["string"])
Copy
const networkListSubscriptionResource = new akamai.NetworkListSubscription("networkListSubscriptionResource", {
    networkLists: ["string"],
    recipients: ["string"],
});
Copy
type: akamai:NetworkListSubscription
properties:
    networkLists:
        - string
    recipients:
        - string
Copy

NetworkListSubscription Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The NetworkListSubscription resource accepts the following input properties:

NetworkLists This property is required. List<string>
Recipients This property is required. List<string>
NetworkLists This property is required. []string
Recipients This property is required. []string
networkLists This property is required. List<String>
recipients This property is required. List<String>
networkLists This property is required. string[]
recipients This property is required. string[]
network_lists This property is required. Sequence[str]
recipients This property is required. Sequence[str]
networkLists This property is required. List<String>
recipients This property is required. List<String>

Outputs

All input properties are implicitly available as output properties. Additionally, the NetworkListSubscription 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 string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing NetworkListSubscription Resource

Get an existing NetworkListSubscription 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?: NetworkListSubscriptionState, opts?: CustomResourceOptions): NetworkListSubscription
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        network_lists: Optional[Sequence[str]] = None,
        recipients: Optional[Sequence[str]] = None) -> NetworkListSubscription
func GetNetworkListSubscription(ctx *Context, name string, id IDInput, state *NetworkListSubscriptionState, opts ...ResourceOption) (*NetworkListSubscription, error)
public static NetworkListSubscription Get(string name, Input<string> id, NetworkListSubscriptionState? state, CustomResourceOptions? opts = null)
public static NetworkListSubscription get(String name, Output<String> id, NetworkListSubscriptionState state, CustomResourceOptions options)
resources:  _:    type: akamai:NetworkListSubscription    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
NetworkLists List<string>
Recipients List<string>
NetworkLists []string
Recipients []string
networkLists List<String>
recipients List<String>
networkLists string[]
recipients string[]
network_lists Sequence[str]
recipients Sequence[str]
networkLists List<String>
recipients List<String>

Package Details

Repository
Akamai pulumi/pulumi-akamai
License
Apache-2.0
Notes
This Pulumi package is based on the akamai Terraform Provider.