1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. vpc
  5. VbrHa
Alibaba Cloud v3.43.1 published on Monday, Sep 11, 2023 by Pulumi

alicloud.vpc.VbrHa

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.43.1 published on Monday, Sep 11, 2023 by Pulumi

    Provides a VPC Vbr Ha resource.

    For information about VPC Vbr Ha and how to use it, see What is Vbr Ha.

    NOTE: Available since v1.151.0.

    Create VbrHa Resource

    new VbrHa(name: string, args: VbrHaArgs, opts?: CustomResourceOptions);
    @overload
    def VbrHa(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              description: Optional[str] = None,
              dry_run: Optional[bool] = None,
              peer_vbr_id: Optional[str] = None,
              vbr_ha_name: Optional[str] = None,
              vbr_id: Optional[str] = None)
    @overload
    def VbrHa(resource_name: str,
              args: VbrHaArgs,
              opts: Optional[ResourceOptions] = None)
    func NewVbrHa(ctx *Context, name string, args VbrHaArgs, opts ...ResourceOption) (*VbrHa, error)
    public VbrHa(string name, VbrHaArgs args, CustomResourceOptions? opts = null)
    public VbrHa(String name, VbrHaArgs args)
    public VbrHa(String name, VbrHaArgs args, CustomResourceOptions options)
    
    type: alicloud:vpc:VbrHa
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args VbrHaArgs
    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 VbrHaArgs
    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 VbrHaArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VbrHaArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VbrHaArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    PeerVbrId string

    The ID of the other VBR in the VBR failover group.

    VbrId string

    The ID of the VBR instance.

    Description string

    The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with https:// or https://.

    DryRun bool

    The dry run.

    VbrHaName string

    The name of the VBR failover group.

    PeerVbrId string

    The ID of the other VBR in the VBR failover group.

    VbrId string

    The ID of the VBR instance.

    Description string

    The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with https:// or https://.

    DryRun bool

    The dry run.

    VbrHaName string

    The name of the VBR failover group.

    peerVbrId String

    The ID of the other VBR in the VBR failover group.

    vbrId String

    The ID of the VBR instance.

    description String

    The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with https:// or https://.

    dryRun Boolean

    The dry run.

    vbrHaName String

    The name of the VBR failover group.

    peerVbrId string

    The ID of the other VBR in the VBR failover group.

    vbrId string

    The ID of the VBR instance.

    description string

    The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with https:// or https://.

    dryRun boolean

    The dry run.

    vbrHaName string

    The name of the VBR failover group.

    peer_vbr_id str

    The ID of the other VBR in the VBR failover group.

    vbr_id str

    The ID of the VBR instance.

    description str

    The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with https:// or https://.

    dry_run bool

    The dry run.

    vbr_ha_name str

    The name of the VBR failover group.

    peerVbrId String

    The ID of the other VBR in the VBR failover group.

    vbrId String

    The ID of the VBR instance.

    description String

    The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with https:// or https://.

    dryRun Boolean

    The dry run.

    vbrHaName String

    The name of the VBR failover group.

    Outputs

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

    Id string

    The provider-assigned unique ID for this managed resource.

    Status string

    The state of the VBR failover group.

    Id string

    The provider-assigned unique ID for this managed resource.

    Status string

    The state of the VBR failover group.

    id String

    The provider-assigned unique ID for this managed resource.

    status String

    The state of the VBR failover group.

    id string

    The provider-assigned unique ID for this managed resource.

    status string

    The state of the VBR failover group.

    id str

    The provider-assigned unique ID for this managed resource.

    status str

    The state of the VBR failover group.

    id String

    The provider-assigned unique ID for this managed resource.

    status String

    The state of the VBR failover group.

    Look up Existing VbrHa Resource

    Get an existing VbrHa 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?: VbrHaState, opts?: CustomResourceOptions): VbrHa
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            dry_run: Optional[bool] = None,
            peer_vbr_id: Optional[str] = None,
            status: Optional[str] = None,
            vbr_ha_name: Optional[str] = None,
            vbr_id: Optional[str] = None) -> VbrHa
    func GetVbrHa(ctx *Context, name string, id IDInput, state *VbrHaState, opts ...ResourceOption) (*VbrHa, error)
    public static VbrHa Get(string name, Input<string> id, VbrHaState? state, CustomResourceOptions? opts = null)
    public static VbrHa get(String name, Output<String> id, VbrHaState 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:
    Description string

    The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with https:// or https://.

    DryRun bool

    The dry run.

    PeerVbrId string

    The ID of the other VBR in the VBR failover group.

    Status string

    The state of the VBR failover group.

    VbrHaName string

    The name of the VBR failover group.

    VbrId string

    The ID of the VBR instance.

    Description string

    The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with https:// or https://.

    DryRun bool

    The dry run.

    PeerVbrId string

    The ID of the other VBR in the VBR failover group.

    Status string

    The state of the VBR failover group.

    VbrHaName string

    The name of the VBR failover group.

    VbrId string

    The ID of the VBR instance.

    description String

    The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with https:// or https://.

    dryRun Boolean

    The dry run.

    peerVbrId String

    The ID of the other VBR in the VBR failover group.

    status String

    The state of the VBR failover group.

    vbrHaName String

    The name of the VBR failover group.

    vbrId String

    The ID of the VBR instance.

    description string

    The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with https:// or https://.

    dryRun boolean

    The dry run.

    peerVbrId string

    The ID of the other VBR in the VBR failover group.

    status string

    The state of the VBR failover group.

    vbrHaName string

    The name of the VBR failover group.

    vbrId string

    The ID of the VBR instance.

    description str

    The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with https:// or https://.

    dry_run bool

    The dry run.

    peer_vbr_id str

    The ID of the other VBR in the VBR failover group.

    status str

    The state of the VBR failover group.

    vbr_ha_name str

    The name of the VBR failover group.

    vbr_id str

    The ID of the VBR instance.

    description String

    The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with https:// or https://.

    dryRun Boolean

    The dry run.

    peerVbrId String

    The ID of the other VBR in the VBR failover group.

    status String

    The state of the VBR failover group.

    vbrHaName String

    The name of the VBR failover group.

    vbrId String

    The ID of the VBR instance.

    Import

    VPC Vbr Ha can be imported using the id, e.g.

     $ pulumi import alicloud:vpc/vbrHa:VbrHa example <id>
    

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the alicloud Terraform Provider.

    alicloud logo
    Alibaba Cloud v3.43.1 published on Monday, Sep 11, 2023 by Pulumi