1. Packages
  2. Akamai
  3. API Docs
  4. NetworkListSubscription
Akamai v7.5.0 published on Friday, Oct 11, 2024 by Pulumi

akamai.NetworkListSubscription

Explore with Pulumi AI

akamai logo
Akamai v7.5.0 published on Friday, Oct 11, 2024 by Pulumi

    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 string
    The unique name of the resource.
    args NetworkListSubscriptionArgs
    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 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 string
    The unique name of the resource.
    args NetworkListSubscriptionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkListSubscriptionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
        },
    });
    
    example, err := akamai.NewNetworkListSubscription(ctx, "networkListSubscriptionResource", &akamai.NetworkListSubscriptionArgs{
    	NetworkLists: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Recipients: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var networkListSubscriptionResource = new NetworkListSubscription("networkListSubscriptionResource", NetworkListSubscriptionArgs.builder()
        .networkLists("string")
        .recipients("string")
        .build());
    
    network_list_subscription_resource = akamai.NetworkListSubscription("networkListSubscriptionResource",
        network_lists=["string"],
        recipients=["string"])
    
    const networkListSubscriptionResource = new akamai.NetworkListSubscription("networkListSubscriptionResource", {
        networkLists: ["string"],
        recipients: ["string"],
    });
    
    type: akamai:NetworkListSubscription
    properties:
        networkLists:
            - string
        recipients:
            - string
    

    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 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>

    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)
    Resource lookup is not supported in YAML
    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.
    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:
    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.
    akamai logo
    Akamai v7.5.0 published on Friday, Oct 11, 2024 by Pulumi