1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. DcEndpointGroupV2
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.DcEndpointGroupV2

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Create DcEndpointGroupV2 Resource

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

    Constructor syntax

    new DcEndpointGroupV2(name: string, args: DcEndpointGroupV2Args, opts?: CustomResourceOptions);
    @overload
    def DcEndpointGroupV2(resource_name: str,
                          args: DcEndpointGroupV2Args,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def DcEndpointGroupV2(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          endpoints: Optional[Sequence[str]] = None,
                          project_id: Optional[str] = None,
                          type: Optional[str] = None,
                          description: Optional[str] = None,
                          name: Optional[str] = None,
                          timeouts: Optional[DcEndpointGroupV2TimeoutsArgs] = None)
    func NewDcEndpointGroupV2(ctx *Context, name string, args DcEndpointGroupV2Args, opts ...ResourceOption) (*DcEndpointGroupV2, error)
    public DcEndpointGroupV2(string name, DcEndpointGroupV2Args args, CustomResourceOptions? opts = null)
    public DcEndpointGroupV2(String name, DcEndpointGroupV2Args args)
    public DcEndpointGroupV2(String name, DcEndpointGroupV2Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:DcEndpointGroupV2
    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 DcEndpointGroupV2Args
    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 DcEndpointGroupV2Args
    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 DcEndpointGroupV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DcEndpointGroupV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DcEndpointGroupV2Args
    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 dcEndpointGroupV2Resource = new Opentelekomcloud.DcEndpointGroupV2("dcEndpointGroupV2Resource", new()
    {
        Endpoints = new[]
        {
            "string",
        },
        ProjectId = "string",
        Type = "string",
        Description = "string",
        Name = "string",
        Timeouts = new Opentelekomcloud.Inputs.DcEndpointGroupV2TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := opentelekomcloud.NewDcEndpointGroupV2(ctx, "dcEndpointGroupV2Resource", &opentelekomcloud.DcEndpointGroupV2Args{
    	Endpoints: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ProjectId:   pulumi.String("string"),
    	Type:        pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Timeouts: &opentelekomcloud.DcEndpointGroupV2TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var dcEndpointGroupV2Resource = new DcEndpointGroupV2("dcEndpointGroupV2Resource", DcEndpointGroupV2Args.builder()
        .endpoints("string")
        .projectId("string")
        .type("string")
        .description("string")
        .name("string")
        .timeouts(DcEndpointGroupV2TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    dc_endpoint_group_v2_resource = opentelekomcloud.DcEndpointGroupV2("dcEndpointGroupV2Resource",
        endpoints=["string"],
        project_id="string",
        type="string",
        description="string",
        name="string",
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const dcEndpointGroupV2Resource = new opentelekomcloud.DcEndpointGroupV2("dcEndpointGroupV2Resource", {
        endpoints: ["string"],
        projectId: "string",
        type: "string",
        description: "string",
        name: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: opentelekomcloud:DcEndpointGroupV2
    properties:
        description: string
        endpoints:
            - string
        name: string
        projectId: string
        timeouts:
            create: string
            delete: string
        type: string
    

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

    endpoints List<String>
    projectId String
    type String
    description String
    name String
    timeouts Property Map

    Outputs

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

    Get an existing DcEndpointGroupV2 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?: DcEndpointGroupV2State, opts?: CustomResourceOptions): DcEndpointGroupV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            endpoints: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            timeouts: Optional[DcEndpointGroupV2TimeoutsArgs] = None,
            type: Optional[str] = None) -> DcEndpointGroupV2
    func GetDcEndpointGroupV2(ctx *Context, name string, id IDInput, state *DcEndpointGroupV2State, opts ...ResourceOption) (*DcEndpointGroupV2, error)
    public static DcEndpointGroupV2 Get(string name, Input<string> id, DcEndpointGroupV2State? state, CustomResourceOptions? opts = null)
    public static DcEndpointGroupV2 get(String name, Output<String> id, DcEndpointGroupV2State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:DcEndpointGroupV2    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.

    Supporting Types

    DcEndpointGroupV2Timeouts, DcEndpointGroupV2TimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud