acl

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACLPolicy

type ACLPolicy struct {
	DomainId                 string                 `json:"-"`
	AllowAddressNetmasks     []AllowAddressNetmasks `json:"allow_address_netmasks,omitempty"`
	AllowIPRanges            []AllowIPRanges        `json:"allow_ip_ranges,omitempty"`
	AllowAddressNetmasksIPv6 []AllowAddressNetmasks `json:"allow_address_netmasks_ipv6,omitempty"`
	AllowIPRangesIPv6        []AllowIPRanges        `json:"allow_ip_ranges_ipv6,omitempty"`
}

func APIACLPolicyGet

func APIACLPolicyGet(client *golangsdk.ServiceClient, id string) (r *ACLPolicy, err error)

func APIACLPolicyUpdate

func APIACLPolicyUpdate(client *golangsdk.ServiceClient, opts ACLPolicy) (r *ACLPolicy, err error)

func ConsoleACLPolicyGet

func ConsoleACLPolicyGet(client *golangsdk.ServiceClient, id string) (r *ACLPolicy, err error)

func ConsoleACLPolicyUpdate

func ConsoleACLPolicyUpdate(client *golangsdk.ServiceClient, opts ACLPolicy) (r *ACLPolicy, err error)

type AllowAddressNetmasks

type AllowAddressNetmasks struct {
	AddressNetmask string `json:"address_netmask" required:"true"`
	Description    string `json:"description,omitempty"`
}

type AllowIPRanges

type AllowIPRanges struct {
	IPRange     string `json:"ip_range" required:"true"`
	Description string `json:"description,omitempty"`
}

Jump to

Keyboard shortcuts

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