Documentation
¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, request *management.CreateNetworkACLRequestContent, ...) error
- func (c *Client) Delete(ctx context.Context, id string, opts ...option.RequestOption) error
- func (c *Client) Get(ctx context.Context, id string, opts ...option.RequestOption) (*management.GetNetworkACLsResponseContent, error)
- func (c *Client) List(ctx context.Context, request *management.ListNetworkACLsRequestParameters, ...) (...)
- func (c *Client) Set(ctx context.Context, id string, ...) (*management.SetNetworkACLsResponseContent, error)
- func (c *Client) Update(ctx context.Context, id string, ...) (*management.UpdateNetworkACLResponseContent, error)
- type RawClient
- func (r *RawClient) Create(ctx context.Context, request *management.CreateNetworkACLRequestContent, ...) (*core.Response[any], error)
- func (r *RawClient) Delete(ctx context.Context, id string, opts ...option.RequestOption) (*core.Response[any], error)
- func (r *RawClient) Get(ctx context.Context, id string, opts ...option.RequestOption) (*core.Response[*management.GetNetworkACLsResponseContent], error)
- func (r *RawClient) Set(ctx context.Context, id string, ...) (*core.Response[*management.SetNetworkACLsResponseContent], error)
- func (r *RawClient) Update(ctx context.Context, id string, ...) (*core.Response[*management.UpdateNetworkACLResponseContent], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
WithRawResponse *RawClient
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(options *core.RequestOptions) *Client
func (*Client) Create ¶
func (c *Client) Create( ctx context.Context, request *management.CreateNetworkACLRequestContent, opts ...option.RequestOption, ) error
Create a new access control list for your client.
func (*Client) Get ¶
func (c *Client) Get( ctx context.Context, id string, opts ...option.RequestOption, ) (*management.GetNetworkACLsResponseContent, error)
Get a specific access control list entry for your client.
func (*Client) List ¶
func (c *Client) List( ctx context.Context, request *management.ListNetworkACLsRequestParameters, opts ...option.RequestOption, ) (*core.Page[*int, *management.NetworkACLsResponseContent, *management.ListNetworkACLsOffsetPaginatedResponseContent], error)
Get all access control list entries for your client.
func (*Client) Set ¶
func (c *Client) Set( ctx context.Context, id string, request *management.SetNetworkACLRequestContent, opts ...option.RequestOption, ) (*management.SetNetworkACLsResponseContent, error)
Update existing access control list for your client.
func (*Client) Update ¶
func (c *Client) Update( ctx context.Context, id string, request *management.UpdateNetworkACLRequestContent, opts ...option.RequestOption, ) (*management.UpdateNetworkACLResponseContent, error)
Update existing access control list for your client.
type RawClient ¶
type RawClient struct {
// contains filtered or unexported fields
}
func NewRawClient ¶
func NewRawClient(options *core.RequestOptions) *RawClient
func (*RawClient) Create ¶
func (r *RawClient) Create( ctx context.Context, request *management.CreateNetworkACLRequestContent, opts ...option.RequestOption, ) (*core.Response[any], error)
func (*RawClient) Get ¶
func (r *RawClient) Get( ctx context.Context, id string, opts ...option.RequestOption, ) (*core.Response[*management.GetNetworkACLsResponseContent], error)
func (*RawClient) Set ¶
func (r *RawClient) Set( ctx context.Context, id string, request *management.SetNetworkACLRequestContent, opts ...option.RequestOption, ) (*core.Response[*management.SetNetworkACLsResponseContent], error)
func (*RawClient) Update ¶
func (r *RawClient) Update( ctx context.Context, id string, request *management.UpdateNetworkACLRequestContent, opts ...option.RequestOption, ) (*core.Response[*management.UpdateNetworkACLResponseContent], error)
Click to show internal directories.
Click to hide internal directories.