natgateway

package
v1.0.135 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Overview

Package natgatewayiface provides an interface to enable mocking the NATGATEWAY service client for testing your code.

It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.

Index

Constants

View Source
const (
	// NetworkTypeForDescribeNatGatewaysOutputInternet is a NetworkTypeForDescribeNatGatewaysOutput enum value
	NetworkTypeForDescribeNatGatewaysOutputInternet = "internet"

	// NetworkTypeForDescribeNatGatewaysOutputIntranet is a NetworkTypeForDescribeNatGatewaysOutput enum value
	NetworkTypeForDescribeNatGatewaysOutputIntranet = "intranet"
)
View Source
const (
	// SpecForDescribeNatGatewaysOutputSmall is a SpecForDescribeNatGatewaysOutput enum value
	SpecForDescribeNatGatewaysOutputSmall = "Small"

	// SpecForDescribeNatGatewaysOutputMedium is a SpecForDescribeNatGatewaysOutput enum value
	SpecForDescribeNatGatewaysOutputMedium = "Medium"

	// SpecForDescribeNatGatewaysOutputLarge is a SpecForDescribeNatGatewaysOutput enum value
	SpecForDescribeNatGatewaysOutputLarge = "Large"

	// SpecForDescribeNatGatewaysOutputExtraLarge1 is a SpecForDescribeNatGatewaysOutput enum value
	SpecForDescribeNatGatewaysOutputExtraLarge1 = "Extra_Large_1"

	// SpecForDescribeNatGatewaysOutputExtraLarge2 is a SpecForDescribeNatGatewaysOutput enum value
	SpecForDescribeNatGatewaysOutputExtraLarge2 = "Extra_Large_2"
)
View Source
const (
	ServiceName = "natgateway" // Name of service.
	EndpointsID = ServiceName  // ID to lookup a service endpoint with.
	ServiceID   = "natgateway" // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateDnatEntryInput added in v1.0.38

type CreateDnatEntryInput struct {
	DnatEntryName *string `min:"1" max:"128" type:"string"`

	// ExternalIp is a required field
	ExternalIp *string `type:"string" required:"true"`

	// ExternalPort is a required field
	ExternalPort *string `type:"string" required:"true"`

	// InternalIp is a required field
	InternalIp *string `type:"string" required:"true"`

	// InternalPort is a required field
	InternalPort *string `type:"string" required:"true"`

	// NatGatewayId is a required field
	NatGatewayId *string `type:"string" required:"true"`

	PortType *string `type:"string"`

	// Protocol is a required field
	Protocol *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateDnatEntryInput) GoString added in v1.0.38

func (s CreateDnatEntryInput) GoString() string

GoString returns the string representation

func (*CreateDnatEntryInput) SetDnatEntryName added in v1.0.38

func (s *CreateDnatEntryInput) SetDnatEntryName(v string) *CreateDnatEntryInput

SetDnatEntryName sets the DnatEntryName field's value.

func (*CreateDnatEntryInput) SetExternalIp added in v1.0.38

func (s *CreateDnatEntryInput) SetExternalIp(v string) *CreateDnatEntryInput

SetExternalIp sets the ExternalIp field's value.

func (*CreateDnatEntryInput) SetExternalPort added in v1.0.38

func (s *CreateDnatEntryInput) SetExternalPort(v string) *CreateDnatEntryInput

SetExternalPort sets the ExternalPort field's value.

func (*CreateDnatEntryInput) SetInternalIp added in v1.0.38

func (s *CreateDnatEntryInput) SetInternalIp(v string) *CreateDnatEntryInput

SetInternalIp sets the InternalIp field's value.

func (*CreateDnatEntryInput) SetInternalPort added in v1.0.38

func (s *CreateDnatEntryInput) SetInternalPort(v string) *CreateDnatEntryInput

SetInternalPort sets the InternalPort field's value.

func (*CreateDnatEntryInput) SetNatGatewayId added in v1.0.38

func (s *CreateDnatEntryInput) SetNatGatewayId(v string) *CreateDnatEntryInput

SetNatGatewayId sets the NatGatewayId field's value.

func (*CreateDnatEntryInput) SetPortType added in v1.0.135

SetPortType sets the PortType field's value.

func (*CreateDnatEntryInput) SetProtocol added in v1.0.38

SetProtocol sets the Protocol field's value.

func (CreateDnatEntryInput) String added in v1.0.38

func (s CreateDnatEntryInput) String() string

String returns the string representation

func (*CreateDnatEntryInput) Validate added in v1.0.38

func (s *CreateDnatEntryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDnatEntryOutput added in v1.0.38

type CreateDnatEntryOutput struct {
	Metadata *response.ResponseMetadata

	DnatEntryId *string `type:"string"`

	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateDnatEntryOutput) GoString added in v1.0.38

func (s CreateDnatEntryOutput) GoString() string

GoString returns the string representation

func (*CreateDnatEntryOutput) SetDnatEntryId added in v1.0.38

func (s *CreateDnatEntryOutput) SetDnatEntryId(v string) *CreateDnatEntryOutput

SetDnatEntryId sets the DnatEntryId field's value.

func (*CreateDnatEntryOutput) SetRequestId added in v1.0.38

SetRequestId sets the RequestId field's value.

func (CreateDnatEntryOutput) String added in v1.0.38

func (s CreateDnatEntryOutput) String() string

String returns the string representation

type CreateNatGatewayInput

type CreateNatGatewayInput struct {
	BillingType *int64 `min:"1" max:"3" type:"integer"`

	ClientToken *string `type:"string"`

	Description *string `min:"1" max:"255" type:"string"`

	NatGatewayName *string `min:"1" max:"128" type:"string"`

	Period *int64 `type:"integer"`

	PeriodUnit *string `type:"string"`

	ProjectName *string `type:"string"`

	Spec *string `type:"string"`

	SubnetId *string `type:"string"`

	Tags []*TagForCreateNatGatewayInput `type:"list"`

	// VpcId is a required field
	VpcId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateNatGatewayInput) GoString

func (s CreateNatGatewayInput) GoString() string

GoString returns the string representation

func (*CreateNatGatewayInput) SetBillingType added in v1.0.8

func (s *CreateNatGatewayInput) SetBillingType(v int64) *CreateNatGatewayInput

SetBillingType sets the BillingType field's value.

func (*CreateNatGatewayInput) SetClientToken added in v1.0.8

func (s *CreateNatGatewayInput) SetClientToken(v string) *CreateNatGatewayInput

SetClientToken sets the ClientToken field's value.

func (*CreateNatGatewayInput) SetDescription

func (s *CreateNatGatewayInput) SetDescription(v string) *CreateNatGatewayInput

SetDescription sets the Description field's value.

func (*CreateNatGatewayInput) SetNatGatewayName

func (s *CreateNatGatewayInput) SetNatGatewayName(v string) *CreateNatGatewayInput

SetNatGatewayName sets the NatGatewayName field's value.

func (*CreateNatGatewayInput) SetPeriod added in v1.0.8

SetPeriod sets the Period field's value.

func (*CreateNatGatewayInput) SetPeriodUnit added in v1.0.8

func (s *CreateNatGatewayInput) SetPeriodUnit(v string) *CreateNatGatewayInput

SetPeriodUnit sets the PeriodUnit field's value.

func (*CreateNatGatewayInput) SetProjectName added in v1.0.49

func (s *CreateNatGatewayInput) SetProjectName(v string) *CreateNatGatewayInput

SetProjectName sets the ProjectName field's value.

func (*CreateNatGatewayInput) SetSpec

SetSpec sets the Spec field's value.

func (*CreateNatGatewayInput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (*CreateNatGatewayInput) SetTags added in v1.0.49

SetTags sets the Tags field's value.

func (*CreateNatGatewayInput) SetVpcId

SetVpcId sets the VpcId field's value.

func (CreateNatGatewayInput) String

func (s CreateNatGatewayInput) String() string

String returns the string representation

func (*CreateNatGatewayInput) Validate

func (s *CreateNatGatewayInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateNatGatewayOutput

type CreateNatGatewayOutput struct {
	Metadata *response.ResponseMetadata

	NatGatewayId *string `type:"string"`

	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateNatGatewayOutput) GoString

func (s CreateNatGatewayOutput) GoString() string

GoString returns the string representation

func (*CreateNatGatewayOutput) SetNatGatewayId

func (s *CreateNatGatewayOutput) SetNatGatewayId(v string) *CreateNatGatewayOutput

SetNatGatewayId sets the NatGatewayId field's value.

func (*CreateNatGatewayOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (CreateNatGatewayOutput) String

func (s CreateNatGatewayOutput) String() string

String returns the string representation

type CreateSnatEntryInput

type CreateSnatEntryInput struct {
	EipId *string `type:"string"`

	// NatGatewayId is a required field
	NatGatewayId *string `type:"string" required:"true"`

	SnatEntryName *string `min:"1" max:"128" type:"string"`

	SourceCidr *string `type:"string"`

	SubnetId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateSnatEntryInput) GoString

func (s CreateSnatEntryInput) GoString() string

GoString returns the string representation

func (*CreateSnatEntryInput) SetEipId

SetEipId sets the EipId field's value.

func (*CreateSnatEntryInput) SetNatGatewayId

func (s *CreateSnatEntryInput) SetNatGatewayId(v string) *CreateSnatEntryInput

SetNatGatewayId sets the NatGatewayId field's value.

func (*CreateSnatEntryInput) SetSnatEntryName

func (s *CreateSnatEntryInput) SetSnatEntryName(v string) *CreateSnatEntryInput

SetSnatEntryName sets the SnatEntryName field's value.

func (*CreateSnatEntryInput) SetSourceCidr added in v1.0.49

func (s *CreateSnatEntryInput) SetSourceCidr(v string) *CreateSnatEntryInput

SetSourceCidr sets the SourceCidr field's value.

func (*CreateSnatEntryInput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (CreateSnatEntryInput) String

func (s CreateSnatEntryInput) String() string

String returns the string representation

func (*CreateSnatEntryInput) Validate

func (s *CreateSnatEntryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateSnatEntryOutput

type CreateSnatEntryOutput struct {
	Metadata *response.ResponseMetadata

	RequestId *string `type:"string"`

	SnatEntryId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateSnatEntryOutput) GoString

func (s CreateSnatEntryOutput) GoString() string

GoString returns the string representation

func (*CreateSnatEntryOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*CreateSnatEntryOutput) SetSnatEntryId

func (s *CreateSnatEntryOutput) SetSnatEntryId(v string) *CreateSnatEntryOutput

SetSnatEntryId sets the SnatEntryId field's value.

func (CreateSnatEntryOutput) String

func (s CreateSnatEntryOutput) String() string

String returns the string representation

type DeleteDnatEntryInput added in v1.0.38

type DeleteDnatEntryInput struct {

	// DnatEntryId is a required field
	DnatEntryId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDnatEntryInput) GoString added in v1.0.38

func (s DeleteDnatEntryInput) GoString() string

GoString returns the string representation

func (*DeleteDnatEntryInput) SetDnatEntryId added in v1.0.38

func (s *DeleteDnatEntryInput) SetDnatEntryId(v string) *DeleteDnatEntryInput

SetDnatEntryId sets the DnatEntryId field's value.

func (DeleteDnatEntryInput) String added in v1.0.38

func (s DeleteDnatEntryInput) String() string

String returns the string representation

func (*DeleteDnatEntryInput) Validate added in v1.0.38

func (s *DeleteDnatEntryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDnatEntryOutput added in v1.0.38

type DeleteDnatEntryOutput struct {
	Metadata *response.ResponseMetadata

	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DeleteDnatEntryOutput) GoString added in v1.0.38

func (s DeleteDnatEntryOutput) GoString() string

GoString returns the string representation

func (*DeleteDnatEntryOutput) SetRequestId added in v1.0.38

SetRequestId sets the RequestId field's value.

func (DeleteDnatEntryOutput) String added in v1.0.38

func (s DeleteDnatEntryOutput) String() string

String returns the string representation

type DeleteNatGatewayInput

type DeleteNatGatewayInput struct {

	// NatGatewayId is a required field
	NatGatewayId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteNatGatewayInput) GoString

func (s DeleteNatGatewayInput) GoString() string

GoString returns the string representation

func (*DeleteNatGatewayInput) SetNatGatewayId

func (s *DeleteNatGatewayInput) SetNatGatewayId(v string) *DeleteNatGatewayInput

SetNatGatewayId sets the NatGatewayId field's value.

func (DeleteNatGatewayInput) String

func (s DeleteNatGatewayInput) String() string

String returns the string representation

func (*DeleteNatGatewayInput) Validate

func (s *DeleteNatGatewayInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteNatGatewayOutput

type DeleteNatGatewayOutput struct {
	Metadata *response.ResponseMetadata

	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DeleteNatGatewayOutput) GoString

func (s DeleteNatGatewayOutput) GoString() string

GoString returns the string representation

func (*DeleteNatGatewayOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (DeleteNatGatewayOutput) String

func (s DeleteNatGatewayOutput) String() string

String returns the string representation

type DeleteSnatEntryInput

type DeleteSnatEntryInput struct {

	// SnatEntryId is a required field
	SnatEntryId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteSnatEntryInput) GoString

func (s DeleteSnatEntryInput) GoString() string

GoString returns the string representation

func (*DeleteSnatEntryInput) SetSnatEntryId

func (s *DeleteSnatEntryInput) SetSnatEntryId(v string) *DeleteSnatEntryInput

SetSnatEntryId sets the SnatEntryId field's value.

func (DeleteSnatEntryInput) String

func (s DeleteSnatEntryInput) String() string

String returns the string representation

func (*DeleteSnatEntryInput) Validate

func (s *DeleteSnatEntryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteSnatEntryOutput

type DeleteSnatEntryOutput struct {
	Metadata *response.ResponseMetadata

	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DeleteSnatEntryOutput) GoString

func (s DeleteSnatEntryOutput) GoString() string

GoString returns the string representation

func (*DeleteSnatEntryOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (DeleteSnatEntryOutput) String

func (s DeleteSnatEntryOutput) String() string

String returns the string representation

type DescribeDnatEntriesInput added in v1.0.38

type DescribeDnatEntriesInput struct {
	DnatEntryIds []*string `type:"list"`

	DnatEntryName *string `type:"string"`

	ExternalIp *string `type:"string"`

	ExternalPort *string `type:"string"`

	InternalIp *string `type:"string"`

	InternalPort *string `type:"string"`

	NatGatewayId *string `type:"string"`

	PageNumber *int64 `type:"integer"`

	PageSize *int64 `max:"100" type:"integer"`

	PortType *string `type:"string"`

	Protocol *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeDnatEntriesInput) GoString added in v1.0.38

func (s DescribeDnatEntriesInput) GoString() string

GoString returns the string representation

func (*DescribeDnatEntriesInput) SetDnatEntryIds added in v1.0.38

func (s *DescribeDnatEntriesInput) SetDnatEntryIds(v []*string) *DescribeDnatEntriesInput

SetDnatEntryIds sets the DnatEntryIds field's value.

func (*DescribeDnatEntriesInput) SetDnatEntryName added in v1.0.38

SetDnatEntryName sets the DnatEntryName field's value.

func (*DescribeDnatEntriesInput) SetExternalIp added in v1.0.38

SetExternalIp sets the ExternalIp field's value.

func (*DescribeDnatEntriesInput) SetExternalPort added in v1.0.38

SetExternalPort sets the ExternalPort field's value.

func (*DescribeDnatEntriesInput) SetInternalIp added in v1.0.38

SetInternalIp sets the InternalIp field's value.

func (*DescribeDnatEntriesInput) SetInternalPort added in v1.0.38

SetInternalPort sets the InternalPort field's value.

func (*DescribeDnatEntriesInput) SetNatGatewayId added in v1.0.38

SetNatGatewayId sets the NatGatewayId field's value.

func (*DescribeDnatEntriesInput) SetPageNumber added in v1.0.38

SetPageNumber sets the PageNumber field's value.

func (*DescribeDnatEntriesInput) SetPageSize added in v1.0.38

SetPageSize sets the PageSize field's value.

func (*DescribeDnatEntriesInput) SetPortType added in v1.0.135

SetPortType sets the PortType field's value.

func (*DescribeDnatEntriesInput) SetProtocol added in v1.0.38

SetProtocol sets the Protocol field's value.

func (DescribeDnatEntriesInput) String added in v1.0.38

func (s DescribeDnatEntriesInput) String() string

String returns the string representation

func (*DescribeDnatEntriesInput) Validate added in v1.0.38

func (s *DescribeDnatEntriesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeDnatEntriesOutput added in v1.0.38

type DescribeDnatEntriesOutput struct {
	Metadata *response.ResponseMetadata

	DnatEntries []*DnatEntryForDescribeDnatEntriesOutput `type:"list"`

	PageNumber *int64 `type:"integer"`

	PageSize *int64 `type:"integer"`

	RequestId *string `type:"string"`

	TotalCount *int64 `type:"integer"`
	// contains filtered or unexported fields
}

func (DescribeDnatEntriesOutput) GoString added in v1.0.38

func (s DescribeDnatEntriesOutput) GoString() string

GoString returns the string representation

func (*DescribeDnatEntriesOutput) SetDnatEntries added in v1.0.38

SetDnatEntries sets the DnatEntries field's value.

func (*DescribeDnatEntriesOutput) SetPageNumber added in v1.0.38

SetPageNumber sets the PageNumber field's value.

func (*DescribeDnatEntriesOutput) SetPageSize added in v1.0.38

SetPageSize sets the PageSize field's value.

func (*DescribeDnatEntriesOutput) SetRequestId added in v1.0.38

SetRequestId sets the RequestId field's value.

func (*DescribeDnatEntriesOutput) SetTotalCount added in v1.0.38

SetTotalCount sets the TotalCount field's value.

func (DescribeDnatEntriesOutput) String added in v1.0.38

func (s DescribeDnatEntriesOutput) String() string

String returns the string representation

type DescribeDnatEntryAttributesInput added in v1.0.38

type DescribeDnatEntryAttributesInput struct {

	// DnatEntryId is a required field
	DnatEntryId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeDnatEntryAttributesInput) GoString added in v1.0.38

GoString returns the string representation

func (*DescribeDnatEntryAttributesInput) SetDnatEntryId added in v1.0.38

SetDnatEntryId sets the DnatEntryId field's value.

func (DescribeDnatEntryAttributesInput) String added in v1.0.38

String returns the string representation

func (*DescribeDnatEntryAttributesInput) Validate added in v1.0.38

Validate inspects the fields of the type to determine if they are valid.

type DescribeDnatEntryAttributesOutput added in v1.0.38

type DescribeDnatEntryAttributesOutput struct {
	Metadata *response.ResponseMetadata

	DnatEntryId *string `type:"string"`

	DnatEntryName *string `type:"string"`

	ExternalIp *string `type:"string"`

	ExternalPort *string `type:"string"`

	InternalIp *string `type:"string"`

	InternalPort *string `type:"string"`

	NatGatewayId *string `type:"string"`

	PortType *string `type:"string"`

	Protocol *string `type:"string"`

	RequestId *string `type:"string"`

	Status *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeDnatEntryAttributesOutput) GoString added in v1.0.38

GoString returns the string representation

func (*DescribeDnatEntryAttributesOutput) SetDnatEntryId added in v1.0.38

SetDnatEntryId sets the DnatEntryId field's value.

func (*DescribeDnatEntryAttributesOutput) SetDnatEntryName added in v1.0.38

SetDnatEntryName sets the DnatEntryName field's value.

func (*DescribeDnatEntryAttributesOutput) SetExternalIp added in v1.0.38

SetExternalIp sets the ExternalIp field's value.

func (*DescribeDnatEntryAttributesOutput) SetExternalPort added in v1.0.38

SetExternalPort sets the ExternalPort field's value.

func (*DescribeDnatEntryAttributesOutput) SetInternalIp added in v1.0.38

SetInternalIp sets the InternalIp field's value.

func (*DescribeDnatEntryAttributesOutput) SetInternalPort added in v1.0.38

SetInternalPort sets the InternalPort field's value.

func (*DescribeDnatEntryAttributesOutput) SetNatGatewayId added in v1.0.38

SetNatGatewayId sets the NatGatewayId field's value.

func (*DescribeDnatEntryAttributesOutput) SetPortType added in v1.0.135

SetPortType sets the PortType field's value.

func (*DescribeDnatEntryAttributesOutput) SetProtocol added in v1.0.38

SetProtocol sets the Protocol field's value.

func (*DescribeDnatEntryAttributesOutput) SetRequestId added in v1.0.38

SetRequestId sets the RequestId field's value.

func (*DescribeDnatEntryAttributesOutput) SetStatus added in v1.0.38

SetStatus sets the Status field's value.

func (DescribeDnatEntryAttributesOutput) String added in v1.0.38

String returns the string representation

type DescribeNatGatewayAttributesInput

type DescribeNatGatewayAttributesInput struct {

	// NatGatewayId is a required field
	NatGatewayId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeNatGatewayAttributesInput) GoString

GoString returns the string representation

func (*DescribeNatGatewayAttributesInput) SetNatGatewayId

SetNatGatewayId sets the NatGatewayId field's value.

func (DescribeNatGatewayAttributesInput) String

String returns the string representation

func (*DescribeNatGatewayAttributesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeNatGatewayAttributesOutput

type DescribeNatGatewayAttributesOutput struct {
	Metadata *response.ResponseMetadata

	BillingType *int64 `type:"integer"`

	BusinessStatus *string `type:"string"`

	CreationTime *string `type:"string"`

	DeletedTime *string `type:"string"`

	Description *string `type:"string"`

	DnatEntryIds []*string `type:"list"`

	EipAddresses []*EipAddressForDescribeNatGatewayAttributesOutput `type:"list"`

	ExpiredTime *string `type:"string"`

	LockReason *string `type:"string"`

	NatGatewayId *string `type:"string"`

	NatGatewayName *string `type:"string"`

	NetworkInterfaceId *string `type:"string"`

	NetworkType *string `type:"string"`

	OverdueTime *string `type:"string"`

	ProjectName *string `type:"string"`

	RequestId *string `type:"string"`

	SnatEntryIds []*string `type:"list"`

	Spec *string `type:"string"`

	Status *string `type:"string"`

	SubnetId *string `type:"string"`

	Tags []*TagForDescribeNatGatewayAttributesOutput `type:"list"`

	UpdatedAt *string `type:"string"`

	VpcId *string `type:"string"`

	ZoneId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeNatGatewayAttributesOutput) GoString

GoString returns the string representation

func (*DescribeNatGatewayAttributesOutput) SetBillingType

SetBillingType sets the BillingType field's value.

func (*DescribeNatGatewayAttributesOutput) SetBusinessStatus

SetBusinessStatus sets the BusinessStatus field's value.

func (*DescribeNatGatewayAttributesOutput) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*DescribeNatGatewayAttributesOutput) SetDeletedTime

SetDeletedTime sets the DeletedTime field's value.

func (*DescribeNatGatewayAttributesOutput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeNatGatewayAttributesOutput) SetDnatEntryIds added in v1.0.135

SetDnatEntryIds sets the DnatEntryIds field's value.

func (*DescribeNatGatewayAttributesOutput) SetEipAddresses

SetEipAddresses sets the EipAddresses field's value.

func (*DescribeNatGatewayAttributesOutput) SetExpiredTime added in v1.0.8

SetExpiredTime sets the ExpiredTime field's value.

func (*DescribeNatGatewayAttributesOutput) SetLockReason

SetLockReason sets the LockReason field's value.

func (*DescribeNatGatewayAttributesOutput) SetNatGatewayId

SetNatGatewayId sets the NatGatewayId field's value.

func (*DescribeNatGatewayAttributesOutput) SetNatGatewayName

SetNatGatewayName sets the NatGatewayName field's value.

func (*DescribeNatGatewayAttributesOutput) SetNetworkInterfaceId

SetNetworkInterfaceId sets the NetworkInterfaceId field's value.

func (*DescribeNatGatewayAttributesOutput) SetNetworkType added in v1.0.135

SetNetworkType sets the NetworkType field's value.

func (*DescribeNatGatewayAttributesOutput) SetOverdueTime

SetOverdueTime sets the OverdueTime field's value.

func (*DescribeNatGatewayAttributesOutput) SetProjectName added in v1.0.49

SetProjectName sets the ProjectName field's value.

func (*DescribeNatGatewayAttributesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*DescribeNatGatewayAttributesOutput) SetSnatEntryIds added in v1.0.135

SetSnatEntryIds sets the SnatEntryIds field's value.

func (*DescribeNatGatewayAttributesOutput) SetSpec

SetSpec sets the Spec field's value.

func (*DescribeNatGatewayAttributesOutput) SetStatus

SetStatus sets the Status field's value.

func (*DescribeNatGatewayAttributesOutput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (*DescribeNatGatewayAttributesOutput) SetTags added in v1.0.49

SetTags sets the Tags field's value.

func (*DescribeNatGatewayAttributesOutput) SetUpdatedAt

SetUpdatedAt sets the UpdatedAt field's value.

func (*DescribeNatGatewayAttributesOutput) SetVpcId

SetVpcId sets the VpcId field's value.

func (*DescribeNatGatewayAttributesOutput) SetZoneId added in v1.0.38

SetZoneId sets the ZoneId field's value.

func (DescribeNatGatewayAttributesOutput) String

String returns the string representation

type DescribeNatGatewaysInput

type DescribeNatGatewaysInput struct {
	Description *string `type:"string"`

	NatGatewayIds []*string `type:"list"`

	NatGatewayName *string `type:"string"`

	PageNumber *int64 `type:"integer"`

	PageSize *int64 `max:"100" type:"integer"`

	ProjectName *string `type:"string"`

	Spec *string `type:"string"`

	SubnetId *string `type:"string"`

	TagFilters []*TagFilterForDescribeNatGatewaysInput `type:"list"`

	VpcId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeNatGatewaysInput) GoString

func (s DescribeNatGatewaysInput) GoString() string

GoString returns the string representation

func (*DescribeNatGatewaysInput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeNatGatewaysInput) SetNatGatewayIds

func (s *DescribeNatGatewaysInput) SetNatGatewayIds(v []*string) *DescribeNatGatewaysInput

SetNatGatewayIds sets the NatGatewayIds field's value.

func (*DescribeNatGatewaysInput) SetNatGatewayName

func (s *DescribeNatGatewaysInput) SetNatGatewayName(v string) *DescribeNatGatewaysInput

SetNatGatewayName sets the NatGatewayName field's value.

func (*DescribeNatGatewaysInput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*DescribeNatGatewaysInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeNatGatewaysInput) SetProjectName added in v1.0.49

SetProjectName sets the ProjectName field's value.

func (*DescribeNatGatewaysInput) SetSpec

SetSpec sets the Spec field's value.

func (*DescribeNatGatewaysInput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (*DescribeNatGatewaysInput) SetTagFilters added in v1.0.49

SetTagFilters sets the TagFilters field's value.

func (*DescribeNatGatewaysInput) SetVpcId

SetVpcId sets the VpcId field's value.

func (DescribeNatGatewaysInput) String

func (s DescribeNatGatewaysInput) String() string

String returns the string representation

func (*DescribeNatGatewaysInput) Validate

func (s *DescribeNatGatewaysInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeNatGatewaysOutput

type DescribeNatGatewaysOutput struct {
	Metadata *response.ResponseMetadata

	NatGateways []*NatGatewayForDescribeNatGatewaysOutput `type:"list"`

	PageNumber *int64 `type:"integer"`

	PageSize *int64 `type:"integer"`

	RequestId *string `type:"string"`

	TotalCount *int64 `type:"integer"`
	// contains filtered or unexported fields
}

func (DescribeNatGatewaysOutput) GoString

func (s DescribeNatGatewaysOutput) GoString() string

GoString returns the string representation

func (*DescribeNatGatewaysOutput) SetNatGateways

SetNatGateways sets the NatGateways field's value.

func (*DescribeNatGatewaysOutput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*DescribeNatGatewaysOutput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeNatGatewaysOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*DescribeNatGatewaysOutput) SetTotalCount

SetTotalCount sets the TotalCount field's value.

func (DescribeNatGatewaysOutput) String

func (s DescribeNatGatewaysOutput) String() string

String returns the string representation

type DescribeSnatEntriesInput

type DescribeSnatEntriesInput struct {
	EipId *string `type:"string"`

	NatGatewayId *string `type:"string"`

	PageNumber *int64 `type:"integer"`

	PageSize *int64 `max:"100" type:"integer"`

	SnatEntryIds []*string `type:"list"`

	SnatEntryName *string `type:"string"`

	SourceCidr *string `type:"string"`

	SubnetId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeSnatEntriesInput) GoString

func (s DescribeSnatEntriesInput) GoString() string

GoString returns the string representation

func (*DescribeSnatEntriesInput) SetEipId

SetEipId sets the EipId field's value.

func (*DescribeSnatEntriesInput) SetNatGatewayId

SetNatGatewayId sets the NatGatewayId field's value.

func (*DescribeSnatEntriesInput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*DescribeSnatEntriesInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeSnatEntriesInput) SetSnatEntryIds

func (s *DescribeSnatEntriesInput) SetSnatEntryIds(v []*string) *DescribeSnatEntriesInput

SetSnatEntryIds sets the SnatEntryIds field's value.

func (*DescribeSnatEntriesInput) SetSnatEntryName

SetSnatEntryName sets the SnatEntryName field's value.

func (*DescribeSnatEntriesInput) SetSourceCidr added in v1.0.49

SetSourceCidr sets the SourceCidr field's value.

func (*DescribeSnatEntriesInput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (DescribeSnatEntriesInput) String

func (s DescribeSnatEntriesInput) String() string

String returns the string representation

func (*DescribeSnatEntriesInput) Validate

func (s *DescribeSnatEntriesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeSnatEntriesOutput

type DescribeSnatEntriesOutput struct {
	Metadata *response.ResponseMetadata

	PageNumber *int64 `type:"integer"`

	PageSize *int64 `type:"integer"`

	RequestId *string `type:"string"`

	SnatEntries []*SnatEntryForDescribeSnatEntriesOutput `type:"list"`

	TotalCount *int64 `type:"integer"`
	// contains filtered or unexported fields
}

func (DescribeSnatEntriesOutput) GoString

func (s DescribeSnatEntriesOutput) GoString() string

GoString returns the string representation

func (*DescribeSnatEntriesOutput) SetPageNumber

SetPageNumber sets the PageNumber field's value.

func (*DescribeSnatEntriesOutput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeSnatEntriesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*DescribeSnatEntriesOutput) SetSnatEntries

SetSnatEntries sets the SnatEntries field's value.

func (*DescribeSnatEntriesOutput) SetTotalCount

SetTotalCount sets the TotalCount field's value.

func (DescribeSnatEntriesOutput) String

func (s DescribeSnatEntriesOutput) String() string

String returns the string representation

type DescribeSnatEntryAttributesInput

type DescribeSnatEntryAttributesInput struct {

	// SnatEntryId is a required field
	SnatEntryId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeSnatEntryAttributesInput) GoString

GoString returns the string representation

func (*DescribeSnatEntryAttributesInput) SetSnatEntryId

SetSnatEntryId sets the SnatEntryId field's value.

func (DescribeSnatEntryAttributesInput) String

String returns the string representation

func (*DescribeSnatEntryAttributesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeSnatEntryAttributesOutput

type DescribeSnatEntryAttributesOutput struct {
	Metadata *response.ResponseMetadata

	EipAddress *string `type:"string"`

	EipId *string `type:"string"`

	NatGatewayId *string `type:"string"`

	NatIpId *string `type:"string"`

	RequestId *string `type:"string"`

	SnatEntryId *string `type:"string"`

	SnatEntryName *string `type:"string"`

	SourceCidr *string `type:"string"`

	Status *string `type:"string"`

	SubnetId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeSnatEntryAttributesOutput) GoString

GoString returns the string representation

func (*DescribeSnatEntryAttributesOutput) SetEipAddress

SetEipAddress sets the EipAddress field's value.

func (*DescribeSnatEntryAttributesOutput) SetEipId

SetEipId sets the EipId field's value.

func (*DescribeSnatEntryAttributesOutput) SetNatGatewayId

SetNatGatewayId sets the NatGatewayId field's value.

func (*DescribeSnatEntryAttributesOutput) SetNatIpId added in v1.0.135

SetNatIpId sets the NatIpId field's value.

func (*DescribeSnatEntryAttributesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (*DescribeSnatEntryAttributesOutput) SetSnatEntryId

SetSnatEntryId sets the SnatEntryId field's value.

func (*DescribeSnatEntryAttributesOutput) SetSnatEntryName

SetSnatEntryName sets the SnatEntryName field's value.

func (*DescribeSnatEntryAttributesOutput) SetSourceCidr added in v1.0.49

SetSourceCidr sets the SourceCidr field's value.

func (*DescribeSnatEntryAttributesOutput) SetStatus

SetStatus sets the Status field's value.

func (*DescribeSnatEntryAttributesOutput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (DescribeSnatEntryAttributesOutput) String

String returns the string representation

type DnatEntryForDescribeDnatEntriesOutput added in v1.0.38

type DnatEntryForDescribeDnatEntriesOutput struct {
	DnatEntryId *string `type:"string"`

	DnatEntryName *string `type:"string"`

	ExternalIp *string `type:"string"`

	ExternalPort *string `type:"string"`

	InternalIp *string `type:"string"`

	InternalPort *string `type:"string"`

	NatGatewayId *string `type:"string"`

	PortType *string `type:"string"`

	Protocol *string `type:"string"`

	Status *string `type:"string"`
	// contains filtered or unexported fields
}

func (DnatEntryForDescribeDnatEntriesOutput) GoString added in v1.0.38

GoString returns the string representation

func (*DnatEntryForDescribeDnatEntriesOutput) SetDnatEntryId added in v1.0.38

SetDnatEntryId sets the DnatEntryId field's value.

func (*DnatEntryForDescribeDnatEntriesOutput) SetDnatEntryName added in v1.0.38

SetDnatEntryName sets the DnatEntryName field's value.

func (*DnatEntryForDescribeDnatEntriesOutput) SetExternalIp added in v1.0.38

SetExternalIp sets the ExternalIp field's value.

func (*DnatEntryForDescribeDnatEntriesOutput) SetExternalPort added in v1.0.38

SetExternalPort sets the ExternalPort field's value.

func (*DnatEntryForDescribeDnatEntriesOutput) SetInternalIp added in v1.0.38

SetInternalIp sets the InternalIp field's value.

func (*DnatEntryForDescribeDnatEntriesOutput) SetInternalPort added in v1.0.38

SetInternalPort sets the InternalPort field's value.

func (*DnatEntryForDescribeDnatEntriesOutput) SetNatGatewayId added in v1.0.38

SetNatGatewayId sets the NatGatewayId field's value.

func (*DnatEntryForDescribeDnatEntriesOutput) SetPortType added in v1.0.135

SetPortType sets the PortType field's value.

func (*DnatEntryForDescribeDnatEntriesOutput) SetProtocol added in v1.0.38

SetProtocol sets the Protocol field's value.

func (*DnatEntryForDescribeDnatEntriesOutput) SetStatus added in v1.0.38

SetStatus sets the Status field's value.

func (DnatEntryForDescribeDnatEntriesOutput) String added in v1.0.38

String returns the string representation

type EipAddressForDescribeNatGatewayAttributesOutput

type EipAddressForDescribeNatGatewayAttributesOutput struct {
	AllocationId *string `type:"string"`

	EipAddress *string `type:"string"`

	UsingStatus *string `type:"string"`
	// contains filtered or unexported fields
}

func (EipAddressForDescribeNatGatewayAttributesOutput) GoString

GoString returns the string representation

func (*EipAddressForDescribeNatGatewayAttributesOutput) SetAllocationId

SetAllocationId sets the AllocationId field's value.

func (*EipAddressForDescribeNatGatewayAttributesOutput) SetEipAddress

SetEipAddress sets the EipAddress field's value.

func (*EipAddressForDescribeNatGatewayAttributesOutput) SetUsingStatus

SetUsingStatus sets the UsingStatus field's value.

func (EipAddressForDescribeNatGatewayAttributesOutput) String

String returns the string representation

type EipAddressForDescribeNatGatewaysOutput

type EipAddressForDescribeNatGatewaysOutput struct {
	AllocationId *string `type:"string"`

	EipAddress *string `type:"string"`

	UsingStatus *string `type:"string"`
	// contains filtered or unexported fields
}

func (EipAddressForDescribeNatGatewaysOutput) GoString

GoString returns the string representation

func (*EipAddressForDescribeNatGatewaysOutput) SetAllocationId

SetAllocationId sets the AllocationId field's value.

func (*EipAddressForDescribeNatGatewaysOutput) SetEipAddress

SetEipAddress sets the EipAddress field's value.

func (*EipAddressForDescribeNatGatewaysOutput) SetUsingStatus

SetUsingStatus sets the UsingStatus field's value.

func (EipAddressForDescribeNatGatewaysOutput) String

String returns the string representation

type ListNatGatewayAvailableZonesInput added in v1.0.38

type ListNatGatewayAvailableZonesInput struct {
	// contains filtered or unexported fields
}

func (ListNatGatewayAvailableZonesInput) GoString added in v1.0.38

GoString returns the string representation

func (ListNatGatewayAvailableZonesInput) String added in v1.0.38

String returns the string representation

type ListNatGatewayAvailableZonesOutput added in v1.0.38

type ListNatGatewayAvailableZonesOutput struct {
	Metadata *response.ResponseMetadata

	RequestId *string `type:"string"`

	Zones []*ZoneForListNatGatewayAvailableZonesOutput `type:"list"`
	// contains filtered or unexported fields
}

func (ListNatGatewayAvailableZonesOutput) GoString added in v1.0.38

GoString returns the string representation

func (*ListNatGatewayAvailableZonesOutput) SetRequestId added in v1.0.38

SetRequestId sets the RequestId field's value.

func (*ListNatGatewayAvailableZonesOutput) SetZones added in v1.0.38

SetZones sets the Zones field's value.

func (ListNatGatewayAvailableZonesOutput) String added in v1.0.38

String returns the string representation

type ModifyDnatEntryAttributesInput added in v1.0.38

type ModifyDnatEntryAttributesInput struct {

	// DnatEntryId is a required field
	DnatEntryId *string `type:"string" required:"true"`

	DnatEntryName *string `min:"1" max:"128" type:"string"`

	ExternalIp *string `type:"string"`

	ExternalPort *string `type:"string"`

	InternalIp *string `type:"string"`

	InternalPort *string `type:"string"`

	Protocol *string `type:"string"`
	// contains filtered or unexported fields
}

func (ModifyDnatEntryAttributesInput) GoString added in v1.0.38

GoString returns the string representation

func (*ModifyDnatEntryAttributesInput) SetDnatEntryId added in v1.0.38

SetDnatEntryId sets the DnatEntryId field's value.

func (*ModifyDnatEntryAttributesInput) SetDnatEntryName added in v1.0.38

SetDnatEntryName sets the DnatEntryName field's value.

func (*ModifyDnatEntryAttributesInput) SetExternalIp added in v1.0.38

SetExternalIp sets the ExternalIp field's value.

func (*ModifyDnatEntryAttributesInput) SetExternalPort added in v1.0.38

SetExternalPort sets the ExternalPort field's value.

func (*ModifyDnatEntryAttributesInput) SetInternalIp added in v1.0.38

SetInternalIp sets the InternalIp field's value.

func (*ModifyDnatEntryAttributesInput) SetInternalPort added in v1.0.38

SetInternalPort sets the InternalPort field's value.

func (*ModifyDnatEntryAttributesInput) SetProtocol added in v1.0.38

SetProtocol sets the Protocol field's value.

func (ModifyDnatEntryAttributesInput) String added in v1.0.38

String returns the string representation

func (*ModifyDnatEntryAttributesInput) Validate added in v1.0.38

func (s *ModifyDnatEntryAttributesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ModifyDnatEntryAttributesOutput added in v1.0.38

type ModifyDnatEntryAttributesOutput struct {
	Metadata *response.ResponseMetadata

	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (ModifyDnatEntryAttributesOutput) GoString added in v1.0.38

GoString returns the string representation

func (*ModifyDnatEntryAttributesOutput) SetRequestId added in v1.0.38

SetRequestId sets the RequestId field's value.

func (ModifyDnatEntryAttributesOutput) String added in v1.0.38

String returns the string representation

type ModifyNatGatewayAttributesInput

type ModifyNatGatewayAttributesInput struct {
	Description *string `min:"1" max:"255" type:"string"`

	// NatGatewayId is a required field
	NatGatewayId *string `type:"string" required:"true"`

	NatGatewayName *string `min:"1" max:"128" type:"string"`

	Spec *string `type:"string"`
	// contains filtered or unexported fields
}

func (ModifyNatGatewayAttributesInput) GoString

GoString returns the string representation

func (*ModifyNatGatewayAttributesInput) SetDescription

SetDescription sets the Description field's value.

func (*ModifyNatGatewayAttributesInput) SetNatGatewayId

SetNatGatewayId sets the NatGatewayId field's value.

func (*ModifyNatGatewayAttributesInput) SetNatGatewayName

SetNatGatewayName sets the NatGatewayName field's value.

func (*ModifyNatGatewayAttributesInput) SetSpec

SetSpec sets the Spec field's value.

func (ModifyNatGatewayAttributesInput) String

String returns the string representation

func (*ModifyNatGatewayAttributesInput) Validate

func (s *ModifyNatGatewayAttributesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ModifyNatGatewayAttributesOutput

type ModifyNatGatewayAttributesOutput struct {
	Metadata *response.ResponseMetadata

	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (ModifyNatGatewayAttributesOutput) GoString

GoString returns the string representation

func (*ModifyNatGatewayAttributesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (ModifyNatGatewayAttributesOutput) String

String returns the string representation

type ModifySnatEntryAttributesInput

type ModifySnatEntryAttributesInput struct {
	EipId *string `type:"string"`

	// SnatEntryId is a required field
	SnatEntryId *string `type:"string" required:"true"`

	SnatEntryName *string `min:"1" max:"128" type:"string"`
	// contains filtered or unexported fields
}

func (ModifySnatEntryAttributesInput) GoString

GoString returns the string representation

func (*ModifySnatEntryAttributesInput) SetEipId

SetEipId sets the EipId field's value.

func (*ModifySnatEntryAttributesInput) SetSnatEntryId

SetSnatEntryId sets the SnatEntryId field's value.

func (*ModifySnatEntryAttributesInput) SetSnatEntryName

SetSnatEntryName sets the SnatEntryName field's value.

func (ModifySnatEntryAttributesInput) String

String returns the string representation

func (*ModifySnatEntryAttributesInput) Validate

func (s *ModifySnatEntryAttributesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ModifySnatEntryAttributesOutput

type ModifySnatEntryAttributesOutput struct {
	Metadata *response.ResponseMetadata

	RequestId *string `type:"string"`
	// contains filtered or unexported fields
}

func (ModifySnatEntryAttributesOutput) GoString

GoString returns the string representation

func (*ModifySnatEntryAttributesOutput) SetRequestId

SetRequestId sets the RequestId field's value.

func (ModifySnatEntryAttributesOutput) String

String returns the string representation

type NATGATEWAY

type NATGATEWAY struct {
	*client.Client
}

NATGATEWAY provides the API operation methods for making requests to NATGATEWAY. See this package's package overview docs for details on the service.

NATGATEWAY methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

New create int can support ssl or region locate set

func (*NATGATEWAY) CreateDnatEntry added in v1.0.38

func (c *NATGATEWAY) CreateDnatEntry(input *CreateDnatEntryInput) (*CreateDnatEntryOutput, error)

CreateDnatEntry API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation CreateDnatEntry for usage and error information.

func (*NATGATEWAY) CreateDnatEntryCommon added in v1.0.38

func (c *NATGATEWAY) CreateDnatEntryCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateDnatEntryCommon API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation CreateDnatEntryCommon for usage and error information.

func (*NATGATEWAY) CreateDnatEntryCommonRequest added in v1.0.38

func (c *NATGATEWAY) CreateDnatEntryCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreateDnatEntryCommonRequest generates a "volcengine/request.Request" representing the client's request for the CreateDnatEntryCommon operation. The "output" return value will be populated with the CreateDnatEntryCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateDnatEntryCommon Request to send the API call to the service. the "output" return value is not valid until after CreateDnatEntryCommon Send returns without error.

See CreateDnatEntryCommon for more information on using the CreateDnatEntryCommon API call, and error handling.

// Example sending a request using the CreateDnatEntryCommonRequest method.
req, resp := client.CreateDnatEntryCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) CreateDnatEntryCommonWithContext added in v1.0.38

func (c *NATGATEWAY) CreateDnatEntryCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreateDnatEntryCommonWithContext is the same as CreateDnatEntryCommon with the addition of the ability to pass a context and additional request options.

See CreateDnatEntryCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) CreateDnatEntryRequest added in v1.0.38

func (c *NATGATEWAY) CreateDnatEntryRequest(input *CreateDnatEntryInput) (req *request.Request, output *CreateDnatEntryOutput)

CreateDnatEntryRequest generates a "volcengine/request.Request" representing the client's request for the CreateDnatEntry operation. The "output" return value will be populated with the CreateDnatEntryCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateDnatEntryCommon Request to send the API call to the service. the "output" return value is not valid until after CreateDnatEntryCommon Send returns without error.

See CreateDnatEntry for more information on using the CreateDnatEntry API call, and error handling.

// Example sending a request using the CreateDnatEntryRequest method.
req, resp := client.CreateDnatEntryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) CreateDnatEntryWithContext added in v1.0.38

func (c *NATGATEWAY) CreateDnatEntryWithContext(ctx volcengine.Context, input *CreateDnatEntryInput, opts ...request.Option) (*CreateDnatEntryOutput, error)

CreateDnatEntryWithContext is the same as CreateDnatEntry with the addition of the ability to pass a context and additional request options.

See CreateDnatEntry for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) CreateNatGateway

func (c *NATGATEWAY) CreateNatGateway(input *CreateNatGatewayInput) (*CreateNatGatewayOutput, error)

CreateNatGateway API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation CreateNatGateway for usage and error information.

func (*NATGATEWAY) CreateNatGatewayCommon

func (c *NATGATEWAY) CreateNatGatewayCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateNatGatewayCommon API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation CreateNatGatewayCommon for usage and error information.

func (*NATGATEWAY) CreateNatGatewayCommonRequest

func (c *NATGATEWAY) CreateNatGatewayCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreateNatGatewayCommonRequest generates a "volcengine/request.Request" representing the client's request for the CreateNatGatewayCommon operation. The "output" return value will be populated with the CreateNatGatewayCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateNatGatewayCommon Request to send the API call to the service. the "output" return value is not valid until after CreateNatGatewayCommon Send returns without error.

See CreateNatGatewayCommon for more information on using the CreateNatGatewayCommon API call, and error handling.

// Example sending a request using the CreateNatGatewayCommonRequest method.
req, resp := client.CreateNatGatewayCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) CreateNatGatewayCommonWithContext

func (c *NATGATEWAY) CreateNatGatewayCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreateNatGatewayCommonWithContext is the same as CreateNatGatewayCommon with the addition of the ability to pass a context and additional request options.

See CreateNatGatewayCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) CreateNatGatewayRequest

func (c *NATGATEWAY) CreateNatGatewayRequest(input *CreateNatGatewayInput) (req *request.Request, output *CreateNatGatewayOutput)

CreateNatGatewayRequest generates a "volcengine/request.Request" representing the client's request for the CreateNatGateway operation. The "output" return value will be populated with the CreateNatGatewayCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateNatGatewayCommon Request to send the API call to the service. the "output" return value is not valid until after CreateNatGatewayCommon Send returns without error.

See CreateNatGateway for more information on using the CreateNatGateway API call, and error handling.

// Example sending a request using the CreateNatGatewayRequest method.
req, resp := client.CreateNatGatewayRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) CreateNatGatewayWithContext

func (c *NATGATEWAY) CreateNatGatewayWithContext(ctx volcengine.Context, input *CreateNatGatewayInput, opts ...request.Option) (*CreateNatGatewayOutput, error)

CreateNatGatewayWithContext is the same as CreateNatGateway with the addition of the ability to pass a context and additional request options.

See CreateNatGateway for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) CreateSnatEntry

func (c *NATGATEWAY) CreateSnatEntry(input *CreateSnatEntryInput) (*CreateSnatEntryOutput, error)

CreateSnatEntry API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation CreateSnatEntry for usage and error information.

func (*NATGATEWAY) CreateSnatEntryCommon

func (c *NATGATEWAY) CreateSnatEntryCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateSnatEntryCommon API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation CreateSnatEntryCommon for usage and error information.

func (*NATGATEWAY) CreateSnatEntryCommonRequest

func (c *NATGATEWAY) CreateSnatEntryCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreateSnatEntryCommonRequest generates a "volcengine/request.Request" representing the client's request for the CreateSnatEntryCommon operation. The "output" return value will be populated with the CreateSnatEntryCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateSnatEntryCommon Request to send the API call to the service. the "output" return value is not valid until after CreateSnatEntryCommon Send returns without error.

See CreateSnatEntryCommon for more information on using the CreateSnatEntryCommon API call, and error handling.

// Example sending a request using the CreateSnatEntryCommonRequest method.
req, resp := client.CreateSnatEntryCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) CreateSnatEntryCommonWithContext

func (c *NATGATEWAY) CreateSnatEntryCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreateSnatEntryCommonWithContext is the same as CreateSnatEntryCommon with the addition of the ability to pass a context and additional request options.

See CreateSnatEntryCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) CreateSnatEntryRequest

func (c *NATGATEWAY) CreateSnatEntryRequest(input *CreateSnatEntryInput) (req *request.Request, output *CreateSnatEntryOutput)

CreateSnatEntryRequest generates a "volcengine/request.Request" representing the client's request for the CreateSnatEntry operation. The "output" return value will be populated with the CreateSnatEntryCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateSnatEntryCommon Request to send the API call to the service. the "output" return value is not valid until after CreateSnatEntryCommon Send returns without error.

See CreateSnatEntry for more information on using the CreateSnatEntry API call, and error handling.

// Example sending a request using the CreateSnatEntryRequest method.
req, resp := client.CreateSnatEntryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) CreateSnatEntryWithContext

func (c *NATGATEWAY) CreateSnatEntryWithContext(ctx volcengine.Context, input *CreateSnatEntryInput, opts ...request.Option) (*CreateSnatEntryOutput, error)

CreateSnatEntryWithContext is the same as CreateSnatEntry with the addition of the ability to pass a context and additional request options.

See CreateSnatEntry for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) DeleteDnatEntry added in v1.0.38

func (c *NATGATEWAY) DeleteDnatEntry(input *DeleteDnatEntryInput) (*DeleteDnatEntryOutput, error)

DeleteDnatEntry API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DeleteDnatEntry for usage and error information.

func (*NATGATEWAY) DeleteDnatEntryCommon added in v1.0.38

func (c *NATGATEWAY) DeleteDnatEntryCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteDnatEntryCommon API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DeleteDnatEntryCommon for usage and error information.

func (*NATGATEWAY) DeleteDnatEntryCommonRequest added in v1.0.38

func (c *NATGATEWAY) DeleteDnatEntryCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DeleteDnatEntryCommonRequest generates a "volcengine/request.Request" representing the client's request for the DeleteDnatEntryCommon operation. The "output" return value will be populated with the DeleteDnatEntryCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteDnatEntryCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteDnatEntryCommon Send returns without error.

See DeleteDnatEntryCommon for more information on using the DeleteDnatEntryCommon API call, and error handling.

// Example sending a request using the DeleteDnatEntryCommonRequest method.
req, resp := client.DeleteDnatEntryCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) DeleteDnatEntryCommonWithContext added in v1.0.38

func (c *NATGATEWAY) DeleteDnatEntryCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DeleteDnatEntryCommonWithContext is the same as DeleteDnatEntryCommon with the addition of the ability to pass a context and additional request options.

See DeleteDnatEntryCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) DeleteDnatEntryRequest added in v1.0.38

func (c *NATGATEWAY) DeleteDnatEntryRequest(input *DeleteDnatEntryInput) (req *request.Request, output *DeleteDnatEntryOutput)

DeleteDnatEntryRequest generates a "volcengine/request.Request" representing the client's request for the DeleteDnatEntry operation. The "output" return value will be populated with the DeleteDnatEntryCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteDnatEntryCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteDnatEntryCommon Send returns without error.

See DeleteDnatEntry for more information on using the DeleteDnatEntry API call, and error handling.

// Example sending a request using the DeleteDnatEntryRequest method.
req, resp := client.DeleteDnatEntryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) DeleteDnatEntryWithContext added in v1.0.38

func (c *NATGATEWAY) DeleteDnatEntryWithContext(ctx volcengine.Context, input *DeleteDnatEntryInput, opts ...request.Option) (*DeleteDnatEntryOutput, error)

DeleteDnatEntryWithContext is the same as DeleteDnatEntry with the addition of the ability to pass a context and additional request options.

See DeleteDnatEntry for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) DeleteNatGateway

func (c *NATGATEWAY) DeleteNatGateway(input *DeleteNatGatewayInput) (*DeleteNatGatewayOutput, error)

DeleteNatGateway API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DeleteNatGateway for usage and error information.

func (*NATGATEWAY) DeleteNatGatewayCommon

func (c *NATGATEWAY) DeleteNatGatewayCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteNatGatewayCommon API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DeleteNatGatewayCommon for usage and error information.

func (*NATGATEWAY) DeleteNatGatewayCommonRequest

func (c *NATGATEWAY) DeleteNatGatewayCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DeleteNatGatewayCommonRequest generates a "volcengine/request.Request" representing the client's request for the DeleteNatGatewayCommon operation. The "output" return value will be populated with the DeleteNatGatewayCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteNatGatewayCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteNatGatewayCommon Send returns without error.

See DeleteNatGatewayCommon for more information on using the DeleteNatGatewayCommon API call, and error handling.

// Example sending a request using the DeleteNatGatewayCommonRequest method.
req, resp := client.DeleteNatGatewayCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) DeleteNatGatewayCommonWithContext

func (c *NATGATEWAY) DeleteNatGatewayCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DeleteNatGatewayCommonWithContext is the same as DeleteNatGatewayCommon with the addition of the ability to pass a context and additional request options.

See DeleteNatGatewayCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) DeleteNatGatewayRequest

func (c *NATGATEWAY) DeleteNatGatewayRequest(input *DeleteNatGatewayInput) (req *request.Request, output *DeleteNatGatewayOutput)

DeleteNatGatewayRequest generates a "volcengine/request.Request" representing the client's request for the DeleteNatGateway operation. The "output" return value will be populated with the DeleteNatGatewayCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteNatGatewayCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteNatGatewayCommon Send returns without error.

See DeleteNatGateway for more information on using the DeleteNatGateway API call, and error handling.

// Example sending a request using the DeleteNatGatewayRequest method.
req, resp := client.DeleteNatGatewayRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) DeleteNatGatewayWithContext

func (c *NATGATEWAY) DeleteNatGatewayWithContext(ctx volcengine.Context, input *DeleteNatGatewayInput, opts ...request.Option) (*DeleteNatGatewayOutput, error)

DeleteNatGatewayWithContext is the same as DeleteNatGateway with the addition of the ability to pass a context and additional request options.

See DeleteNatGateway for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) DeleteSnatEntry

func (c *NATGATEWAY) DeleteSnatEntry(input *DeleteSnatEntryInput) (*DeleteSnatEntryOutput, error)

DeleteSnatEntry API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DeleteSnatEntry for usage and error information.

func (*NATGATEWAY) DeleteSnatEntryCommon

func (c *NATGATEWAY) DeleteSnatEntryCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteSnatEntryCommon API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DeleteSnatEntryCommon for usage and error information.

func (*NATGATEWAY) DeleteSnatEntryCommonRequest

func (c *NATGATEWAY) DeleteSnatEntryCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DeleteSnatEntryCommonRequest generates a "volcengine/request.Request" representing the client's request for the DeleteSnatEntryCommon operation. The "output" return value will be populated with the DeleteSnatEntryCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteSnatEntryCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteSnatEntryCommon Send returns without error.

See DeleteSnatEntryCommon for more information on using the DeleteSnatEntryCommon API call, and error handling.

// Example sending a request using the DeleteSnatEntryCommonRequest method.
req, resp := client.DeleteSnatEntryCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) DeleteSnatEntryCommonWithContext

func (c *NATGATEWAY) DeleteSnatEntryCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DeleteSnatEntryCommonWithContext is the same as DeleteSnatEntryCommon with the addition of the ability to pass a context and additional request options.

See DeleteSnatEntryCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) DeleteSnatEntryRequest

func (c *NATGATEWAY) DeleteSnatEntryRequest(input *DeleteSnatEntryInput) (req *request.Request, output *DeleteSnatEntryOutput)

DeleteSnatEntryRequest generates a "volcengine/request.Request" representing the client's request for the DeleteSnatEntry operation. The "output" return value will be populated with the DeleteSnatEntryCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteSnatEntryCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteSnatEntryCommon Send returns without error.

See DeleteSnatEntry for more information on using the DeleteSnatEntry API call, and error handling.

// Example sending a request using the DeleteSnatEntryRequest method.
req, resp := client.DeleteSnatEntryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) DeleteSnatEntryWithContext

func (c *NATGATEWAY) DeleteSnatEntryWithContext(ctx volcengine.Context, input *DeleteSnatEntryInput, opts ...request.Option) (*DeleteSnatEntryOutput, error)

DeleteSnatEntryWithContext is the same as DeleteSnatEntry with the addition of the ability to pass a context and additional request options.

See DeleteSnatEntry for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) DescribeDnatEntries added in v1.0.38

func (c *NATGATEWAY) DescribeDnatEntries(input *DescribeDnatEntriesInput) (*DescribeDnatEntriesOutput, error)

DescribeDnatEntries API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeDnatEntries for usage and error information.

func (*NATGATEWAY) DescribeDnatEntriesCommon added in v1.0.38

func (c *NATGATEWAY) DescribeDnatEntriesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeDnatEntriesCommon API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeDnatEntriesCommon for usage and error information.

func (*NATGATEWAY) DescribeDnatEntriesCommonRequest added in v1.0.38

func (c *NATGATEWAY) DescribeDnatEntriesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeDnatEntriesCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeDnatEntriesCommon operation. The "output" return value will be populated with the DescribeDnatEntriesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeDnatEntriesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeDnatEntriesCommon Send returns without error.

See DescribeDnatEntriesCommon for more information on using the DescribeDnatEntriesCommon API call, and error handling.

// Example sending a request using the DescribeDnatEntriesCommonRequest method.
req, resp := client.DescribeDnatEntriesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) DescribeDnatEntriesCommonWithContext added in v1.0.38

func (c *NATGATEWAY) DescribeDnatEntriesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeDnatEntriesCommonWithContext is the same as DescribeDnatEntriesCommon with the addition of the ability to pass a context and additional request options.

See DescribeDnatEntriesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) DescribeDnatEntriesRequest added in v1.0.38

func (c *NATGATEWAY) DescribeDnatEntriesRequest(input *DescribeDnatEntriesInput) (req *request.Request, output *DescribeDnatEntriesOutput)

DescribeDnatEntriesRequest generates a "volcengine/request.Request" representing the client's request for the DescribeDnatEntries operation. The "output" return value will be populated with the DescribeDnatEntriesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeDnatEntriesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeDnatEntriesCommon Send returns without error.

See DescribeDnatEntries for more information on using the DescribeDnatEntries API call, and error handling.

// Example sending a request using the DescribeDnatEntriesRequest method.
req, resp := client.DescribeDnatEntriesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) DescribeDnatEntriesWithContext added in v1.0.38

func (c *NATGATEWAY) DescribeDnatEntriesWithContext(ctx volcengine.Context, input *DescribeDnatEntriesInput, opts ...request.Option) (*DescribeDnatEntriesOutput, error)

DescribeDnatEntriesWithContext is the same as DescribeDnatEntries with the addition of the ability to pass a context and additional request options.

See DescribeDnatEntries for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) DescribeDnatEntryAttributes added in v1.0.38

func (c *NATGATEWAY) DescribeDnatEntryAttributes(input *DescribeDnatEntryAttributesInput) (*DescribeDnatEntryAttributesOutput, error)

DescribeDnatEntryAttributes API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeDnatEntryAttributes for usage and error information.

func (*NATGATEWAY) DescribeDnatEntryAttributesCommon added in v1.0.38

func (c *NATGATEWAY) DescribeDnatEntryAttributesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeDnatEntryAttributesCommon API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeDnatEntryAttributesCommon for usage and error information.

func (*NATGATEWAY) DescribeDnatEntryAttributesCommonRequest added in v1.0.38

func (c *NATGATEWAY) DescribeDnatEntryAttributesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeDnatEntryAttributesCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeDnatEntryAttributesCommon operation. The "output" return value will be populated with the DescribeDnatEntryAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeDnatEntryAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeDnatEntryAttributesCommon Send returns without error.

See DescribeDnatEntryAttributesCommon for more information on using the DescribeDnatEntryAttributesCommon API call, and error handling.

// Example sending a request using the DescribeDnatEntryAttributesCommonRequest method.
req, resp := client.DescribeDnatEntryAttributesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) DescribeDnatEntryAttributesCommonWithContext added in v1.0.38

func (c *NATGATEWAY) DescribeDnatEntryAttributesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeDnatEntryAttributesCommonWithContext is the same as DescribeDnatEntryAttributesCommon with the addition of the ability to pass a context and additional request options.

See DescribeDnatEntryAttributesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) DescribeDnatEntryAttributesRequest added in v1.0.38

func (c *NATGATEWAY) DescribeDnatEntryAttributesRequest(input *DescribeDnatEntryAttributesInput) (req *request.Request, output *DescribeDnatEntryAttributesOutput)

DescribeDnatEntryAttributesRequest generates a "volcengine/request.Request" representing the client's request for the DescribeDnatEntryAttributes operation. The "output" return value will be populated with the DescribeDnatEntryAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeDnatEntryAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeDnatEntryAttributesCommon Send returns without error.

See DescribeDnatEntryAttributes for more information on using the DescribeDnatEntryAttributes API call, and error handling.

// Example sending a request using the DescribeDnatEntryAttributesRequest method.
req, resp := client.DescribeDnatEntryAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) DescribeDnatEntryAttributesWithContext added in v1.0.38

