1. Packages
  2. OVH
  3. API Docs
  4. Vrack
  5. IpV6
OVHCloud v2.2.3 published on Friday, Jun 6, 2025 by OVHcloud

ovh.Vrack.IpV6

Explore with Pulumi AI

ovh logo
OVHCloud v2.2.3 published on Friday, Jun 6, 2025 by OVHcloud

    Attach an IPv6 block to a VRack.

    Create IpV6 Resource

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

    Constructor syntax

    new IpV6(name: string, args: IpV6Args, opts?: CustomResourceOptions);
    @overload
    def IpV6(resource_name: str,
             args: IpV6Args,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def IpV6(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             block: Optional[str] = None,
             service_name: Optional[str] = None,
             bridged_subrange: Optional[IpV6BridgedSubrangeArgs] = None)
    func NewIpV6(ctx *Context, name string, args IpV6Args, opts ...ResourceOption) (*IpV6, error)
    public IpV6(string name, IpV6Args args, CustomResourceOptions? opts = null)
    public IpV6(String name, IpV6Args args)
    public IpV6(String name, IpV6Args args, CustomResourceOptions options)
    
    type: ovh:Vrack:IpV6
    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 IpV6Args
    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 IpV6Args
    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 IpV6Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IpV6Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IpV6Args
    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 ipV6Resource = new Ovh.Vrack.IpV6("ipV6Resource", new()
    {
        Block = "string",
        ServiceName = "string",
        BridgedSubrange = new Ovh.Vrack.Inputs.IpV6BridgedSubrangeArgs
        {
            Slaac = "string",
            Gateway = "string",
            Subrange = "string",
        },
    });
    
    example, err := vrack.NewIpV6(ctx, "ipV6Resource", &vrack.IpV6Args{
    	Block:       pulumi.String("string"),
    	ServiceName: pulumi.String("string"),
    	BridgedSubrange: &vrack.IpV6BridgedSubrangeArgs{
    		Slaac:    pulumi.String("string"),
    		Gateway:  pulumi.String("string"),
    		Subrange: pulumi.String("string"),
    	},
    })
    
    var ipV6Resource = new IpV6("ipV6Resource", IpV6Args.builder()
        .block("string")
        .serviceName("string")
        .bridgedSubrange(IpV6BridgedSubrangeArgs.builder()
            .slaac("string")
            .gateway("string")
            .subrange("string")
            .build())
        .build());
    
    ip_v6_resource = ovh.vrack.IpV6("ipV6Resource",
        block="string",
        service_name="string",
        bridged_subrange={
            "slaac": "string",
            "gateway": "string",
            "subrange": "string",
        })
    
    const ipV6Resource = new ovh.vrack.IpV6("ipV6Resource", {
        block: "string",
        serviceName: "string",
        bridgedSubrange: {
            slaac: "string",
            gateway: "string",
            subrange: "string",
        },
    });
    
    type: ovh:Vrack:IpV6
    properties:
        block: string
        bridgedSubrange:
            gateway: string
            slaac: string
            subrange: string
        serviceName: string
    

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

    Block string
    Your IPv6 block.
    ServiceName string
    The internal name of your vrack
    BridgedSubrange IpV6BridgedSubrange
    Bridged subrange configuration.
    Block string
    Your IPv6 block.
    ServiceName string
    The internal name of your vrack
    BridgedSubrange IpV6BridgedSubrangeArgs
    Bridged subrange configuration.
    block String
    Your IPv6 block.
    serviceName String
    The internal name of your vrack
    bridgedSubrange IpV6BridgedSubrange
    Bridged subrange configuration.
    block string
    Your IPv6 block.
    serviceName string
    The internal name of your vrack
    bridgedSubrange IpV6BridgedSubrange
    Bridged subrange configuration.
    block str
    Your IPv6 block.
    service_name str
    The internal name of your vrack
    bridged_subrange IpV6BridgedSubrangeArgs
    Bridged subrange configuration.
    block String
    Your IPv6 block.
    serviceName String
    The internal name of your vrack
    bridgedSubrange Property Map
    Bridged subrange configuration.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IpV6 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 IpV6 Resource

    Get an existing IpV6 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?: IpV6State, opts?: CustomResourceOptions): IpV6
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            block: Optional[str] = None,
            bridged_subrange: Optional[IpV6BridgedSubrangeArgs] = None,
            service_name: Optional[str] = None) -> IpV6
    func GetIpV6(ctx *Context, name string, id IDInput, state *IpV6State, opts ...ResourceOption) (*IpV6, error)
    public static IpV6 Get(string name, Input<string> id, IpV6State? state, CustomResourceOptions? opts = null)
    public static IpV6 get(String name, Output<String> id, IpV6State state, CustomResourceOptions options)
    resources:  _:    type: ovh:Vrack:IpV6    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:
    Block string
    Your IPv6 block.
    BridgedSubrange IpV6BridgedSubrange
    Bridged subrange configuration.
    ServiceName string
    The internal name of your vrack
    Block string
    Your IPv6 block.
    BridgedSubrange IpV6BridgedSubrangeArgs
    Bridged subrange configuration.
    ServiceName string
    The internal name of your vrack
    block String
    Your IPv6 block.
    bridgedSubrange IpV6BridgedSubrange
    Bridged subrange configuration.
    serviceName String
    The internal name of your vrack
    block string
    Your IPv6 block.
    bridgedSubrange IpV6BridgedSubrange
    Bridged subrange configuration.
    serviceName string
    The internal name of your vrack
    block str
    Your IPv6 block.
    bridged_subrange IpV6BridgedSubrangeArgs
    Bridged subrange configuration.
    service_name str
    The internal name of your vrack
    block String
    Your IPv6 block.
    bridgedSubrange Property Map
    Bridged subrange configuration.
    serviceName String
    The internal name of your vrack

    Supporting Types

    IpV6BridgedSubrange, IpV6BridgedSubrangeArgs

    Slaac string
    Slaac status <enabled|disabled>
    Gateway string
    Your gateway
    Subrange string
    IPv6 CIDR notation (e.g., 2001:41d0::/128)
    Slaac string
    Slaac status <enabled|disabled>
    Gateway string
    Your gateway
    Subrange string
    IPv6 CIDR notation (e.g., 2001:41d0::/128)
    slaac String
    Slaac status <enabled|disabled>
    gateway String
    Your gateway
    subrange String
    IPv6 CIDR notation (e.g., 2001:41d0::/128)
    slaac string
    Slaac status <enabled|disabled>
    gateway string
    Your gateway
    subrange string
    IPv6 CIDR notation (e.g., 2001:41d0::/128)
    slaac str
    Slaac status <enabled|disabled>
    gateway str
    Your gateway
    subrange str
    IPv6 CIDR notation (e.g., 2001:41d0::/128)
    slaac String
    Slaac status <enabled|disabled>
    gateway String
    Your gateway
    subrange String
    IPv6 CIDR notation (e.g., 2001:41d0::/128)

    Import

    Attachment of an IPv6 block and a VRack can be imported using the service_name (vRack identifier) and the block (IPv6 block), separated by “,” E.g.,

    bash

    $ pulumi import ovh:Vrack/ipV6:IpV6 myattach "<service_name>,<block>"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ovh ovh/pulumi-ovh
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ovh Terraform Provider.
    ovh logo
    OVHCloud v2.2.3 published on Friday, Jun 6, 2025 by OVHcloud