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 Create ¶
func Create(c *golangsdk.ServiceClient, opts CreateOpts) (*DCEndpointGroup, error)
func Get ¶
func Get(c *golangsdk.ServiceClient, id string) (*DCEndpointGroup, error)
func List ¶
func List(c *golangsdk.ServiceClient, id string) ([]DCEndpointGroup, error)
List is used to obtain the DirectConnects list
type UpdateOpts ¶
Click to show internal directories.
Click to hide internal directories.