func (c *NATGATEWAY) DescribeDnatEntryAttributesWithContext(ctx volcengine.Context, input *DescribeDnatEntryAttributesInput, opts ...request.Option) (*DescribeDnatEntryAttributesOutput, error)

DescribeDnatEntryAttributesWithContext is the same as DescribeDnatEntryAttributes with the addition of the ability to pass a context and additional request options.

See DescribeDnatEntryAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) DescribeNatGatewayAttributes

func (c *NATGATEWAY) DescribeNatGatewayAttributes(input *DescribeNatGatewayAttributesInput) (*DescribeNatGatewayAttributesOutput, error)

DescribeNatGatewayAttributes API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeNatGatewayAttributes for usage and error information.

func (*NATGATEWAY) DescribeNatGatewayAttributesCommon

func (c *NATGATEWAY) DescribeNatGatewayAttributesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeNatGatewayAttributesCommon API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeNatGatewayAttributesCommon for usage and error information.

func (*NATGATEWAY) DescribeNatGatewayAttributesCommonRequest

func (c *NATGATEWAY) DescribeNatGatewayAttributesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeNatGatewayAttributesCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeNatGatewayAttributesCommon operation. The "output" return value will be populated with the DescribeNatGatewayAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeNatGatewayAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeNatGatewayAttributesCommon Send returns without error.

See DescribeNatGatewayAttributesCommon for more information on using the DescribeNatGatewayAttributesCommon API call, and error handling.

// Example sending a request using the DescribeNatGatewayAttributesCommonRequest method.
req, resp := client.DescribeNatGatewayAttributesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) DescribeNatGatewayAttributesCommonWithContext

func (c *NATGATEWAY) DescribeNatGatewayAttributesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeNatGatewayAttributesCommonWithContext is the same as DescribeNatGatewayAttributesCommon with the addition of the ability to pass a context and additional request options.

See DescribeNatGatewayAttributesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) DescribeNatGatewayAttributesRequest

func (c *NATGATEWAY) DescribeNatGatewayAttributesRequest(input *DescribeNatGatewayAttributesInput) (req *request.Request, output *DescribeNatGatewayAttributesOutput)

DescribeNatGatewayAttributesRequest generates a "volcengine/request.Request" representing the client's request for the DescribeNatGatewayAttributes operation. The "output" return value will be populated with the DescribeNatGatewayAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeNatGatewayAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeNatGatewayAttributesCommon Send returns without error.

See DescribeNatGatewayAttributes for more information on using the DescribeNatGatewayAttributes API call, and error handling.

// Example sending a request using the DescribeNatGatewayAttributesRequest method.
req, resp := client.DescribeNatGatewayAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) DescribeNatGatewayAttributesWithContext

func (c *NATGATEWAY) DescribeNatGatewayAttributesWithContext(ctx volcengine.Context, input *DescribeNatGatewayAttributesInput, opts ...request.Option) (*DescribeNatGatewayAttributesOutput, error)

DescribeNatGatewayAttributesWithContext is the same as DescribeNatGatewayAttributes with the addition of the ability to pass a context and additional request options.

See DescribeNatGatewayAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) DescribeNatGateways

func (c *NATGATEWAY) DescribeNatGateways(input *DescribeNatGatewaysInput) (*DescribeNatGatewaysOutput, error)

DescribeNatGateways API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeNatGateways for usage and error information.

func (*NATGATEWAY) DescribeNatGatewaysCommon

func (c *NATGATEWAY) DescribeNatGatewaysCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeNatGatewaysCommon API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeNatGatewaysCommon for usage and error information.

func (*NATGATEWAY) DescribeNatGatewaysCommonRequest

func (c *NATGATEWAY) DescribeNatGatewaysCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeNatGatewaysCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeNatGatewaysCommon operation. The "output" return value will be populated with the DescribeNatGatewaysCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeNatGatewaysCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeNatGatewaysCommon Send returns without error.

See DescribeNatGatewaysCommon for more information on using the DescribeNatGatewaysCommon API call, and error handling.

// Example sending a request using the DescribeNatGatewaysCommonRequest method.
req, resp := client.DescribeNatGatewaysCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) DescribeNatGatewaysCommonWithContext

func (c *NATGATEWAY) DescribeNatGatewaysCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeNatGatewaysCommonWithContext is the same as DescribeNatGatewaysCommon with the addition of the ability to pass a context and additional request options.

See DescribeNatGatewaysCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) DescribeNatGatewaysRequest

func (c *NATGATEWAY) DescribeNatGatewaysRequest(input *DescribeNatGatewaysInput) (req *request.Request, output *DescribeNatGatewaysOutput)

DescribeNatGatewaysRequest generates a "volcengine/request.Request" representing the client's request for the DescribeNatGateways operation. The "output" return value will be populated with the DescribeNatGatewaysCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeNatGatewaysCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeNatGatewaysCommon Send returns without error.

See DescribeNatGateways for more information on using the DescribeNatGateways API call, and error handling.

// Example sending a request using the DescribeNatGatewaysRequest method.
req, resp := client.DescribeNatGatewaysRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) DescribeNatGatewaysWithContext

func (c *NATGATEWAY) DescribeNatGatewaysWithContext(ctx volcengine.Context, input *DescribeNatGatewaysInput, opts ...request.Option) (*DescribeNatGatewaysOutput, error)

DescribeNatGatewaysWithContext is the same as DescribeNatGateways with the addition of the ability to pass a context and additional request options.

See DescribeNatGateways for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) DescribeSnatEntries

func (c *NATGATEWAY) DescribeSnatEntries(input *DescribeSnatEntriesInput) (*DescribeSnatEntriesOutput, error)

DescribeSnatEntries API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeSnatEntries for usage and error information.

func (*NATGATEWAY) DescribeSnatEntriesCommon

func (c *NATGATEWAY) DescribeSnatEntriesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeSnatEntriesCommon API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeSnatEntriesCommon for usage and error information.

func (*NATGATEWAY) DescribeSnatEntriesCommonRequest

func (c *NATGATEWAY) DescribeSnatEntriesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeSnatEntriesCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeSnatEntriesCommon operation. The "output" return value will be populated with the DescribeSnatEntriesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeSnatEntriesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeSnatEntriesCommon Send returns without error.

See DescribeSnatEntriesCommon for more information on using the DescribeSnatEntriesCommon API call, and error handling.

// Example sending a request using the DescribeSnatEntriesCommonRequest method.
req, resp := client.DescribeSnatEntriesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) DescribeSnatEntriesCommonWithContext

func (c *NATGATEWAY) DescribeSnatEntriesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeSnatEntriesCommonWithContext is the same as DescribeSnatEntriesCommon with the addition of the ability to pass a context and additional request options.

See DescribeSnatEntriesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) DescribeSnatEntriesRequest

func (c *NATGATEWAY) DescribeSnatEntriesRequest(input *DescribeSnatEntriesInput) (req *request.Request, output *DescribeSnatEntriesOutput)

DescribeSnatEntriesRequest generates a "volcengine/request.Request" representing the client's request for the DescribeSnatEntries operation. The "output" return value will be populated with the DescribeSnatEntriesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeSnatEntriesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeSnatEntriesCommon Send returns without error.

See DescribeSnatEntries for more information on using the DescribeSnatEntries API call, and error handling.

// Example sending a request using the DescribeSnatEntriesRequest method.
req, resp := client.DescribeSnatEntriesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) DescribeSnatEntriesWithContext

func (c *NATGATEWAY) DescribeSnatEntriesWithContext(ctx volcengine.Context, input *DescribeSnatEntriesInput, opts ...request.Option) (*DescribeSnatEntriesOutput, error)

DescribeSnatEntriesWithContext is the same as DescribeSnatEntries with the addition of the ability to pass a context and additional request options.

See DescribeSnatEntries for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) DescribeSnatEntryAttributes

func (c *NATGATEWAY) DescribeSnatEntryAttributes(input *DescribeSnatEntryAttributesInput) (*DescribeSnatEntryAttributesOutput, error)

DescribeSnatEntryAttributes API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeSnatEntryAttributes for usage and error information.

func (*NATGATEWAY) DescribeSnatEntryAttributesCommon

func (c *NATGATEWAY) DescribeSnatEntryAttributesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeSnatEntryAttributesCommon API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation DescribeSnatEntryAttributesCommon for usage and error information.

func (*NATGATEWAY) DescribeSnatEntryAttributesCommonRequest

func (c *NATGATEWAY) DescribeSnatEntryAttributesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeSnatEntryAttributesCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeSnatEntryAttributesCommon operation. The "output" return value will be populated with the DescribeSnatEntryAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeSnatEntryAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeSnatEntryAttributesCommon Send returns without error.

See DescribeSnatEntryAttributesCommon for more information on using the DescribeSnatEntryAttributesCommon API call, and error handling.

// Example sending a request using the DescribeSnatEntryAttributesCommonRequest method.
req, resp := client.DescribeSnatEntryAttributesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) DescribeSnatEntryAttributesCommonWithContext

func (c *NATGATEWAY) DescribeSnatEntryAttributesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeSnatEntryAttributesCommonWithContext is the same as DescribeSnatEntryAttributesCommon with the addition of the ability to pass a context and additional request options.

See DescribeSnatEntryAttributesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) DescribeSnatEntryAttributesRequest

func (c *NATGATEWAY) DescribeSnatEntryAttributesRequest(input *DescribeSnatEntryAttributesInput) (req *request.Request, output *DescribeSnatEntryAttributesOutput)

DescribeSnatEntryAttributesRequest generates a "volcengine/request.Request" representing the client's request for the DescribeSnatEntryAttributes operation. The "output" return value will be populated with the DescribeSnatEntryAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeSnatEntryAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeSnatEntryAttributesCommon Send returns without error.

See DescribeSnatEntryAttributes for more information on using the DescribeSnatEntryAttributes API call, and error handling.

// Example sending a request using the DescribeSnatEntryAttributesRequest method.
req, resp := client.DescribeSnatEntryAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) DescribeSnatEntryAttributesWithContext

func (c *NATGATEWAY) DescribeSnatEntryAttributesWithContext(ctx volcengine.Context, input *DescribeSnatEntryAttributesInput, opts ...request.Option) (*DescribeSnatEntryAttributesOutput, error)

DescribeSnatEntryAttributesWithContext is the same as DescribeSnatEntryAttributes with the addition of the ability to pass a context and additional request options.

See DescribeSnatEntryAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) ListNatGatewayAvailableZones added in v1.0.38

func (c *NATGATEWAY) ListNatGatewayAvailableZones(input *ListNatGatewayAvailableZonesInput) (*ListNatGatewayAvailableZonesOutput, error)

ListNatGatewayAvailableZones API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation ListNatGatewayAvailableZones for usage and error information.

func (*NATGATEWAY) ListNatGatewayAvailableZonesCommon added in v1.0.38

func (c *NATGATEWAY) ListNatGatewayAvailableZonesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ListNatGatewayAvailableZonesCommon API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation ListNatGatewayAvailableZonesCommon for usage and error information.

func (*NATGATEWAY) ListNatGatewayAvailableZonesCommonRequest added in v1.0.38

func (c *NATGATEWAY) ListNatGatewayAvailableZonesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ListNatGatewayAvailableZonesCommonRequest generates a "volcengine/request.Request" representing the client's request for the ListNatGatewayAvailableZonesCommon operation. The "output" return value will be populated with the ListNatGatewayAvailableZonesCommon request's response once the request completes successfully.

Use "Send" method on the returned ListNatGatewayAvailableZonesCommon Request to send the API call to the service. the "output" return value is not valid until after ListNatGatewayAvailableZonesCommon Send returns without error.

See ListNatGatewayAvailableZonesCommon for more information on using the ListNatGatewayAvailableZonesCommon API call, and error handling.

// Example sending a request using the ListNatGatewayAvailableZonesCommonRequest method.
req, resp := client.ListNatGatewayAvailableZonesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) ListNatGatewayAvailableZonesCommonWithContext added in v1.0.38

func (c *NATGATEWAY) ListNatGatewayAvailableZonesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ListNatGatewayAvailableZonesCommonWithContext is the same as ListNatGatewayAvailableZonesCommon with the addition of the ability to pass a context and additional request options.

See ListNatGatewayAvailableZonesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) ListNatGatewayAvailableZonesRequest added in v1.0.38

func (c *NATGATEWAY) ListNatGatewayAvailableZonesRequest(input *ListNatGatewayAvailableZonesInput) (req *request.Request, output *ListNatGatewayAvailableZonesOutput)

ListNatGatewayAvailableZonesRequest generates a "volcengine/request.Request" representing the client's request for the ListNatGatewayAvailableZones operation. The "output" return value will be populated with the ListNatGatewayAvailableZonesCommon request's response once the request completes successfully.

Use "Send" method on the returned ListNatGatewayAvailableZonesCommon Request to send the API call to the service. the "output" return value is not valid until after ListNatGatewayAvailableZonesCommon Send returns without error.

See ListNatGatewayAvailableZones for more information on using the ListNatGatewayAvailableZones API call, and error handling.

// Example sending a request using the ListNatGatewayAvailableZonesRequest method.
req, resp := client.ListNatGatewayAvailableZonesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) ListNatGatewayAvailableZonesWithContext added in v1.0.38

func (c *NATGATEWAY) ListNatGatewayAvailableZonesWithContext(ctx volcengine.Context, input *ListNatGatewayAvailableZonesInput, opts ...request.Option) (*ListNatGatewayAvailableZonesOutput, error)

ListNatGatewayAvailableZonesWithContext is the same as ListNatGatewayAvailableZones with the addition of the ability to pass a context and additional request options.

See ListNatGatewayAvailableZones for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) ModifyDnatEntryAttributes added in v1.0.38

func (c *NATGATEWAY) ModifyDnatEntryAttributes(input *ModifyDnatEntryAttributesInput) (*ModifyDnatEntryAttributesOutput, error)

ModifyDnatEntryAttributes API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation ModifyDnatEntryAttributes for usage and error information.

func (*NATGATEWAY) ModifyDnatEntryAttributesCommon added in v1.0.38

func (c *NATGATEWAY) ModifyDnatEntryAttributesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ModifyDnatEntryAttributesCommon API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation ModifyDnatEntryAttributesCommon for usage and error information.

func (*NATGATEWAY) ModifyDnatEntryAttributesCommonRequest added in v1.0.38

func (c *NATGATEWAY) ModifyDnatEntryAttributesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ModifyDnatEntryAttributesCommonRequest generates a "volcengine/request.Request" representing the client's request for the ModifyDnatEntryAttributesCommon operation. The "output" return value will be populated with the ModifyDnatEntryAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyDnatEntryAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyDnatEntryAttributesCommon Send returns without error.

See ModifyDnatEntryAttributesCommon for more information on using the ModifyDnatEntryAttributesCommon API call, and error handling.

// Example sending a request using the ModifyDnatEntryAttributesCommonRequest method.
req, resp := client.ModifyDnatEntryAttributesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) ModifyDnatEntryAttributesCommonWithContext added in v1.0.38

func (c *NATGATEWAY) ModifyDnatEntryAttributesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ModifyDnatEntryAttributesCommonWithContext is the same as ModifyDnatEntryAttributesCommon with the addition of the ability to pass a context and additional request options.

See ModifyDnatEntryAttributesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) ModifyDnatEntryAttributesRequest added in v1.0.38

func (c *NATGATEWAY) ModifyDnatEntryAttributesRequest(input *ModifyDnatEntryAttributesInput) (req *request.Request, output *ModifyDnatEntryAttributesOutput)

ModifyDnatEntryAttributesRequest generates a "volcengine/request.Request" representing the client's request for the ModifyDnatEntryAttributes operation. The "output" return value will be populated with the ModifyDnatEntryAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyDnatEntryAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyDnatEntryAttributesCommon Send returns without error.

See ModifyDnatEntryAttributes for more information on using the ModifyDnatEntryAttributes API call, and error handling.

// Example sending a request using the ModifyDnatEntryAttributesRequest method.
req, resp := client.ModifyDnatEntryAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) ModifyDnatEntryAttributesWithContext added in v1.0.38

func (c *NATGATEWAY) ModifyDnatEntryAttributesWithContext(ctx volcengine.Context, input *ModifyDnatEntryAttributesInput, opts ...request.Option) (*ModifyDnatEntryAttributesOutput, error)

ModifyDnatEntryAttributesWithContext is the same as ModifyDnatEntryAttributes with the addition of the ability to pass a context and additional request options.

See ModifyDnatEntryAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) ModifyNatGatewayAttributes

func (c *NATGATEWAY) ModifyNatGatewayAttributes(input *ModifyNatGatewayAttributesInput) (*ModifyNatGatewayAttributesOutput, error)

ModifyNatGatewayAttributes API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation ModifyNatGatewayAttributes for usage and error information.

func (*NATGATEWAY) ModifyNatGatewayAttributesCommon

func (c *NATGATEWAY) ModifyNatGatewayAttributesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ModifyNatGatewayAttributesCommon API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation ModifyNatGatewayAttributesCommon for usage and error information.

func (*NATGATEWAY) ModifyNatGatewayAttributesCommonRequest

func (c *NATGATEWAY) ModifyNatGatewayAttributesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ModifyNatGatewayAttributesCommonRequest generates a "volcengine/request.Request" representing the client's request for the ModifyNatGatewayAttributesCommon operation. The "output" return value will be populated with the ModifyNatGatewayAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyNatGatewayAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyNatGatewayAttributesCommon Send returns without error.

See ModifyNatGatewayAttributesCommon for more information on using the ModifyNatGatewayAttributesCommon API call, and error handling.

// Example sending a request using the ModifyNatGatewayAttributesCommonRequest method.
req, resp := client.ModifyNatGatewayAttributesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) ModifyNatGatewayAttributesCommonWithContext

func (c *NATGATEWAY) ModifyNatGatewayAttributesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ModifyNatGatewayAttributesCommonWithContext is the same as ModifyNatGatewayAttributesCommon with the addition of the ability to pass a context and additional request options.

See ModifyNatGatewayAttributesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) ModifyNatGatewayAttributesRequest

func (c *NATGATEWAY) ModifyNatGatewayAttributesRequest(input *ModifyNatGatewayAttributesInput) (req *request.Request, output *ModifyNatGatewayAttributesOutput)

ModifyNatGatewayAttributesRequest generates a "volcengine/request.Request" representing the client's request for the ModifyNatGatewayAttributes operation. The "output" return value will be populated with the ModifyNatGatewayAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyNatGatewayAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyNatGatewayAttributesCommon Send returns without error.

See ModifyNatGatewayAttributes for more information on using the ModifyNatGatewayAttributes API call, and error handling.

// Example sending a request using the ModifyNatGatewayAttributesRequest method.
req, resp := client.ModifyNatGatewayAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) ModifyNatGatewayAttributesWithContext

func (c *NATGATEWAY) ModifyNatGatewayAttributesWithContext(ctx volcengine.Context, input *ModifyNatGatewayAttributesInput, opts ...request.Option) (*ModifyNatGatewayAttributesOutput, error)

ModifyNatGatewayAttributesWithContext is the same as ModifyNatGatewayAttributes with the addition of the ability to pass a context and additional request options.

See ModifyNatGatewayAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) ModifySnatEntryAttributes

func (c *NATGATEWAY) ModifySnatEntryAttributes(input *ModifySnatEntryAttributesInput) (*ModifySnatEntryAttributesOutput, error)

ModifySnatEntryAttributes API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation ModifySnatEntryAttributes for usage and error information.

func (*NATGATEWAY) ModifySnatEntryAttributesCommon

func (c *NATGATEWAY) ModifySnatEntryAttributesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ModifySnatEntryAttributesCommon API operation for NATGATEWAY.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for NATGATEWAY's API operation ModifySnatEntryAttributesCommon for usage and error information.

func (*NATGATEWAY) ModifySnatEntryAttributesCommonRequest

func (c *NATGATEWAY) ModifySnatEntryAttributesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ModifySnatEntryAttributesCommonRequest generates a "volcengine/request.Request" representing the client's request for the ModifySnatEntryAttributesCommon operation. The "output" return value will be populated with the ModifySnatEntryAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifySnatEntryAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after ModifySnatEntryAttributesCommon Send returns without error.

See ModifySnatEntryAttributesCommon for more information on using the ModifySnatEntryAttributesCommon API call, and error handling.

// Example sending a request using the ModifySnatEntryAttributesCommonRequest method.
req, resp := client.ModifySnatEntryAttributesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) ModifySnatEntryAttributesCommonWithContext

func (c *NATGATEWAY) ModifySnatEntryAttributesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ModifySnatEntryAttributesCommonWithContext is the same as ModifySnatEntryAttributesCommon with the addition of the ability to pass a context and additional request options.

See ModifySnatEntryAttributesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*NATGATEWAY) ModifySnatEntryAttributesRequest

func (c *NATGATEWAY) ModifySnatEntryAttributesRequest(input *ModifySnatEntryAttributesInput) (req *request.Request, output *ModifySnatEntryAttributesOutput)

ModifySnatEntryAttributesRequest generates a "volcengine/request.Request" representing the client's request for the ModifySnatEntryAttributes operation. The "output" return value will be populated with the ModifySnatEntryAttributesCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifySnatEntryAttributesCommon Request to send the API call to the service. the "output" return value is not valid until after ModifySnatEntryAttributesCommon Send returns without error.

See ModifySnatEntryAttributes for more information on using the ModifySnatEntryAttributes API call, and error handling.

// Example sending a request using the ModifySnatEntryAttributesRequest method.
req, resp := client.ModifySnatEntryAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*NATGATEWAY) ModifySnatEntryAttributesWithContext

func (c *NATGATEWAY) ModifySnatEntryAttributesWithContext(ctx volcengine.Context, input *ModifySnatEntryAttributesInput, opts ...request.Option) (*ModifySnatEntryAttributesOutput, error)

ModifySnatEntryAttributesWithContext is the same as ModifySnatEntryAttributes with the addition of the ability to pass a context and additional request options.

See ModifySnatEntryAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type NATGATEWAYAPI

type NATGATEWAYAPI interface {
	CreateDnatEntryCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateDnatEntryCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateDnatEntryCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateDnatEntry(*CreateDnatEntryInput) (*CreateDnatEntryOutput, error)
	CreateDnatEntryWithContext(volcengine.Context, *CreateDnatEntryInput, ...request.Option) (*CreateDnatEntryOutput, error)
	CreateDnatEntryRequest(*CreateDnatEntryInput) (*request.Request, *CreateDnatEntryOutput)

	CreateNatGatewayCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateNatGatewayCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateNatGatewayCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateNatGateway(*CreateNatGatewayInput) (*CreateNatGatewayOutput, error)
	CreateNatGatewayWithContext(volcengine.Context, *CreateNatGatewayInput, ...request.Option) (*CreateNatGatewayOutput, error)
	CreateNatGatewayRequest(*CreateNatGatewayInput) (*request.Request, *CreateNatGatewayOutput)

	CreateSnatEntryCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateSnatEntryCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateSnatEntryCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateSnatEntry(*CreateSnatEntryInput) (*CreateSnatEntryOutput, error)
	CreateSnatEntryWithContext(volcengine.Context, *CreateSnatEntryInput, ...request.Option) (*CreateSnatEntryOutput, error)
	CreateSnatEntryRequest(*CreateSnatEntryInput) (*request.Request, *CreateSnatEntryOutput)

	DeleteDnatEntryCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DeleteDnatEntryCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DeleteDnatEntryCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DeleteDnatEntry(*DeleteDnatEntryInput) (*DeleteDnatEntryOutput, error)
	DeleteDnatEntryWithContext(volcengine.Context, *DeleteDnatEntryInput, ...request.Option) (*DeleteDnatEntryOutput, error)
	DeleteDnatEntryRequest(*DeleteDnatEntryInput) (*request.Request, *DeleteDnatEntryOutput)

	DeleteNatGatewayCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DeleteNatGatewayCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DeleteNatGatewayCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DeleteNatGateway(*DeleteNatGatewayInput) (*DeleteNatGatewayOutput, error)
	DeleteNatGatewayWithContext(volcengine.Context, *DeleteNatGatewayInput, ...request.Option) (*DeleteNatGatewayOutput, error)
	DeleteNatGatewayRequest(*DeleteNatGatewayInput) (*request.Request, *DeleteNatGatewayOutput)

	DeleteSnatEntryCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DeleteSnatEntryCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DeleteSnatEntryCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DeleteSnatEntry(*DeleteSnatEntryInput) (*DeleteSnatEntryOutput, error)
	DeleteSnatEntryWithContext(volcengine.Context, *DeleteSnatEntryInput, ...request.Option) (*DeleteSnatEntryOutput, error)
	DeleteSnatEntryRequest(*DeleteSnatEntryInput) (*request.Request, *DeleteSnatEntryOutput)

	DescribeDnatEntriesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeDnatEntriesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeDnatEntriesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeDnatEntries(*DescribeDnatEntriesInput) (*DescribeDnatEntriesOutput, error)
	DescribeDnatEntriesWithContext(volcengine.Context, *DescribeDnatEntriesInput, ...request.Option) (*DescribeDnatEntriesOutput, error)
	DescribeDnatEntriesRequest(*DescribeDnatEntriesInput) (*request.Request, *DescribeDnatEntriesOutput)

	DescribeDnatEntryAttributesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeDnatEntryAttributesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeDnatEntryAttributesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeDnatEntryAttributes(*DescribeDnatEntryAttributesInput) (*DescribeDnatEntryAttributesOutput, error)
	DescribeDnatEntryAttributesWithContext(volcengine.Context, *DescribeDnatEntryAttributesInput, ...request.Option) (*DescribeDnatEntryAttributesOutput, error)
	DescribeDnatEntryAttributesRequest(*DescribeDnatEntryAttributesInput) (*request.Request, *DescribeDnatEntryAttributesOutput)

	DescribeNatGatewayAttributesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeNatGatewayAttributesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeNatGatewayAttributesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeNatGatewayAttributes(*DescribeNatGatewayAttributesInput) (*DescribeNatGatewayAttributesOutput, error)
	DescribeNatGatewayAttributesWithContext(volcengine.Context, *DescribeNatGatewayAttributesInput, ...request.Option) (*DescribeNatGatewayAttributesOutput, error)
	DescribeNatGatewayAttributesRequest(*DescribeNatGatewayAttributesInput) (*request.Request, *DescribeNatGatewayAttributesOutput)

	DescribeNatGatewaysCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeNatGatewaysCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeNatGatewaysCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeNatGateways(*DescribeNatGatewaysInput) (*DescribeNatGatewaysOutput, error)
	DescribeNatGatewaysWithContext(volcengine.Context, *DescribeNatGatewaysInput, ...request.Option) (*DescribeNatGatewaysOutput, error)
	DescribeNatGatewaysRequest(*DescribeNatGatewaysInput) (*request.Request, *DescribeNatGatewaysOutput)

	DescribeSnatEntriesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeSnatEntriesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeSnatEntriesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeSnatEntries(*DescribeSnatEntriesInput) (*DescribeSnatEntriesOutput, error)
	DescribeSnatEntriesWithContext(volcengine.Context, *DescribeSnatEntriesInput, ...request.Option) (*DescribeSnatEntriesOutput, error)
	DescribeSnatEntriesRequest(*DescribeSnatEntriesInput) (*request.Request, *DescribeSnatEntriesOutput)

	DescribeSnatEntryAttributesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeSnatEntryAttributesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeSnatEntryAttributesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeSnatEntryAttributes(*DescribeSnatEntryAttributesInput) (*DescribeSnatEntryAttributesOutput, error)
	DescribeSnatEntryAttributesWithContext(volcengine.Context, *DescribeSnatEntryAttributesInput, ...request.Option) (*DescribeSnatEntryAttributesOutput, error)
	DescribeSnatEntryAttributesRequest(*DescribeSnatEntryAttributesInput) (*request.Request, *DescribeSnatEntryAttributesOutput)

	ListNatGatewayAvailableZonesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ListNatGatewayAvailableZonesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ListNatGatewayAvailableZonesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ListNatGatewayAvailableZones(*ListNatGatewayAvailableZonesInput) (*ListNatGatewayAvailableZonesOutput, error)
	ListNatGatewayAvailableZonesWithContext(volcengine.Context, *ListNatGatewayAvailableZonesInput, ...request.Option) (*ListNatGatewayAvailableZonesOutput, error)
	ListNatGatewayAvailableZonesRequest(*ListNatGatewayAvailableZonesInput) (*request.Request, *ListNatGatewayAvailableZonesOutput)

	ModifyDnatEntryAttributesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ModifyDnatEntryAttributesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ModifyDnatEntryAttributesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ModifyDnatEntryAttributes(*ModifyDnatEntryAttributesInput) (*ModifyDnatEntryAttributesOutput, error)
	ModifyDnatEntryAttributesWithContext(volcengine.Context, *ModifyDnatEntryAttributesInput, ...request.Option) (*ModifyDnatEntryAttributesOutput, error)
	ModifyDnatEntryAttributesRequest(*ModifyDnatEntryAttributesInput) (*request.Request, *ModifyDnatEntryAttributesOutput)

	ModifyNatGatewayAttributesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ModifyNatGatewayAttributesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ModifyNatGatewayAttributesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ModifyNatGatewayAttributes(*ModifyNatGatewayAttributesInput) (*ModifyNatGatewayAttributesOutput, error)
	ModifyNatGatewayAttributesWithContext(volcengine.Context, *ModifyNatGatewayAttributesInput, ...request.Option) (*ModifyNatGatewayAttributesOutput, error)
	ModifyNatGatewayAttributesRequest(*ModifyNatGatewayAttributesInput) (*request.Request, *ModifyNatGatewayAttributesOutput)

	ModifySnatEntryAttributesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ModifySnatEntryAttributesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ModifySnatEntryAttributesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ModifySnatEntryAttributes(*ModifySnatEntryAttributesInput) (*ModifySnatEntryAttributesOutput, error)
	ModifySnatEntryAttributesWithContext(volcengine.Context, *ModifySnatEntryAttributesInput, ...request.Option) (*ModifySnatEntryAttributesOutput, error)
	ModifySnatEntryAttributesRequest(*ModifySnatEntryAttributesInput) (*request.Request, *ModifySnatEntryAttributesOutput)
}

NATGATEWAYAPI provides an interface to enable mocking the natgateway.NATGATEWAY service client's API operation,

// volcengine sdk func uses an SDK service client to make a request to
// NATGATEWAY.
func myFunc(svc NATGATEWAYAPI) bool {
    // Make svc.CreateDnatEntry request
}

func main() {
    sess := session.New()
    svc := natgateway.New(sess)

    myFunc(svc)
}

type NatGatewayForDescribeNatGatewaysOutput

type NatGatewayForDescribeNatGatewaysOutput struct {
	BillingType *int64 `type:"integer"`

	BusinessStatus *string `type:"string"`

	CreationTime *string `type:"string"`

	DeletedTime *string `type:"string"`

	Description *string `type:"string"`

	DnatEntryIds []*string `type:"list"`

	EipAddresses []*EipAddressForDescribeNatGatewaysOutput `type:"list"`

	ExpiredTime *string `type:"string"`

	LockReason *string `type:"string"`

	NatGatewayId *string `type:"string"`

	NatGatewayName *string `type:"string"`

	NetworkInterfaceId *string `type:"string"`

	NetworkType *string `type:"string" enum:"NetworkTypeForDescribeNatGatewaysOutput"`

	OverdueTime *string `type:"string"`

	ProjectName *string `type:"string"`

	SnatEntryIds []*string `type:"list"`

	Spec *string `type:"string" enum:"SpecForDescribeNatGatewaysOutput"`

	Status *string `type:"string"`

	SubnetId *string `type:"string"`

	Tags []*TagForDescribeNatGatewaysOutput `type:"list"`

	UpdatedAt *string `type:"string"`

	VpcId *string `type:"string"`

	ZoneId *string `type:"string"`
	// contains filtered or unexported fields
}

func (NatGatewayForDescribeNatGatewaysOutput) GoString

GoString returns the string representation

func (*NatGatewayForDescribeNatGatewaysOutput) SetBillingType

SetBillingType sets the BillingType field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetBusinessStatus

SetBusinessStatus sets the BusinessStatus field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetDeletedTime

SetDeletedTime sets the DeletedTime field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetDescription

SetDescription sets the Description field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetDnatEntryIds added in v1.0.135

SetDnatEntryIds sets the DnatEntryIds field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetEipAddresses

SetEipAddresses sets the EipAddresses field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetExpiredTime added in v1.0.8

SetExpiredTime sets the ExpiredTime field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetLockReason

SetLockReason sets the LockReason field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetNatGatewayId

SetNatGatewayId sets the NatGatewayId field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetNatGatewayName

SetNatGatewayName sets the NatGatewayName field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetNetworkInterfaceId

SetNetworkInterfaceId sets the NetworkInterfaceId field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetNetworkType added in v1.0.135

SetNetworkType sets the NetworkType field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetOverdueTime

SetOverdueTime sets the OverdueTime field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetProjectName added in v1.0.49

SetProjectName sets the ProjectName field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetSnatEntryIds added in v1.0.135

SetSnatEntryIds sets the SnatEntryIds field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetSpec

SetSpec sets the Spec field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetStatus

SetStatus sets the Status field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetTags added in v1.0.49

SetTags sets the Tags field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetUpdatedAt

SetUpdatedAt sets the UpdatedAt field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetVpcId

SetVpcId sets the VpcId field's value.

func (*NatGatewayForDescribeNatGatewaysOutput) SetZoneId added in v1.0.38

SetZoneId sets the ZoneId field's value.

func (NatGatewayForDescribeNatGatewaysOutput) String

String returns the string representation

type SnatEntryForDescribeSnatEntriesOutput

type SnatEntryForDescribeSnatEntriesOutput struct {
	EipAddress *string `type:"string"`

	EipId *string `type:"string"`

	NatGatewayId *string `type:"string"`

	NatIpId *string `type:"string"`

	SnatEntryId *string `type:"string"`

	SnatEntryName *string `type:"string"`

	SourceCidr *string `type:"string"`

	Status *string `type:"string"`

	SubnetId *string `type:"string"`
	// contains filtered or unexported fields
}

func (SnatEntryForDescribeSnatEntriesOutput) GoString

GoString returns the string representation

func (*SnatEntryForDescribeSnatEntriesOutput) SetEipAddress

SetEipAddress sets the EipAddress field's value.

func (*SnatEntryForDescribeSnatEntriesOutput) SetEipId

SetEipId sets the EipId field's value.

func (*SnatEntryForDescribeSnatEntriesOutput) SetNatGatewayId

SetNatGatewayId sets the NatGatewayId field's value.

func (*SnatEntryForDescribeSnatEntriesOutput) SetNatIpId added in v1.0.135

SetNatIpId sets the NatIpId field's value.

func (*SnatEntryForDescribeSnatEntriesOutput) SetSnatEntryId

SetSnatEntryId sets the SnatEntryId field's value.

func (*SnatEntryForDescribeSnatEntriesOutput) SetSnatEntryName

SetSnatEntryName sets the SnatEntryName field's value.

func (*SnatEntryForDescribeSnatEntriesOutput) SetSourceCidr added in v1.0.49

SetSourceCidr sets the SourceCidr field's value.

func (*SnatEntryForDescribeSnatEntriesOutput) SetStatus

SetStatus sets the Status field's value.

func (*SnatEntryForDescribeSnatEntriesOutput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (SnatEntryForDescribeSnatEntriesOutput) String

String returns the string representation

type TagFilterForDescribeNatGatewaysInput added in v1.0.49

type TagFilterForDescribeNatGatewaysInput struct {
	Key *string `type:"string"`

	Values []*string `type:"list"`
	// contains filtered or unexported fields
}

func (TagFilterForDescribeNatGatewaysInput) GoString added in v1.0.49

GoString returns the string representation

func (*TagFilterForDescribeNatGatewaysInput) SetKey added in v1.0.49

SetKey sets the Key field's value.

func (*TagFilterForDescribeNatGatewaysInput) SetValues added in v1.0.49

SetValues sets the Values field's value.

func (TagFilterForDescribeNatGatewaysInput) String added in v1.0.49

String returns the string representation

type TagForCreateNatGatewayInput added in v1.0.49

type TagForCreateNatGatewayInput struct {
	Key *string `type:"string"`

	Value *string `type:"string"`
	// contains filtered or unexported fields
}

func (TagForCreateNatGatewayInput) GoString added in v1.0.49

func (s TagForCreateNatGatewayInput) GoString() string

GoString returns the string representation

func (*TagForCreateNatGatewayInput) SetKey added in v1.0.49

SetKey sets the Key field's value.

func (*TagForCreateNatGatewayInput) SetValue added in v1.0.49

SetValue sets the Value field's value.

func (TagForCreateNatGatewayInput) String added in v1.0.49

String returns the string representation

type TagForDescribeNatGatewayAttributesOutput added in v1.0.49

type TagForDescribeNatGatewayAttributesOutput struct {
	Key *string `type:"string"`

	Value *string `type:"string"`
	// contains filtered or unexported fields
}

func (TagForDescribeNatGatewayAttributesOutput) GoString added in v1.0.49

GoString returns the string representation

func (*TagForDescribeNatGatewayAttributesOutput) SetKey added in v1.0.49

SetKey sets the Key field's value.

func (*TagForDescribeNatGatewayAttributesOutput) SetValue added in v1.0.49

SetValue sets the Value field's value.

func (TagForDescribeNatGatewayAttributesOutput) String added in v1.0.49

String returns the string representation

type TagForDescribeNatGatewaysOutput added in v1.0.49

type TagForDescribeNatGatewaysOutput struct {
	Key *string `type:"string"`

	Value *string `type:"string"`
	// contains filtered or unexported fields
}

func (TagForDescribeNatGatewaysOutput) GoString added in v1.0.49

GoString returns the string representation

func (*TagForDescribeNatGatewaysOutput) SetKey added in v1.0.49

SetKey sets the Key field's value.

func (*TagForDescribeNatGatewaysOutput) SetValue added in v1.0.49

SetValue sets the Value field's value.

func (TagForDescribeNatGatewaysOutput) String added in v1.0.49

String returns the string representation

type ZoneForListNatGatewayAvailableZonesOutput added in v1.0.38

type ZoneForListNatGatewayAvailableZonesOutput struct {
	ZoneId *string `type:"string"`
	// contains filtered or unexported fields
}

func (ZoneForListNatGatewayAvailableZonesOutput) GoString added in v1.0.38

GoString returns the string representation

func (*ZoneForListNatGatewayAvailableZonesOutput) SetZoneId added in v1.0.38

SetZoneId sets the ZoneId field's value.

func (ZoneForListNatGatewayAvailableZonesOutput) String added in v1.0.38

String returns the string representation

Jump to

Keyboard shortcuts

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