ovh.Vrack.IpV6
Explore with Pulumi AI
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)
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.
- Service
Name string - The internal name of your vrack
- Bridged
Subrange IpV6Bridged Subrange - Bridged subrange configuration.
- Block string
- Your IPv6 block.
- Service
Name string - The internal name of your vrack
- Bridged
Subrange IpV6Bridged Subrange Args - Bridged subrange configuration.
- block String
- Your IPv6 block.
- service
Name String - The internal name of your vrack
- bridged
Subrange IpV6Bridged Subrange - Bridged subrange configuration.
- block string
- Your IPv6 block.
- service
Name string - The internal name of your vrack
- bridged
Subrange IpV6Bridged Subrange - Bridged subrange configuration.
- block str
- Your IPv6 block.
- service_
name str - The internal name of your vrack
- bridged_
subrange IpV6Bridged Subrange Args - Bridged subrange configuration.
- block String
- Your IPv6 block.
- service
Name String - The internal name of your vrack
- bridged
Subrange 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.
- Block string
- Your IPv6 block.
- Bridged
Subrange IpV6Bridged Subrange - Bridged subrange configuration.
- Service
Name string - The internal name of your vrack
- Block string
- Your IPv6 block.
- Bridged
Subrange IpV6Bridged Subrange Args - Bridged subrange configuration.
- Service
Name string - The internal name of your vrack
- block String
- Your IPv6 block.
- bridged
Subrange IpV6Bridged Subrange - Bridged subrange configuration.
- service
Name String - The internal name of your vrack
- block string
- Your IPv6 block.
- bridged
Subrange IpV6Bridged Subrange - Bridged subrange configuration.
- service
Name string - The internal name of your vrack
- block str
- Your IPv6 block.
- bridged_
subrange IpV6Bridged Subrange Args - Bridged subrange configuration.
- service_
name str - The internal name of your vrack
- block String
- Your IPv6 block.
- bridged
Subrange Property Map - Bridged subrange configuration.
- service
Name String - The internal name of your vrack
Supporting Types
IpV6BridgedSubrange, IpV6BridgedSubrangeArgs
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.