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});
import pulumi
import pulumi_outscale as outscale
net_peering_acceptation01 = outscale.NetPeeringAcceptation("netPeeringAcceptation01", net_peering_id=outscale_net_peering["net_peering01"]["net_peering_id"])
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
	})
}
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,
    });
});
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());
    }
}
resources:
  netPeeringAcceptation01:
    type: outscale:NetPeeringAcceptation
    properties:
      netPeeringId: ${outscale_net_peering.net_peering01.net_peering_id}
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 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",
    NetPeeringAcceptationId = "string",
});
example, err := outscale.NewNetPeeringAcceptation(ctx, "netPeeringAcceptationResource", &outscale.NetPeeringAcceptationArgs{
NetPeeringId: pulumi.String("string"),
NetPeeringAcceptationId: pulumi.String("string"),
})
var netPeeringAcceptationResource = new NetPeeringAcceptation("netPeeringAcceptationResource", NetPeeringAcceptationArgs.builder()
    .netPeeringId("string")
    .netPeeringAcceptationId("string")
    .build());
net_peering_acceptation_resource = outscale.NetPeeringAcceptation("netPeeringAcceptationResource",
    net_peering_id="string",
    net_peering_acceptation_id="string")
const netPeeringAcceptationResource = new outscale.NetPeeringAcceptation("netPeeringAcceptationResource", {
    netPeeringId: "string",
    netPeeringAcceptationId: "string",
});
type: outscale:NetPeeringAcceptation
properties:
    netPeeringAcceptationId: string
    netPeeringId: 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:
