1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. NetworkingVipAssociateV2
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.NetworkingVipAssociateV2

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Manages a V2 vip associate resource within FlexibleEngine.

    Create NetworkingVipAssociateV2 Resource

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

    Constructor syntax

    new NetworkingVipAssociateV2(name: string, args: NetworkingVipAssociateV2Args, opts?: CustomResourceOptions);
    @overload
    def NetworkingVipAssociateV2(resource_name: str,
                                 args: NetworkingVipAssociateV2Args,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def NetworkingVipAssociateV2(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 port_ids: Optional[Sequence[str]] = None,
                                 vip_id: Optional[str] = None,
                                 networking_vip_associate_v2_id: Optional[str] = None)
    func NewNetworkingVipAssociateV2(ctx *Context, name string, args NetworkingVipAssociateV2Args, opts ...ResourceOption) (*NetworkingVipAssociateV2, error)
    public NetworkingVipAssociateV2(string name, NetworkingVipAssociateV2Args args, CustomResourceOptions? opts = null)
    public NetworkingVipAssociateV2(String name, NetworkingVipAssociateV2Args args)
    public NetworkingVipAssociateV2(String name, NetworkingVipAssociateV2Args args, CustomResourceOptions options)
    
    type: flexibleengine:NetworkingVipAssociateV2
    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 NetworkingVipAssociateV2Args
    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 NetworkingVipAssociateV2Args
    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 NetworkingVipAssociateV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkingVipAssociateV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetworkingVipAssociateV2Args
    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 networkingVipAssociateV2Resource = new Flexibleengine.NetworkingVipAssociateV2("networkingVipAssociateV2Resource", new()
    {
        PortIds = new[]
        {
            "string",
        },
        VipId = "string",
        NetworkingVipAssociateV2Id = "string",
    });
    
    example, err := flexibleengine.NewNetworkingVipAssociateV2(ctx, "networkingVipAssociateV2Resource", &flexibleengine.NetworkingVipAssociateV2Args{
    	PortIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	VipId:                      pulumi.String("string"),
    	NetworkingVipAssociateV2Id: pulumi.String("string"),
    })
    
    var networkingVipAssociateV2Resource = new NetworkingVipAssociateV2("networkingVipAssociateV2Resource", NetworkingVipAssociateV2Args.builder()
        .portIds("string")
        .vipId("string")
        .networkingVipAssociateV2Id("string")
        .build());
    
    networking_vip_associate_v2_resource = flexibleengine.NetworkingVipAssociateV2("networkingVipAssociateV2Resource",
        port_ids=["string"],
        vip_id="string",
        networking_vip_associate_v2_id="string")
    
    const networkingVipAssociateV2Resource = new flexibleengine.NetworkingVipAssociateV2("networkingVipAssociateV2Resource", {
        portIds: ["string"],
        vipId: "string",
        networkingVipAssociateV2Id: "string",
    });
    
    type: flexibleengine:NetworkingVipAssociateV2
    properties:
        networkingVipAssociateV2Id: string
        portIds:
            - string
        vipId: string
    

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

    PortIds List<string>
    An array of one or more IDs of the ports to attach the vip to. Changing this creates a new vip associate.
    VipId string
    The ID of vip to attach the port to. Changing this creates a new vip associate.
    NetworkingVipAssociateV2Id string
    The resource ID.
    PortIds []string
    An array of one or more IDs of the ports to attach the vip to. Changing this creates a new vip associate.
    VipId string
    The ID of vip to attach the port to. Changing this creates a new vip associate.
    NetworkingVipAssociateV2Id string
    The resource ID.
    portIds List<String>
    An array of one or more IDs of the ports to attach the vip to. Changing this creates a new vip associate.
    vipId String
    The ID of vip to attach the port to. Changing this creates a new vip associate.
    networkingVipAssociateV2Id String
    The resource ID.
    portIds string[]
    An array of one or more IDs of the ports to attach the vip to. Changing this creates a new vip associate.
    vipId string
    The ID of vip to attach the port to. Changing this creates a new vip associate.
    networkingVipAssociateV2Id string
    The resource ID.
    port_ids Sequence[str]
    An array of one or more IDs of the ports to attach the vip to. Changing this creates a new vip associate.
    vip_id str
    The ID of vip to attach the port to. Changing this creates a new vip associate.
    networking_vip_associate_v2_id str
    The resource ID.
    portIds List<String>
    An array of one or more IDs of the ports to attach the vip to. Changing this creates a new vip associate.
    vipId String
    The ID of vip to attach the port to. Changing this creates a new vip associate.
    networkingVipAssociateV2Id String
    The resource ID.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    VipIpAddress string
    The IP address in the subnet for this vip.
    VipSubnetId string
    The ID of the subnet this vip connects to.
    Id string
    The provider-assigned unique ID for this managed resource.
    VipIpAddress string
    The IP address in the subnet for this vip.
    VipSubnetId string
    The ID of the subnet this vip connects to.
    id String
    The provider-assigned unique ID for this managed resource.
    vipIpAddress String
    The IP address in the subnet for this vip.
    vipSubnetId String
    The ID of the subnet this vip connects to.
    id string
    The provider-assigned unique ID for this managed resource.
    vipIpAddress string
    The IP address in the subnet for this vip.
    vipSubnetId string
    The ID of the subnet this vip connects to.
    id str
    The provider-assigned unique ID for this managed resource.
    vip_ip_address str
    The IP address in the subnet for this vip.
    vip_subnet_id str
    The ID of the subnet this vip connects to.
    id String
    The provider-assigned unique ID for this managed resource.
    vipIpAddress String
    The IP address in the subnet for this vip.
    vipSubnetId String
    The ID of the subnet this vip connects to.

    Look up Existing NetworkingVipAssociateV2 Resource

    Get an existing NetworkingVipAssociateV2 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?: NetworkingVipAssociateV2State, opts?: CustomResourceOptions): NetworkingVipAssociateV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            networking_vip_associate_v2_id: Optional[str] = None,
            port_ids: Optional[Sequence[str]] = None,
            vip_id: Optional[str] = None,
            vip_ip_address: Optional[str] = None,
            vip_subnet_id: Optional[str] = None) -> NetworkingVipAssociateV2
    func GetNetworkingVipAssociateV2(ctx *Context, name string, id IDInput, state *NetworkingVipAssociateV2State, opts ...ResourceOption) (*NetworkingVipAssociateV2, error)
    public static NetworkingVipAssociateV2 Get(string name, Input<string> id, NetworkingVipAssociateV2State? state, CustomResourceOptions? opts = null)
    public static NetworkingVipAssociateV2 get(String name, Output<String> id, NetworkingVipAssociateV2State state, CustomResourceOptions options)
    resources:  _:    type: flexibleengine:NetworkingVipAssociateV2    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:
    NetworkingVipAssociateV2Id string
    The resource ID.
    PortIds List<string>
    An array of one or more IDs of the ports to attach the vip to. Changing this creates a new vip associate.
    VipId string
    The ID of vip to attach the port to. Changing this creates a new vip associate.
    VipIpAddress string
    The IP address in the subnet for this vip.
    VipSubnetId string
    The ID of the subnet this vip connects to.
    NetworkingVipAssociateV2Id string
    The resource ID.
    PortIds []string
    An array of one or more IDs of the ports to attach the vip to. Changing this creates a new vip associate.
    VipId string
    The ID of vip to attach the port to. Changing this creates a new vip associate.
    VipIpAddress string
    The IP address in the subnet for this vip.
    VipSubnetId string
    The ID of the subnet this vip connects to.
    networkingVipAssociateV2Id String
    The resource ID.
    portIds List<String>
    An array of one or more IDs of the ports to attach the vip to. Changing this creates a new vip associate.
    vipId String
    The ID of vip to attach the port to. Changing this creates a new vip associate.
    vipIpAddress String
    The IP address in the subnet for this vip.
    vipSubnetId String
    The ID of the subnet this vip connects to.
    networkingVipAssociateV2Id string
    The resource ID.
    portIds string[]
    An array of one or more IDs of the ports to attach the vip to. Changing this creates a new vip associate.
    vipId string
    The ID of vip to attach the port to. Changing this creates a new vip associate.
    vipIpAddress string
    The IP address in the subnet for this vip.
    vipSubnetId string
    The ID of the subnet this vip connects to.
    networking_vip_associate_v2_id str
    The resource ID.
    port_ids Sequence[str]
    An array of one or more IDs of the ports to attach the vip to. Changing this creates a new vip associate.
    vip_id str
    The ID of vip to attach the port to. Changing this creates a new vip associate.
    vip_ip_address str
    The IP address in the subnet for this vip.
    vip_subnet_id str
    The ID of the subnet this vip connects to.
    networkingVipAssociateV2Id String
    The resource ID.
    portIds List<String>
    An array of one or more IDs of the ports to attach the vip to. Changing this creates a new vip associate.
    vipId String
    The ID of vip to attach the port to. Changing this creates a new vip associate.
    vipIpAddress String
    The IP address in the subnet for this vip.
    vipSubnetId String
    The ID of the subnet this vip connects to.

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud