1. Packages
  2. Outscale Provider
  3. API Docs
  4. NetPeeringAcceptation
outscale 1.1.0 published on Thursday, Apr 3, 2025 by outscale

outscale.NetPeeringAcceptation

Explore with Pulumi AI

Manages a Net peering acceptation.

For more information on this resource, see the User Guide.
For more information on this resource actions, see the API documentation.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";

const netPeeringAcceptation01 = new outscale.NetPeeringAcceptation("netPeeringAcceptation01", {netPeeringId: outscale_net_peering.net_peering01.net_peering_id});
Copy
import pulumi
import pulumi_outscale as outscale

net_peering_acceptation01 = outscale.NetPeeringAcceptation("netPeeringAcceptation01", net_peering_id=outscale_net_peering["net_peering01"]["net_peering_id"])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := outscale.NewNetPeeringAcceptation(ctx, "netPeeringAcceptation01", &outscale.NetPeeringAcceptationArgs{
			NetPeeringId: pulumi.Any(outscale_net_peering.Net_peering01.Net_peering_id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;

return await Deployment.RunAsync(() => 
{
    var netPeeringAcceptation01 = new Outscale.NetPeeringAcceptation("netPeeringAcceptation01", new()
    {
        NetPeeringId = outscale_net_peering.Net_peering01.Net_peering_id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.NetPeeringAcceptation;
import com.pulumi.outscale.NetPeeringAcceptationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var netPeeringAcceptation01 = new NetPeeringAcceptation("netPeeringAcceptation01", NetPeeringAcceptationArgs.builder()
            .netPeeringId(outscale_net_peering.net_peering01().net_peering_id())
            .build());

    }
}
Copy
resources:
  netPeeringAcceptation01:
    type: outscale:NetPeeringAcceptation
    properties:
      netPeeringId: ${outscale_net_peering.net_peering01.net_peering_id}
Copy

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,
                          net_peering_acceptation_id: Optional[str] = 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 This property is required. string
The unique name of the resource.
args This property is required. NetPeeringAcceptationArgs
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. 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 This property is required. string
The unique name of the resource.
args This property is required. NetPeeringAcceptationArgs
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. NetPeeringAcceptationArgs
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. 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",
    NetPeeringAcceptationId = "string",
});
Copy
example, err := outscale.NewNetPeeringAcceptation(ctx, "netPeeringAcceptationResource", &outscale.NetPeeringAcceptationArgs{
NetPeeringId: pulumi.String("string"),
NetPeeringAcceptationId: pulumi.String("string"),
})
Copy
var netPeeringAcceptationResource = new NetPeeringAcceptation("netPeeringAcceptationResource", NetPeeringAcceptationArgs.builder()
    .netPeeringId("string")
    .netPeeringAcceptationId("string")
    .build());
Copy
net_peering_acceptation_resource = outscale.NetPeeringAcceptation("netPeeringAcceptationResource",
    net_peering_id="string",
    net_peering_acceptation_id="string")
Copy
const netPeeringAcceptationResource = new outscale.NetPeeringAcceptation("netPeeringAcceptationResource", {
    netPeeringId: "string",
    netPeeringAcceptationId: "string",
});
Copy
type: outscale:NetPeeringAcceptation
properties:
    netPeeringAcceptationId: string
    netPeeringId: string
Copy

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:

NetPeeringId This property is required. string
The ID of the Net peering you want to accept.
NetPeeringAcceptationId string
NetPeeringId This property is required. string
The ID of the Net peering you want to accept.
NetPeeringAcceptationId string
netPeeringId This property is required. String
The ID of the Net peering you want to accept.
netPeeringAcceptationId String
netPeeringId This property is required. string
The ID of the Net peering you want to accept.
netPeeringAcceptationId string
net_peering_id This property is required. str
The ID of the Net peering you want to accept.
net_peering_acceptation_id str
netPeeringId This property is required. String
The ID of the Net peering you want to accept.
netPeeringAcceptationId String

Outputs

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

AccepterNetId string
AccepterNets List<NetPeeringAcceptationAccepterNet>
Information about the accepter Net.
AccepterOwnerId string
Id string
The provider-assigned unique ID for this managed resource.
RequestId string
SourceNetId string
SourceNets List<NetPeeringAcceptationSourceNet>
Information about the source Net.
States List<NetPeeringAcceptationState>
Information about the state of the Net peering.
Tags List<NetPeeringAcceptationTag>
One or more tags associated with the Net peering.
AccepterNetId string
AccepterNets []NetPeeringAcceptationAccepterNet
Information about the accepter Net.
AccepterOwnerId string
Id string
The provider-assigned unique ID for this managed resource.
RequestId string
SourceNetId string
SourceNets []NetPeeringAcceptationSourceNet
Information about the source Net.
States []NetPeeringAcceptationStateType
Information about the state of the Net peering.
Tags []NetPeeringAcceptationTag
One or more tags associated with the Net peering.
accepterNetId String
accepterNets List<NetPeeringAcceptationAccepterNet>
Information about the accepter Net.
accepterOwnerId String
id String
The provider-assigned unique ID for this managed resource.
requestId String
sourceNetId String
sourceNets List<NetPeeringAcceptationSourceNet>
Information about the source Net.
states List<NetPeeringAcceptationState>
Information about the state of the Net peering.
tags List<NetPeeringAcceptationTag>
One or more tags associated with the Net peering.
accepterNetId string
accepterNets NetPeeringAcceptationAccepterNet[]
Information about the accepter Net.
accepterOwnerId string
id string
The provider-assigned unique ID for this managed resource.
requestId string
sourceNetId string
sourceNets NetPeeringAcceptationSourceNet[]
Information about the source Net.
states NetPeeringAcceptationState[]
Information about the state of the Net peering.
tags NetPeeringAcceptationTag[]
One or more tags associated with the Net peering.
accepter_net_id str
accepter_nets Sequence[NetPeeringAcceptationAccepterNet]
Information about the accepter Net.
accepter_owner_id str
id str
The provider-assigned unique ID for this managed resource.
request_id str
source_net_id str
source_nets Sequence[NetPeeringAcceptationSourceNet]
Information about the source Net.
states Sequence[NetPeeringAcceptationState]
Information about the state of the Net peering.
tags Sequence[NetPeeringAcceptationTag]
One or more tags associated with the Net peering.
accepterNetId String
accepterNets List<Property Map>
Information about the accepter Net.
accepterOwnerId String
id String
The provider-assigned unique ID for this managed resource.
requestId String
sourceNetId String
sourceNets List<Property Map>
Information about the source Net.
states List<Property Map>
Information about the state of the Net peering.
tags List<Property Map>
One or more tags associated with the Net peering.

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,
        net_peering_acceptation_id: Optional[str] = None,
        net_peering_id: Optional[str] = None,
        request_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) -> 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 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:
AccepterNetId string
AccepterNets List<NetPeeringAcceptationAccepterNet>
Information about the accepter Net.
AccepterOwnerId string
NetPeeringAcceptationId string
NetPeeringId string
The ID of the Net peering you want to accept.
RequestId string
SourceNetId string
SourceNets List<NetPeeringAcceptationSourceNet>
Information about the source Net.
States List<NetPeeringAcceptationState>
Information about the state of the Net peering.
Tags List<NetPeeringAcceptationTag>
One or more tags associated with the Net peering.
AccepterNetId string
AccepterNets []NetPeeringAcceptationAccepterNetArgs
Information about the accepter Net.
AccepterOwnerId string
NetPeeringAcceptationId string
NetPeeringId string
The ID of the Net peering you want to accept.
RequestId string
SourceNetId string
SourceNets []NetPeeringAcceptationSourceNetArgs
Information about the source Net.
States []NetPeeringAcceptationStateTypeArgs
Information about the state of the Net peering.
Tags []NetPeeringAcceptationTagArgs
One or more tags associated with the Net peering.
accepterNetId String
accepterNets List<NetPeeringAcceptationAccepterNet>
Information about the accepter Net.
accepterOwnerId String
netPeeringAcceptationId String
netPeeringId String
The ID of the Net peering you want to accept.
requestId String
sourceNetId String
sourceNets List<NetPeeringAcceptationSourceNet>
Information about the source Net.
states List<NetPeeringAcceptationState>
Information about the state of the Net peering.
tags List<NetPeeringAcceptationTag>
One or more tags associated with the Net peering.
accepterNetId string
accepterNets NetPeeringAcceptationAccepterNet[]
Information about the accepter Net.
accepterOwnerId string
netPeeringAcceptationId string
netPeeringId string
The ID of the Net peering you want to accept.
requestId string
sourceNetId string
sourceNets NetPeeringAcceptationSourceNet[]
Information about the source Net.
states NetPeeringAcceptationState[]
Information about the state of the Net peering.
tags NetPeeringAcceptationTag[]
One or more tags associated with the Net peering.
accepter_net_id str
accepter_nets Sequence[NetPeeringAcceptationAccepterNetArgs]
Information about the accepter Net.
accepter_owner_id str
net_peering_acceptation_id str
net_peering_id str
The ID of the Net peering you want to accept.
request_id str
source_net_id str
source_nets Sequence[NetPeeringAcceptationSourceNetArgs]
Information about the source Net.
states Sequence[NetPeeringAcceptationStateArgs]
Information about the state of the Net peering.
tags Sequence[NetPeeringAcceptationTagArgs]
One or more tags associated with the Net peering.
accepterNetId String
accepterNets List<Property Map>
Information about the accepter Net.
accepterOwnerId String
netPeeringAcceptationId String
netPeeringId String
The ID of the Net peering you want to accept.
requestId String
sourceNetId String
sourceNets List<Property Map>
Information about the source Net.
states List<Property Map>
Information about the state of the Net peering.
tags List<Property Map>
One or more tags associated with the Net peering.

Supporting Types

NetPeeringAcceptationAccepterNet
, NetPeeringAcceptationAccepterNetArgs

AccountId This property is required. string
The account ID of the owner of the source Net.
IpRange This property is required. string
The IP range for the source Net, in CIDR notation (for example, 10.0.0.0/16).
NetId This property is required. string
The ID of the source Net.
AccountId This property is required. string
The account ID of the owner of the source Net.
IpRange This property is required. string
The IP range for the source Net, in CIDR notation (for example, 10.0.0.0/16).
NetId This property is required. string
The ID of the source Net.
accountId This property is required. String
The account ID of the owner of the source Net.
ipRange This property is required. String
The IP range for the source Net, in CIDR notation (for example, 10.0.0.0/16).
netId This property is required. String
The ID of the source Net.
accountId This property is required. string
The account ID of the owner of the source Net.
ipRange This property is required. string
The IP range for the source Net, in CIDR notation (for example, 10.0.0.0/16).
netId This property is required. string
The ID of the source Net.
account_id This property is required. str
The account ID of the owner of the source Net.
ip_range This property is required. str
The IP range for the source Net, in CIDR notation (for example, 10.0.0.0/16).
net_id This property is required. str
The ID of the source Net.
accountId This property is required. String
The account ID of the owner of the source Net.
ipRange This property is required. String
The IP range for the source Net, in CIDR notation (for example, 10.0.0.0/16).
netId This property is required. String
The ID of the source Net.

NetPeeringAcceptationSourceNet
, NetPeeringAcceptationSourceNetArgs

AccountId This property is required. string
The account ID of the owner of the source Net.
IpRange This property is required. string
The IP range for the source Net, in CIDR notation (for example, 10.0.0.0/16).
NetId This property is required. string
The ID of the source Net.
AccountId This property is required. string
The account ID of the owner of the source Net.
IpRange This property is required. string
The IP range for the source Net, in CIDR notation (for example, 10.0.0.0/16).
NetId This property is required. string
The ID of the source Net.
accountId This property is required. String
The account ID of the owner of the source Net.
ipRange This property is required. String
The IP range for the source Net, in CIDR notation (for example, 10.0.0.0/16).
netId This property is required. String
The ID of the source Net.
accountId This property is required. string
The account ID of the owner of the source Net.
ipRange This property is required. string
The IP range for the source Net, in CIDR notation (for example, 10.0.0.0/16).
netId This property is required. string
The ID of the source Net.
account_id This property is required. str
The account ID of the owner of the source Net.
ip_range This property is required. str
The IP range for the source Net, in CIDR notation (for example, 10.0.0.0/16).
net_id This property is required. str
The ID of the source Net.
accountId This property is required. String
The account ID of the owner of the source Net.
ipRange This property is required. String
The IP range for the source Net, in CIDR notation (for example, 10.0.0.0/16).
netId This property is required. String
The ID of the source Net.

NetPeeringAcceptationState
, NetPeeringAcceptationStateArgs

Message This property is required. string
Additional information about the state of the Net peering.
Name This property is required. string
The state of the Net peering (pending-acceptance | active | rejected | failed | expired | deleted).
Message This property is required. string
Additional information about the state of the Net peering.
Name This property is required. string
The state of the Net peering (pending-acceptance | active | rejected | failed | expired | deleted).
message This property is required. String
Additional information about the state of the Net peering.
name This property is required. String
The state of the Net peering (pending-acceptance | active | rejected | failed | expired | deleted).
message This property is required. string
Additional information about the state of the Net peering.
name This property is required. string
The state of the Net peering (pending-acceptance | active | rejected | failed | expired | deleted).
message This property is required. str
Additional information about the state of the Net peering.
name This property is required. str
The state of the Net peering (pending-acceptance | active | rejected | failed | expired | deleted).
message This property is required. String
Additional information about the state of the Net peering.
name This property is required. String
The state of the Net peering (pending-acceptance | active | rejected | failed | expired | deleted).

NetPeeringAcceptationTag
, NetPeeringAcceptationTagArgs

Key This property is required. string
The key of the tag, with a minimum of 1 character.
Value This property is required. string
The value of the tag, between 0 and 255 characters.
Key This property is required. string
The key of the tag, with a minimum of 1 character.
Value This property is required. string
The value of the tag, between 0 and 255 characters.
key This property is required. String
The key of the tag, with a minimum of 1 character.
value This property is required. String
The value of the tag, between 0 and 255 characters.
key This property is required. string
The key of the tag, with a minimum of 1 character.
value This property is required. string
The value of the tag, between 0 and 255 characters.
key This property is required. str
The key of the tag, with a minimum of 1 character.
value This property is required. str
The value of the tag, between 0 and 255 characters.
key This property is required. String
The key of the tag, with a minimum of 1 character.
value This property is required. String
The value of the tag, between 0 and 255 characters.

Package Details

Repository
outscale outscale/terraform-provider-outscale
License
Notes
This Pulumi package is based on the outscale Terraform Provider.