- NetPeering stringId 
- The ID of the Net peering you want to accept.
- NetPeering stringAcceptation Id 
- NetPeering stringId 
- The ID of the Net peering you want to accept.
- NetPeering stringAcceptation Id 
- netPeering StringId 
- The ID of the Net peering you want to accept.
- netPeering StringAcceptation Id 
- netPeering stringId 
- The ID of the Net peering you want to accept.
- netPeering stringAcceptation Id 
- net_peering_ strid 
- The ID of the Net peering you want to accept.
- net_peering_ stracceptation_ id 
- netPeering StringId 
- The ID of the Net peering you want to accept.
- netPeering StringAcceptation Id 
Outputs
All input properties are implicitly available as output properties. Additionally, the NetPeeringAcceptation resource produces the following output properties:
- AccepterNet stringId 
- AccepterNets List<NetPeering Acceptation Accepter Net> 
- Information about the accepter Net.
- AccepterOwner stringId 
- Id string
- The provider-assigned unique ID for this managed resource.
- RequestId string
- SourceNet stringId 
- SourceNets List<NetPeering Acceptation Source Net> 
- Information about the source Net.
- States
List<NetPeering Acceptation State> 
- Information about the state of the Net peering.
- 
List<NetPeering Acceptation Tag> 
- One or more tags associated with the Net peering.
- AccepterNet stringId 
- AccepterNets []NetPeering Acceptation Accepter Net 
- Information about the accepter Net.
- AccepterOwner stringId 
- Id string
- The provider-assigned unique ID for this managed resource.
- RequestId string
- SourceNet stringId 
- SourceNets []NetPeering Acceptation Source Net 
- Information about the source Net.
- States
[]NetPeering Acceptation State Type 
- Information about the state of the Net peering.
- 
[]NetPeering Acceptation Tag 
- One or more tags associated with the Net peering.
- accepterNet StringId 
- accepterNets List<NetPeering Acceptation Accepter Net> 
- Information about the accepter Net.
- accepterOwner StringId 
- id String
- The provider-assigned unique ID for this managed resource.
- requestId String
- sourceNet StringId 
- sourceNets List<NetPeering Acceptation Source Net> 
- Information about the source Net.
- states
List<NetPeering Acceptation State> 
- Information about the state of the Net peering.
- 
List<NetPeering Acceptation Tag> 
- One or more tags associated with the Net peering.
- accepterNet stringId 
- accepterNets NetPeering Acceptation Accepter Net[] 
- Information about the accepter Net.
- accepterOwner stringId 
- id string
- The provider-assigned unique ID for this managed resource.
- requestId string
- sourceNet stringId 
- sourceNets NetPeering Acceptation Source Net[] 
- Information about the source Net.
- states
NetPeering Acceptation State[] 
- Information about the state of the Net peering.
- 
NetPeering Acceptation Tag[] 
- One or more tags associated with the Net peering.
- accepter_net_ strid 
- accepter_nets Sequence[NetPeering Acceptation Accepter Net] 
- Information about the accepter Net.
- accepter_owner_ strid 
- id str
- The provider-assigned unique ID for this managed resource.
- request_id str
- source_net_ strid 
- source_nets Sequence[NetPeering Acceptation Source Net] 
- Information about the source Net.
- states
Sequence[NetPeering Acceptation State] 
- Information about the state of the Net peering.
- 
Sequence[NetPeering Acceptation Tag] 
- One or more tags associated with the Net peering.
- accepterNet StringId 
- accepterNets List<Property Map>
- Information about the accepter Net.
- accepterOwner StringId 
- id String
- The provider-assigned unique ID for this managed resource.
- requestId String
- sourceNet StringId 
- sourceNets List<Property Map>
- Information about the source Net.
- states List<Property Map>
- Information about the state of the Net peering.
- 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) -> NetPeeringAcceptationfunc 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.
- AccepterNet stringId 
- AccepterNets List<NetPeering Acceptation Accepter Net> 
- Information about the accepter Net.
- AccepterOwner stringId 
- NetPeering stringAcceptation Id 
- NetPeering stringId 
- The ID of the Net peering you want to accept.
- RequestId string
- SourceNet stringId 
- SourceNets List<NetPeering Acceptation Source Net> 
- Information about the source Net.
- States
List<NetPeering Acceptation State> 
- Information about the state of the Net peering.
- 
List<NetPeering Acceptation Tag> 
- One or more tags associated with the Net peering.
- AccepterNet stringId 
- AccepterNets []NetPeering Acceptation Accepter Net Args 
- Information about the accepter Net.
- AccepterOwner stringId 
- NetPeering stringAcceptation Id 
- NetPeering stringId 
- The ID of the Net peering you want to accept.
- RequestId string
- SourceNet stringId 
- SourceNets []NetPeering Acceptation Source Net Args 
- Information about the source Net.
- States
[]NetPeering Acceptation State Type Args 
- Information about the state of the Net peering.
- 
[]NetPeering Acceptation Tag Args 
- One or more tags associated with the Net peering.
- accepterNet StringId 
- accepterNets List<NetPeering Acceptation Accepter Net> 
- Information about the accepter Net.
- accepterOwner StringId 
- netPeering StringAcceptation Id 
- netPeering StringId 
- The ID of the Net peering you want to accept.
- requestId String
- sourceNet StringId 
- sourceNets List<NetPeering Acceptation Source Net> 
- Information about the source Net.
- states
List<NetPeering Acceptation State> 
- Information about the state of the Net peering.
- 
List<NetPeering Acceptation Tag> 
- One or more tags associated with the Net peering.
- accepterNet stringId 
- accepterNets NetPeering Acceptation Accepter Net[] 
- Information about the accepter Net.
- accepterOwner stringId 
- netPeering stringAcceptation Id 
- netPeering stringId 
- The ID of the Net peering you want to accept.
- requestId string
- sourceNet stringId 
- sourceNets NetPeering Acceptation Source Net[] 
- Information about the source Net.
- states
NetPeering Acceptation State[] 
- Information about the state of the Net peering.
- 
NetPeering Acceptation Tag[] 
- One or more tags associated with the Net peering.
- accepter_net_ strid 
- accepter_nets Sequence[NetPeering Acceptation Accepter Net Args] 
- Information about the accepter Net.
- accepter_owner_ strid 
- net_peering_ stracceptation_ id 
- net_peering_ strid 
- The ID of the Net peering you want to accept.
- request_id str
- source_net_ strid 
- source_nets Sequence[NetPeering Acceptation Source Net Args] 
- Information about the source Net.
- states
Sequence[NetPeering Acceptation State Args] 
- Information about the state of the Net peering.
- 
Sequence[NetPeering Acceptation Tag Args] 
- One or more tags associated with the Net peering.
- accepterNet StringId 
- accepterNets List<Property Map>
- Information about the accepter Net.
- accepterOwner StringId 
- netPeering StringAcceptation Id 
- netPeering StringId 
- The ID of the Net peering you want to accept.
- requestId String
- sourceNet StringId 
- sourceNets List<Property Map>
- Information about the source Net.
- states List<Property Map>
- Information about the state of the Net peering.
- List<Property Map>
- One or more tags associated with the Net peering.
Supporting Types
NetPeeringAcceptationAccepterNet, NetPeeringAcceptationAccepterNetArgs          
- account_id str
- The account ID of the owner of the source Net.
- ip_range str
- The IP range for the source Net, in CIDR notation (for example, 10.0.0.0/16).
- net_id str
- The ID of the source Net.
NetPeeringAcceptationSourceNet, NetPeeringAcceptationSourceNetArgs          
- account_id str
- The account ID of the owner of the source Net.
- ip_range str
- The IP range for the source Net, in CIDR notation (for example, 10.0.0.0/16).
- net_id str
- The ID of the source Net.
NetPeeringAcceptationState, NetPeeringAcceptationStateArgs        
NetPeeringAcceptationTag, NetPeeringAcceptationTagArgs        
Package Details
- Repository
- outscale outscale/terraform-provider-outscale
- License
- Notes
- This Pulumi package is based on the outscaleTerraform Provider.