1. Packages
  2. Outscale Provider
  3. API Docs
  4. NetPeeringAcceptation
outscale 1.1.2 published on Tuesday, May 13, 2025 by outscale

outscale.NetPeeringAcceptation

Explore with Pulumi AI

outscale logo
outscale 1.1.2 published on Tuesday, May 13, 2025 by outscale

    Create NetPeeringAcceptation Resource

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

    Constructor syntax

    new NetPeeringAcceptation(name: string, args: NetPeeringAcceptationArgs, opts?: CustomResourceOptions);
    @overload
    def NetPeeringAcceptation(resource_name: str,
                              args: NetPeeringAcceptationArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def NetPeeringAcceptation(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              net_peering_id: Optional[str] = None,
                              timeouts: Optional[NetPeeringAcceptationTimeoutsArgs] = None)
    func NewNetPeeringAcceptation(ctx *Context, name string, args NetPeeringAcceptationArgs, opts ...ResourceOption) (*NetPeeringAcceptation, error)
    public NetPeeringAcceptation(string name, NetPeeringAcceptationArgs args, CustomResourceOptions? opts = null)
    public NetPeeringAcceptation(String name, NetPeeringAcceptationArgs args)
    public NetPeeringAcceptation(String name, NetPeeringAcceptationArgs args, CustomResourceOptions options)
    
    type: outscale:NetPeeringAcceptation
    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 NetPeeringAcceptationArgs
    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 NetPeeringAcceptationArgs
    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 NetPeeringAcceptationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetPeeringAcceptationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetPeeringAcceptationArgs
    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 netPeeringAcceptationResource = new Outscale.NetPeeringAcceptation("netPeeringAcceptationResource", new()
    {
        NetPeeringId = "string",
        Timeouts = new Outscale.Inputs.NetPeeringAcceptationTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
    });
    
    example, err := outscale.NewNetPeeringAcceptation(ctx, "netPeeringAcceptationResource", &outscale.NetPeeringAcceptationArgs{
    	NetPeeringId: pulumi.String("string"),
    	Timeouts: &outscale.NetPeeringAcceptationTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var netPeeringAcceptationResource = new NetPeeringAcceptation("netPeeringAcceptationResource", NetPeeringAcceptationArgs.builder()
        .netPeeringId("string")
        .timeouts(NetPeeringAcceptationTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .build());
    
    net_peering_acceptation_resource = outscale.NetPeeringAcceptation("netPeeringAcceptationResource",
        net_peering_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        })
    
    const netPeeringAcceptationResource = new outscale.NetPeeringAcceptation("netPeeringAcceptationResource", {
        netPeeringId: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
    });
    
    type: outscale:NetPeeringAcceptation
    properties:
        netPeeringId: string
        timeouts:
            create: string
            delete: string
            read: string
            update: string
    

    NetPeeringAcceptation 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 NetPeeringAcceptation resource accepts the following input properties:

    Outputs

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

    Look up Existing NetPeeringAcceptation Resource

    Get an existing NetPeeringAcceptation 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?: NetPeeringAcceptationState, opts?: CustomResourceOptions): NetPeeringAcceptation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            accepter_net_id: Optional[str] = None,
            accepter_nets: Optional[Sequence[NetPeeringAcceptationAccepterNetArgs]] = None,
            accepter_owner_id: Optional[str] = None,
            expiration_date: Optional[str] = None,
            net_peering_id: Optional[str] = None,
            request_id: Optional[str] = None,
            source_net_account_id: Optional[str] = None,
            source_net_id: Optional[str] = None,
            source_nets: Optional[Sequence[NetPeeringAcceptationSourceNetArgs]] = None,
            states: Optional[Sequence[NetPeeringAcceptationStateArgs]] = None,
            tags: Optional[Sequence[NetPeeringAcceptationTagArgs]] = None,
            timeouts: Optional[NetPeeringAcceptationTimeoutsArgs] = None) -> NetPeeringAcceptation
    func GetNetPeeringAcceptation(ctx *Context, name string, id IDInput, state *NetPeeringAcceptationState, opts ...ResourceOption) (*NetPeeringAcceptation, error)
    public static NetPeeringAcceptation Get(string name, Input<string> id, NetPeeringAcceptationState? state, CustomResourceOptions? opts = null)
    public static NetPeeringAcceptation get(String name, Output<String> id, NetPeeringAcceptationState state, CustomResourceOptions options)
    resources:  _:    type: outscale:NetPeeringAcceptation    get:      id: ${id}
    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:

    Supporting Types

    NetPeeringAcceptationAccepterNet, NetPeeringAcceptationAccepterNetArgs

    AccountId string
    IpRange string
    NetId string
    AccountId string
    IpRange string
    NetId string
    accountId String
    ipRange String
    netId String
    accountId string
    ipRange string
    netId string
    accountId String
    ipRange String
    netId String

    NetPeeringAcceptationSourceNet, NetPeeringAcceptationSourceNetArgs

    AccountId string
    IpRange string
    NetId string
    AccountId string
    IpRange string
    NetId string
    accountId String
    ipRange String
    netId String
    accountId string
    ipRange string
    netId string
    accountId String
    ipRange String
    netId String

    NetPeeringAcceptationState, NetPeeringAcceptationStateArgs

    Message string
    Name string
    Message string
    Name string
    message String
    name String
    message string
    name string
    message str
    name str
    message String
    name String

    NetPeeringAcceptationTag, NetPeeringAcceptationTagArgs

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    NetPeeringAcceptationTimeouts, NetPeeringAcceptationTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Package Details

    Repository
    outscale outscale/terraform-provider-outscale
    License
    Notes
    This Pulumi package is based on the outscale Terraform Provider.
    outscale logo
    outscale 1.1.2 published on Tuesday, May 13, 2025 by outscale