1. Packages
  2. Scaleway
  3. API Docs
  4. FlexibleIpMacAddress
Scaleway v1.12.1 published on Monday, Apr 15, 2024 by pulumiverse

scaleway.FlexibleIpMacAddress

Explore with Pulumi AI

scaleway logo
Scaleway v1.12.1 published on Monday, Apr 15, 2024 by pulumiverse

    Creates and manages Scaleway Flexible IP Mac Addresses. For more information, see the documentation.

    Example Usage

    Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const mainFlexibleIp = new scaleway.FlexibleIp("mainFlexibleIp", {});
    const mainFlexibleIpMacAddress = new scaleway.FlexibleIpMacAddress("mainFlexibleIpMacAddress", {
        flexibleIpId: mainFlexibleIp.id,
        type: "kvm",
    });
    
    import pulumi
    import pulumiverse_scaleway as scaleway
    
    main_flexible_ip = scaleway.FlexibleIp("mainFlexibleIp")
    main_flexible_ip_mac_address = scaleway.FlexibleIpMacAddress("mainFlexibleIpMacAddress",
        flexible_ip_id=main_flexible_ip.id,
        type="kvm")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		mainFlexibleIp, err := scaleway.NewFlexibleIp(ctx, "mainFlexibleIp", nil)
    		if err != nil {
    			return err
    		}
    		_, err = scaleway.NewFlexibleIpMacAddress(ctx, "mainFlexibleIpMacAddress", &scaleway.FlexibleIpMacAddressArgs{
    			FlexibleIpId: mainFlexibleIp.ID(),
    			Type:         pulumi.String("kvm"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumiverse.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var mainFlexibleIp = new Scaleway.FlexibleIp("mainFlexibleIp");
    
        var mainFlexibleIpMacAddress = new Scaleway.FlexibleIpMacAddress("mainFlexibleIpMacAddress", new()
        {
            FlexibleIpId = mainFlexibleIp.Id,
            Type = "kvm",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.FlexibleIp;
    import com.pulumi.scaleway.FlexibleIpMacAddress;
    import com.pulumi.scaleway.FlexibleIpMacAddressArgs;
    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 mainFlexibleIp = new FlexibleIp("mainFlexibleIp");
    
            var mainFlexibleIpMacAddress = new FlexibleIpMacAddress("mainFlexibleIpMacAddress", FlexibleIpMacAddressArgs.builder()        
                .flexibleIpId(mainFlexibleIp.id())
                .type("kvm")
                .build());
    
        }
    }
    
    resources:
      mainFlexibleIp:
        type: scaleway:FlexibleIp
      mainFlexibleIpMacAddress:
        type: scaleway:FlexibleIpMacAddress
        properties:
          flexibleIpId: ${mainFlexibleIp.id}
          type: kvm
    

    Duplicate on many other flexible IPs

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumi/scaleway";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const myOffer = scaleway.getBaremetalOffer({
        name: "EM-B112X-SSD",
    });
    const base = new scaleway.BaremetalServer("base", {
        offer: myOffer.then(myOffer => myOffer.offerId),
        installConfigAfterward: true,
    });
    const ip01 = new scaleway.FlexibleIp("ip01", {serverId: base.id});
    const ip02 = new scaleway.FlexibleIp("ip02", {serverId: base.id});
    const ip03 = new scaleway.FlexibleIp("ip03", {serverId: base.id});
    const main = new scaleway.FlexibleIpMacAddress("main", {
        flexibleIpId: ip01.id,
        type: "kvm",
        flexibleIpIdsToDuplicates: [
            ip02.id,
            ip03.id,
        ],
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    import pulumiverse_scaleway as scaleway
    
    my_offer = scaleway.get_baremetal_offer(name="EM-B112X-SSD")
    base = scaleway.BaremetalServer("base",
        offer=my_offer.offer_id,
        install_config_afterward=True)
    ip01 = scaleway.FlexibleIp("ip01", server_id=base.id)
    ip02 = scaleway.FlexibleIp("ip02", server_id=base.id)
    ip03 = scaleway.FlexibleIp("ip03", server_id=base.id)
    main = scaleway.FlexibleIpMacAddress("main",
        flexible_ip_id=ip01.id,
        type="kvm",
        flexible_ip_ids_to_duplicates=[
            ip02.id,
            ip03.id,
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		myOffer, err := scaleway.GetBaremetalOffer(ctx, &scaleway.GetBaremetalOfferArgs{
    			Name: pulumi.StringRef("EM-B112X-SSD"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		base, err := scaleway.NewBaremetalServer(ctx, "base", &scaleway.BaremetalServerArgs{
    			Offer:                  pulumi.String(myOffer.OfferId),
    			InstallConfigAfterward: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		ip01, err := scaleway.NewFlexibleIp(ctx, "ip01", &scaleway.FlexibleIpArgs{
    			ServerId: base.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		ip02, err := scaleway.NewFlexibleIp(ctx, "ip02", &scaleway.FlexibleIpArgs{
    			ServerId: base.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		ip03, err := scaleway.NewFlexibleIp(ctx, "ip03", &scaleway.FlexibleIpArgs{
    			ServerId: base.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = scaleway.NewFlexibleIpMacAddress(ctx, "main", &scaleway.FlexibleIpMacAddressArgs{
    			FlexibleIpId: ip01.ID(),
    			Type:         pulumi.String("kvm"),
    			FlexibleIpIdsToDuplicates: pulumi.StringArray{
    				ip02.ID(),
    				ip03.ID(),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumi.Scaleway;
    using Scaleway = Pulumiverse.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var myOffer = Scaleway.GetBaremetalOffer.Invoke(new()
        {
            Name = "EM-B112X-SSD",
        });
    
        var @base = new Scaleway.BaremetalServer("base", new()
        {
            Offer = myOffer.Apply(getBaremetalOfferResult => getBaremetalOfferResult.OfferId),
            InstallConfigAfterward = true,
        });
    
        var ip01 = new Scaleway.FlexibleIp("ip01", new()
        {
            ServerId = @base.Id,
        });
    
        var ip02 = new Scaleway.FlexibleIp("ip02", new()
        {
            ServerId = @base.Id,
        });
    
        var ip03 = new Scaleway.FlexibleIp("ip03", new()
        {
            ServerId = @base.Id,
        });
    
        var main = new Scaleway.FlexibleIpMacAddress("main", new()
        {
            FlexibleIpId = ip01.Id,
            Type = "kvm",
            FlexibleIpIdsToDuplicates = new[]
            {
                ip02.Id,
                ip03.Id,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.ScalewayFunctions;
    import com.pulumi.scaleway.inputs.GetBaremetalOfferArgs;
    import com.pulumi.scaleway.BaremetalServer;
    import com.pulumi.scaleway.BaremetalServerArgs;
    import com.pulumi.scaleway.FlexibleIp;
    import com.pulumi.scaleway.FlexibleIpArgs;
    import com.pulumi.scaleway.FlexibleIpMacAddress;
    import com.pulumi.scaleway.FlexibleIpMacAddressArgs;
    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) {
            final var myOffer = ScalewayFunctions.getBaremetalOffer(GetBaremetalOfferArgs.builder()
                .name("EM-B112X-SSD")
                .build());
    
            var base = new BaremetalServer("base", BaremetalServerArgs.builder()        
                .offer(myOffer.applyValue(getBaremetalOfferResult -> getBaremetalOfferResult.offerId()))
                .installConfigAfterward(true)
                .build());
    
            var ip01 = new FlexibleIp("ip01", FlexibleIpArgs.builder()        
                .serverId(base.id())
                .build());
    
            var ip02 = new FlexibleIp("ip02", FlexibleIpArgs.builder()        
                .serverId(base.id())
                .build());
    
            var ip03 = new FlexibleIp("ip03", FlexibleIpArgs.builder()        
                .serverId(base.id())
                .build());
    
            var main = new FlexibleIpMacAddress("main", FlexibleIpMacAddressArgs.builder()        
                .flexibleIpId(ip01.id())
                .type("kvm")
                .flexibleIpIdsToDuplicates(            
                    ip02.id(),
                    ip03.id())
                .build());
    
        }
    }
    
    resources:
      base:
        type: scaleway:BaremetalServer
        properties:
          offer: ${myOffer.offerId}
          installConfigAfterward: true
      ip01:
        type: scaleway:FlexibleIp
        properties:
          serverId: ${base.id}
      ip02:
        type: scaleway:FlexibleIp
        properties:
          serverId: ${base.id}
      ip03:
        type: scaleway:FlexibleIp
        properties:
          serverId: ${base.id}
      main:
        type: scaleway:FlexibleIpMacAddress
        properties:
          flexibleIpId: ${ip01.id}
          type: kvm
          flexibleIpIdsToDuplicates:
            - ${ip02.id}
            - ${ip03.id}
    variables:
      myOffer:
        fn::invoke:
          Function: scaleway:getBaremetalOffer
          Arguments:
            name: EM-B112X-SSD
    

    Create FlexibleIpMacAddress Resource

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

    Constructor syntax

    new FlexibleIpMacAddress(name: string, args: FlexibleIpMacAddressArgs, opts?: CustomResourceOptions);
    @overload
    def FlexibleIpMacAddress(resource_name: str,
                             args: FlexibleIpMacAddressArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def FlexibleIpMacAddress(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             flexible_ip_id: Optional[str] = None,
                             type: Optional[str] = None,
                             flexible_ip_ids_to_duplicates: Optional[Sequence[str]] = None,
                             zone: Optional[str] = None)
    func NewFlexibleIpMacAddress(ctx *Context, name string, args FlexibleIpMacAddressArgs, opts ...ResourceOption) (*FlexibleIpMacAddress, error)
    public FlexibleIpMacAddress(string name, FlexibleIpMacAddressArgs args, CustomResourceOptions? opts = null)
    public FlexibleIpMacAddress(String name, FlexibleIpMacAddressArgs args)
    public FlexibleIpMacAddress(String name, FlexibleIpMacAddressArgs args, CustomResourceOptions options)
    
    type: scaleway:FlexibleIpMacAddress
    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 FlexibleIpMacAddressArgs
    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 FlexibleIpMacAddressArgs
    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 FlexibleIpMacAddressArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FlexibleIpMacAddressArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FlexibleIpMacAddressArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var flexibleIpMacAddressResource = new Scaleway.FlexibleIpMacAddress("flexibleIpMacAddressResource", new()
    {
        FlexibleIpId = "string",
        Type = "string",
        FlexibleIpIdsToDuplicates = new[]
        {
            "string",
        },
        Zone = "string",
    });
    
    example, err := scaleway.NewFlexibleIpMacAddress(ctx, "flexibleIpMacAddressResource", &scaleway.FlexibleIpMacAddressArgs{
    	FlexibleIpId: pulumi.String("string"),
    	Type:         pulumi.String("string"),
    	FlexibleIpIdsToDuplicates: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Zone: pulumi.String("string"),
    })
    
    var flexibleIpMacAddressResource = new FlexibleIpMacAddress("flexibleIpMacAddressResource", FlexibleIpMacAddressArgs.builder()        
        .flexibleIpId("string")
        .type("string")
        .flexibleIpIdsToDuplicates("string")
        .zone("string")
        .build());
    
    flexible_ip_mac_address_resource = scaleway.FlexibleIpMacAddress("flexibleIpMacAddressResource",
        flexible_ip_id="string",
        type="string",
        flexible_ip_ids_to_duplicates=["string"],
        zone="string")
    
    const flexibleIpMacAddressResource = new scaleway.FlexibleIpMacAddress("flexibleIpMacAddressResource", {
        flexibleIpId: "string",
        type: "string",
        flexibleIpIdsToDuplicates: ["string"],
        zone: "string",
    });
    
    type: scaleway:FlexibleIpMacAddress
    properties:
        flexibleIpId: string
        flexibleIpIdsToDuplicates:
            - string
        type: string
        zone: string
    

    FlexibleIpMacAddress Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The FlexibleIpMacAddress resource accepts the following input properties:

    FlexibleIpId string
    The ID of the flexible IP for which to generate a virtual MAC.
    Type string
    The type of the virtual MAC.
    FlexibleIpIdsToDuplicates List<string>

    The IDs of the flexible IPs on which to duplicate the virtual MAC.

    Important: The flexible IPs need to be attached to the same server for the operation to work.

    Zone string
    The zone of the Virtual Mac Address.
    FlexibleIpId string
    The ID of the flexible IP for which to generate a virtual MAC.
    Type string
    The type of the virtual MAC.
    FlexibleIpIdsToDuplicates []string

    The IDs of the flexible IPs on which to duplicate the virtual MAC.

    Important: The flexible IPs need to be attached to the same server for the operation to work.

    Zone string
    The zone of the Virtual Mac Address.
    flexibleIpId String
    The ID of the flexible IP for which to generate a virtual MAC.
    type String
    The type of the virtual MAC.
    flexibleIpIdsToDuplicates List<String>

    The IDs of the flexible IPs on which to duplicate the virtual MAC.

    Important: The flexible IPs need to be attached to the same server for the operation to work.

    zone String
    The zone of the Virtual Mac Address.
    flexibleIpId string
    The ID of the flexible IP for which to generate a virtual MAC.
    type string
    The type of the virtual MAC.
    flexibleIpIdsToDuplicates string[]

    The IDs of the flexible IPs on which to duplicate the virtual MAC.

    Important: The flexible IPs need to be attached to the same server for the operation to work.

    zone string
    The zone of the Virtual Mac Address.
    flexible_ip_id str
    The ID of the flexible IP for which to generate a virtual MAC.
    type str
    The type of the virtual MAC.
    flexible_ip_ids_to_duplicates Sequence[str]

    The IDs of the flexible IPs on which to duplicate the virtual MAC.

    Important: The flexible IPs need to be attached to the same server for the operation to work.

    zone str
    The zone of the Virtual Mac Address.
    flexibleIpId String
    The ID of the flexible IP for which to generate a virtual MAC.
    type String
    The type of the virtual MAC.
    flexibleIpIdsToDuplicates List<String>

    The IDs of the flexible IPs on which to duplicate the virtual MAC.

    Important: The flexible IPs need to be attached to the same server for the operation to work.

    zone String
    The zone of the Virtual Mac Address.

    Outputs

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

    Address string
    The Virtual MAC address.
    CreatedAt string
    The date at which the Virtual Mac Address was created (RFC 3339 format).
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The Virtual MAC status.
    UpdatedAt string
    The date at which the Virtual Mac Address was last updated (RFC 3339 format).
    Address string
    The Virtual MAC address.
    CreatedAt string
    The date at which the Virtual Mac Address was created (RFC 3339 format).
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The Virtual MAC status.
    UpdatedAt string
    The date at which the Virtual Mac Address was last updated (RFC 3339 format).
    address String
    The Virtual MAC address.
    createdAt String
    The date at which the Virtual Mac Address was created (RFC 3339 format).
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The Virtual MAC status.
    updatedAt String
    The date at which the Virtual Mac Address was last updated (RFC 3339 format).
    address string
    The Virtual MAC address.
    createdAt string
    The date at which the Virtual Mac Address was created (RFC 3339 format).
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The Virtual MAC status.
    updatedAt string
    The date at which the Virtual Mac Address was last updated (RFC 3339 format).
    address str
    The Virtual MAC address.
    created_at str
    The date at which the Virtual Mac Address was created (RFC 3339 format).
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The Virtual MAC status.
    updated_at str
    The date at which the Virtual Mac Address was last updated (RFC 3339 format).
    address String
    The Virtual MAC address.
    createdAt String
    The date at which the Virtual Mac Address was created (RFC 3339 format).
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The Virtual MAC status.
    updatedAt String
    The date at which the Virtual Mac Address was last updated (RFC 3339 format).

    Look up Existing FlexibleIpMacAddress Resource

    Get an existing FlexibleIpMacAddress 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?: FlexibleIpMacAddressState, opts?: CustomResourceOptions): FlexibleIpMacAddress
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            address: Optional[str] = None,
            created_at: Optional[str] = None,
            flexible_ip_id: Optional[str] = None,
            flexible_ip_ids_to_duplicates: Optional[Sequence[str]] = None,
            status: Optional[str] = None,
            type: Optional[str] = None,
            updated_at: Optional[str] = None,
            zone: Optional[str] = None) -> FlexibleIpMacAddress
    func GetFlexibleIpMacAddress(ctx *Context, name string, id IDInput, state *FlexibleIpMacAddressState, opts ...ResourceOption) (*FlexibleIpMacAddress, error)
    public static FlexibleIpMacAddress Get(string name, Input<string> id, FlexibleIpMacAddressState? state, CustomResourceOptions? opts = null)
    public static FlexibleIpMacAddress get(String name, Output<String> id, FlexibleIpMacAddressState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    Address string
    The Virtual MAC address.
    CreatedAt string
    The date at which the Virtual Mac Address was created (RFC 3339 format).
    FlexibleIpId string
    The ID of the flexible IP for which to generate a virtual MAC.
    FlexibleIpIdsToDuplicates List<string>

    The IDs of the flexible IPs on which to duplicate the virtual MAC.

    Important: The flexible IPs need to be attached to the same server for the operation to work.

    Status string
    The Virtual MAC status.
    Type string
    The type of the virtual MAC.
    UpdatedAt string
    The date at which the Virtual Mac Address was last updated (RFC 3339 format).
    Zone string
    The zone of the Virtual Mac Address.
    Address string
    The Virtual MAC address.
    CreatedAt string
    The date at which the Virtual Mac Address was created (RFC 3339 format).
    FlexibleIpId string
    The ID of the flexible IP for which to generate a virtual MAC.
    FlexibleIpIdsToDuplicates []string

    The IDs of the flexible IPs on which to duplicate the virtual MAC.

    Important: The flexible IPs need to be attached to the same server for the operation to work.

    Status string
    The Virtual MAC status.
    Type string
    The type of the virtual MAC.
    UpdatedAt string
    The date at which the Virtual Mac Address was last updated (RFC 3339 format).
    Zone string
    The zone of the Virtual Mac Address.
    address String
    The Virtual MAC address.
    createdAt String
    The date at which the Virtual Mac Address was created (RFC 3339 format).
    flexibleIpId String
    The ID of the flexible IP for which to generate a virtual MAC.
    flexibleIpIdsToDuplicates List<String>

    The IDs of the flexible IPs on which to duplicate the virtual MAC.

    Important: The flexible IPs need to be attached to the same server for the operation to work.

    status String
    The Virtual MAC status.
    type String
    The type of the virtual MAC.
    updatedAt String
    The date at which the Virtual Mac Address was last updated (RFC 3339 format).
    zone String
    The zone of the Virtual Mac Address.
    address string
    The Virtual MAC address.
    createdAt string
    The date at which the Virtual Mac Address was created (RFC 3339 format).
    flexibleIpId string
    The ID of the flexible IP for which to generate a virtual MAC.
    flexibleIpIdsToDuplicates string[]

    The IDs of the flexible IPs on which to duplicate the virtual MAC.

    Important: The flexible IPs need to be attached to the same server for the operation to work.

    status string
    The Virtual MAC status.
    type string
    The type of the virtual MAC.
    updatedAt string
    The date at which the Virtual Mac Address was last updated (RFC 3339 format).
    zone string
    The zone of the Virtual Mac Address.
    address str
    The Virtual MAC address.
    created_at str
    The date at which the Virtual Mac Address was created (RFC 3339 format).
    flexible_ip_id str
    The ID of the flexible IP for which to generate a virtual MAC.
    flexible_ip_ids_to_duplicates Sequence[str]

    The IDs of the flexible IPs on which to duplicate the virtual MAC.

    Important: The flexible IPs need to be attached to the same server for the operation to work.

    status str
    The Virtual MAC status.
    type str
    The type of the virtual MAC.
    updated_at str
    The date at which the Virtual Mac Address was last updated (RFC 3339 format).
    zone str
    The zone of the Virtual Mac Address.
    address String
    The Virtual MAC address.
    createdAt String
    The date at which the Virtual Mac Address was created (RFC 3339 format).
    flexibleIpId String
    The ID of the flexible IP for which to generate a virtual MAC.
    flexibleIpIdsToDuplicates List<String>

    The IDs of the flexible IPs on which to duplicate the virtual MAC.

    Important: The flexible IPs need to be attached to the same server for the operation to work.

    status String
    The Virtual MAC status.
    type String
    The type of the virtual MAC.
    updatedAt String
    The date at which the Virtual Mac Address was last updated (RFC 3339 format).
    zone String
    The zone of the Virtual Mac Address.

    Import

    Flexible IP Mac Addresses can be imported using the {zone}/{id}, e.g.

    bash

    $ pulumi import scaleway:index/flexibleIpMacAddress:FlexibleIpMacAddress main fr-par-1/11111111-1111-1111-1111-111111111111
    

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

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Scaleway v1.12.1 published on Monday, Apr 15, 2024 by pulumiverse