dc_endpoint_group

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(c *golangsdk.ServiceClient, id string) (err error)

Delete is used to delete a Direct Connect endpoint group

func Update

func Update(c *golangsdk.ServiceClient, id string, opts UpdateOpts) (err error)

Update is an operation which modifies the attributes of the specified Direct Connect endpoint group

Types

type CreateOpts

type CreateOpts struct {
	// Specifies the project ID.
	TenantId string `json:"tenant_id" required:"true"`
	// Specifies the name of the Direct Connect endpoint group.
	Name string `json:"name,omitempty"`
	// Provides supplementary information about the Direct Connect endpoint group.
	Description string `json:"description,omitempty"`
	// Specifies the list of the endpoints in a Direct Connect endpoint group.
	Endpoints []string `json:"endpoints" required:"true"`
	// Specifies the type of the Direct Connect endpoints. The value can only be cidr.
	Type string `json:"type,omitempty"`
}

type DCEndpointGroup

type DCEndpointGroup struct {
	// Specifies the project ID.
	TenantId string `json:"tenant_id"`
	// Specifies the ID of the Direct Connect endpoint group.
	ID string `json:"id"`
	// Specifies the name of the Direct Connect endpoint group.
	Name string `json:"name"`
	// Provides supplementary information about the Direct Connect endpoint group.
	Description string `json:"description"`
	// Specifies the list of the endpoints in a Direct Connect endpoint group.
	Endpoints []string `json:"endpoints"`
	// Specifies the type of the Direct Connect endpoints. The value can only be cidr.
	Type string `json:"type"`
}

func List

List is used to obtain the DirectConnects list

type ListOpts

type ListOpts struct {
	ID string `q:"id"`
}

type UpdateOpts

type UpdateOpts struct {
	// Provides supplementary information about the Direct Connect endpoint group.
	Description string `json:"description,omitempty"`
	// Specifies the name of the Direct Connect endpoint group.
	Name string `json:"name,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL