dnssvcsv1

package
v0.46.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 11 Imported by: 10

Documentation

Overview

Package dnssvcsv1 : Operations and models for the DnsSvcsV1 service

Index

Constants

View Source
const (
	CreateMonitorOptions_Type_Http  = "HTTP"
	CreateMonitorOptions_Type_Https = "HTTPS"
	CreateMonitorOptions_Type_Tcp   = "TCP"
)

Constants associated with the CreateMonitorOptions.Type property. The protocol to use for the health check. Currently supported protocols are 'HTTP','HTTPS' and 'TCP'.

View Source
const (
	CreateMonitorOptions_Method_Get  = "GET"
	CreateMonitorOptions_Method_Head = "HEAD"
)

Constants associated with the CreateMonitorOptions.Method property. The method to use for the health check applicable to HTTP/HTTPS based checks, the default value is 'GET'.

View Source
const (
	CreatePoolOptions_HealthcheckRegion_AuSyd   = "au-syd"
	CreatePoolOptions_HealthcheckRegion_EuDu    = "eu-du"
	CreatePoolOptions_HealthcheckRegion_EuGb    = "eu-gb"
	CreatePoolOptions_HealthcheckRegion_JpTok   = "jp-tok"
	CreatePoolOptions_HealthcheckRegion_UsEast  = "us-east"
	CreatePoolOptions_HealthcheckRegion_UsSouth = "us-south"
)

Constants associated with the CreatePoolOptions.HealthcheckRegion property. Health check region of VSIs.

View Source
const (
	CreateResourceRecordOptions_Type_A     = "A"
	CreateResourceRecordOptions_Type_Aaaa  = "AAAA"
	CreateResourceRecordOptions_Type_Cname = "CNAME"
	CreateResourceRecordOptions_Type_Mx    = "MX"
	CreateResourceRecordOptions_Type_Ptr   = "PTR"
	CreateResourceRecordOptions_Type_Srv   = "SRV"
	CreateResourceRecordOptions_Type_Txt   = "TXT"
)

Constants associated with the CreateResourceRecordOptions.Type property. Type of the resource record.

View Source
const (
	UpdateDnszoneAccessRequestOptions_Action_Approve = "APPROVE"
	UpdateDnszoneAccessRequestOptions_Action_Reject  = "REJECT"
	UpdateDnszoneAccessRequestOptions_Action_Revoke  = "REVOKE"
)

Constants associated with the UpdateDnszoneAccessRequestOptions.Action property. The action applies to the access request.

View Source
const (
	UpdateMonitorOptions_Type_Http  = "HTTP"
	UpdateMonitorOptions_Type_Https = "HTTPS"
	UpdateMonitorOptions_Type_Tcp   = "TCP"
)

Constants associated with the UpdateMonitorOptions.Type property. The protocol to use for the health check. Currently supported protocols are 'HTTP','HTTPS' and 'TCP'.

View Source
const (
	UpdateMonitorOptions_Method_Get  = "GET"
	UpdateMonitorOptions_Method_Head = "HEAD"
)

Constants associated with the UpdateMonitorOptions.Method property. The method to use for the health check applicable to HTTP/HTTPS based checks, the default value is 'GET'.

View Source
const (
	UpdatePoolOptions_HealthcheckRegion_AuSyd   = "au-syd"
	UpdatePoolOptions_HealthcheckRegion_EuDu    = "eu-du"
	UpdatePoolOptions_HealthcheckRegion_EuGb    = "eu-gb"
	UpdatePoolOptions_HealthcheckRegion_JpTok   = "jp-tok"
	UpdatePoolOptions_HealthcheckRegion_UsEast  = "us-east"
	UpdatePoolOptions_HealthcheckRegion_UsSouth = "us-south"
)

Constants associated with the UpdatePoolOptions.HealthcheckRegion property. Health check region of VSIs.

View Source
const (
	AccessRequest_State_Approved = "APPROVED"
	AccessRequest_State_Pending  = "PENDING"
	AccessRequest_State_Rejected = "REJECTED"
	AccessRequest_State_Revoked  = "REVOKED"
	AccessRequest_State_Timedout = "TIMEDOUT"
)

Constants associated with the AccessRequest.State property. The state of the access request.

View Source
const (
	CustomResolver_Health_Critical = "CRITICAL"
	CustomResolver_Health_Degraded = "DEGRADED"
	CustomResolver_Health_Healthy  = "HEALTHY"
)

Constants associated with the CustomResolver.Health property. Healthy state of the custom resolver.

View Source
const (
	Dnszone_State_Active            = "active"
	Dnszone_State_Deleted           = "deleted"
	Dnszone_State_Disabled          = "disabled"
	Dnszone_State_PendingDelete     = "pending_delete"
	Dnszone_State_PendingNetworkAdd = "pending_network_add"
)

Constants associated with the Dnszone.State property. State of DNS zone.

View Source
const (
	ForwardingRule_Type_Default = "default"
	ForwardingRule_Type_Zone    = "zone"
)

Constants associated with the ForwardingRule.Type property. Type of the forwarding rule.

View Source
const (
	LinkedDnszone_State_Active            = "ACTIVE"
	LinkedDnszone_State_ApprovalRejected  = "APPROVAL_REJECTED"
	LinkedDnszone_State_ApprovalRevoked   = "APPROVAL_REVOKED"
	LinkedDnszone_State_ApprovalTimedout  = "APPROVAL_TIMEDOUT"
	LinkedDnszone_State_PendingApproval   = "PENDING_APPROVAL"
	LinkedDnszone_State_PendingNetworkAdd = "PENDING_NETWORK_ADD"
)

Constants associated with the LinkedDnszone.State property. The state of linked zone.

View Source
const (
	LoadBalancer_Health_Critical = "CRITICAL"
	LoadBalancer_Health_Degraded = "DEGRADED"
	LoadBalancer_Health_Healthy  = "HEALTHY"
)

Constants associated with the LoadBalancer.Health property. Healthy state of the load balancer.

View Source
const (
	Monitor_Method_Get  = "GET"
	Monitor_Method_Head = "HEAD"
)

Constants associated with the Monitor.Method property. The method to use for the health check applicable to HTTP/HTTPS based checks, the default value is 'GET'.

View Source
const (
	PermittedNetwork_State_Active            = "ACTIVE"
	PermittedNetwork_State_RemovalInProgress = "REMOVAL_IN_PROGRESS"
)

Constants associated with the PermittedNetwork.State property. The state of a permitted network.

View Source
const (
	Pool_Health_Critical = "CRITICAL"
	Pool_Health_Degraded = "DEGRADED"
	Pool_Health_Healthy  = "HEALTHY"
)

Constants associated with the Pool.Health property. Healthy state of the load balancer pool.

View Source
const (
	Pool_HealthcheckRegion_AuSyd   = "au-syd"
	Pool_HealthcheckRegion_EuDu    = "eu-du"
	Pool_HealthcheckRegion_EuGb    = "eu-gb"
	Pool_HealthcheckRegion_JpTok   = "jp-tok"
	Pool_HealthcheckRegion_UsEast  = "us-east"
	Pool_HealthcheckRegion_UsSouth = "us-south"
)

Constants associated with the Pool.HealthcheckRegion property. Health check region of VSIs.

View Source
const (
	ResourceRecord_Type_A     = "A"
	ResourceRecord_Type_Aaaa  = "AAAA"
	ResourceRecord_Type_Cname = "CNAME"
	ResourceRecord_Type_Mx    = "MX"
	ResourceRecord_Type_Ptr   = "PTR"
	ResourceRecord_Type_Srv   = "SRV"
	ResourceRecord_Type_Txt   = "TXT"
)

Constants associated with the ResourceRecord.Type property. Type of the resource record.

View Source
const (
	CreateForwardingRuleOptions_Type_Zone = "zone"
)

Constants associated with the CreateForwardingRuleOptions.Type property. Type of the forwarding rule.

View Source
const (
	CreateLzPermittedNetworkOptions_Type_Vpc = "vpc"
)

Constants associated with the CreateLzPermittedNetworkOptions.Type property. The type of a permitted network.

View Source
const (
	CreatePermittedNetworkOptions_Type_Vpc = "vpc"
)

Constants associated with the CreatePermittedNetworkOptions.Type property. The type of a permitted network.

View Source
const DefaultServiceName = "dns_svcs"

DefaultServiceName is the default key used to find external configuration information.

View Source
const DefaultServiceURL = "https://api.dns-svcs.cloud.ibm.com/v1"

DefaultServiceURL is the default URL to make service requests to.

View Source
const (
	PermittedNetwork_Type_Vpc = "vpc"
)

Constants associated with the PermittedNetwork.Type property. The type of a permitted network.

Variables

This section is empty.

Functions

func GetServiceURLForRegion added in v0.12.2

func GetServiceURLForRegion(region string) (string, error)

GetServiceURLForRegion returns the service URL to be used for the specified region

func UnmarshalAccessRequest added in v0.31.0

func UnmarshalAccessRequest(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalAccessRequest unmarshals an instance of AccessRequest from the specified map of raw messages.

func UnmarshalAccessRequestRequestor added in v0.31.0

func UnmarshalAccessRequestRequestor(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalAccessRequestRequestor unmarshals an instance of AccessRequestRequestor from the specified map of raw messages.

func UnmarshalAccessRequestsList added in v0.31.0

func UnmarshalAccessRequestsList(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalAccessRequestsList unmarshals an instance of AccessRequestsList from the specified map of raw messages.

func UnmarshalCustomResolver added in v0.19.0

func UnmarshalCustomResolver(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCustomResolver unmarshals an instance of CustomResolver from the specified map of raw messages.

func UnmarshalCustomResolverList added in v0.19.0

func UnmarshalCustomResolverList(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCustomResolverList unmarshals an instance of CustomResolverList from the specified map of raw messages.

func UnmarshalDnszone

func UnmarshalDnszone(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDnszone unmarshals an instance of Dnszone from the specified map of raw messages.

func UnmarshalForwardingRule added in v0.19.0

func UnmarshalForwardingRule(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalForwardingRule unmarshals an instance of ForwardingRule from the specified map of raw messages.

func UnmarshalForwardingRuleList added in v0.19.0

func UnmarshalForwardingRuleList(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalForwardingRuleList unmarshals an instance of ForwardingRuleList from the specified map of raw messages.

func UnmarshalHealthcheckHeader

func UnmarshalHealthcheckHeader(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalHealthcheckHeader unmarshals an instance of HealthcheckHeader from the specified map of raw messages.

func UnmarshalImportResourceRecordsResp added in v0.19.0

func UnmarshalImportResourceRecordsResp(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalImportResourceRecordsResp unmarshals an instance of ImportResourceRecordsResp from the specified map of raw messages.

func UnmarshalLinkedDnszone added in v0.31.0

func UnmarshalLinkedDnszone(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLinkedDnszone unmarshals an instance of LinkedDnszone from the specified map of raw messages.

func UnmarshalLinkedDnszoneLinkedTo added in v0.31.0

func UnmarshalLinkedDnszoneLinkedTo(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLinkedDnszoneLinkedTo unmarshals an instance of LinkedDnszoneLinkedTo from the specified map of raw messages.

func UnmarshalLinkedDnszonesList added in v0.31.0

func UnmarshalLinkedDnszonesList(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLinkedDnszonesList unmarshals an instance of LinkedDnszonesList from the specified map of raw messages.

func UnmarshalListDnszones

func UnmarshalListDnszones(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalListDnszones unmarshals an instance of ListDnszones from the specified map of raw messages.

func UnmarshalListLoadBalancers

func UnmarshalListLoadBalancers(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalListLoadBalancers unmarshals an instance of ListLoadBalancers from the specified map of raw messages.

func UnmarshalListMonitors

func UnmarshalListMonitors(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalListMonitors unmarshals an instance of ListMonitors from the specified map of raw messages.

func UnmarshalListPermittedNetworks

func UnmarshalListPermittedNetworks(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalListPermittedNetworks unmarshals an instance of ListPermittedNetworks from the specified map of raw messages.

func UnmarshalListPools

func UnmarshalListPools(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalListPools unmarshals an instance of ListPools from the specified map of raw messages.

func UnmarshalListResourceRecords

func UnmarshalListResourceRecords(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalListResourceRecords unmarshals an instance of ListResourceRecords from the specified map of raw messages.

func UnmarshalLoadBalancer

func UnmarshalLoadBalancer(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancer unmarshals an instance of LoadBalancer from the specified map of raw messages.

func UnmarshalLoadBalancerAzPoolsItem

func UnmarshalLoadBalancerAzPoolsItem(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLoadBalancerAzPoolsItem unmarshals an instance of LoadBalancerAzPoolsItem from the specified map of raw messages.

func UnmarshalLocation added in v0.19.0

func UnmarshalLocation(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLocation unmarshals an instance of Location from the specified map of raw messages.

func UnmarshalLocationInput added in v0.19.0

func UnmarshalLocationInput(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLocationInput unmarshals an instance of LocationInput from the specified map of raw messages.

func UnmarshalMonitor

func UnmarshalMonitor(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalMonitor unmarshals an instance of Monitor from the specified map of raw messages.

func UnmarshalOrigin

func UnmarshalOrigin(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalOrigin unmarshals an instance of Origin from the specified map of raw messages.

func UnmarshalOriginInput

func UnmarshalOriginInput(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalOriginInput unmarshals an instance of OriginInput from the specified map of raw messages.

func UnmarshalPaginationRef added in v0.31.0

func UnmarshalPaginationRef(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPaginationRef unmarshals an instance of PaginationRef from the specified map of raw messages.

func UnmarshalPermittedNetwork

func UnmarshalPermittedNetwork(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPermittedNetwork unmarshals an instance of PermittedNetwork from the specified map of raw messages.

func UnmarshalPermittedNetworkVpc

func UnmarshalPermittedNetworkVpc(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPermittedNetworkVpc unmarshals an instance of PermittedNetworkVpc from the specified map of raw messages.

func UnmarshalPool

func UnmarshalPool(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPool unmarshals an instance of Pool from the specified map of raw messages.

func UnmarshalPoolHealthcheckVsisItem added in v0.12.2

func UnmarshalPoolHealthcheckVsisItem(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPoolHealthcheckVsisItem unmarshals an instance of PoolHealthcheckVsisItem from the specified map of raw messages.

func UnmarshalRecordStatsByType added in v0.19.0

func UnmarshalRecordStatsByType(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRecordStatsByType unmarshals an instance of RecordStatsByType from the specified map of raw messages.

func UnmarshalRecordsImportErrorModel added in v0.19.0

func UnmarshalRecordsImportErrorModel(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRecordsImportErrorModel unmarshals an instance of RecordsImportErrorModel from the specified map of raw messages.

func UnmarshalRecordsImportErrorModelError added in v0.19.0

func UnmarshalRecordsImportErrorModelError(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRecordsImportErrorModelError unmarshals an instance of RecordsImportErrorModelError from the specified map of raw messages.

func UnmarshalRecordsImportMessageModel added in v0.19.0

func UnmarshalRecordsImportMessageModel(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRecordsImportMessageModel unmarshals an instance of RecordsImportMessageModel from the specified map of raw messages.

func UnmarshalResourceRecord

func UnmarshalResourceRecord(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceRecord unmarshals an instance of ResourceRecord from the specified map of raw messages.

func UnmarshalResourceRecordInputRdata

func UnmarshalResourceRecordInputRdata(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceRecordInputRdata unmarshals an instance of ResourceRecordInputRdata from the specified map of raw messages.

func UnmarshalResourceRecordInputRdataRdataARecord

func UnmarshalResourceRecordInputRdataRdataARecord(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceRecordInputRdataRdataARecord unmarshals an instance of ResourceRecordInputRdataRdataARecord from the specified map of raw messages.

func UnmarshalResourceRecordInputRdataRdataAaaaRecord

func UnmarshalResourceRecordInputRdataRdataAaaaRecord(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceRecordInputRdataRdataAaaaRecord unmarshals an instance of ResourceRecordInputRdataRdataAaaaRecord from the specified map of raw messages.

func UnmarshalResourceRecordInputRdataRdataCnameRecord

func UnmarshalResourceRecordInputRdataRdataCnameRecord(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceRecordInputRdataRdataCnameRecord unmarshals an instance of ResourceRecordInputRdataRdataCnameRecord from the specified map of raw messages.

func UnmarshalResourceRecordInputRdataRdataMxRecord

func UnmarshalResourceRecordInputRdataRdataMxRecord(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceRecordInputRdataRdataMxRecord unmarshals an instance of ResourceRecordInputRdataRdataMxRecord from the specified map of raw messages.

func UnmarshalResourceRecordInputRdataRdataPtrRecord

func UnmarshalResourceRecordInputRdataRdataPtrRecord(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceRecordInputRdataRdataPtrRecord unmarshals an instance of ResourceRecordInputRdataRdataPtrRecord from the specified map of raw messages.

func UnmarshalResourceRecordInputRdataRdataSrvRecord

func UnmarshalResourceRecordInputRdataRdataSrvRecord(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceRecordInputRdataRdataSrvRecord unmarshals an instance of ResourceRecordInputRdataRdataSrvRecord from the specified map of raw messages.

func UnmarshalResourceRecordInputRdataRdataTxtRecord

func UnmarshalResourceRecordInputRdataRdataTxtRecord(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceRecordInputRdataRdataTxtRecord unmarshals an instance of ResourceRecordInputRdataRdataTxtRecord from the specified map of raw messages.

func UnmarshalResourceRecordUpdateInputRdata

func UnmarshalResourceRecordUpdateInputRdata(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceRecordUpdateInputRdata unmarshals an instance of ResourceRecordUpdateInputRdata from the specified map of raw messages.

func UnmarshalResourceRecordUpdateInputRdataRdataARecord

func UnmarshalResourceRecordUpdateInputRdataRdataARecord(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceRecordUpdateInputRdataRdataARecord unmarshals an instance of ResourceRecordUpdateInputRdataRdataARecord from the specified map of raw messages.

func UnmarshalResourceRecordUpdateInputRdataRdataAaaaRecord

func UnmarshalResourceRecordUpdateInputRdataRdataAaaaRecord(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceRecordUpdateInputRdataRdataAaaaRecord unmarshals an instance of ResourceRecordUpdateInputRdataRdataAaaaRecord from the specified map of raw messages.

func UnmarshalResourceRecordUpdateInputRdataRdataCnameRecord

func UnmarshalResourceRecordUpdateInputRdataRdataCnameRecord(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceRecordUpdateInputRdataRdataCnameRecord unmarshals an instance of ResourceRecordUpdateInputRdataRdataCnameRecord from the specified map of raw messages.

func UnmarshalResourceRecordUpdateInputRdataRdataMxRecord

func UnmarshalResourceRecordUpdateInputRdataRdataMxRecord(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceRecordUpdateInputRdataRdataMxRecord unmarshals an instance of ResourceRecordUpdateInputRdataRdataMxRecord from the specified map of raw messages.

func UnmarshalResourceRecordUpdateInputRdataRdataPtrRecord

func UnmarshalResourceRecordUpdateInputRdataRdataPtrRecord(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceRecordUpdateInputRdataRdataPtrRecord unmarshals an instance of ResourceRecordUpdateInputRdataRdataPtrRecord from the specified map of raw messages.

func UnmarshalResourceRecordUpdateInputRdataRdataSrvRecord

func UnmarshalResourceRecordUpdateInputRdataRdataSrvRecord(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceRecordUpdateInputRdataRdataSrvRecord unmarshals an instance of ResourceRecordUpdateInputRdataRdataSrvRecord from the specified map of raw messages.

func UnmarshalResourceRecordUpdateInputRdataRdataTxtRecord

func UnmarshalResourceRecordUpdateInputRdataRdataTxtRecord(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceRecordUpdateInputRdataRdataTxtRecord unmarshals an instance of ResourceRecordUpdateInputRdataRdataTxtRecord from the specified map of raw messages.

func UnmarshalSecondaryZone added in v0.31.0

func UnmarshalSecondaryZone(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecondaryZone unmarshals an instance of SecondaryZone from the specified map of raw messages.

func UnmarshalSecondaryZoneList added in v0.31.0

func UnmarshalSecondaryZoneList(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSecondaryZoneList unmarshals an instance of SecondaryZoneList from the specified map of raw messages.

Types

type AccessRequest added in v0.31.0

type AccessRequest struct {
	// Access request ID.
	ID *string `json:"id" validate:"required"`

	// The information of requestor.
	Requestor *AccessRequestRequestor `json:"requestor" validate:"required"`

	// The zone ID that requestor requests access for.
	ZoneID *string `json:"zone_id" validate:"required"`

	// The zone name that requestor requests access for.
	ZoneName *string `json:"zone_name" validate:"required"`

	// The state of the access request.
	State *string `json:"state" validate:"required"`

	// The expired time of access request with state `pending`.
	PendingExpiresAt *strfmt.DateTime `json:"pending_expires_at,omitempty"`

	// The time when the linked zone is created.
	CreatedOn *strfmt.DateTime `json:"created_on,omitempty"`

	// The recent time when the linked zone is modified.
	ModifiedOn *strfmt.DateTime `json:"modified_on,omitempty"`
}

AccessRequest : Access request.

type AccessRequestRequestor added in v0.31.0

type AccessRequestRequestor struct {
	// The account ID of requestor.
	AccountID *string `json:"account_id,omitempty"`

	// The requestor's DNS service instance ID.
	InstanceID *string `json:"instance_id,omitempty"`

	// The requestor's linked zone ID.
	LinkedZoneID *string `json:"linked_zone_id,omitempty"`
}

AccessRequestRequestor : The information of requestor.

type AccessRequestsList added in v0.31.0

type AccessRequestsList struct {
	// The list of access requests.
	AccessRequests []AccessRequest `json:"access_requests" validate:"required"`

	// The number of resources to skip over.
	Offset *int64 `json:"offset" validate:"required"`

	// The maximum number of resources might be returned.
	Limit *int64 `json:"limit" validate:"required"`

	// The number of resources are returned.
	Count *int64 `json:"count" validate:"required"`

	// Total number of resources.
	TotalCount *int64 `json:"total_count" validate:"required"`

	// href.
	First *PaginationRef `json:"first,omitempty"`

	// href.
	Last *PaginationRef `json:"last,omitempty"`

	// href.
	Previous *PaginationRef `json:"previous,omitempty"`

	// href.
	Next *PaginationRef `json:"next,omitempty"`
}

AccessRequestsList : The list of access requests.

func (*AccessRequestsList) GetNextOffset added in v0.31.0

func (resp *AccessRequestsList) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

type AddCustomResolverLocationOptions added in v0.19.0

type AddCustomResolverLocationOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a custom resolver.
	ResolverID *string `json:"resolver_id" validate:"required,ne="`

	// Custom resolver location, subnet CRN.
	SubnetCrn *string `json:"subnet_crn,omitempty"`

	// Enable/Disable custom resolver location.
	Enabled *bool `json:"enabled,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

AddCustomResolverLocationOptions : The AddCustomResolverLocation options.

func (*AddCustomResolverLocationOptions) SetEnabled added in v0.19.0

SetEnabled : Allow user to set Enabled

func (*AddCustomResolverLocationOptions) SetHeaders added in v0.19.0

SetHeaders : Allow user to set Headers

func (*AddCustomResolverLocationOptions) SetInstanceID added in v0.19.0

func (_options *AddCustomResolverLocationOptions) SetInstanceID(instanceID string) *AddCustomResolverLocationOptions

SetInstanceID : Allow user to set InstanceID

func (*AddCustomResolverLocationOptions) SetResolverID added in v0.19.0

func (_options *AddCustomResolverLocationOptions) SetResolverID(resolverID string) *AddCustomResolverLocationOptions

SetResolverID : Allow user to set ResolverID

func (*AddCustomResolverLocationOptions) SetSubnetCrn added in v0.19.0

SetSubnetCrn : Allow user to set SubnetCrn

func (*AddCustomResolverLocationOptions) SetXCorrelationID added in v0.19.0

func (_options *AddCustomResolverLocationOptions) SetXCorrelationID(xCorrelationID string) *AddCustomResolverLocationOptions

SetXCorrelationID : Allow user to set XCorrelationID

type CreateCustomResolverOptions added in v0.19.0

type CreateCustomResolverOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Name of the custom resolver.
	Name *string `json:"name,omitempty"`

	// Descriptive text of the custom resolver.
	Description *string `json:"description,omitempty"`

	// Locations on which the custom resolver will be running.
	Locations []LocationInput `json:"locations,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateCustomResolverOptions : The CreateCustomResolver options.

func (*CreateCustomResolverOptions) SetDescription added in v0.19.0

func (_options *CreateCustomResolverOptions) SetDescription(description string) *CreateCustomResolverOptions

SetDescription : Allow user to set Description

func (*CreateCustomResolverOptions) SetHeaders added in v0.19.0

func (options *CreateCustomResolverOptions) SetHeaders(param map[string]string) *CreateCustomResolverOptions

SetHeaders : Allow user to set Headers

func (*CreateCustomResolverOptions) SetInstanceID added in v0.19.0

func (_options *CreateCustomResolverOptions) SetInstanceID(instanceID string) *CreateCustomResolverOptions

SetInstanceID : Allow user to set InstanceID

func (*CreateCustomResolverOptions) SetLocations added in v0.19.0

func (_options *CreateCustomResolverOptions) SetLocations(locations []LocationInput) *CreateCustomResolverOptions

SetLocations : Allow user to set Locations

func (*CreateCustomResolverOptions) SetName added in v0.19.0

SetName : Allow user to set Name

func (*CreateCustomResolverOptions) SetXCorrelationID added in v0.19.0

func (_options *CreateCustomResolverOptions) SetXCorrelationID(xCorrelationID string) *CreateCustomResolverOptions

SetXCorrelationID : Allow user to set XCorrelationID

type CreateDnszoneOptions

type CreateDnszoneOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Name of DNS zone.
	Name *string `json:"name,omitempty"`

	// The text describing the purpose of a DNS zone.
	Description *string `json:"description,omitempty"`

	// The label of a DNS zone.
	Label *string `json:"label,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateDnszoneOptions : The CreateDnszone options.

func (*CreateDnszoneOptions) SetDescription

func (_options *CreateDnszoneOptions) SetDescription(description string) *CreateDnszoneOptions

SetDescription : Allow user to set Description

func (*CreateDnszoneOptions) SetHeaders

func (options *CreateDnszoneOptions) SetHeaders(param map[string]string) *CreateDnszoneOptions

SetHeaders : Allow user to set Headers

func (*CreateDnszoneOptions) SetInstanceID

func (_options *CreateDnszoneOptions) SetInstanceID(instanceID string) *CreateDnszoneOptions

SetInstanceID : Allow user to set InstanceID

func (*CreateDnszoneOptions) SetLabel

func (_options *CreateDnszoneOptions) SetLabel(label string) *CreateDnszoneOptions

SetLabel : Allow user to set Label

func (*CreateDnszoneOptions) SetName

func (_options *CreateDnszoneOptions) SetName(name string) *CreateDnszoneOptions

SetName : Allow user to set Name

func (*CreateDnszoneOptions) SetXCorrelationID

func (_options *CreateDnszoneOptions) SetXCorrelationID(xCorrelationID string) *CreateDnszoneOptions

SetXCorrelationID : Allow user to set XCorrelationID

type CreateForwardingRuleOptions added in v0.19.0

type CreateForwardingRuleOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a custom resolver.
	ResolverID *string `json:"resolver_id" validate:"required,ne="`

	// Descriptive text of the forwarding rule.
	Description *string `json:"description,omitempty"`

	// Type of the forwarding rule.
	Type *string `json:"type,omitempty"`

	// The matching zone or hostname.
	Match *string `json:"match,omitempty"`

	// The upstream DNS servers will be forwarded to.
	ForwardTo []string `json:"forward_to,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateForwardingRuleOptions : The CreateForwardingRule options.

func (*CreateForwardingRuleOptions) SetDescription added in v0.19.0

func (_options *CreateForwardingRuleOptions) SetDescription(description string) *CreateForwardingRuleOptions

SetDescription : Allow user to set Description

func (*CreateForwardingRuleOptions) SetForwardTo added in v0.19.0

func (_options *CreateForwardingRuleOptions) SetForwardTo(forwardTo []string) *CreateForwardingRuleOptions

SetForwardTo : Allow user to set ForwardTo

func (*CreateForwardingRuleOptions) SetHeaders added in v0.19.0

func (options *CreateForwardingRuleOptions) SetHeaders(param map[string]string) *CreateForwardingRuleOptions

SetHeaders : Allow user to set Headers

func (*CreateForwardingRuleOptions) SetInstanceID added in v0.19.0

func (_options *CreateForwardingRuleOptions) SetInstanceID(instanceID string) *CreateForwardingRuleOptions

SetInstanceID : Allow user to set InstanceID

func (*CreateForwardingRuleOptions) SetMatch added in v0.19.0

SetMatch : Allow user to set Match

func (*CreateForwardingRuleOptions) SetResolverID added in v0.19.0

func (_options *CreateForwardingRuleOptions) SetResolverID(resolverID string) *CreateForwardingRuleOptions

SetResolverID : Allow user to set ResolverID

func (*CreateForwardingRuleOptions) SetType added in v0.19.0

SetType : Allow user to set Type

func (*CreateForwardingRuleOptions) SetXCorrelationID added in v0.19.0

func (_options *CreateForwardingRuleOptions) SetXCorrelationID(xCorrelationID string) *CreateForwardingRuleOptions

SetXCorrelationID : Allow user to set XCorrelationID

type CreateLinkedZoneOptions added in v0.31.0

type CreateLinkedZoneOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Owner's instance ID.
	OwnerInstanceID *string `json:"owner_instance_id,omitempty"`

	// Owner's DNS zone ID.
	OwnerZoneID *string `json:"owner_zone_id,omitempty"`

	// Descriptive text of the linked zone.
	Description *string `json:"description,omitempty"`

	// The label of linked zone.
	Label *string `json:"label,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateLinkedZoneOptions : The CreateLinkedZone options.

func (*CreateLinkedZoneOptions) SetDescription added in v0.31.0

func (_options *CreateLinkedZoneOptions) SetDescription(description string) *CreateLinkedZoneOptions

SetDescription : Allow user to set Description

func (*CreateLinkedZoneOptions) SetHeaders added in v0.31.0

func (options *CreateLinkedZoneOptions) SetHeaders(param map[string]string) *CreateLinkedZoneOptions

SetHeaders : Allow user to set Headers

func (*CreateLinkedZoneOptions) SetInstanceID added in v0.31.0

func (_options *CreateLinkedZoneOptions) SetInstanceID(instanceID string) *CreateLinkedZoneOptions

SetInstanceID : Allow user to set InstanceID

func (*CreateLinkedZoneOptions) SetLabel added in v0.31.0

func (_options *CreateLinkedZoneOptions) SetLabel(label string) *CreateLinkedZoneOptions

SetLabel : Allow user to set Label

func (*CreateLinkedZoneOptions) SetOwnerInstanceID added in v0.31.0

func (_options *CreateLinkedZoneOptions) SetOwnerInstanceID(ownerInstanceID string) *CreateLinkedZoneOptions

SetOwnerInstanceID : Allow user to set OwnerInstanceID

func (*CreateLinkedZoneOptions) SetOwnerZoneID added in v0.31.0

func (_options *CreateLinkedZoneOptions) SetOwnerZoneID(ownerZoneID string) *CreateLinkedZoneOptions

SetOwnerZoneID : Allow user to set OwnerZoneID

func (*CreateLinkedZoneOptions) SetXCorrelationID added in v0.31.0

func (_options *CreateLinkedZoneOptions) SetXCorrelationID(xCorrelationID string) *CreateLinkedZoneOptions

SetXCorrelationID : Allow user to set XCorrelationID

type CreateLoadBalancerOptions

type CreateLoadBalancerOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// Name of the load balancer.
	Name *string `json:"name,omitempty"`

	// Descriptive text of the load balancer.
	Description *string `json:"description,omitempty"`

	// Whether the load balancer is enabled.
	Enabled *bool `json:"enabled,omitempty"`

	// Time to live in second.
	TTL *int64 `json:"ttl,omitempty"`

	// The pool ID to use when all other pools are detected as unhealthy.
	FallbackPool *string `json:"fallback_pool,omitempty"`

	// A list of pool IDs ordered by their failover priority. Pools defined here are used by default, or when region_pools
	// are not configured for a given region.
	DefaultPools []string `json:"default_pools,omitempty"`

	// Map availability zones to pool IDs.
	AzPools []LoadBalancerAzPoolsItem `json:"az_pools,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateLoadBalancerOptions : The CreateLoadBalancer options.

func (*CreateLoadBalancerOptions) SetAzPools

SetAzPools : Allow user to set AzPools

func (*CreateLoadBalancerOptions) SetDefaultPools

func (_options *CreateLoadBalancerOptions) SetDefaultPools(defaultPools []string) *CreateLoadBalancerOptions

SetDefaultPools : Allow user to set DefaultPools

func (*CreateLoadBalancerOptions) SetDescription

func (_options *CreateLoadBalancerOptions) SetDescription(description string) *CreateLoadBalancerOptions

SetDescription : Allow user to set Description

func (*CreateLoadBalancerOptions) SetDnszoneID

func (_options *CreateLoadBalancerOptions) SetDnszoneID(dnszoneID string) *CreateLoadBalancerOptions

SetDnszoneID : Allow user to set DnszoneID

func (*CreateLoadBalancerOptions) SetEnabled

func (_options *CreateLoadBalancerOptions) SetEnabled(enabled bool) *CreateLoadBalancerOptions

SetEnabled : Allow user to set Enabled

func (*CreateLoadBalancerOptions) SetFallbackPool

func (_options *CreateLoadBalancerOptions) SetFallbackPool(fallbackPool string) *CreateLoadBalancerOptions

SetFallbackPool : Allow user to set FallbackPool

func (*CreateLoadBalancerOptions) SetHeaders

func (options *CreateLoadBalancerOptions) SetHeaders(param map[string]string) *CreateLoadBalancerOptions

SetHeaders : Allow user to set Headers

func (*CreateLoadBalancerOptions) SetInstanceID

func (_options *CreateLoadBalancerOptions) SetInstanceID(instanceID string) *CreateLoadBalancerOptions

SetInstanceID : Allow user to set InstanceID

func (*CreateLoadBalancerOptions) SetName

SetName : Allow user to set Name

func (*CreateLoadBalancerOptions) SetTTL

SetTTL : Allow user to set TTL

func (*CreateLoadBalancerOptions) SetXCorrelationID

func (_options *CreateLoadBalancerOptions) SetXCorrelationID(xCorrelationID string) *CreateLoadBalancerOptions

SetXCorrelationID : Allow user to set XCorrelationID

type CreateLzPermittedNetworkOptions added in v0.31.0

type CreateLzPermittedNetworkOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a linked zone.
	LinkedDnszoneID *string `json:"linked_dnszone_id" validate:"required,ne="`

	// The type of a permitted network.
	Type *string `json:"type,omitempty"`

	// Permitted network data for VPC.
	PermittedNetwork *PermittedNetworkVpc `json:"permitted_network,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateLzPermittedNetworkOptions : The CreateLzPermittedNetwork options.

func (*CreateLzPermittedNetworkOptions) SetHeaders added in v0.31.0

SetHeaders : Allow user to set Headers

func (*CreateLzPermittedNetworkOptions) SetInstanceID added in v0.31.0

func (_options *CreateLzPermittedNetworkOptions) SetInstanceID(instanceID string) *CreateLzPermittedNetworkOptions

SetInstanceID : Allow user to set InstanceID

func (*CreateLzPermittedNetworkOptions) SetLinkedDnszoneID added in v0.31.0

func (_options *CreateLzPermittedNetworkOptions) SetLinkedDnszoneID(linkedDnszoneID string) *CreateLzPermittedNetworkOptions

SetLinkedDnszoneID : Allow user to set LinkedDnszoneID

func (*CreateLzPermittedNetworkOptions) SetPermittedNetwork added in v0.31.0

func (_options *CreateLzPermittedNetworkOptions) SetPermittedNetwork(permittedNetwork *PermittedNetworkVpc) *CreateLzPermittedNetworkOptions

SetPermittedNetwork : Allow user to set PermittedNetwork

func (*CreateLzPermittedNetworkOptions) SetType added in v0.31.0

SetType : Allow user to set Type

func (*CreateLzPermittedNetworkOptions) SetXCorrelationID added in v0.31.0

func (_options *CreateLzPermittedNetworkOptions) SetXCorrelationID(xCorrelationID string) *CreateLzPermittedNetworkOptions

SetXCorrelationID : Allow user to set XCorrelationID

type CreateMonitorOptions

type CreateMonitorOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The name of the load balancer monitor.
	Name *string `json:"name,omitempty"`

	// Descriptive text of the load balancer monitor.
	Description *string `json:"description,omitempty"`

	// The protocol to use for the health check. Currently supported protocols are 'HTTP','HTTPS' and 'TCP'.
	Type *string `json:"type,omitempty"`

	// Port number to connect to for the health check. Required for TCP checks. HTTP and HTTPS checks should only define
	// the port when using a non-standard port (HTTP: default 80, HTTPS: default 443).
	Port *int64 `json:"port,omitempty"`

	// The interval between each health check. Shorter intervals may improve failover time, but will increase load on the
	// origins as we check from multiple locations.
	Interval *int64 `json:"interval,omitempty"`

	// The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted
	// immediately.
	Retries *int64 `json:"retries,omitempty"`

	// The timeout (in seconds) before marking the health check as failed.
	Timeout *int64 `json:"timeout,omitempty"`

	// The method to use for the health check applicable to HTTP/HTTPS based checks, the default value is 'GET'.
	Method *string `json:"method,omitempty"`

	// The endpoint path to health check against. This parameter is only valid for HTTP and HTTPS monitors.
	Path *string `json:"path,omitempty"`

	// The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The
	// User-Agent header cannot be overridden. This parameter is only valid for HTTP and HTTPS monitors.
	HeadersVar []HealthcheckHeader `json:"headers,omitempty"`

	// Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTPS monitors.
	AllowInsecure *bool `json:"allow_insecure,omitempty"`

	// The expected HTTP response code or code range of the health check. This parameter is only valid for HTTP and HTTPS
	// monitors.
	ExpectedCodes *string `json:"expected_codes,omitempty"`

	// A case-insensitive sub-string to look for in the response body. If this string is not found, the origin will be
	// marked as unhealthy. This parameter is only valid for HTTP and HTTPS monitors.
	ExpectedBody *string `json:"expected_body,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateMonitorOptions : The CreateMonitor options.

func (*CreateMonitorOptions) SetAllowInsecure

func (_options *CreateMonitorOptions) SetAllowInsecure(allowInsecure bool) *CreateMonitorOptions

SetAllowInsecure : Allow user to set AllowInsecure

func (*CreateMonitorOptions) SetDescription

func (_options *CreateMonitorOptions) SetDescription(description string) *CreateMonitorOptions

SetDescription : Allow user to set Description

func (*CreateMonitorOptions) SetExpectedBody

func (_options *CreateMonitorOptions) SetExpectedBody(expectedBody string) *CreateMonitorOptions

SetExpectedBody : Allow user to set ExpectedBody

func (*CreateMonitorOptions) SetExpectedCodes

func (_options *CreateMonitorOptions) SetExpectedCodes(expectedCodes string) *CreateMonitorOptions

SetExpectedCodes : Allow user to set ExpectedCodes

func (*CreateMonitorOptions) SetHeaders

func (options *CreateMonitorOptions) SetHeaders(param map[string]string) *CreateMonitorOptions

SetHeaders : Allow user to set Headers

func (*CreateMonitorOptions) SetHeadersVar

func (_options *CreateMonitorOptions) SetHeadersVar(headersVar []HealthcheckHeader) *CreateMonitorOptions

SetHeadersVar : Allow user to set HeadersVar

func (*CreateMonitorOptions) SetInstanceID

func (_options *CreateMonitorOptions) SetInstanceID(instanceID string) *CreateMonitorOptions

SetInstanceID : Allow user to set InstanceID

func (*CreateMonitorOptions) SetInterval

func (_options *CreateMonitorOptions) SetInterval(interval int64) *CreateMonitorOptions

SetInterval : Allow user to set Interval

func (*CreateMonitorOptions) SetMethod

func (_options *CreateMonitorOptions) SetMethod(method string) *CreateMonitorOptions

SetMethod : Allow user to set Method

func (*CreateMonitorOptions) SetName

func (_options *CreateMonitorOptions) SetName(name string) *CreateMonitorOptions

SetName : Allow user to set Name

func (*CreateMonitorOptions) SetPath

func (_options *CreateMonitorOptions) SetPath(path string) *CreateMonitorOptions

SetPath : Allow user to set Path

func (*CreateMonitorOptions) SetPort

func (_options *CreateMonitorOptions) SetPort(port int64) *CreateMonitorOptions

SetPort : Allow user to set Port

func (*CreateMonitorOptions) SetRetries

func (_options *CreateMonitorOptions) SetRetries(retries int64) *CreateMonitorOptions

SetRetries : Allow user to set Retries

func (*CreateMonitorOptions) SetTimeout

func (_options *CreateMonitorOptions) SetTimeout(timeout int64) *CreateMonitorOptions

SetTimeout : Allow user to set Timeout

func (*CreateMonitorOptions) SetType

func (_options *CreateMonitorOptions) SetType(typeVar string) *CreateMonitorOptions

SetType : Allow user to set Type

func (*CreateMonitorOptions) SetXCorrelationID

func (_options *CreateMonitorOptions) SetXCorrelationID(xCorrelationID string) *CreateMonitorOptions

SetXCorrelationID : Allow user to set XCorrelationID

type CreatePermittedNetworkOptions

type CreatePermittedNetworkOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// The type of a permitted network.
	Type *string `json:"type,omitempty"`

	// Permitted network data for VPC.
	PermittedNetwork *PermittedNetworkVpc `json:"permitted_network,omitempty"`

	// The account identifiers of the owner zone and linked zones in the format of "?account=account1,account2,account3".
	// Maximum 5 accounts are allowed.
	Accounts *string `json:"accounts,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreatePermittedNetworkOptions : The CreatePermittedNetwork options.

func (*CreatePermittedNetworkOptions) SetAccounts added in v0.41.0

func (_options *CreatePermittedNetworkOptions) SetAccounts(accounts string) *CreatePermittedNetworkOptions

SetAccounts : Allow user to set Accounts

func (*CreatePermittedNetworkOptions) SetDnszoneID

func (_options *CreatePermittedNetworkOptions) SetDnszoneID(dnszoneID string) *CreatePermittedNetworkOptions

SetDnszoneID : Allow user to set DnszoneID

func (*CreatePermittedNetworkOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreatePermittedNetworkOptions) SetInstanceID

func (_options *CreatePermittedNetworkOptions) SetInstanceID(instanceID string) *CreatePermittedNetworkOptions

SetInstanceID : Allow user to set InstanceID

func (*CreatePermittedNetworkOptions) SetPermittedNetwork

func (_options *CreatePermittedNetworkOptions) SetPermittedNetwork(permittedNetwork *PermittedNetworkVpc) *CreatePermittedNetworkOptions

SetPermittedNetwork : Allow user to set PermittedNetwork

func (*CreatePermittedNetworkOptions) SetType

SetType : Allow user to set Type

func (*CreatePermittedNetworkOptions) SetXCorrelationID

func (_options *CreatePermittedNetworkOptions) SetXCorrelationID(xCorrelationID string) *CreatePermittedNetworkOptions

SetXCorrelationID : Allow user to set XCorrelationID

type CreatePoolOptions

type CreatePoolOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Name of the load balancer pool.
	Name *string `json:"name,omitempty"`

	// Descriptive text of the load balancer pool.
	Description *string `json:"description,omitempty"`

	// Whether the load balancer pool is enabled.
	Enabled *bool `json:"enabled,omitempty"`

	// The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins
	// falls below this number, the pool will be marked unhealthy and we will failover to the next available pool.
	HealthyOriginsThreshold *int64 `json:"healthy_origins_threshold,omitempty"`

	// The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy
	// origins, provided the pool itself is healthy.
	Origins []OriginInput `json:"origins,omitempty"`

	// The ID of the load balancer monitor to be associated to this pool.
	Monitor *string `json:"monitor,omitempty"`

	// The notification channel.
	NotificationChannel *string `json:"notification_channel,omitempty"`

	// Health check region of VSIs.
	HealthcheckRegion *string `json:"healthcheck_region,omitempty"`

	// Health check subnet CRN.
	HealthcheckSubnets []string `json:"healthcheck_subnets,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreatePoolOptions : The CreatePool options.

func (*CreatePoolOptions) SetDescription

func (_options *CreatePoolOptions) SetDescription(description string) *CreatePoolOptions

SetDescription : Allow user to set Description

func (*CreatePoolOptions) SetEnabled

func (_options *CreatePoolOptions) SetEnabled(enabled bool) *CreatePoolOptions

SetEnabled : Allow user to set Enabled

func (*CreatePoolOptions) SetHeaders

func (options *CreatePoolOptions) SetHeaders(param map[string]string) *CreatePoolOptions

SetHeaders : Allow user to set Headers

func (*CreatePoolOptions) SetHealthcheckRegion

func (_options *CreatePoolOptions) SetHealthcheckRegion(healthcheckRegion string) *CreatePoolOptions

SetHealthcheckRegion : Allow user to set HealthcheckRegion

func (*CreatePoolOptions) SetHealthcheckSubnets

func (_options *CreatePoolOptions) SetHealthcheckSubnets(healthcheckSubnets []string) *CreatePoolOptions

SetHealthcheckSubnets : Allow user to set HealthcheckSubnets

func (*CreatePoolOptions) SetHealthyOriginsThreshold

func (_options *CreatePoolOptions) SetHealthyOriginsThreshold(healthyOriginsThreshold int64) *CreatePoolOptions

SetHealthyOriginsThreshold : Allow user to set HealthyOriginsThreshold

func (*CreatePoolOptions) SetInstanceID

func (_options *CreatePoolOptions) SetInstanceID(instanceID string) *CreatePoolOptions

SetInstanceID : Allow user to set InstanceID

func (*CreatePoolOptions) SetMonitor

func (_options *CreatePoolOptions) SetMonitor(monitor string) *CreatePoolOptions

SetMonitor : Allow user to set Monitor

func (*CreatePoolOptions) SetName

func (_options *CreatePoolOptions) SetName(name string) *CreatePoolOptions

SetName : Allow user to set Name

func (*CreatePoolOptions) SetNotificationChannel

func (_options *CreatePoolOptions) SetNotificationChannel(notificationChannel string) *CreatePoolOptions

SetNotificationChannel : Allow user to set NotificationChannel

func (*CreatePoolOptions) SetOrigins

func (_options *CreatePoolOptions) SetOrigins(origins []OriginInput) *CreatePoolOptions

SetOrigins : Allow user to set Origins

func (*CreatePoolOptions) SetXCorrelationID

func (_options *CreatePoolOptions) SetXCorrelationID(xCorrelationID string) *CreatePoolOptions

SetXCorrelationID : Allow user to set XCorrelationID

type CreateResourceRecordOptions

type CreateResourceRecordOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// Name of the resource record.
	Name *string `json:"name,omitempty"`

	// Type of the resource record.
	Type *string `json:"type,omitempty"`

	// Content of the resource record.
	Rdata ResourceRecordInputRdataIntf `json:"rdata,omitempty"`

	// Time to live in second.
	TTL *int64 `json:"ttl,omitempty"`

	// Only used for SRV record.
	Service *string `json:"service,omitempty"`

	// Only used for SRV record.
	Protocol *string `json:"protocol,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateResourceRecordOptions : The CreateResourceRecord options.

func (*CreateResourceRecordOptions) SetDnszoneID

func (_options *CreateResourceRecordOptions) SetDnszoneID(dnszoneID string) *CreateResourceRecordOptions

SetDnszoneID : Allow user to set DnszoneID

func (*CreateResourceRecordOptions) SetHeaders

func (options *CreateResourceRecordOptions) SetHeaders(param map[string]string) *CreateResourceRecordOptions

SetHeaders : Allow user to set Headers

func (*CreateResourceRecordOptions) SetInstanceID

func (_options *CreateResourceRecordOptions) SetInstanceID(instanceID string) *CreateResourceRecordOptions

SetInstanceID : Allow user to set InstanceID

func (*CreateResourceRecordOptions) SetName

SetName : Allow user to set Name

func (*CreateResourceRecordOptions) SetProtocol

func (_options *CreateResourceRecordOptions) SetProtocol(protocol string) *CreateResourceRecordOptions

SetProtocol : Allow user to set Protocol

func (*CreateResourceRecordOptions) SetRdata

SetRdata : Allow user to set Rdata

func (*CreateResourceRecordOptions) SetService

func (_options *CreateResourceRecordOptions) SetService(service string) *CreateResourceRecordOptions

SetService : Allow user to set Service

func (*CreateResourceRecordOptions) SetTTL

SetTTL : Allow user to set TTL

func (*CreateResourceRecordOptions) SetType

SetType : Allow user to set Type

func (*CreateResourceRecordOptions) SetXCorrelationID

func (_options *CreateResourceRecordOptions) SetXCorrelationID(xCorrelationID string) *CreateResourceRecordOptions

SetXCorrelationID : Allow user to set XCorrelationID

type CreateSecondaryZoneOptions added in v0.31.0

type CreateSecondaryZoneOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a custom resolver.
	ResolverID *string `json:"resolver_id" validate:"required,ne="`

	// Descriptive text of the secondary zone.
	Description *string `json:"description,omitempty"`

	// zone name.
	Zone *string `json:"zone,omitempty"`

	// Enable/Disable the secondary zone.
	Enabled *bool `json:"enabled,omitempty"`

	// The addresses of DNS servers where the secondary zone data should be transferred from.
	TransferFrom []string `json:"transfer_from,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateSecondaryZoneOptions : The CreateSecondaryZone options.

func (*CreateSecondaryZoneOptions) SetDescription added in v0.31.0

func (_options *CreateSecondaryZoneOptions) SetDescription(description string) *CreateSecondaryZoneOptions

SetDescription : Allow user to set Description

func (*CreateSecondaryZoneOptions) SetEnabled added in v0.31.0

func (_options *CreateSecondaryZoneOptions) SetEnabled(enabled bool) *CreateSecondaryZoneOptions

SetEnabled : Allow user to set Enabled

func (*CreateSecondaryZoneOptions) SetHeaders added in v0.31.0

func (options *CreateSecondaryZoneOptions) SetHeaders(param map[string]string) *CreateSecondaryZoneOptions

SetHeaders : Allow user to set Headers

func (*CreateSecondaryZoneOptions) SetInstanceID added in v0.31.0

func (_options *CreateSecondaryZoneOptions) SetInstanceID(instanceID string) *CreateSecondaryZoneOptions

SetInstanceID : Allow user to set InstanceID

func (*CreateSecondaryZoneOptions) SetResolverID added in v0.31.0

func (_options *CreateSecondaryZoneOptions) SetResolverID(resolverID string) *CreateSecondaryZoneOptions

SetResolverID : Allow user to set ResolverID

func (*CreateSecondaryZoneOptions) SetTransferFrom added in v0.31.0

func (_options *CreateSecondaryZoneOptions) SetTransferFrom(transferFrom []string) *CreateSecondaryZoneOptions

SetTransferFrom : Allow user to set TransferFrom

func (*CreateSecondaryZoneOptions) SetXCorrelationID added in v0.31.0

func (_options *CreateSecondaryZoneOptions) SetXCorrelationID(xCorrelationID string) *CreateSecondaryZoneOptions

SetXCorrelationID : Allow user to set XCorrelationID

func (*CreateSecondaryZoneOptions) SetZone added in v0.31.0

SetZone : Allow user to set Zone

type CustomResolver added in v0.19.0

type CustomResolver struct {
	// Identifier of the custom resolver.
	ID *string `json:"id,omitempty"`

	// Name of the custom resolver.
	Name *string `json:"name,omitempty"`

	// Descriptive text of the custom resolver.
	Description *string `json:"description,omitempty"`

	// Whether the custom resolver is enabled.
	Enabled *bool `json:"enabled,omitempty"`

	// Healthy state of the custom resolver.
	Health *string `json:"health,omitempty"`

	// Locations on which the custom resolver will be running.
	Locations []Location `json:"locations,omitempty"`

	// the time when a custom resolver is created, RFC3339 format.
	CreatedOn *strfmt.DateTime `json:"created_on,omitempty"`

	// the recent time when a custom resolver is modified, RFC3339 format.
	ModifiedOn *strfmt.DateTime `json:"modified_on,omitempty"`
}

CustomResolver : custom resolver details.

type CustomResolverList added in v0.19.0

type CustomResolverList struct {
	// An array of custom resolvers.
	CustomResolvers []CustomResolver `json:"custom_resolvers,omitempty"`
}

CustomResolverList : List custom resolvers response.

type DeleteCustomResolverLocationOptions added in v0.19.0

type DeleteCustomResolverLocationOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a custom resolver.
	ResolverID *string `json:"resolver_id" validate:"required,ne="`

	// Custom resolver location ID.
	LocationID *string `json:"location_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteCustomResolverLocationOptions : The DeleteCustomResolverLocation options.

func (*DeleteCustomResolverLocationOptions) SetHeaders added in v0.19.0

SetHeaders : Allow user to set Headers

func (*DeleteCustomResolverLocationOptions) SetInstanceID added in v0.19.0

SetInstanceID : Allow user to set InstanceID

func (*DeleteCustomResolverLocationOptions) SetLocationID added in v0.19.0

SetLocationID : Allow user to set LocationID

func (*DeleteCustomResolverLocationOptions) SetResolverID added in v0.19.0

SetResolverID : Allow user to set ResolverID

func (*DeleteCustomResolverLocationOptions) SetXCorrelationID added in v0.19.0

func (_options *DeleteCustomResolverLocationOptions) SetXCorrelationID(xCorrelationID string) *DeleteCustomResolverLocationOptions

SetXCorrelationID : Allow user to set XCorrelationID

type DeleteCustomResolverOptions added in v0.19.0

type DeleteCustomResolverOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a custom resolver.
	ResolverID *string `json:"resolver_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteCustomResolverOptions : The DeleteCustomResolver options.

func (*DeleteCustomResolverOptions) SetHeaders added in v0.19.0

func (options *DeleteCustomResolverOptions) SetHeaders(param map[string]string) *DeleteCustomResolverOptions

SetHeaders : Allow user to set Headers

func (*DeleteCustomResolverOptions) SetInstanceID added in v0.19.0

func (_options *DeleteCustomResolverOptions) SetInstanceID(instanceID string) *DeleteCustomResolverOptions

SetInstanceID : Allow user to set InstanceID

func (*DeleteCustomResolverOptions) SetResolverID added in v0.19.0

func (_options *DeleteCustomResolverOptions) SetResolverID(resolverID string) *DeleteCustomResolverOptions

SetResolverID : Allow user to set ResolverID

func (*DeleteCustomResolverOptions) SetXCorrelationID added in v0.19.0

func (_options *DeleteCustomResolverOptions) SetXCorrelationID(xCorrelationID string) *DeleteCustomResolverOptions

SetXCorrelationID : Allow user to set XCorrelationID

type DeleteDnszoneOptions

type DeleteDnszoneOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteDnszoneOptions : The DeleteDnszone options.

func (*DeleteDnszoneOptions) SetDnszoneID

func (_options *DeleteDnszoneOptions) SetDnszoneID(dnszoneID string) *DeleteDnszoneOptions

SetDnszoneID : Allow user to set DnszoneID

func (*DeleteDnszoneOptions) SetHeaders

func (options *DeleteDnszoneOptions) SetHeaders(param map[string]string) *DeleteDnszoneOptions

SetHeaders : Allow user to set Headers

func (*DeleteDnszoneOptions) SetInstanceID

func (_options *DeleteDnszoneOptions) SetInstanceID(instanceID string) *DeleteDnszoneOptions

SetInstanceID : Allow user to set InstanceID

func (*DeleteDnszoneOptions) SetXCorrelationID

func (_options *DeleteDnszoneOptions) SetXCorrelationID(xCorrelationID string) *DeleteDnszoneOptions

SetXCorrelationID : Allow user to set XCorrelationID

type DeleteForwardingRuleOptions added in v0.19.0

type DeleteForwardingRuleOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a custom resolver.
	ResolverID *string `json:"resolver_id" validate:"required,ne="`

	// The unique identifier of a rule.
	RuleID *string `json:"rule_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteForwardingRuleOptions : The DeleteForwardingRule options.

func (*DeleteForwardingRuleOptions) SetHeaders added in v0.19.0

func (options *DeleteForwardingRuleOptions) SetHeaders(param map[string]string) *DeleteForwardingRuleOptions

SetHeaders : Allow user to set Headers

func (*DeleteForwardingRuleOptions) SetInstanceID added in v0.19.0

func (_options *DeleteForwardingRuleOptions) SetInstanceID(instanceID string) *DeleteForwardingRuleOptions

SetInstanceID : Allow user to set InstanceID

func (*DeleteForwardingRuleOptions) SetResolverID added in v0.19.0

func (_options *DeleteForwardingRuleOptions) SetResolverID(resolverID string) *DeleteForwardingRuleOptions

SetResolverID : Allow user to set ResolverID

func (*DeleteForwardingRuleOptions) SetRuleID added in v0.19.0

func (_options *DeleteForwardingRuleOptions) SetRuleID(ruleID string) *DeleteForwardingRuleOptions

SetRuleID : Allow user to set RuleID

func (*DeleteForwardingRuleOptions) SetXCorrelationID added in v0.19.0

func (_options *DeleteForwardingRuleOptions) SetXCorrelationID(xCorrelationID string) *DeleteForwardingRuleOptions

SetXCorrelationID : Allow user to set XCorrelationID

type DeleteLinkedZoneOptions added in v0.31.0

type DeleteLinkedZoneOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a linked zone.
	LinkedDnszoneID *string `json:"linked_dnszone_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteLinkedZoneOptions : The DeleteLinkedZone options.

func (*DeleteLinkedZoneOptions) SetHeaders added in v0.31.0

func (options *DeleteLinkedZoneOptions) SetHeaders(param map[string]string) *DeleteLinkedZoneOptions

SetHeaders : Allow user to set Headers

func (*DeleteLinkedZoneOptions) SetInstanceID added in v0.31.0

func (_options *DeleteLinkedZoneOptions) SetInstanceID(instanceID string) *DeleteLinkedZoneOptions

SetInstanceID : Allow user to set InstanceID

func (*DeleteLinkedZoneOptions) SetLinkedDnszoneID added in v0.31.0

func (_options *DeleteLinkedZoneOptions) SetLinkedDnszoneID(linkedDnszoneID string) *DeleteLinkedZoneOptions

SetLinkedDnszoneID : Allow user to set LinkedDnszoneID

func (*DeleteLinkedZoneOptions) SetXCorrelationID added in v0.31.0

func (_options *DeleteLinkedZoneOptions) SetXCorrelationID(xCorrelationID string) *DeleteLinkedZoneOptions

SetXCorrelationID : Allow user to set XCorrelationID

type DeleteLoadBalancerOptions

type DeleteLoadBalancerOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// The unique identifier of a load balancer.
	LbID *string `json:"lb_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteLoadBalancerOptions : The DeleteLoadBalancer options.

func (*DeleteLoadBalancerOptions) SetDnszoneID

func (_options *DeleteLoadBalancerOptions) SetDnszoneID(dnszoneID string) *DeleteLoadBalancerOptions

SetDnszoneID : Allow user to set DnszoneID

func (*DeleteLoadBalancerOptions) SetHeaders

func (options *DeleteLoadBalancerOptions) SetHeaders(param map[string]string) *DeleteLoadBalancerOptions

SetHeaders : Allow user to set Headers

func (*DeleteLoadBalancerOptions) SetInstanceID

func (_options *DeleteLoadBalancerOptions) SetInstanceID(instanceID string) *DeleteLoadBalancerOptions

SetInstanceID : Allow user to set InstanceID

func (*DeleteLoadBalancerOptions) SetLbID

SetLbID : Allow user to set LbID

func (*DeleteLoadBalancerOptions) SetXCorrelationID

func (_options *DeleteLoadBalancerOptions) SetXCorrelationID(xCorrelationID string) *DeleteLoadBalancerOptions

SetXCorrelationID : Allow user to set XCorrelationID

type DeleteLzPermittedNetworkOptions added in v0.31.0

type DeleteLzPermittedNetworkOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a linked zone.
	LinkedDnszoneID *string `json:"linked_dnszone_id" validate:"required,ne="`

	// The unique identifier of a permitted network.
	PermittedNetworkID *string `json:"permitted_network_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteLzPermittedNetworkOptions : The DeleteLzPermittedNetwork options.

func (*DeleteLzPermittedNetworkOptions) SetHeaders added in v0.31.0

SetHeaders : Allow user to set Headers

func (*DeleteLzPermittedNetworkOptions) SetInstanceID added in v0.31.0

func (_options *DeleteLzPermittedNetworkOptions) SetInstanceID(instanceID string) *DeleteLzPermittedNetworkOptions

SetInstanceID : Allow user to set InstanceID

func (*DeleteLzPermittedNetworkOptions) SetLinkedDnszoneID added in v0.31.0

func (_options *DeleteLzPermittedNetworkOptions) SetLinkedDnszoneID(linkedDnszoneID string) *DeleteLzPermittedNetworkOptions

SetLinkedDnszoneID : Allow user to set LinkedDnszoneID

func (*DeleteLzPermittedNetworkOptions) SetPermittedNetworkID added in v0.31.0

func (_options *DeleteLzPermittedNetworkOptions) SetPermittedNetworkID(permittedNetworkID string) *DeleteLzPermittedNetworkOptions

SetPermittedNetworkID : Allow user to set PermittedNetworkID

func (*DeleteLzPermittedNetworkOptions) SetXCorrelationID added in v0.31.0

func (_options *DeleteLzPermittedNetworkOptions) SetXCorrelationID(xCorrelationID string) *DeleteLzPermittedNetworkOptions

SetXCorrelationID : Allow user to set XCorrelationID

type DeleteMonitorOptions

type DeleteMonitorOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a load balancer monitor.
	MonitorID *string `json:"monitor_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteMonitorOptions : The DeleteMonitor options.

func (*DeleteMonitorOptions) SetHeaders

func (options *DeleteMonitorOptions) SetHeaders(param map[string]string) *DeleteMonitorOptions

SetHeaders : Allow user to set Headers

func (*DeleteMonitorOptions) SetInstanceID

func (_options *DeleteMonitorOptions) SetInstanceID(instanceID string) *DeleteMonitorOptions

SetInstanceID : Allow user to set InstanceID

func (*DeleteMonitorOptions) SetMonitorID

func (_options *DeleteMonitorOptions) SetMonitorID(monitorID string) *DeleteMonitorOptions

SetMonitorID : Allow user to set MonitorID

func (*DeleteMonitorOptions) SetXCorrelationID

func (_options *DeleteMonitorOptions) SetXCorrelationID(xCorrelationID string) *DeleteMonitorOptions

SetXCorrelationID : Allow user to set XCorrelationID

type DeletePermittedNetworkOptions

type DeletePermittedNetworkOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// The unique identifier of a permitted network.
	PermittedNetworkID *string `json:"permitted_network_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeletePermittedNetworkOptions : The DeletePermittedNetwork options.

func (*DeletePermittedNetworkOptions) SetDnszoneID

func (_options *DeletePermittedNetworkOptions) SetDnszoneID(dnszoneID string) *DeletePermittedNetworkOptions

SetDnszoneID : Allow user to set DnszoneID

func (*DeletePermittedNetworkOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeletePermittedNetworkOptions) SetInstanceID

func (_options *DeletePermittedNetworkOptions) SetInstanceID(instanceID string) *DeletePermittedNetworkOptions

SetInstanceID : Allow user to set InstanceID

func (*DeletePermittedNetworkOptions) SetPermittedNetworkID

func (_options *DeletePermittedNetworkOptions) SetPermittedNetworkID(permittedNetworkID string) *DeletePermittedNetworkOptions

SetPermittedNetworkID : Allow user to set PermittedNetworkID

func (*DeletePermittedNetworkOptions) SetXCorrelationID

func (_options *DeletePermittedNetworkOptions) SetXCorrelationID(xCorrelationID string) *DeletePermittedNetworkOptions

SetXCorrelationID : Allow user to set XCorrelationID

type DeletePoolOptions

type DeletePoolOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a load balancer pool.
	PoolID *string `json:"pool_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeletePoolOptions : The DeletePool options.

func (*DeletePoolOptions) SetHeaders

func (options *DeletePoolOptions) SetHeaders(param map[string]string) *DeletePoolOptions

SetHeaders : Allow user to set Headers

func (*DeletePoolOptions) SetInstanceID

func (_options *DeletePoolOptions) SetInstanceID(instanceID string) *DeletePoolOptions

SetInstanceID : Allow user to set InstanceID

func (*DeletePoolOptions) SetPoolID

func (_options *DeletePoolOptions) SetPoolID(poolID string) *DeletePoolOptions

SetPoolID : Allow user to set PoolID

func (*DeletePoolOptions) SetXCorrelationID

func (_options *DeletePoolOptions) SetXCorrelationID(xCorrelationID string) *DeletePoolOptions

SetXCorrelationID : Allow user to set XCorrelationID

type DeleteResourceRecordOptions

type DeleteResourceRecordOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// The unique identifier of a resource record.
	RecordID *string `json:"record_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteResourceRecordOptions : The DeleteResourceRecord options.

func (*DeleteResourceRecordOptions) SetDnszoneID

func (_options *DeleteResourceRecordOptions) SetDnszoneID(dnszoneID string) *DeleteResourceRecordOptions

SetDnszoneID : Allow user to set DnszoneID

func (*DeleteResourceRecordOptions) SetHeaders

func (options *DeleteResourceRecordOptions) SetHeaders(param map[string]string) *DeleteResourceRecordOptions

SetHeaders : Allow user to set Headers

func (*DeleteResourceRecordOptions) SetInstanceID

func (_options *DeleteResourceRecordOptions) SetInstanceID(instanceID string) *DeleteResourceRecordOptions

SetInstanceID : Allow user to set InstanceID

func (*DeleteResourceRecordOptions) SetRecordID

func (_options *DeleteResourceRecordOptions) SetRecordID(recordID string) *DeleteResourceRecordOptions

SetRecordID : Allow user to set RecordID

func (*DeleteResourceRecordOptions) SetXCorrelationID

func (_options *DeleteResourceRecordOptions) SetXCorrelationID(xCorrelationID string) *DeleteResourceRecordOptions

SetXCorrelationID : Allow user to set XCorrelationID

type DeleteSecondaryZoneOptions added in v0.31.0

type DeleteSecondaryZoneOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a custom resolver.
	ResolverID *string `json:"resolver_id" validate:"required,ne="`

	// The unique identifier of a secondary zone.
	SecondaryZoneID *string `json:"secondary_zone_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteSecondaryZoneOptions : The DeleteSecondaryZone options.

func (*DeleteSecondaryZoneOptions) SetHeaders added in v0.31.0

func (options *DeleteSecondaryZoneOptions) SetHeaders(param map[string]string) *DeleteSecondaryZoneOptions

SetHeaders : Allow user to set Headers

func (*DeleteSecondaryZoneOptions) SetInstanceID added in v0.31.0

func (_options *DeleteSecondaryZoneOptions) SetInstanceID(instanceID string) *DeleteSecondaryZoneOptions

SetInstanceID : Allow user to set InstanceID

func (*DeleteSecondaryZoneOptions) SetResolverID added in v0.31.0

func (_options *DeleteSecondaryZoneOptions) SetResolverID(resolverID string) *DeleteSecondaryZoneOptions

SetResolverID : Allow user to set ResolverID

func (*DeleteSecondaryZoneOptions) SetSecondaryZoneID added in v0.31.0

func (_options *DeleteSecondaryZoneOptions) SetSecondaryZoneID(secondaryZoneID string) *DeleteSecondaryZoneOptions

SetSecondaryZoneID : Allow user to set SecondaryZoneID

func (*DeleteSecondaryZoneOptions) SetXCorrelationID added in v0.31.0

func (_options *DeleteSecondaryZoneOptions) SetXCorrelationID(xCorrelationID string) *DeleteSecondaryZoneOptions

SetXCorrelationID : Allow user to set XCorrelationID

type DnsSvcsV1

type DnsSvcsV1 struct {
	Service *core.BaseService
}

DnsSvcsV1 : DNS Services API

API Version: 1.0.0

func NewDnsSvcsV1

func NewDnsSvcsV1(options *DnsSvcsV1Options) (service *DnsSvcsV1, err error)

NewDnsSvcsV1 : constructs an instance of DnsSvcsV1 with passed in options.

func NewDnsSvcsV1UsingExternalConfig

func NewDnsSvcsV1UsingExternalConfig(options *DnsSvcsV1Options) (dnsSvcs *DnsSvcsV1, err error)

NewDnsSvcsV1UsingExternalConfig : constructs an instance of DnsSvcsV1 with passed in options and external configuration.

func (*DnsSvcsV1) AddCustomResolverLocation added in v0.19.0

func (dnsSvcs *DnsSvcsV1) AddCustomResolverLocation(addCustomResolverLocationOptions *AddCustomResolverLocationOptions) (result *Location, response *core.DetailedResponse, err error)

AddCustomResolverLocation : Add custom resolver location Add custom resolver location.

func (*DnsSvcsV1) AddCustomResolverLocationWithContext added in v0.19.0

func (dnsSvcs *DnsSvcsV1) AddCustomResolverLocationWithContext(ctx context.Context, addCustomResolverLocationOptions *AddCustomResolverLocationOptions) (result *Location, response *core.DetailedResponse, err error)

AddCustomResolverLocationWithContext is an alternate form of the AddCustomResolverLocation method which supports a Context parameter

func (*DnsSvcsV1) Clone added in v0.12.2

func (dnsSvcs *DnsSvcsV1) Clone() *DnsSvcsV1

Clone makes a copy of "dnsSvcs" suitable for processing requests.

func (*DnsSvcsV1) CreateCustomResolver added in v0.19.0

func (dnsSvcs *DnsSvcsV1) CreateCustomResolver(createCustomResolverOptions *CreateCustomResolverOptions) (result *CustomResolver, response *core.DetailedResponse, err error)

CreateCustomResolver : Create a custom resolver Create a custom resolver.

func (*DnsSvcsV1) CreateCustomResolverWithContext added in v0.19.0

func (dnsSvcs *DnsSvcsV1) CreateCustomResolverWithContext(ctx context.Context, createCustomResolverOptions *CreateCustomResolverOptions) (result *CustomResolver, response *core.DetailedResponse, err error)

CreateCustomResolverWithContext is an alternate form of the CreateCustomResolver method which supports a Context parameter

func (*DnsSvcsV1) CreateDnszone

func (dnsSvcs *DnsSvcsV1) CreateDnszone(createDnszoneOptions *CreateDnszoneOptions) (result *Dnszone, response *core.DetailedResponse, err error)

CreateDnszone : Create DNS zone Create a DNS zone for a given service instance.

func (*DnsSvcsV1) CreateDnszoneWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) CreateDnszoneWithContext(ctx context.Context, createDnszoneOptions *CreateDnszoneOptions) (result *Dnszone, response *core.DetailedResponse, err error)

CreateDnszoneWithContext is an alternate form of the CreateDnszone method which supports a Context parameter

func (*DnsSvcsV1) CreateForwardingRule added in v0.19.0

func (dnsSvcs *DnsSvcsV1) CreateForwardingRule(createForwardingRuleOptions *CreateForwardingRuleOptions) (result *ForwardingRule, response *core.DetailedResponse, err error)

CreateForwardingRule : Create a forwarding rule Create a forwarding rule for the given custom resolver.

func (*DnsSvcsV1) CreateForwardingRuleWithContext added in v0.19.0

func (dnsSvcs *DnsSvcsV1) CreateForwardingRuleWithContext(ctx context.Context, createForwardingRuleOptions *CreateForwardingRuleOptions) (result *ForwardingRule, response *core.DetailedResponse, err error)

CreateForwardingRuleWithContext is an alternate form of the CreateForwardingRule method which supports a Context parameter

func (*DnsSvcsV1) CreateLinkedZone added in v0.31.0

func (dnsSvcs *DnsSvcsV1) CreateLinkedZone(createLinkedZoneOptions *CreateLinkedZoneOptions) (result *LinkedDnszone, response *core.DetailedResponse, err error)

CreateLinkedZone : Create a linked zone Create a linked zone.

func (*DnsSvcsV1) CreateLinkedZoneWithContext added in v0.31.0

func (dnsSvcs *DnsSvcsV1) CreateLinkedZoneWithContext(ctx context.Context, createLinkedZoneOptions *CreateLinkedZoneOptions) (result *LinkedDnszone, response *core.DetailedResponse, err error)

CreateLinkedZoneWithContext is an alternate form of the CreateLinkedZone method which supports a Context parameter

func (*DnsSvcsV1) CreateLoadBalancer

func (dnsSvcs *DnsSvcsV1) CreateLoadBalancer(createLoadBalancerOptions *CreateLoadBalancerOptions) (result *LoadBalancer, response *core.DetailedResponse, err error)

CreateLoadBalancer : Create load balancer Create a load balancer for a given DNS zone.

func (*DnsSvcsV1) CreateLoadBalancerWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) CreateLoadBalancerWithContext(ctx context.Context, createLoadBalancerOptions *CreateLoadBalancerOptions) (result *LoadBalancer, response *core.DetailedResponse, err error)

CreateLoadBalancerWithContext is an alternate form of the CreateLoadBalancer method which supports a Context parameter

func (*DnsSvcsV1) CreateLzPermittedNetwork added in v0.31.0

func (dnsSvcs *DnsSvcsV1) CreateLzPermittedNetwork(createLzPermittedNetworkOptions *CreateLzPermittedNetworkOptions) (result *PermittedNetwork, response *core.DetailedResponse, err error)

CreateLzPermittedNetwork : Create a permitted network Create a permitted network for a linked zone.

func (*DnsSvcsV1) CreateLzPermittedNetworkWithContext added in v0.31.0

func (dnsSvcs *DnsSvcsV1) CreateLzPermittedNetworkWithContext(ctx context.Context, createLzPermittedNetworkOptions *CreateLzPermittedNetworkOptions) (result *PermittedNetwork, response *core.DetailedResponse, err error)

CreateLzPermittedNetworkWithContext is an alternate form of the CreateLzPermittedNetwork method which supports a Context parameter

func (*DnsSvcsV1) CreateMonitor

func (dnsSvcs *DnsSvcsV1) CreateMonitor(createMonitorOptions *CreateMonitorOptions) (result *Monitor, response *core.DetailedResponse, err error)

CreateMonitor : Create load balancer monitor Create a load balancer monitor.

func (*DnsSvcsV1) CreateMonitorWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) CreateMonitorWithContext(ctx context.Context, createMonitorOptions *CreateMonitorOptions) (result *Monitor, response *core.DetailedResponse, err error)

CreateMonitorWithContext is an alternate form of the CreateMonitor method which supports a Context parameter

func (*DnsSvcsV1) CreatePermittedNetwork

func (dnsSvcs *DnsSvcsV1) CreatePermittedNetwork(createPermittedNetworkOptions *CreatePermittedNetworkOptions) (result *PermittedNetwork, response *core.DetailedResponse, err error)

CreatePermittedNetwork : Create permitted network Create a permitted network for a given DNS zone.

func (*DnsSvcsV1) CreatePermittedNetworkWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) CreatePermittedNetworkWithContext(ctx context.Context, createPermittedNetworkOptions *CreatePermittedNetworkOptions) (result *PermittedNetwork, response *core.DetailedResponse, err error)

CreatePermittedNetworkWithContext is an alternate form of the CreatePermittedNetwork method which supports a Context parameter

func (*DnsSvcsV1) CreatePool

func (dnsSvcs *DnsSvcsV1) CreatePool(createPoolOptions *CreatePoolOptions) (result *Pool, response *core.DetailedResponse, err error)

CreatePool : Create load balancer pool Create a load balancer pool.

func (*DnsSvcsV1) CreatePoolWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) CreatePoolWithContext(ctx context.Context, createPoolOptions *CreatePoolOptions) (result *Pool, response *core.DetailedResponse, err error)

CreatePoolWithContext is an alternate form of the CreatePool method which supports a Context parameter

func (*DnsSvcsV1) CreateResourceRecord

func (dnsSvcs *DnsSvcsV1) CreateResourceRecord(createResourceRecordOptions *CreateResourceRecordOptions) (result *ResourceRecord, response *core.DetailedResponse, err error)

CreateResourceRecord : Create resource record Create a resource record for a given DNS zone.

func (*DnsSvcsV1) CreateResourceRecordWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) CreateResourceRecordWithContext(ctx context.Context, createResourceRecordOptions *CreateResourceRecordOptions) (result *ResourceRecord, response *core.DetailedResponse, err error)

CreateResourceRecordWithContext is an alternate form of the CreateResourceRecord method which supports a Context parameter

func (*DnsSvcsV1) CreateSecondaryZone added in v0.31.0

func (dnsSvcs *DnsSvcsV1) CreateSecondaryZone(createSecondaryZoneOptions *CreateSecondaryZoneOptions) (result *SecondaryZone, response *core.DetailedResponse, err error)

CreateSecondaryZone : Create a secondary zone Create a secondary zone for the custom resolver.

func (*DnsSvcsV1) CreateSecondaryZoneWithContext added in v0.31.0

func (dnsSvcs *DnsSvcsV1) CreateSecondaryZoneWithContext(ctx context.Context, createSecondaryZoneOptions *CreateSecondaryZoneOptions) (result *SecondaryZone, response *core.DetailedResponse, err error)

CreateSecondaryZoneWithContext is an alternate form of the CreateSecondaryZone method which supports a Context parameter

func (*DnsSvcsV1) DeleteCustomResolver added in v0.19.0

func (dnsSvcs *DnsSvcsV1) DeleteCustomResolver(deleteCustomResolverOptions *DeleteCustomResolverOptions) (response *core.DetailedResponse, err error)

DeleteCustomResolver : Delete a custom resolver Delete a custom resolver.

func (*DnsSvcsV1) DeleteCustomResolverLocation added in v0.19.0

func (dnsSvcs *DnsSvcsV1) DeleteCustomResolverLocation(deleteCustomResolverLocationOptions *DeleteCustomResolverLocationOptions) (response *core.DetailedResponse, err error)

DeleteCustomResolverLocation : Delete custom resolver location Delete custom resolver location.

func (*DnsSvcsV1) DeleteCustomResolverLocationWithContext added in v0.19.0

func (dnsSvcs *DnsSvcsV1) DeleteCustomResolverLocationWithContext(ctx context.Context, deleteCustomResolverLocationOptions *DeleteCustomResolverLocationOptions) (response *core.DetailedResponse, err error)

DeleteCustomResolverLocationWithContext is an alternate form of the DeleteCustomResolverLocation method which supports a Context parameter

func (*DnsSvcsV1) DeleteCustomResolverWithContext added in v0.19.0

func (dnsSvcs *DnsSvcsV1) DeleteCustomResolverWithContext(ctx context.Context, deleteCustomResolverOptions *DeleteCustomResolverOptions) (response *core.DetailedResponse, err error)

DeleteCustomResolverWithContext is an alternate form of the DeleteCustomResolver method which supports a Context parameter

func (*DnsSvcsV1) DeleteDnszone

func (dnsSvcs *DnsSvcsV1) DeleteDnszone(deleteDnszoneOptions *DeleteDnszoneOptions) (response *core.DetailedResponse, err error)

DeleteDnszone : Delete DNS zone Delete a DNS zone.

func (*DnsSvcsV1) DeleteDnszoneWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) DeleteDnszoneWithContext(ctx context.Context, deleteDnszoneOptions *DeleteDnszoneOptions) (response *core.DetailedResponse, err error)

DeleteDnszoneWithContext is an alternate form of the DeleteDnszone method which supports a Context parameter

func (*DnsSvcsV1) DeleteForwardingRule added in v0.19.0

func (dnsSvcs *DnsSvcsV1) DeleteForwardingRule(deleteForwardingRuleOptions *DeleteForwardingRuleOptions) (response *core.DetailedResponse, err error)

DeleteForwardingRule : Delete a forwarding rule Delete a forwarding rule on the given custom resolver.

func (*DnsSvcsV1) DeleteForwardingRuleWithContext added in v0.19.0

func (dnsSvcs *DnsSvcsV1) DeleteForwardingRuleWithContext(ctx context.Context, deleteForwardingRuleOptions *DeleteForwardingRuleOptions) (response *core.DetailedResponse, err error)

DeleteForwardingRuleWithContext is an alternate form of the DeleteForwardingRule method which supports a Context parameter

func (*DnsSvcsV1) DeleteLinkedZone added in v0.31.0

func (dnsSvcs *DnsSvcsV1) DeleteLinkedZone(deleteLinkedZoneOptions *DeleteLinkedZoneOptions) (response *core.DetailedResponse, err error)

DeleteLinkedZone : Delete a linked zone Delete a linked zone.

func (*DnsSvcsV1) DeleteLinkedZoneWithContext added in v0.31.0

func (dnsSvcs *DnsSvcsV1) DeleteLinkedZoneWithContext(ctx context.Context, deleteLinkedZoneOptions *DeleteLinkedZoneOptions) (response *core.DetailedResponse, err error)

DeleteLinkedZoneWithContext is an alternate form of the DeleteLinkedZone method which supports a Context parameter

func (*DnsSvcsV1) DeleteLoadBalancer

func (dnsSvcs *DnsSvcsV1) DeleteLoadBalancer(deleteLoadBalancerOptions *DeleteLoadBalancerOptions) (response *core.DetailedResponse, err error)

DeleteLoadBalancer : Delete load balancer Delete a load balancer.

func (*DnsSvcsV1) DeleteLoadBalancerWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) DeleteLoadBalancerWithContext(ctx context.Context, deleteLoadBalancerOptions *DeleteLoadBalancerOptions) (response *core.DetailedResponse, err error)

DeleteLoadBalancerWithContext is an alternate form of the DeleteLoadBalancer method which supports a Context parameter

func (*DnsSvcsV1) DeleteLzPermittedNetwork added in v0.31.0

func (dnsSvcs *DnsSvcsV1) DeleteLzPermittedNetwork(deleteLzPermittedNetworkOptions *DeleteLzPermittedNetworkOptions) (result *PermittedNetwork, response *core.DetailedResponse, err error)

DeleteLzPermittedNetwork : Remove a permitted network Remove a permitted network from a linked zone.

func (*DnsSvcsV1) DeleteLzPermittedNetworkWithContext added in v0.31.0

func (dnsSvcs *DnsSvcsV1) DeleteLzPermittedNetworkWithContext(ctx context.Context, deleteLzPermittedNetworkOptions *DeleteLzPermittedNetworkOptions) (result *PermittedNetwork, response *core.DetailedResponse, err error)

DeleteLzPermittedNetworkWithContext is an alternate form of the DeleteLzPermittedNetwork method which supports a Context parameter

func (*DnsSvcsV1) DeleteMonitor

func (dnsSvcs *DnsSvcsV1) DeleteMonitor(deleteMonitorOptions *DeleteMonitorOptions) (response *core.DetailedResponse, err error)

DeleteMonitor : Delete load balancer monitor Delete a load balancer monitor.

func (*DnsSvcsV1) DeleteMonitorWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) DeleteMonitorWithContext(ctx context.Context, deleteMonitorOptions *DeleteMonitorOptions) (response *core.DetailedResponse, err error)

DeleteMonitorWithContext is an alternate form of the DeleteMonitor method which supports a Context parameter

func (*DnsSvcsV1) DeletePermittedNetwork

func (dnsSvcs *DnsSvcsV1) DeletePermittedNetwork(deletePermittedNetworkOptions *DeletePermittedNetworkOptions) (result *PermittedNetwork, response *core.DetailedResponse, err error)

DeletePermittedNetwork : Remove permitted network Remove a permitted network.

func (*DnsSvcsV1) DeletePermittedNetworkWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) DeletePermittedNetworkWithContext(ctx context.Context, deletePermittedNetworkOptions *DeletePermittedNetworkOptions) (result *PermittedNetwork, response *core.DetailedResponse, err error)

DeletePermittedNetworkWithContext is an alternate form of the DeletePermittedNetwork method which supports a Context parameter

func (*DnsSvcsV1) DeletePool

func (dnsSvcs *DnsSvcsV1) DeletePool(deletePoolOptions *DeletePoolOptions) (response *core.DetailedResponse, err error)

DeletePool : Delete load balancer pool Delete a load balancer pool.

func (*DnsSvcsV1) DeletePoolWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) DeletePoolWithContext(ctx context.Context, deletePoolOptions *DeletePoolOptions) (response *core.DetailedResponse, err error)

DeletePoolWithContext is an alternate form of the DeletePool method which supports a Context parameter

func (*DnsSvcsV1) DeleteResourceRecord

func (dnsSvcs *DnsSvcsV1) DeleteResourceRecord(deleteResourceRecordOptions *DeleteResourceRecordOptions) (response *core.DetailedResponse, err error)

DeleteResourceRecord : Delete resource record Delete a resource record.

func (*DnsSvcsV1) DeleteResourceRecordWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) DeleteResourceRecordWithContext(ctx context.Context, deleteResourceRecordOptions *DeleteResourceRecordOptions) (response *core.DetailedResponse, err error)

DeleteResourceRecordWithContext is an alternate form of the DeleteResourceRecord method which supports a Context parameter

func (*DnsSvcsV1) DeleteSecondaryZone added in v0.31.0

func (dnsSvcs *DnsSvcsV1) DeleteSecondaryZone(deleteSecondaryZoneOptions *DeleteSecondaryZoneOptions) (response *core.DetailedResponse, err error)

DeleteSecondaryZone : Delete a secondary zone Delete a secondary zone for the custom resolver.

func (*DnsSvcsV1) DeleteSecondaryZoneWithContext added in v0.31.0

func (dnsSvcs *DnsSvcsV1) DeleteSecondaryZoneWithContext(ctx context.Context, deleteSecondaryZoneOptions *DeleteSecondaryZoneOptions) (response *core.DetailedResponse, err error)

DeleteSecondaryZoneWithContext is an alternate form of the DeleteSecondaryZone method which supports a Context parameter

func (*DnsSvcsV1) DisableRetries added in v0.12.2

func (dnsSvcs *DnsSvcsV1) DisableRetries()

DisableRetries disables automatic retries for requests invoked for this service instance.

func (*DnsSvcsV1) EnableRetries added in v0.12.2

func (dnsSvcs *DnsSvcsV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)

EnableRetries enables automatic retries for requests invoked for this service instance. If either parameter is specified as 0, then a default value is used instead.

func (*DnsSvcsV1) ExportResourceRecords added in v0.19.0

func (dnsSvcs *DnsSvcsV1) ExportResourceRecords(exportResourceRecordsOptions *ExportResourceRecordsOptions) (result io.ReadCloser, response *core.DetailedResponse, err error)

ExportResourceRecords : Export resource records to a zone file Export resource records to a zone file.

func (*DnsSvcsV1) ExportResourceRecordsWithContext added in v0.19.0

func (dnsSvcs *DnsSvcsV1) ExportResourceRecordsWithContext(ctx context.Context, exportResourceRecordsOptions *ExportResourceRecordsOptions) (result io.ReadCloser, response *core.DetailedResponse, err error)

ExportResourceRecordsWithContext is an alternate form of the ExportResourceRecords method which supports a Context parameter

func (*DnsSvcsV1) GetCustomResolver added in v0.19.0

func (dnsSvcs *DnsSvcsV1) GetCustomResolver(getCustomResolverOptions *GetCustomResolverOptions) (result *CustomResolver, response *core.DetailedResponse, err error)

GetCustomResolver : Get a custom resolver Get details of a custom resolver.

func (*DnsSvcsV1) GetCustomResolverWithContext added in v0.19.0

func (dnsSvcs *DnsSvcsV1) GetCustomResolverWithContext(ctx context.Context, getCustomResolverOptions *GetCustomResolverOptions) (result *CustomResolver, response *core.DetailedResponse, err error)

GetCustomResolverWithContext is an alternate form of the GetCustomResolver method which supports a Context parameter

func (*DnsSvcsV1) GetDnszone

func (dnsSvcs *DnsSvcsV1) GetDnszone(getDnszoneOptions *GetDnszoneOptions) (result *Dnszone, response *core.DetailedResponse, err error)

GetDnszone : Get DNS zone Get details of a DNS zone.

func (*DnsSvcsV1) GetDnszoneAccessRequest added in v0.31.0

func (dnsSvcs *DnsSvcsV1) GetDnszoneAccessRequest(getDnszoneAccessRequestOptions *GetDnszoneAccessRequestOptions) (result *AccessRequest, response *core.DetailedResponse, err error)

GetDnszoneAccessRequest : Get an access request Get details of an access request.

func (*DnsSvcsV1) GetDnszoneAccessRequestWithContext added in v0.31.0

func (dnsSvcs *DnsSvcsV1) GetDnszoneAccessRequestWithContext(ctx context.Context, getDnszoneAccessRequestOptions *GetDnszoneAccessRequestOptions) (result *AccessRequest, response *core.DetailedResponse, err error)

GetDnszoneAccessRequestWithContext is an alternate form of the GetDnszoneAccessRequest method which supports a Context parameter

func (*DnsSvcsV1) GetDnszoneWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) GetDnszoneWithContext(ctx context.Context, getDnszoneOptions *GetDnszoneOptions) (result *Dnszone, response *core.DetailedResponse, err error)

GetDnszoneWithContext is an alternate form of the GetDnszone method which supports a Context parameter

func (*DnsSvcsV1) GetEnableGzipCompression added in v0.12.2

func (dnsSvcs *DnsSvcsV1) GetEnableGzipCompression() bool

GetEnableGzipCompression returns the service's EnableGzipCompression field

func (*DnsSvcsV1) GetForwardingRule added in v0.19.0

func (dnsSvcs *DnsSvcsV1) GetForwardingRule(getForwardingRuleOptions *GetForwardingRuleOptions) (result *ForwardingRule, response *core.DetailedResponse, err error)

GetForwardingRule : Get a forwarding rule Get details of a forwarding rule on the given custom resolver.

func (*DnsSvcsV1) GetForwardingRuleWithContext added in v0.19.0

func (dnsSvcs *DnsSvcsV1) GetForwardingRuleWithContext(ctx context.Context, getForwardingRuleOptions *GetForwardingRuleOptions) (result *ForwardingRule, response *core.DetailedResponse, err error)

GetForwardingRuleWithContext is an alternate form of the GetForwardingRule method which supports a Context parameter

func (*DnsSvcsV1) GetLinkedPermittedNetwork added in v0.31.0

func (dnsSvcs *DnsSvcsV1) GetLinkedPermittedNetwork(getLinkedPermittedNetworkOptions *GetLinkedPermittedNetworkOptions) (result *PermittedNetwork, response *core.DetailedResponse, err error)

GetLinkedPermittedNetwork : Get a permitted network Get a permitted network of a linked zone.

func (*DnsSvcsV1) GetLinkedPermittedNetworkWithContext added in v0.31.0

func (dnsSvcs *DnsSvcsV1) GetLinkedPermittedNetworkWithContext(ctx context.Context, getLinkedPermittedNetworkOptions *GetLinkedPermittedNetworkOptions) (result *PermittedNetwork, response *core.DetailedResponse, err error)

GetLinkedPermittedNetworkWithContext is an alternate form of the GetLinkedPermittedNetwork method which supports a Context parameter

func (*DnsSvcsV1) GetLinkedZone added in v0.31.0

func (dnsSvcs *DnsSvcsV1) GetLinkedZone(getLinkedZoneOptions *GetLinkedZoneOptions) (result *LinkedDnszone, response *core.DetailedResponse, err error)

GetLinkedZone : Get a linked zone Get details of a linked zone.

func (*DnsSvcsV1) GetLinkedZoneWithContext added in v0.31.0

func (dnsSvcs *DnsSvcsV1) GetLinkedZoneWithContext(ctx context.Context, getLinkedZoneOptions *GetLinkedZoneOptions) (result *LinkedDnszone, response *core.DetailedResponse, err error)

GetLinkedZoneWithContext is an alternate form of the GetLinkedZone method which supports a Context parameter

func (*DnsSvcsV1) GetLoadBalancer

func (dnsSvcs *DnsSvcsV1) GetLoadBalancer(getLoadBalancerOptions *GetLoadBalancerOptions) (result *LoadBalancer, response *core.DetailedResponse, err error)

GetLoadBalancer : Get load balancer Get details of a load balancer.

func (*DnsSvcsV1) GetLoadBalancerWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) GetLoadBalancerWithContext(ctx context.Context, getLoadBalancerOptions *GetLoadBalancerOptions) (result *LoadBalancer, response *core.DetailedResponse, err error)

GetLoadBalancerWithContext is an alternate form of the GetLoadBalancer method which supports a Context parameter

func (*DnsSvcsV1) GetMonitor

func (dnsSvcs *DnsSvcsV1) GetMonitor(getMonitorOptions *GetMonitorOptions) (result *Monitor, response *core.DetailedResponse, err error)

GetMonitor : Get load balancer monitor Get details of a load balancer monitor.

func (*DnsSvcsV1) GetMonitorWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) GetMonitorWithContext(ctx context.Context, getMonitorOptions *GetMonitorOptions) (result *Monitor, response *core.DetailedResponse, err error)

GetMonitorWithContext is an alternate form of the GetMonitor method which supports a Context parameter

func (*DnsSvcsV1) GetPermittedNetwork

func (dnsSvcs *DnsSvcsV1) GetPermittedNetwork(getPermittedNetworkOptions *GetPermittedNetworkOptions) (result *PermittedNetwork, response *core.DetailedResponse, err error)

GetPermittedNetwork : Get permitted network Get details of a permitted network.

func (*DnsSvcsV1) GetPermittedNetworkWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) GetPermittedNetworkWithContext(ctx context.Context, getPermittedNetworkOptions *GetPermittedNetworkOptions) (result *PermittedNetwork, response *core.DetailedResponse, err error)

GetPermittedNetworkWithContext is an alternate form of the GetPermittedNetwork method which supports a Context parameter

func (*DnsSvcsV1) GetPool

func (dnsSvcs *DnsSvcsV1) GetPool(getPoolOptions *GetPoolOptions) (result *Pool, response *core.DetailedResponse, err error)

GetPool : Get load balancer pool Get details of a load balancer pool.

func (*DnsSvcsV1) GetPoolWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) GetPoolWithContext(ctx context.Context, getPoolOptions *GetPoolOptions) (result *Pool, response *core.DetailedResponse, err error)

GetPoolWithContext is an alternate form of the GetPool method which supports a Context parameter

func (*DnsSvcsV1) GetResourceRecord

func (dnsSvcs *DnsSvcsV1) GetResourceRecord(getResourceRecordOptions *GetResourceRecordOptions) (result *ResourceRecord, response *core.DetailedResponse, err error)

GetResourceRecord : Get resource record Get details of a resource record.

func (*DnsSvcsV1) GetResourceRecordWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) GetResourceRecordWithContext(ctx context.Context, getResourceRecordOptions *GetResourceRecordOptions) (result *ResourceRecord, response *core.DetailedResponse, err error)

GetResourceRecordWithContext is an alternate form of the GetResourceRecord method which supports a Context parameter

func (*DnsSvcsV1) GetSecondaryZone added in v0.31.0

func (dnsSvcs *DnsSvcsV1) GetSecondaryZone(getSecondaryZoneOptions *GetSecondaryZoneOptions) (result *SecondaryZone, response *core.DetailedResponse, err error)

GetSecondaryZone : Get a secondary zone Get details of a secondary zone for the custom resolver.

func (*DnsSvcsV1) GetSecondaryZoneWithContext added in v0.31.0

func (dnsSvcs *DnsSvcsV1) GetSecondaryZoneWithContext(ctx context.Context, getSecondaryZoneOptions *GetSecondaryZoneOptions) (result *SecondaryZone, response *core.DetailedResponse, err error)

GetSecondaryZoneWithContext is an alternate form of the GetSecondaryZone method which supports a Context parameter

func (*DnsSvcsV1) GetServiceURL added in v0.12.2

func (dnsSvcs *DnsSvcsV1) GetServiceURL() string

GetServiceURL returns the service URL

func (*DnsSvcsV1) ImportResourceRecords added in v0.19.0

func (dnsSvcs *DnsSvcsV1) ImportResourceRecords(importResourceRecordsOptions *ImportResourceRecordsOptions) (result *ImportResourceRecordsResp, response *core.DetailedResponse, err error)

ImportResourceRecords : Import resource records from a zone file Import resource records from a zone file. The maximum size of a zone file is 8MB.

func (*DnsSvcsV1) ImportResourceRecordsWithContext added in v0.19.0

func (dnsSvcs *DnsSvcsV1) ImportResourceRecordsWithContext(ctx context.Context, importResourceRecordsOptions *ImportResourceRecordsOptions) (result *ImportResourceRecordsResp, response *core.DetailedResponse, err error)

ImportResourceRecordsWithContext is an alternate form of the ImportResourceRecords method which supports a Context parameter

func (*DnsSvcsV1) ListCustomResolvers added in v0.19.0

func (dnsSvcs *DnsSvcsV1) ListCustomResolvers(listCustomResolversOptions *ListCustomResolversOptions) (result *CustomResolverList, response *core.DetailedResponse, err error)

ListCustomResolvers : List custom resolvers List the custom resolvers.

func (*DnsSvcsV1) ListCustomResolversWithContext added in v0.19.0

func (dnsSvcs *DnsSvcsV1) ListCustomResolversWithContext(ctx context.Context, listCustomResolversOptions *ListCustomResolversOptions) (result *CustomResolverList, response *core.DetailedResponse, err error)

ListCustomResolversWithContext is an alternate form of the ListCustomResolvers method which supports a Context parameter

func (*DnsSvcsV1) ListDnszoneAccessRequests added in v0.31.0

func (dnsSvcs *DnsSvcsV1) ListDnszoneAccessRequests(listDnszoneAccessRequestsOptions *ListDnszoneAccessRequestsOptions) (result *AccessRequestsList, response *core.DetailedResponse, err error)

ListDnszoneAccessRequests : List Access Requests List access requests in owner's instance.

func (*DnsSvcsV1) ListDnszoneAccessRequestsWithContext added in v0.31.0

func (dnsSvcs *DnsSvcsV1) ListDnszoneAccessRequestsWithContext(ctx context.Context, listDnszoneAccessRequestsOptions *ListDnszoneAccessRequestsOptions) (result *AccessRequestsList, response *core.DetailedResponse, err error)

ListDnszoneAccessRequestsWithContext is an alternate form of the ListDnszoneAccessRequests method which supports a Context parameter

func (*DnsSvcsV1) ListDnszones

func (dnsSvcs *DnsSvcsV1) ListDnszones(listDnszonesOptions *ListDnszonesOptions) (result *ListDnszones, response *core.DetailedResponse, err error)

ListDnszones : List DNS zones List the DNS zones for a given service instance.

func (*DnsSvcsV1) ListDnszonesWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) ListDnszonesWithContext(ctx context.Context, listDnszonesOptions *ListDnszonesOptions) (result *ListDnszones, response *core.DetailedResponse, err error)

ListDnszonesWithContext is an alternate form of the ListDnszones method which supports a Context parameter

func (*DnsSvcsV1) ListForwardingRules added in v0.19.0

func (dnsSvcs *DnsSvcsV1) ListForwardingRules(listForwardingRulesOptions *ListForwardingRulesOptions) (result *ForwardingRuleList, response *core.DetailedResponse, err error)

ListForwardingRules : List forwarding rules List the forwarding rules of the given custom resolver.

func (*DnsSvcsV1) ListForwardingRulesWithContext added in v0.19.0

func (dnsSvcs *DnsSvcsV1) ListForwardingRulesWithContext(ctx context.Context, listForwardingRulesOptions *ListForwardingRulesOptions) (result *ForwardingRuleList, response *core.DetailedResponse, err error)

ListForwardingRulesWithContext is an alternate form of the ListForwardingRules method which supports a Context parameter

func (*DnsSvcsV1) ListLinkedPermittedNetworks added in v0.31.0

func (dnsSvcs *DnsSvcsV1) ListLinkedPermittedNetworks(listLinkedPermittedNetworksOptions *ListLinkedPermittedNetworksOptions) (result *ListPermittedNetworks, response *core.DetailedResponse, err error)

ListLinkedPermittedNetworks : List permitted networks List the permitted networks for a linked zone.

func (*DnsSvcsV1) ListLinkedPermittedNetworksWithContext added in v0.31.0

func (dnsSvcs *DnsSvcsV1) ListLinkedPermittedNetworksWithContext(ctx context.Context, listLinkedPermittedNetworksOptions *ListLinkedPermittedNetworksOptions) (result *ListPermittedNetworks, response *core.DetailedResponse, err error)

ListLinkedPermittedNetworksWithContext is an alternate form of the ListLinkedPermittedNetworks method which supports a Context parameter

func (*DnsSvcsV1) ListLinkedZones added in v0.31.0

func (dnsSvcs *DnsSvcsV1) ListLinkedZones(listLinkedZonesOptions *ListLinkedZonesOptions) (result *LinkedDnszonesList, response *core.DetailedResponse, err error)

ListLinkedZones : List linked zones List linked zones in requestor's instance.

func (*DnsSvcsV1) ListLinkedZonesWithContext added in v0.31.0

func (dnsSvcs *DnsSvcsV1) ListLinkedZonesWithContext(ctx context.Context, listLinkedZonesOptions *ListLinkedZonesOptions) (result *LinkedDnszonesList, response *core.DetailedResponse, err error)

ListLinkedZonesWithContext is an alternate form of the ListLinkedZones method which supports a Context parameter

func (*DnsSvcsV1) ListLoadBalancers

func (dnsSvcs *DnsSvcsV1) ListLoadBalancers(listLoadBalancersOptions *ListLoadBalancersOptions) (result *ListLoadBalancers, response *core.DetailedResponse, err error)

ListLoadBalancers : List load balancers List the Global Load Balancers for a given DNS zone.

func (*DnsSvcsV1) ListLoadBalancersWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) ListLoadBalancersWithContext(ctx context.Context, listLoadBalancersOptions *ListLoadBalancersOptions) (result *ListLoadBalancers, response *core.DetailedResponse, err error)

ListLoadBalancersWithContext is an alternate form of the ListLoadBalancers method which supports a Context parameter

func (*DnsSvcsV1) ListMonitors

func (dnsSvcs *DnsSvcsV1) ListMonitors(listMonitorsOptions *ListMonitorsOptions) (result *ListMonitors, response *core.DetailedResponse, err error)

ListMonitors : List load balancer monitors List the load balancer monitors.

func (*DnsSvcsV1) ListMonitorsWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) ListMonitorsWithContext(ctx context.Context, listMonitorsOptions *ListMonitorsOptions) (result *ListMonitors, response *core.DetailedResponse, err error)

ListMonitorsWithContext is an alternate form of the ListMonitors method which supports a Context parameter

func (*DnsSvcsV1) ListPermittedNetworks

func (dnsSvcs *DnsSvcsV1) ListPermittedNetworks(listPermittedNetworksOptions *ListPermittedNetworksOptions) (result *ListPermittedNetworks, response *core.DetailedResponse, err error)

ListPermittedNetworks : List permitted networks List the permitted networks for a given DNS zone.

func (*DnsSvcsV1) ListPermittedNetworksWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) ListPermittedNetworksWithContext(ctx context.Context, listPermittedNetworksOptions *ListPermittedNetworksOptions) (result *ListPermittedNetworks, response *core.DetailedResponse, err error)

ListPermittedNetworksWithContext is an alternate form of the ListPermittedNetworks method which supports a Context parameter

func (*DnsSvcsV1) ListPools

func (dnsSvcs *DnsSvcsV1) ListPools(listPoolsOptions *ListPoolsOptions) (result *ListPools, response *core.DetailedResponse, err error)

ListPools : List load balancer pools List the load balancer pools.

func (*DnsSvcsV1) ListPoolsWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) ListPoolsWithContext(ctx context.Context, listPoolsOptions *ListPoolsOptions) (result *ListPools, response *core.DetailedResponse, err error)

ListPoolsWithContext is an alternate form of the ListPools method which supports a Context parameter

func (*DnsSvcsV1) ListResourceRecords

func (dnsSvcs *DnsSvcsV1) ListResourceRecords(listResourceRecordsOptions *ListResourceRecordsOptions) (result *ListResourceRecords, response *core.DetailedResponse, err error)

ListResourceRecords : List resource records List the Resource Records for a given DNS zone.

func (*DnsSvcsV1) ListResourceRecordsWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) ListResourceRecordsWithContext(ctx context.Context, listResourceRecordsOptions *ListResourceRecordsOptions) (result *ListResourceRecords, response *core.DetailedResponse, err error)

ListResourceRecordsWithContext is an alternate form of the ListResourceRecords method which supports a Context parameter

func (*DnsSvcsV1) ListSecondaryZones added in v0.31.0

func (dnsSvcs *DnsSvcsV1) ListSecondaryZones(listSecondaryZonesOptions *ListSecondaryZonesOptions) (result *SecondaryZoneList, response *core.DetailedResponse, err error)

ListSecondaryZones : List secondary zones List secondary zones for the custom resolver.

func (*DnsSvcsV1) ListSecondaryZonesWithContext added in v0.31.0

func (dnsSvcs *DnsSvcsV1) ListSecondaryZonesWithContext(ctx context.Context, listSecondaryZonesOptions *ListSecondaryZonesOptions) (result *SecondaryZoneList, response *core.DetailedResponse, err error)

ListSecondaryZonesWithContext is an alternate form of the ListSecondaryZones method which supports a Context parameter

func (*DnsSvcsV1) NewAddCustomResolverLocationOptions added in v0.19.0

func (*DnsSvcsV1) NewAddCustomResolverLocationOptions(instanceID string, resolverID string) *AddCustomResolverLocationOptions

NewAddCustomResolverLocationOptions : Instantiate AddCustomResolverLocationOptions

func (*DnsSvcsV1) NewCreateCustomResolverOptions added in v0.19.0

func (*DnsSvcsV1) NewCreateCustomResolverOptions(instanceID string) *CreateCustomResolverOptions

NewCreateCustomResolverOptions : Instantiate CreateCustomResolverOptions

func (*DnsSvcsV1) NewCreateDnszoneOptions

func (*DnsSvcsV1) NewCreateDnszoneOptions(instanceID string) *CreateDnszoneOptions

NewCreateDnszoneOptions : Instantiate CreateDnszoneOptions

func (*DnsSvcsV1) NewCreateForwardingRuleOptions added in v0.19.0

func (*DnsSvcsV1) NewCreateForwardingRuleOptions(instanceID string, resolverID string) *CreateForwardingRuleOptions

NewCreateForwardingRuleOptions : Instantiate CreateForwardingRuleOptions

func (*DnsSvcsV1) NewCreateLinkedZoneOptions added in v0.31.0

func (*DnsSvcsV1) NewCreateLinkedZoneOptions(instanceID string) *CreateLinkedZoneOptions

NewCreateLinkedZoneOptions : Instantiate CreateLinkedZoneOptions

func (*DnsSvcsV1) NewCreateLoadBalancerOptions

func (*DnsSvcsV1) NewCreateLoadBalancerOptions(instanceID string, dnszoneID string) *CreateLoadBalancerOptions

NewCreateLoadBalancerOptions : Instantiate CreateLoadBalancerOptions

func (*DnsSvcsV1) NewCreateLzPermittedNetworkOptions added in v0.31.0

func (*DnsSvcsV1) NewCreateLzPermittedNetworkOptions(instanceID string, linkedDnszoneID string) *CreateLzPermittedNetworkOptions

NewCreateLzPermittedNetworkOptions : Instantiate CreateLzPermittedNetworkOptions

func (*DnsSvcsV1) NewCreateMonitorOptions

func (*DnsSvcsV1) NewCreateMonitorOptions(instanceID string) *CreateMonitorOptions

NewCreateMonitorOptions : Instantiate CreateMonitorOptions

func (*DnsSvcsV1) NewCreatePermittedNetworkOptions

func (*DnsSvcsV1) NewCreatePermittedNetworkOptions(instanceID string, dnszoneID string) *CreatePermittedNetworkOptions

NewCreatePermittedNetworkOptions : Instantiate CreatePermittedNetworkOptions

func (*DnsSvcsV1) NewCreatePoolOptions

func (*DnsSvcsV1) NewCreatePoolOptions(instanceID string) *CreatePoolOptions

NewCreatePoolOptions : Instantiate CreatePoolOptions

func (*DnsSvcsV1) NewCreateResourceRecordOptions

func (*DnsSvcsV1) NewCreateResourceRecordOptions(instanceID string, dnszoneID string) *CreateResourceRecordOptions

NewCreateResourceRecordOptions : Instantiate CreateResourceRecordOptions

func (*DnsSvcsV1) NewCreateSecondaryZoneOptions added in v0.31.0

func (*DnsSvcsV1) NewCreateSecondaryZoneOptions(instanceID string, resolverID string) *CreateSecondaryZoneOptions

NewCreateSecondaryZoneOptions : Instantiate CreateSecondaryZoneOptions

func (*DnsSvcsV1) NewDeleteCustomResolverLocationOptions added in v0.19.0

func (*DnsSvcsV1) NewDeleteCustomResolverLocationOptions(instanceID string, resolverID string, locationID string) *DeleteCustomResolverLocationOptions

NewDeleteCustomResolverLocationOptions : Instantiate DeleteCustomResolverLocationOptions

func (*DnsSvcsV1) NewDeleteCustomResolverOptions added in v0.19.0

func (*DnsSvcsV1) NewDeleteCustomResolverOptions(instanceID string, resolverID string) *DeleteCustomResolverOptions

NewDeleteCustomResolverOptions : Instantiate DeleteCustomResolverOptions

func (*DnsSvcsV1) NewDeleteDnszoneOptions

func (*DnsSvcsV1) NewDeleteDnszoneOptions(instanceID string, dnszoneID string) *DeleteDnszoneOptions

NewDeleteDnszoneOptions : Instantiate DeleteDnszoneOptions

func (*DnsSvcsV1) NewDeleteForwardingRuleOptions added in v0.19.0

func (*DnsSvcsV1) NewDeleteForwardingRuleOptions(instanceID string, resolverID string, ruleID string) *DeleteForwardingRuleOptions

NewDeleteForwardingRuleOptions : Instantiate DeleteForwardingRuleOptions

func (*DnsSvcsV1) NewDeleteLinkedZoneOptions added in v0.31.0

func (*DnsSvcsV1) NewDeleteLinkedZoneOptions(instanceID string, linkedDnszoneID string) *DeleteLinkedZoneOptions

NewDeleteLinkedZoneOptions : Instantiate DeleteLinkedZoneOptions

func (*DnsSvcsV1) NewDeleteLoadBalancerOptions

func (*DnsSvcsV1) NewDeleteLoadBalancerOptions(instanceID string, dnszoneID string, lbID string) *DeleteLoadBalancerOptions

NewDeleteLoadBalancerOptions : Instantiate DeleteLoadBalancerOptions

func (*DnsSvcsV1) NewDeleteLzPermittedNetworkOptions added in v0.31.0

func (*DnsSvcsV1) NewDeleteLzPermittedNetworkOptions(instanceID string, linkedDnszoneID string, permittedNetworkID string) *DeleteLzPermittedNetworkOptions

NewDeleteLzPermittedNetworkOptions : Instantiate DeleteLzPermittedNetworkOptions

func (*DnsSvcsV1) NewDeleteMonitorOptions

func (*DnsSvcsV1) NewDeleteMonitorOptions(instanceID string, monitorID string) *DeleteMonitorOptions

NewDeleteMonitorOptions : Instantiate DeleteMonitorOptions

func (*DnsSvcsV1) NewDeletePermittedNetworkOptions

func (*DnsSvcsV1) NewDeletePermittedNetworkOptions(instanceID string, dnszoneID string, permittedNetworkID string) *DeletePermittedNetworkOptions

NewDeletePermittedNetworkOptions : Instantiate DeletePermittedNetworkOptions

func (*DnsSvcsV1) NewDeletePoolOptions

func (*DnsSvcsV1) NewDeletePoolOptions(instanceID string, poolID string) *DeletePoolOptions

NewDeletePoolOptions : Instantiate DeletePoolOptions

func (*DnsSvcsV1) NewDeleteResourceRecordOptions

func (*DnsSvcsV1) NewDeleteResourceRecordOptions(instanceID string, dnszoneID string, recordID string) *DeleteResourceRecordOptions

NewDeleteResourceRecordOptions : Instantiate DeleteResourceRecordOptions

func (*DnsSvcsV1) NewDeleteSecondaryZoneOptions added in v0.31.0

func (*DnsSvcsV1) NewDeleteSecondaryZoneOptions(instanceID string, resolverID string, secondaryZoneID string) *DeleteSecondaryZoneOptions

NewDeleteSecondaryZoneOptions : Instantiate DeleteSecondaryZoneOptions

func (*DnsSvcsV1) NewDnszoneAccessRequestsPager added in v0.41.0

func (dnsSvcs *DnsSvcsV1) NewDnszoneAccessRequestsPager(options *ListDnszoneAccessRequestsOptions) (pager *DnszoneAccessRequestsPager, err error)

NewDnszoneAccessRequestsPager returns a new DnszoneAccessRequestsPager instance.

func (*DnsSvcsV1) NewDnszonesPager added in v0.41.0

func (dnsSvcs *DnsSvcsV1) NewDnszonesPager(options *ListDnszonesOptions) (pager *DnszonesPager, err error)

NewDnszonesPager returns a new DnszonesPager instance.

func (*DnsSvcsV1) NewExportResourceRecordsOptions added in v0.19.0

func (*DnsSvcsV1) NewExportResourceRecordsOptions(instanceID string, dnszoneID string) *ExportResourceRecordsOptions

NewExportResourceRecordsOptions : Instantiate ExportResourceRecordsOptions

func (*DnsSvcsV1) NewForwardingRulesPager added in v0.41.0

func (dnsSvcs *DnsSvcsV1) NewForwardingRulesPager(options *ListForwardingRulesOptions) (pager *ForwardingRulesPager, err error)

NewForwardingRulesPager returns a new ForwardingRulesPager instance.

func (*DnsSvcsV1) NewGetCustomResolverOptions added in v0.19.0

func (*DnsSvcsV1) NewGetCustomResolverOptions(instanceID string, resolverID string) *GetCustomResolverOptions

NewGetCustomResolverOptions : Instantiate GetCustomResolverOptions

func (*DnsSvcsV1) NewGetDnszoneAccessRequestOptions added in v0.31.0

func (*DnsSvcsV1) NewGetDnszoneAccessRequestOptions(instanceID string, dnszoneID string, requestID string) *GetDnszoneAccessRequestOptions

NewGetDnszoneAccessRequestOptions : Instantiate GetDnszoneAccessRequestOptions

func (*DnsSvcsV1) NewGetDnszoneOptions

func (*DnsSvcsV1) NewGetDnszoneOptions(instanceID string, dnszoneID string) *GetDnszoneOptions

NewGetDnszoneOptions : Instantiate GetDnszoneOptions

func (*DnsSvcsV1) NewGetForwardingRuleOptions added in v0.19.0

func (*DnsSvcsV1) NewGetForwardingRuleOptions(instanceID string, resolverID string, ruleID string) *GetForwardingRuleOptions

NewGetForwardingRuleOptions : Instantiate GetForwardingRuleOptions

func (*DnsSvcsV1) NewGetLinkedPermittedNetworkOptions added in v0.31.0

func (*DnsSvcsV1) NewGetLinkedPermittedNetworkOptions(instanceID string, linkedDnszoneID string, permittedNetworkID string) *GetLinkedPermittedNetworkOptions

NewGetLinkedPermittedNetworkOptions : Instantiate GetLinkedPermittedNetworkOptions

func (*DnsSvcsV1) NewGetLinkedZoneOptions added in v0.31.0

func (*DnsSvcsV1) NewGetLinkedZoneOptions(instanceID string, linkedDnszoneID string) *GetLinkedZoneOptions

NewGetLinkedZoneOptions : Instantiate GetLinkedZoneOptions

func (*DnsSvcsV1) NewGetLoadBalancerOptions

func (*DnsSvcsV1) NewGetLoadBalancerOptions(instanceID string, dnszoneID string, lbID string) *GetLoadBalancerOptions

NewGetLoadBalancerOptions : Instantiate GetLoadBalancerOptions

func (*DnsSvcsV1) NewGetMonitorOptions

func (*DnsSvcsV1) NewGetMonitorOptions(instanceID string, monitorID string) *GetMonitorOptions

NewGetMonitorOptions : Instantiate GetMonitorOptions

func (*DnsSvcsV1) NewGetPermittedNetworkOptions

func (*DnsSvcsV1) NewGetPermittedNetworkOptions(instanceID string, dnszoneID string, permittedNetworkID string) *GetPermittedNetworkOptions

NewGetPermittedNetworkOptions : Instantiate GetPermittedNetworkOptions

func (*DnsSvcsV1) NewGetPoolOptions

func (*DnsSvcsV1) NewGetPoolOptions(instanceID string, poolID string) *GetPoolOptions

NewGetPoolOptions : Instantiate GetPoolOptions

func (*DnsSvcsV1) NewGetResourceRecordOptions

func (*DnsSvcsV1) NewGetResourceRecordOptions(instanceID string, dnszoneID string, recordID string) *GetResourceRecordOptions

NewGetResourceRecordOptions : Instantiate GetResourceRecordOptions

func (*DnsSvcsV1) NewGetSecondaryZoneOptions added in v0.31.0

func (*DnsSvcsV1) NewGetSecondaryZoneOptions(instanceID string, resolverID string, secondaryZoneID string) *GetSecondaryZoneOptions

NewGetSecondaryZoneOptions : Instantiate GetSecondaryZoneOptions

func (*DnsSvcsV1) NewHealthcheckHeader

func (*DnsSvcsV1) NewHealthcheckHeader(name string, value []string) (_model *HealthcheckHeader, err error)

NewHealthcheckHeader : Instantiate HealthcheckHeader (Generic Model Constructor)

func (*DnsSvcsV1) NewImportResourceRecordsOptions added in v0.19.0

func (*DnsSvcsV1) NewImportResourceRecordsOptions(instanceID string, dnszoneID string) *ImportResourceRecordsOptions

NewImportResourceRecordsOptions : Instantiate ImportResourceRecordsOptions

func (*DnsSvcsV1) NewLinkedZonesPager added in v0.41.0

func (dnsSvcs *DnsSvcsV1) NewLinkedZonesPager(options *ListLinkedZonesOptions) (pager *LinkedZonesPager, err error)

NewLinkedZonesPager returns a new LinkedZonesPager instance.

func (*DnsSvcsV1) NewListCustomResolversOptions added in v0.19.0

func (*DnsSvcsV1) NewListCustomResolversOptions(instanceID string) *ListCustomResolversOptions

NewListCustomResolversOptions : Instantiate ListCustomResolversOptions

func (*DnsSvcsV1) NewListDnszoneAccessRequestsOptions added in v0.31.0

func (*DnsSvcsV1) NewListDnszoneAccessRequestsOptions(instanceID string, dnszoneID string) *ListDnszoneAccessRequestsOptions

NewListDnszoneAccessRequestsOptions : Instantiate ListDnszoneAccessRequestsOptions

func (*DnsSvcsV1) NewListDnszonesOptions

func (*DnsSvcsV1) NewListDnszonesOptions(instanceID string) *ListDnszonesOptions

NewListDnszonesOptions : Instantiate ListDnszonesOptions

func (*DnsSvcsV1) NewListForwardingRulesOptions added in v0.19.0

func (*DnsSvcsV1) NewListForwardingRulesOptions(instanceID string, resolverID string) *ListForwardingRulesOptions

NewListForwardingRulesOptions : Instantiate ListForwardingRulesOptions

func (*DnsSvcsV1) NewListLinkedPermittedNetworksOptions added in v0.31.0

func (*DnsSvcsV1) NewListLinkedPermittedNetworksOptions(instanceID string, linkedDnszoneID string) *ListLinkedPermittedNetworksOptions

NewListLinkedPermittedNetworksOptions : Instantiate ListLinkedPermittedNetworksOptions

func (*DnsSvcsV1) NewListLinkedZonesOptions added in v0.31.0

func (*DnsSvcsV1) NewListLinkedZonesOptions(instanceID string) *ListLinkedZonesOptions

NewListLinkedZonesOptions : Instantiate ListLinkedZonesOptions

func (*DnsSvcsV1) NewListLoadBalancersOptions

func (*DnsSvcsV1) NewListLoadBalancersOptions(instanceID string, dnszoneID string) *ListLoadBalancersOptions

NewListLoadBalancersOptions : Instantiate ListLoadBalancersOptions

func (*DnsSvcsV1) NewListMonitorsOptions

func (*DnsSvcsV1) NewListMonitorsOptions(instanceID string) *ListMonitorsOptions

NewListMonitorsOptions : Instantiate ListMonitorsOptions

func (*DnsSvcsV1) NewListPermittedNetworksOptions

func (*DnsSvcsV1) NewListPermittedNetworksOptions(instanceID string, dnszoneID string) *ListPermittedNetworksOptions

NewListPermittedNetworksOptions : Instantiate ListPermittedNetworksOptions

func (*DnsSvcsV1) NewListPoolsOptions

func (*DnsSvcsV1) NewListPoolsOptions(instanceID string) *ListPoolsOptions

NewListPoolsOptions : Instantiate ListPoolsOptions

func (*DnsSvcsV1) NewListResourceRecordsOptions

func (*DnsSvcsV1) NewListResourceRecordsOptions(instanceID string, dnszoneID string) *ListResourceRecordsOptions

NewListResourceRecordsOptions : Instantiate ListResourceRecordsOptions

func (*DnsSvcsV1) NewListSecondaryZonesOptions added in v0.31.0

func (*DnsSvcsV1) NewListSecondaryZonesOptions(instanceID string, resolverID string) *ListSecondaryZonesOptions

NewListSecondaryZonesOptions : Instantiate ListSecondaryZonesOptions

func (*DnsSvcsV1) NewLoadBalancersPager added in v0.41.0

func (dnsSvcs *DnsSvcsV1) NewLoadBalancersPager(options *ListLoadBalancersOptions) (pager *LoadBalancersPager, err error)

NewLoadBalancersPager returns a new LoadBalancersPager instance.

func (*DnsSvcsV1) NewLocationInput added in v0.19.0

func (*DnsSvcsV1) NewLocationInput(subnetCrn string) (_model *LocationInput, err error)

NewLocationInput : Instantiate LocationInput (Generic Model Constructor)

func (*DnsSvcsV1) NewMonitorsPager added in v0.41.0

func (dnsSvcs *DnsSvcsV1) NewMonitorsPager(options *ListMonitorsOptions) (pager *MonitorsPager, err error)

NewMonitorsPager returns a new MonitorsPager instance.

func (*DnsSvcsV1) NewPermittedNetworkVpc

func (*DnsSvcsV1) NewPermittedNetworkVpc(vpcCrn string) (_model *PermittedNetworkVpc, err error)

NewPermittedNetworkVpc : Instantiate PermittedNetworkVpc (Generic Model Constructor)

func (*DnsSvcsV1) NewPoolsPager added in v0.41.0

func (dnsSvcs *DnsSvcsV1) NewPoolsPager(options *ListPoolsOptions) (pager *PoolsPager, err error)

NewPoolsPager returns a new PoolsPager instance.

func (*DnsSvcsV1) NewResourceRecordInputRdataRdataARecord

func (*DnsSvcsV1) NewResourceRecordInputRdataRdataARecord(ip string) (_model *ResourceRecordInputRdataRdataARecord, err error)

NewResourceRecordInputRdataRdataARecord : Instantiate ResourceRecordInputRdataRdataARecord (Generic Model Constructor)

func (*DnsSvcsV1) NewResourceRecordInputRdataRdataAaaaRecord

func (*DnsSvcsV1) NewResourceRecordInputRdataRdataAaaaRecord(ip string) (_model *ResourceRecordInputRdataRdataAaaaRecord, err error)

NewResourceRecordInputRdataRdataAaaaRecord : Instantiate ResourceRecordInputRdataRdataAaaaRecord (Generic Model Constructor)

func (*DnsSvcsV1) NewResourceRecordInputRdataRdataCnameRecord

func (*DnsSvcsV1) NewResourceRecordInputRdataRdataCnameRecord(cname string) (_model *ResourceRecordInputRdataRdataCnameRecord, err error)

NewResourceRecordInputRdataRdataCnameRecord : Instantiate ResourceRecordInputRdataRdataCnameRecord (Generic Model Constructor)

func (*DnsSvcsV1) NewResourceRecordInputRdataRdataMxRecord

func (*DnsSvcsV1) NewResourceRecordInputRdataRdataMxRecord(exchange string, preference int64) (_model *ResourceRecordInputRdataRdataMxRecord, err error)

NewResourceRecordInputRdataRdataMxRecord : Instantiate ResourceRecordInputRdataRdataMxRecord (Generic Model Constructor)

func (*DnsSvcsV1) NewResourceRecordInputRdataRdataPtrRecord

func (*DnsSvcsV1) NewResourceRecordInputRdataRdataPtrRecord(ptrdname string) (_model *ResourceRecordInputRdataRdataPtrRecord, err error)

NewResourceRecordInputRdataRdataPtrRecord : Instantiate ResourceRecordInputRdataRdataPtrRecord (Generic Model Constructor)

func (*DnsSvcsV1) NewResourceRecordInputRdataRdataSrvRecord

func (*DnsSvcsV1) NewResourceRecordInputRdataRdataSrvRecord(port int64, priority int64, target string, weight int64) (_model *ResourceRecordInputRdataRdataSrvRecord, err error)

NewResourceRecordInputRdataRdataSrvRecord : Instantiate ResourceRecordInputRdataRdataSrvRecord (Generic Model Constructor)

func (*DnsSvcsV1) NewResourceRecordInputRdataRdataTxtRecord

func (*DnsSvcsV1) NewResourceRecordInputRdataRdataTxtRecord(text string) (_model *ResourceRecordInputRdataRdataTxtRecord, err error)

NewResourceRecordInputRdataRdataTxtRecord : Instantiate ResourceRecordInputRdataRdataTxtRecord (Generic Model Constructor)

func (*DnsSvcsV1) NewResourceRecordUpdateInputRdataRdataARecord

func (*DnsSvcsV1) NewResourceRecordUpdateInputRdataRdataARecord(ip string) (_model *ResourceRecordUpdateInputRdataRdataARecord, err error)

NewResourceRecordUpdateInputRdataRdataARecord : Instantiate ResourceRecordUpdateInputRdataRdataARecord (Generic Model Constructor)

func (*DnsSvcsV1) NewResourceRecordUpdateInputRdataRdataAaaaRecord

func (*DnsSvcsV1) NewResourceRecordUpdateInputRdataRdataAaaaRecord(ip string) (_model *ResourceRecordUpdateInputRdataRdataAaaaRecord, err error)

NewResourceRecordUpdateInputRdataRdataAaaaRecord : Instantiate ResourceRecordUpdateInputRdataRdataAaaaRecord (Generic Model Constructor)

func (*DnsSvcsV1) NewResourceRecordUpdateInputRdataRdataCnameRecord

func (*DnsSvcsV1) NewResourceRecordUpdateInputRdataRdataCnameRecord(cname string) (_model *ResourceRecordUpdateInputRdataRdataCnameRecord, err error)

NewResourceRecordUpdateInputRdataRdataCnameRecord : Instantiate ResourceRecordUpdateInputRdataRdataCnameRecord (Generic Model Constructor)

func (*DnsSvcsV1) NewResourceRecordUpdateInputRdataRdataMxRecord

func (*DnsSvcsV1) NewResourceRecordUpdateInputRdataRdataMxRecord(exchange string, preference int64) (_model *ResourceRecordUpdateInputRdataRdataMxRecord, err error)

NewResourceRecordUpdateInputRdataRdataMxRecord : Instantiate ResourceRecordUpdateInputRdataRdataMxRecord (Generic Model Constructor)

func (*DnsSvcsV1) NewResourceRecordUpdateInputRdataRdataPtrRecord

func (*DnsSvcsV1) NewResourceRecordUpdateInputRdataRdataPtrRecord(ptrdname string) (_model *ResourceRecordUpdateInputRdataRdataPtrRecord, err error)

NewResourceRecordUpdateInputRdataRdataPtrRecord : Instantiate ResourceRecordUpdateInputRdataRdataPtrRecord (Generic Model Constructor)

func (*DnsSvcsV1) NewResourceRecordUpdateInputRdataRdataSrvRecord

func (*DnsSvcsV1) NewResourceRecordUpdateInputRdataRdataSrvRecord(port int64, priority int64, target string, weight int64) (_model *ResourceRecordUpdateInputRdataRdataSrvRecord, err error)

NewResourceRecordUpdateInputRdataRdataSrvRecord : Instantiate ResourceRecordUpdateInputRdataRdataSrvRecord (Generic Model Constructor)

func (*DnsSvcsV1) NewResourceRecordUpdateInputRdataRdataTxtRecord

func (*DnsSvcsV1) NewResourceRecordUpdateInputRdataRdataTxtRecord(text string) (_model *ResourceRecordUpdateInputRdataRdataTxtRecord, err error)

NewResourceRecordUpdateInputRdataRdataTxtRecord : Instantiate ResourceRecordUpdateInputRdataRdataTxtRecord (Generic Model Constructor)

func (*DnsSvcsV1) NewResourceRecordsPager added in v0.41.0

func (dnsSvcs *DnsSvcsV1) NewResourceRecordsPager(options *ListResourceRecordsOptions) (pager *ResourceRecordsPager, err error)

NewResourceRecordsPager returns a new ResourceRecordsPager instance.

func (*DnsSvcsV1) NewSecondaryZonesPager added in v0.41.0

func (dnsSvcs *DnsSvcsV1) NewSecondaryZonesPager(options *ListSecondaryZonesOptions) (pager *SecondaryZonesPager, err error)

NewSecondaryZonesPager returns a new SecondaryZonesPager instance.

func (*DnsSvcsV1) NewUpdateCrLocationsOrderOptions added in v0.31.0

func (*DnsSvcsV1) NewUpdateCrLocationsOrderOptions(instanceID string, resolverID string) *UpdateCrLocationsOrderOptions

NewUpdateCrLocationsOrderOptions : Instantiate UpdateCrLocationsOrderOptions

func (*DnsSvcsV1) NewUpdateCustomResolverLocationOptions added in v0.19.0

func (*DnsSvcsV1) NewUpdateCustomResolverLocationOptions(instanceID string, resolverID string, locationID string) *UpdateCustomResolverLocationOptions

NewUpdateCustomResolverLocationOptions : Instantiate UpdateCustomResolverLocationOptions

func (*DnsSvcsV1) NewUpdateCustomResolverOptions added in v0.19.0

func (*DnsSvcsV1) NewUpdateCustomResolverOptions(instanceID string, resolverID string) *UpdateCustomResolverOptions

NewUpdateCustomResolverOptions : Instantiate UpdateCustomResolverOptions

func (*DnsSvcsV1) NewUpdateDnszoneAccessRequestOptions added in v0.31.0

func (*DnsSvcsV1) NewUpdateDnszoneAccessRequestOptions(instanceID string, dnszoneID string, requestID string) *UpdateDnszoneAccessRequestOptions

NewUpdateDnszoneAccessRequestOptions : Instantiate UpdateDnszoneAccessRequestOptions

func (*DnsSvcsV1) NewUpdateDnszoneOptions

func (*DnsSvcsV1) NewUpdateDnszoneOptions(instanceID string, dnszoneID string) *UpdateDnszoneOptions

NewUpdateDnszoneOptions : Instantiate UpdateDnszoneOptions

func (*DnsSvcsV1) NewUpdateForwardingRuleOptions added in v0.19.0

func (*DnsSvcsV1) NewUpdateForwardingRuleOptions(instanceID string, resolverID string, ruleID string) *UpdateForwardingRuleOptions

NewUpdateForwardingRuleOptions : Instantiate UpdateForwardingRuleOptions

func (*DnsSvcsV1) NewUpdateLinkedZoneOptions added in v0.31.0

func (*DnsSvcsV1) NewUpdateLinkedZoneOptions(instanceID string, linkedDnszoneID string) *UpdateLinkedZoneOptions

NewUpdateLinkedZoneOptions : Instantiate UpdateLinkedZoneOptions

func (*DnsSvcsV1) NewUpdateLoadBalancerOptions

func (*DnsSvcsV1) NewUpdateLoadBalancerOptions(instanceID string, dnszoneID string, lbID string) *UpdateLoadBalancerOptions

NewUpdateLoadBalancerOptions : Instantiate UpdateLoadBalancerOptions

func (*DnsSvcsV1) NewUpdateMonitorOptions

func (*DnsSvcsV1) NewUpdateMonitorOptions(instanceID string, monitorID string) *UpdateMonitorOptions

NewUpdateMonitorOptions : Instantiate UpdateMonitorOptions

func (*DnsSvcsV1) NewUpdatePoolOptions

func (*DnsSvcsV1) NewUpdatePoolOptions(instanceID string, poolID string) *UpdatePoolOptions

NewUpdatePoolOptions : Instantiate UpdatePoolOptions

func (*DnsSvcsV1) NewUpdateResourceRecordOptions

func (*DnsSvcsV1) NewUpdateResourceRecordOptions(instanceID string, dnszoneID string, recordID string) *UpdateResourceRecordOptions

NewUpdateResourceRecordOptions : Instantiate UpdateResourceRecordOptions

func (*DnsSvcsV1) NewUpdateSecondaryZoneOptions added in v0.31.0

func (*DnsSvcsV1) NewUpdateSecondaryZoneOptions(instanceID string, resolverID string, secondaryZoneID string) *UpdateSecondaryZoneOptions

NewUpdateSecondaryZoneOptions : Instantiate UpdateSecondaryZoneOptions

func (*DnsSvcsV1) SetDefaultHeaders added in v0.12.2

func (dnsSvcs *DnsSvcsV1) SetDefaultHeaders(headers http.Header)

SetDefaultHeaders sets HTTP headers to be sent in every request

func (*DnsSvcsV1) SetEnableGzipCompression added in v0.12.2

func (dnsSvcs *DnsSvcsV1) SetEnableGzipCompression(enableGzip bool)

SetEnableGzipCompression sets the service's EnableGzipCompression field

func (*DnsSvcsV1) SetServiceURL

func (dnsSvcs *DnsSvcsV1) SetServiceURL(url string) error

SetServiceURL sets the service URL

func (*DnsSvcsV1) UpdateCrLocationsOrder added in v0.31.0

func (dnsSvcs *DnsSvcsV1) UpdateCrLocationsOrder(updateCrLocationsOrderOptions *UpdateCrLocationsOrderOptions) (result *CustomResolver, response *core.DetailedResponse, err error)

UpdateCrLocationsOrder : Update the locations order of a custom resolver Update the locations order of a custom resolver.

func (*DnsSvcsV1) UpdateCrLocationsOrderWithContext added in v0.31.0

func (dnsSvcs *DnsSvcsV1) UpdateCrLocationsOrderWithContext(ctx context.Context, updateCrLocationsOrderOptions *UpdateCrLocationsOrderOptions) (result *CustomResolver, response *core.DetailedResponse, err error)

UpdateCrLocationsOrderWithContext is an alternate form of the UpdateCrLocationsOrder method which supports a Context parameter

func (*DnsSvcsV1) UpdateCustomResolver added in v0.19.0

func (dnsSvcs *DnsSvcsV1) UpdateCustomResolver(updateCustomResolverOptions *UpdateCustomResolverOptions) (result *CustomResolver, response *core.DetailedResponse, err error)

UpdateCustomResolver : Update a custom resolver Update the properties of a custom resolver.

func (*DnsSvcsV1) UpdateCustomResolverLocation added in v0.19.0

func (dnsSvcs *DnsSvcsV1) UpdateCustomResolverLocation(updateCustomResolverLocationOptions *UpdateCustomResolverLocationOptions) (result *Location, response *core.DetailedResponse, err error)

UpdateCustomResolverLocation : Update custom resolver location Update custom resolver location.

func (*DnsSvcsV1) UpdateCustomResolverLocationWithContext added in v0.19.0

func (dnsSvcs *DnsSvcsV1) UpdateCustomResolverLocationWithContext(ctx context.Context, updateCustomResolverLocationOptions *UpdateCustomResolverLocationOptions) (result *Location, response *core.DetailedResponse, err error)

UpdateCustomResolverLocationWithContext is an alternate form of the UpdateCustomResolverLocation method which supports a Context parameter

func (*DnsSvcsV1) UpdateCustomResolverWithContext added in v0.19.0

func (dnsSvcs *DnsSvcsV1) UpdateCustomResolverWithContext(ctx context.Context, updateCustomResolverOptions *UpdateCustomResolverOptions) (result *CustomResolver, response *core.DetailedResponse, err error)

UpdateCustomResolverWithContext is an alternate form of the UpdateCustomResolver method which supports a Context parameter

func (*DnsSvcsV1) UpdateDnszone

func (dnsSvcs *DnsSvcsV1) UpdateDnszone(updateDnszoneOptions *UpdateDnszoneOptions) (result *Dnszone, response *core.DetailedResponse, err error)

UpdateDnszone : Update DNS zone Update the properties of a DNS zone.

func (*DnsSvcsV1) UpdateDnszoneAccessRequest added in v0.31.0

func (dnsSvcs *DnsSvcsV1) UpdateDnszoneAccessRequest(updateDnszoneAccessRequestOptions *UpdateDnszoneAccessRequestOptions) (result *AccessRequest, response *core.DetailedResponse, err error)

UpdateDnszoneAccessRequest : Update an access request Update the state of an access request.

func (*DnsSvcsV1) UpdateDnszoneAccessRequestWithContext added in v0.31.0

func (dnsSvcs *DnsSvcsV1) UpdateDnszoneAccessRequestWithContext(ctx context.Context, updateDnszoneAccessRequestOptions *UpdateDnszoneAccessRequestOptions) (result *AccessRequest, response *core.DetailedResponse, err error)

UpdateDnszoneAccessRequestWithContext is an alternate form of the UpdateDnszoneAccessRequest method which supports a Context parameter

func (*DnsSvcsV1) UpdateDnszoneWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) UpdateDnszoneWithContext(ctx context.Context, updateDnszoneOptions *UpdateDnszoneOptions) (result *Dnszone, response *core.DetailedResponse, err error)

UpdateDnszoneWithContext is an alternate form of the UpdateDnszone method which supports a Context parameter

func (*DnsSvcsV1) UpdateForwardingRule added in v0.19.0

func (dnsSvcs *DnsSvcsV1) UpdateForwardingRule(updateForwardingRuleOptions *UpdateForwardingRuleOptions) (result *ForwardingRule, response *core.DetailedResponse, err error)

UpdateForwardingRule : Update a forwarding rule Update the properties of a forwarding rule on the given custom resolver.

func (*DnsSvcsV1) UpdateForwardingRuleWithContext added in v0.19.0

func (dnsSvcs *DnsSvcsV1) UpdateForwardingRuleWithContext(ctx context.Context, updateForwardingRuleOptions *UpdateForwardingRuleOptions) (result *ForwardingRule, response *core.DetailedResponse, err error)

UpdateForwardingRuleWithContext is an alternate form of the UpdateForwardingRule method which supports a Context parameter

func (*DnsSvcsV1) UpdateLinkedZone added in v0.31.0

func (dnsSvcs *DnsSvcsV1) UpdateLinkedZone(updateLinkedZoneOptions *UpdateLinkedZoneOptions) (result *LinkedDnszone, response *core.DetailedResponse, err error)

UpdateLinkedZone : Update the properties of a linked zone Update the properties of a linked zone.

func (*DnsSvcsV1) UpdateLinkedZoneWithContext added in v0.31.0

func (dnsSvcs *DnsSvcsV1) UpdateLinkedZoneWithContext(ctx context.Context, updateLinkedZoneOptions *UpdateLinkedZoneOptions) (result *LinkedDnszone, response *core.DetailedResponse, err error)

UpdateLinkedZoneWithContext is an alternate form of the UpdateLinkedZone method which supports a Context parameter

func (*DnsSvcsV1) UpdateLoadBalancer

func (dnsSvcs *DnsSvcsV1) UpdateLoadBalancer(updateLoadBalancerOptions *UpdateLoadBalancerOptions) (result *LoadBalancer, response *core.DetailedResponse, err error)

UpdateLoadBalancer : Update load balancer Update the properties of a load balancer.

func (*DnsSvcsV1) UpdateLoadBalancerWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) UpdateLoadBalancerWithContext(ctx context.Context, updateLoadBalancerOptions *UpdateLoadBalancerOptions) (result *LoadBalancer, response *core.DetailedResponse, err error)

UpdateLoadBalancerWithContext is an alternate form of the UpdateLoadBalancer method which supports a Context parameter

func (*DnsSvcsV1) UpdateMonitor

func (dnsSvcs *DnsSvcsV1) UpdateMonitor(updateMonitorOptions *UpdateMonitorOptions) (result *Monitor, response *core.DetailedResponse, err error)

UpdateMonitor : Update load balancer monitor Update the properties of a load balancer monitor.

func (*DnsSvcsV1) UpdateMonitorWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) UpdateMonitorWithContext(ctx context.Context, updateMonitorOptions *UpdateMonitorOptions) (result *Monitor, response *core.DetailedResponse, err error)

UpdateMonitorWithContext is an alternate form of the UpdateMonitor method which supports a Context parameter

func (*DnsSvcsV1) UpdatePool

func (dnsSvcs *DnsSvcsV1) UpdatePool(updatePoolOptions *UpdatePoolOptions) (result *Pool, response *core.DetailedResponse, err error)

UpdatePool : Update load balancer pool Update the properties of a load balancer pool.

func (*DnsSvcsV1) UpdatePoolWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) UpdatePoolWithContext(ctx context.Context, updatePoolOptions *UpdatePoolOptions) (result *Pool, response *core.DetailedResponse, err error)

UpdatePoolWithContext is an alternate form of the UpdatePool method which supports a Context parameter

func (*DnsSvcsV1) UpdateResourceRecord

func (dnsSvcs *DnsSvcsV1) UpdateResourceRecord(updateResourceRecordOptions *UpdateResourceRecordOptions) (result *ResourceRecord, response *core.DetailedResponse, err error)

UpdateResourceRecord : Update resource record Update the properties of a resource record.

func (*DnsSvcsV1) UpdateResourceRecordWithContext added in v0.12.2

func (dnsSvcs *DnsSvcsV1) UpdateResourceRecordWithContext(ctx context.Context, updateResourceRecordOptions *UpdateResourceRecordOptions) (result *ResourceRecord, response *core.DetailedResponse, err error)

UpdateResourceRecordWithContext is an alternate form of the UpdateResourceRecord method which supports a Context parameter

func (*DnsSvcsV1) UpdateSecondaryZone added in v0.31.0

func (dnsSvcs *DnsSvcsV1) UpdateSecondaryZone(updateSecondaryZoneOptions *UpdateSecondaryZoneOptions) (result *SecondaryZone, response *core.DetailedResponse, err error)

UpdateSecondaryZone : Update a secondary zone Update a secondary zone for the custom resolver.

func (*DnsSvcsV1) UpdateSecondaryZoneWithContext added in v0.31.0

func (dnsSvcs *DnsSvcsV1) UpdateSecondaryZoneWithContext(ctx context.Context, updateSecondaryZoneOptions *UpdateSecondaryZoneOptions) (result *SecondaryZone, response *core.DetailedResponse, err error)

UpdateSecondaryZoneWithContext is an alternate form of the UpdateSecondaryZone method which supports a Context parameter

type DnsSvcsV1Options

type DnsSvcsV1Options struct {
	ServiceName   string
	URL           string
	Authenticator core.Authenticator
}

DnsSvcsV1Options : Service options

type Dnszone

type Dnszone struct {
	// Unique identifier of a DNS zone.
	ID *string `json:"id,omitempty"`

	// The time when a DNS zone is created.
	CreatedOn *strfmt.DateTime `json:"created_on,omitempty"`

	// The recent time when a DNS zone is modified.
	ModifiedOn *strfmt.DateTime `json:"modified_on,omitempty"`

	// Unique identifier of a service instance.
	InstanceID *string `json:"instance_id,omitempty"`

	// Name of the DNS zone. Must be a fully qualified domain name.
	Name *string `json:"name,omitempty"`

	// The text describing the purpose of a DNS zone.
	Description *string `json:"description,omitempty"`

	// State of DNS zone.
	State *string `json:"state,omitempty"`

	// The label of a DNS zone.
	Label *string `json:"label,omitempty"`
}

Dnszone : DNS zone details.

type DnszoneAccessRequestsPager added in v0.41.0

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

DnszoneAccessRequestsPager can be used to simplify the use of the "ListDnszoneAccessRequests" method.

func (*DnszoneAccessRequestsPager) GetAll added in v0.41.0

func (pager *DnszoneAccessRequestsPager) GetAll() (allItems []AccessRequest, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*DnszoneAccessRequestsPager) GetAllWithContext added in v0.41.0

func (pager *DnszoneAccessRequestsPager) GetAllWithContext(ctx context.Context) (allItems []AccessRequest, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*DnszoneAccessRequestsPager) GetNext added in v0.41.0

func (pager *DnszoneAccessRequestsPager) GetNext() (page []AccessRequest, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*DnszoneAccessRequestsPager) GetNextWithContext added in v0.41.0

func (pager *DnszoneAccessRequestsPager) GetNextWithContext(ctx context.Context) (page []AccessRequest, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*DnszoneAccessRequestsPager) HasNext added in v0.41.0

func (pager *DnszoneAccessRequestsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type DnszonesPager added in v0.41.0

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

DnszonesPager can be used to simplify the use of the "ListDnszones" method.

func (*DnszonesPager) GetAll added in v0.41.0

func (pager *DnszonesPager) GetAll() (allItems []Dnszone, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*DnszonesPager) GetAllWithContext added in v0.41.0

func (pager *DnszonesPager) GetAllWithContext(ctx context.Context) (allItems []Dnszone, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*DnszonesPager) GetNext added in v0.41.0

func (pager *DnszonesPager) GetNext() (page []Dnszone, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*DnszonesPager) GetNextWithContext added in v0.41.0

func (pager *DnszonesPager) GetNextWithContext(ctx context.Context) (page []Dnszone, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*DnszonesPager) HasNext added in v0.41.0

func (pager *DnszonesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type ExportResourceRecordsOptions added in v0.19.0

type ExportResourceRecordsOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ExportResourceRecordsOptions : The ExportResourceRecords options.

func (*ExportResourceRecordsOptions) SetDnszoneID added in v0.19.0

func (_options *ExportResourceRecordsOptions) SetDnszoneID(dnszoneID string) *ExportResourceRecordsOptions

SetDnszoneID : Allow user to set DnszoneID

func (*ExportResourceRecordsOptions) SetHeaders added in v0.19.0

SetHeaders : Allow user to set Headers

func (*ExportResourceRecordsOptions) SetInstanceID added in v0.19.0

func (_options *ExportResourceRecordsOptions) SetInstanceID(instanceID string) *ExportResourceRecordsOptions

SetInstanceID : Allow user to set InstanceID

func (*ExportResourceRecordsOptions) SetXCorrelationID added in v0.19.0

func (_options *ExportResourceRecordsOptions) SetXCorrelationID(xCorrelationID string) *ExportResourceRecordsOptions

SetXCorrelationID : Allow user to set XCorrelationID

type ForwardingRule added in v0.19.0

type ForwardingRule struct {
	// Identifier of the forwarding rule.
	ID *string `json:"id,omitempty"`

	// Descriptive text of the forwarding rule.
	Description *string `json:"description,omitempty"`

	// Type of the forwarding rule.
	Type *string `json:"type,omitempty"`

	// The matching zone or hostname.
	Match *string `json:"match,omitempty"`

	// The upstream DNS servers will be forwarded to.
	ForwardTo []string `json:"forward_to,omitempty"`

	// the time when a forwarding rule is created, RFC3339 format.
	CreatedOn *strfmt.DateTime `json:"created_on,omitempty"`

	// the recent time when a forwarding rule is modified, RFC3339 format.
	ModifiedOn *strfmt.DateTime `json:"modified_on,omitempty"`
}

ForwardingRule : forwarding rule details.

type ForwardingRuleList added in v0.19.0

type ForwardingRuleList struct {
	// An array of forwarding rules.
	ForwardingRules []ForwardingRule `json:"forwarding_rules" validate:"required"`

	// The number of resources to skip over.
	Offset *int64 `json:"offset" validate:"required"`

	// The maximum number of resources might be returned.
	Limit *int64 `json:"limit" validate:"required"`

	// The number of resources are returned.
	Count *int64 `json:"count" validate:"required"`

	// Total number of resources.
	TotalCount *int64 `json:"total_count" validate:"required"`

	// href.
	First *PaginationRef `json:"first" validate:"required"`

	// href.
	Last *PaginationRef `json:"last" validate:"required"`

	// href.
	Previous *PaginationRef `json:"previous,omitempty"`

	// href.
	Next *PaginationRef `json:"next,omitempty"`
}

ForwardingRuleList : List of forwarding rules.

func (*ForwardingRuleList) GetNextOffset added in v0.41.0

func (resp *ForwardingRuleList) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

type ForwardingRulesPager added in v0.41.0

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

ForwardingRulesPager can be used to simplify the use of the "ListForwardingRules" method.

func (*ForwardingRulesPager) GetAll added in v0.41.0

func (pager *ForwardingRulesPager) GetAll() (allItems []ForwardingRule, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*ForwardingRulesPager) GetAllWithContext added in v0.41.0

func (pager *ForwardingRulesPager) GetAllWithContext(ctx context.Context) (allItems []ForwardingRule, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*ForwardingRulesPager) GetNext added in v0.41.0

func (pager *ForwardingRulesPager) GetNext() (page []ForwardingRule, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*ForwardingRulesPager) GetNextWithContext added in v0.41.0

func (pager *ForwardingRulesPager) GetNextWithContext(ctx context.Context) (page []ForwardingRule, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*ForwardingRulesPager) HasNext added in v0.41.0

func (pager *ForwardingRulesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type GetCustomResolverOptions added in v0.19.0

type GetCustomResolverOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a custom resolver.
	ResolverID *string `json:"resolver_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetCustomResolverOptions : The GetCustomResolver options.

func (*GetCustomResolverOptions) SetHeaders added in v0.19.0

func (options *GetCustomResolverOptions) SetHeaders(param map[string]string) *GetCustomResolverOptions

SetHeaders : Allow user to set Headers

func (*GetCustomResolverOptions) SetInstanceID added in v0.19.0

func (_options *GetCustomResolverOptions) SetInstanceID(instanceID string) *GetCustomResolverOptions

SetInstanceID : Allow user to set InstanceID

func (*GetCustomResolverOptions) SetResolverID added in v0.19.0

func (_options *GetCustomResolverOptions) SetResolverID(resolverID string) *GetCustomResolverOptions

SetResolverID : Allow user to set ResolverID

func (*GetCustomResolverOptions) SetXCorrelationID added in v0.19.0

func (_options *GetCustomResolverOptions) SetXCorrelationID(xCorrelationID string) *GetCustomResolverOptions

SetXCorrelationID : Allow user to set XCorrelationID

type GetDnszoneAccessRequestOptions added in v0.31.0

type GetDnszoneAccessRequestOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// The unique identifier of an access request.
	RequestID *string `json:"request_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetDnszoneAccessRequestOptions : The GetDnszoneAccessRequest options.

func (*GetDnszoneAccessRequestOptions) SetDnszoneID added in v0.31.0

func (_options *GetDnszoneAccessRequestOptions) SetDnszoneID(dnszoneID string) *GetDnszoneAccessRequestOptions

SetDnszoneID : Allow user to set DnszoneID

func (*GetDnszoneAccessRequestOptions) SetHeaders added in v0.31.0

SetHeaders : Allow user to set Headers

func (*GetDnszoneAccessRequestOptions) SetInstanceID added in v0.31.0

func (_options *GetDnszoneAccessRequestOptions) SetInstanceID(instanceID string) *GetDnszoneAccessRequestOptions

SetInstanceID : Allow user to set InstanceID

func (*GetDnszoneAccessRequestOptions) SetRequestID added in v0.31.0

func (_options *GetDnszoneAccessRequestOptions) SetRequestID(requestID string) *GetDnszoneAccessRequestOptions

SetRequestID : Allow user to set RequestID

func (*GetDnszoneAccessRequestOptions) SetXCorrelationID added in v0.31.0

func (_options *GetDnszoneAccessRequestOptions) SetXCorrelationID(xCorrelationID string) *GetDnszoneAccessRequestOptions

SetXCorrelationID : Allow user to set XCorrelationID

type GetDnszoneOptions

type GetDnszoneOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetDnszoneOptions : The GetDnszone options.

func (*GetDnszoneOptions) SetDnszoneID

func (_options *GetDnszoneOptions) SetDnszoneID(dnszoneID string) *GetDnszoneOptions

SetDnszoneID : Allow user to set DnszoneID

func (*GetDnszoneOptions) SetHeaders

func (options *GetDnszoneOptions) SetHeaders(param map[string]string) *GetDnszoneOptions

SetHeaders : Allow user to set Headers

func (*GetDnszoneOptions) SetInstanceID

func (_options *GetDnszoneOptions) SetInstanceID(instanceID string) *GetDnszoneOptions

SetInstanceID : Allow user to set InstanceID

func (*GetDnszoneOptions) SetXCorrelationID

func (_options *GetDnszoneOptions) SetXCorrelationID(xCorrelationID string) *GetDnszoneOptions

SetXCorrelationID : Allow user to set XCorrelationID

type GetForwardingRuleOptions added in v0.19.0

type GetForwardingRuleOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a custom resolver.
	ResolverID *string `json:"resolver_id" validate:"required,ne="`

	// The unique identifier of a rule.
	RuleID *string `json:"rule_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetForwardingRuleOptions : The GetForwardingRule options.

func (*GetForwardingRuleOptions) SetHeaders added in v0.19.0

func (options *GetForwardingRuleOptions) SetHeaders(param map[string]string) *GetForwardingRuleOptions

SetHeaders : Allow user to set Headers

func (*GetForwardingRuleOptions) SetInstanceID added in v0.19.0

func (_options *GetForwardingRuleOptions) SetInstanceID(instanceID string) *GetForwardingRuleOptions

SetInstanceID : Allow user to set InstanceID

func (*GetForwardingRuleOptions) SetResolverID added in v0.19.0

func (_options *GetForwardingRuleOptions) SetResolverID(resolverID string) *GetForwardingRuleOptions

SetResolverID : Allow user to set ResolverID

func (*GetForwardingRuleOptions) SetRuleID added in v0.19.0

func (_options *GetForwardingRuleOptions) SetRuleID(ruleID string) *GetForwardingRuleOptions

SetRuleID : Allow user to set RuleID

func (*GetForwardingRuleOptions) SetXCorrelationID added in v0.19.0

func (_options *GetForwardingRuleOptions) SetXCorrelationID(xCorrelationID string) *GetForwardingRuleOptions

SetXCorrelationID : Allow user to set XCorrelationID

type GetLinkedPermittedNetworkOptions added in v0.31.0

type GetLinkedPermittedNetworkOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a linked zone.
	LinkedDnszoneID *string `json:"linked_dnszone_id" validate:"required,ne="`

	// The unique identifier of a permitted network.
	PermittedNetworkID *string `json:"permitted_network_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetLinkedPermittedNetworkOptions : The GetLinkedPermittedNetwork options.

func (*GetLinkedPermittedNetworkOptions) SetHeaders added in v0.31.0

SetHeaders : Allow user to set Headers

func (*GetLinkedPermittedNetworkOptions) SetInstanceID added in v0.31.0

func (_options *GetLinkedPermittedNetworkOptions) SetInstanceID(instanceID string) *GetLinkedPermittedNetworkOptions

SetInstanceID : Allow user to set InstanceID

func (*GetLinkedPermittedNetworkOptions) SetLinkedDnszoneID added in v0.31.0

func (_options *GetLinkedPermittedNetworkOptions) SetLinkedDnszoneID(linkedDnszoneID string) *GetLinkedPermittedNetworkOptions

SetLinkedDnszoneID : Allow user to set LinkedDnszoneID

func (*GetLinkedPermittedNetworkOptions) SetPermittedNetworkID added in v0.31.0

func (_options *GetLinkedPermittedNetworkOptions) SetPermittedNetworkID(permittedNetworkID string) *GetLinkedPermittedNetworkOptions

SetPermittedNetworkID : Allow user to set PermittedNetworkID

func (*GetLinkedPermittedNetworkOptions) SetXCorrelationID added in v0.31.0

func (_options *GetLinkedPermittedNetworkOptions) SetXCorrelationID(xCorrelationID string) *GetLinkedPermittedNetworkOptions

SetXCorrelationID : Allow user to set XCorrelationID

type GetLinkedZoneOptions added in v0.31.0

type GetLinkedZoneOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a linked zone.
	LinkedDnszoneID *string `json:"linked_dnszone_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetLinkedZoneOptions : The GetLinkedZone options.

func (*GetLinkedZoneOptions) SetHeaders added in v0.31.0

func (options *GetLinkedZoneOptions) SetHeaders(param map[string]string) *GetLinkedZoneOptions

SetHeaders : Allow user to set Headers

func (*GetLinkedZoneOptions) SetInstanceID added in v0.31.0

func (_options *GetLinkedZoneOptions) SetInstanceID(instanceID string) *GetLinkedZoneOptions

SetInstanceID : Allow user to set InstanceID

func (*GetLinkedZoneOptions) SetLinkedDnszoneID added in v0.31.0

func (_options *GetLinkedZoneOptions) SetLinkedDnszoneID(linkedDnszoneID string) *GetLinkedZoneOptions

SetLinkedDnszoneID : Allow user to set LinkedDnszoneID

func (*GetLinkedZoneOptions) SetXCorrelationID added in v0.31.0

func (_options *GetLinkedZoneOptions) SetXCorrelationID(xCorrelationID string) *GetLinkedZoneOptions

SetXCorrelationID : Allow user to set XCorrelationID

type GetLoadBalancerOptions

type GetLoadBalancerOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// The unique identifier of a load balancer.
	LbID *string `json:"lb_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetLoadBalancerOptions : The GetLoadBalancer options.

func (*GetLoadBalancerOptions) SetDnszoneID

func (_options *GetLoadBalancerOptions) SetDnszoneID(dnszoneID string) *GetLoadBalancerOptions

SetDnszoneID : Allow user to set DnszoneID

func (*GetLoadBalancerOptions) SetHeaders

func (options *GetLoadBalancerOptions) SetHeaders(param map[string]string) *GetLoadBalancerOptions

SetHeaders : Allow user to set Headers

func (*GetLoadBalancerOptions) SetInstanceID

func (_options *GetLoadBalancerOptions) SetInstanceID(instanceID string) *GetLoadBalancerOptions

SetInstanceID : Allow user to set InstanceID

func (*GetLoadBalancerOptions) SetLbID

func (_options *GetLoadBalancerOptions) SetLbID(lbID string) *GetLoadBalancerOptions

SetLbID : Allow user to set LbID

func (*GetLoadBalancerOptions) SetXCorrelationID

func (_options *GetLoadBalancerOptions) SetXCorrelationID(xCorrelationID string) *GetLoadBalancerOptions

SetXCorrelationID : Allow user to set XCorrelationID

type GetMonitorOptions

type GetMonitorOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a load balancer monitor.
	MonitorID *string `json:"monitor_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetMonitorOptions : The GetMonitor options.

func (*GetMonitorOptions) SetHeaders

func (options *GetMonitorOptions) SetHeaders(param map[string]string) *GetMonitorOptions

SetHeaders : Allow user to set Headers

func (*GetMonitorOptions) SetInstanceID

func (_options *GetMonitorOptions) SetInstanceID(instanceID string) *GetMonitorOptions

SetInstanceID : Allow user to set InstanceID

func (*GetMonitorOptions) SetMonitorID

func (_options *GetMonitorOptions) SetMonitorID(monitorID string) *GetMonitorOptions

SetMonitorID : Allow user to set MonitorID

func (*GetMonitorOptions) SetXCorrelationID

func (_options *GetMonitorOptions) SetXCorrelationID(xCorrelationID string) *GetMonitorOptions

SetXCorrelationID : Allow user to set XCorrelationID

type GetPermittedNetworkOptions

type GetPermittedNetworkOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// The unique identifier of a permitted network.
	PermittedNetworkID *string `json:"permitted_network_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetPermittedNetworkOptions : The GetPermittedNetwork options.

func (*GetPermittedNetworkOptions) SetDnszoneID

func (_options *GetPermittedNetworkOptions) SetDnszoneID(dnszoneID string) *GetPermittedNetworkOptions

SetDnszoneID : Allow user to set DnszoneID

func (*GetPermittedNetworkOptions) SetHeaders

func (options *GetPermittedNetworkOptions) SetHeaders(param map[string]string) *GetPermittedNetworkOptions

SetHeaders : Allow user to set Headers

func (*GetPermittedNetworkOptions) SetInstanceID

func (_options *GetPermittedNetworkOptions) SetInstanceID(instanceID string) *GetPermittedNetworkOptions

SetInstanceID : Allow user to set InstanceID

func (*GetPermittedNetworkOptions) SetPermittedNetworkID

func (_options *GetPermittedNetworkOptions) SetPermittedNetworkID(permittedNetworkID string) *GetPermittedNetworkOptions

SetPermittedNetworkID : Allow user to set PermittedNetworkID

func (*GetPermittedNetworkOptions) SetXCorrelationID

func (_options *GetPermittedNetworkOptions) SetXCorrelationID(xCorrelationID string) *GetPermittedNetworkOptions

SetXCorrelationID : Allow user to set XCorrelationID

type GetPoolOptions

type GetPoolOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a load balancer pool.
	PoolID *string `json:"pool_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetPoolOptions : The GetPool options.

func (*GetPoolOptions) SetHeaders

func (options *GetPoolOptions) SetHeaders(param map[string]string) *GetPoolOptions

SetHeaders : Allow user to set Headers

func (*GetPoolOptions) SetInstanceID

func (_options *GetPoolOptions) SetInstanceID(instanceID string) *GetPoolOptions

SetInstanceID : Allow user to set InstanceID

func (*GetPoolOptions) SetPoolID

func (_options *GetPoolOptions) SetPoolID(poolID string) *GetPoolOptions

SetPoolID : Allow user to set PoolID

func (*GetPoolOptions) SetXCorrelationID

func (_options *GetPoolOptions) SetXCorrelationID(xCorrelationID string) *GetPoolOptions

SetXCorrelationID : Allow user to set XCorrelationID

type GetResourceRecordOptions

type GetResourceRecordOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// The unique identifier of a resource record.
	RecordID *string `json:"record_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetResourceRecordOptions : The GetResourceRecord options.

func (*GetResourceRecordOptions) SetDnszoneID

func (_options *GetResourceRecordOptions) SetDnszoneID(dnszoneID string) *GetResourceRecordOptions

SetDnszoneID : Allow user to set DnszoneID

func (*GetResourceRecordOptions) SetHeaders

func (options *GetResourceRecordOptions) SetHeaders(param map[string]string) *GetResourceRecordOptions

SetHeaders : Allow user to set Headers

func (*GetResourceRecordOptions) SetInstanceID

func (_options *GetResourceRecordOptions) SetInstanceID(instanceID string) *GetResourceRecordOptions

SetInstanceID : Allow user to set InstanceID

func (*GetResourceRecordOptions) SetRecordID

func (_options *GetResourceRecordOptions) SetRecordID(recordID string) *GetResourceRecordOptions

SetRecordID : Allow user to set RecordID

func (*GetResourceRecordOptions) SetXCorrelationID

func (_options *GetResourceRecordOptions) SetXCorrelationID(xCorrelationID string) *GetResourceRecordOptions

SetXCorrelationID : Allow user to set XCorrelationID

type GetSecondaryZoneOptions added in v0.31.0

type GetSecondaryZoneOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a custom resolver.
	ResolverID *string `json:"resolver_id" validate:"required,ne="`

	// The unique identifier of a secondary zone.
	SecondaryZoneID *string `json:"secondary_zone_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetSecondaryZoneOptions : The GetSecondaryZone options.

func (*GetSecondaryZoneOptions) SetHeaders added in v0.31.0

func (options *GetSecondaryZoneOptions) SetHeaders(param map[string]string) *GetSecondaryZoneOptions

SetHeaders : Allow user to set Headers

func (*GetSecondaryZoneOptions) SetInstanceID added in v0.31.0

func (_options *GetSecondaryZoneOptions) SetInstanceID(instanceID string) *GetSecondaryZoneOptions

SetInstanceID : Allow user to set InstanceID

func (*GetSecondaryZoneOptions) SetResolverID added in v0.31.0

func (_options *GetSecondaryZoneOptions) SetResolverID(resolverID string) *GetSecondaryZoneOptions

SetResolverID : Allow user to set ResolverID

func (*GetSecondaryZoneOptions) SetSecondaryZoneID added in v0.31.0

func (_options *GetSecondaryZoneOptions) SetSecondaryZoneID(secondaryZoneID string) *GetSecondaryZoneOptions

SetSecondaryZoneID : Allow user to set SecondaryZoneID

func (*GetSecondaryZoneOptions) SetXCorrelationID added in v0.31.0

func (_options *GetSecondaryZoneOptions) SetXCorrelationID(xCorrelationID string) *GetSecondaryZoneOptions

SetXCorrelationID : Allow user to set XCorrelationID

type HealthcheckHeader

type HealthcheckHeader struct {
	// The name of HTTP request header.
	Name *string `json:"name" validate:"required"`

	// The value of HTTP request header.
	Value []string `json:"value" validate:"required"`
}

HealthcheckHeader : The HTTP header of health check request.

type ImportResourceRecordsOptions added in v0.19.0

type ImportResourceRecordsOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// file to upload.
	File io.ReadCloser `json:"file,omitempty"`

	// The content type of file.
	FileContentType *string `json:"file_content_type,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ImportResourceRecordsOptions : The ImportResourceRecords options.

func (*ImportResourceRecordsOptions) SetDnszoneID added in v0.19.0

func (_options *ImportResourceRecordsOptions) SetDnszoneID(dnszoneID string) *ImportResourceRecordsOptions

SetDnszoneID : Allow user to set DnszoneID

func (*ImportResourceRecordsOptions) SetFile added in v0.19.0

SetFile : Allow user to set File

func (*ImportResourceRecordsOptions) SetFileContentType added in v0.19.0

func (_options *ImportResourceRecordsOptions) SetFileContentType(fileContentType string) *ImportResourceRecordsOptions

SetFileContentType : Allow user to set FileContentType

func (*ImportResourceRecordsOptions) SetHeaders added in v0.19.0

SetHeaders : Allow user to set Headers

func (*ImportResourceRecordsOptions) SetInstanceID added in v0.19.0

func (_options *ImportResourceRecordsOptions) SetInstanceID(instanceID string) *ImportResourceRecordsOptions

SetInstanceID : Allow user to set InstanceID

func (*ImportResourceRecordsOptions) SetXCorrelationID added in v0.19.0

func (_options *ImportResourceRecordsOptions) SetXCorrelationID(xCorrelationID string) *ImportResourceRecordsOptions

SetXCorrelationID : Allow user to set XCorrelationID

type ImportResourceRecordsResp added in v0.19.0

type ImportResourceRecordsResp struct {
	// Number of records parsed from the zone file.
	TotalRecordsParsed *int64 `json:"total_records_parsed" validate:"required"`

	// Number of records imported successfully.
	RecordsAdded *int64 `json:"records_added" validate:"required"`

	// Number of records failed import.
	RecordsFailed *int64 `json:"records_failed" validate:"required"`

	// Number of records classified by type.
	RecordsAddedByType *RecordStatsByType `json:"records_added_by_type" validate:"required"`

	// Number of records classified by type.
	RecordsFailedByType *RecordStatsByType `json:"records_failed_by_type" validate:"required"`

	// Error messages.
	Messages []RecordsImportMessageModel `json:"messages,omitempty"`

	// Number of records parsed from the zone file.
	Errors []RecordsImportErrorModel `json:"errors,omitempty"`
}

ImportResourceRecordsResp : Import DNS records response.

type LinkedDnszone added in v0.31.0

type LinkedDnszone struct {
	// Identifier of the linked zone.
	ID *string `json:"id" validate:"required"`

	// Unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required"`

	// Name of owner's DNS zone.
	Name *string `json:"name" validate:"required"`

	// Descriptive text of the linked zone.
	Description *string `json:"description,omitempty"`

	// The owner's instance and zone that the zone is linked to.
	LinkedTo *LinkedDnszoneLinkedTo `json:"linked_to" validate:"required"`

	// The state of linked zone.
	State *string `json:"state" validate:"required"`

	// The label of linked zone.
	Label *string `json:"label,omitempty"`

	// The expired time of linked zone with state `approval pending`.
	ApprovalRequiredBefore *strfmt.DateTime `json:"approval_required_before,omitempty"`

	// The time when the linked zone is created.
	CreatedOn *strfmt.DateTime `json:"created_on,omitempty"`

	// The recent time when the linked zone is modified.
	ModifiedOn *strfmt.DateTime `json:"modified_on,omitempty"`
}

LinkedDnszone : linked zone details.

type LinkedDnszoneLinkedTo added in v0.31.0

type LinkedDnszoneLinkedTo struct {
	// The owner's instance CRN.
	InstanceCrn *string `json:"instance_crn,omitempty"`

	// The owner's DNS zone.
	ZoneID *string `json:"zone_id,omitempty"`
}

LinkedDnszoneLinkedTo : The owner's instance and zone that the zone is linked to.

type LinkedDnszonesList added in v0.31.0

type LinkedDnszonesList struct {
	// The list of linked zones.
	LinkedDnszones []LinkedDnszone `json:"linked_dnszones" validate:"required"`

	// The number of resources to skip over.
	Offset *int64 `json:"offset" validate:"required"`

	// The maximum number of resources might be returned.
	Limit *int64 `json:"limit" validate:"required"`

	// The number of resources are returned.
	Count *int64 `json:"count" validate:"required"`

	// Total number of resources.
	TotalCount *int64 `json:"total_count" validate:"required"`

	// href.
	First *PaginationRef `json:"first,omitempty"`

	// href.
	Last *PaginationRef `json:"last,omitempty"`

	// href.
	Previous *PaginationRef `json:"previous,omitempty"`

	// href.
	Next *PaginationRef `json:"next,omitempty"`
}

LinkedDnszonesList : The list of linked zones.

func (*LinkedDnszonesList) GetNextOffset added in v0.31.0

func (resp *LinkedDnszonesList) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

type LinkedZonesPager added in v0.41.0

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

LinkedZonesPager can be used to simplify the use of the "ListLinkedZones" method.

func (*LinkedZonesPager) GetAll added in v0.41.0

func (pager *LinkedZonesPager) GetAll() (allItems []LinkedDnszone, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*LinkedZonesPager) GetAllWithContext added in v0.41.0

func (pager *LinkedZonesPager) GetAllWithContext(ctx context.Context) (allItems []LinkedDnszone, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*LinkedZonesPager) GetNext added in v0.41.0

func (pager *LinkedZonesPager) GetNext() (page []LinkedDnszone, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*LinkedZonesPager) GetNextWithContext added in v0.41.0

func (pager *LinkedZonesPager) GetNextWithContext(ctx context.Context) (page []LinkedDnszone, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*LinkedZonesPager) HasNext added in v0.41.0

func (pager *LinkedZonesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type ListCustomResolversOptions added in v0.19.0

type ListCustomResolversOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListCustomResolversOptions : The ListCustomResolvers options.

func (*ListCustomResolversOptions) SetHeaders added in v0.19.0

func (options *ListCustomResolversOptions) SetHeaders(param map[string]string) *ListCustomResolversOptions

SetHeaders : Allow user to set Headers

func (*ListCustomResolversOptions) SetInstanceID added in v0.19.0

func (_options *ListCustomResolversOptions) SetInstanceID(instanceID string) *ListCustomResolversOptions

SetInstanceID : Allow user to set InstanceID

func (*ListCustomResolversOptions) SetXCorrelationID added in v0.19.0

func (_options *ListCustomResolversOptions) SetXCorrelationID(xCorrelationID string) *ListCustomResolversOptions

SetXCorrelationID : Allow user to set XCorrelationID

type ListDnszoneAccessRequestsOptions added in v0.31.0

type ListDnszoneAccessRequestsOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Specify how many resources to skip over, the default value is 0.
	Offset *int64 `json:"offset,omitempty"`

	// Specify maximum resources might be returned.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListDnszoneAccessRequestsOptions : The ListDnszoneAccessRequests options.

func (*ListDnszoneAccessRequestsOptions) SetDnszoneID added in v0.31.0

SetDnszoneID : Allow user to set DnszoneID

func (*ListDnszoneAccessRequestsOptions) SetHeaders added in v0.31.0

SetHeaders : Allow user to set Headers

func (*ListDnszoneAccessRequestsOptions) SetInstanceID added in v0.31.0

func (_options *ListDnszoneAccessRequestsOptions) SetInstanceID(instanceID string) *ListDnszoneAccessRequestsOptions

SetInstanceID : Allow user to set InstanceID

func (*ListDnszoneAccessRequestsOptions) SetLimit added in v0.31.0

SetLimit : Allow user to set Limit

func (*ListDnszoneAccessRequestsOptions) SetOffset added in v0.31.0

SetOffset : Allow user to set Offset

func (*ListDnszoneAccessRequestsOptions) SetXCorrelationID added in v0.31.0

func (_options *ListDnszoneAccessRequestsOptions) SetXCorrelationID(xCorrelationID string) *ListDnszoneAccessRequestsOptions

SetXCorrelationID : Allow user to set XCorrelationID

type ListDnszones

type ListDnszones struct {
	// An array of DNS zones.
	Dnszones []Dnszone `json:"dnszones" validate:"required"`

	// The number of resources to skip over.
	Offset *int64 `json:"offset" validate:"required"`

	// The maximum number of resources might be returned.
	Limit *int64 `json:"limit" validate:"required"`

	// The number of resources are returned.
	Count *int64 `json:"count" validate:"required"`

	// Total number of resources.
	TotalCount *int64 `json:"total_count" validate:"required"`

	// href.
	First *PaginationRef `json:"first" validate:"required"`

	// href.
	Last *PaginationRef `json:"last" validate:"required"`

	// href.
	Previous *PaginationRef `json:"previous,omitempty"`

	// href.
	Next *PaginationRef `json:"next,omitempty"`
}

ListDnszones : List DNS zones response.

func (*ListDnszones) GetNextOffset added in v0.22.0

func (resp *ListDnszones) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

type ListDnszonesOptions

type ListDnszonesOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Specify how many resources to skip over, the default value is 0.
	Offset *int64 `json:"offset,omitempty"`

	// Specify maximum resources might be returned.
	Limit *int64 `json:"limit,omitempty"`

	// Specify the VPC ID.
	VpcID *string `json:"vpc_id,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListDnszonesOptions : The ListDnszones options.

func (*ListDnszonesOptions) SetHeaders

func (options *ListDnszonesOptions) SetHeaders(param map[string]string) *ListDnszonesOptions

SetHeaders : Allow user to set Headers

func (*ListDnszonesOptions) SetInstanceID

func (_options *ListDnszonesOptions) SetInstanceID(instanceID string) *ListDnszonesOptions

SetInstanceID : Allow user to set InstanceID

func (*ListDnszonesOptions) SetLimit

func (_options *ListDnszonesOptions) SetLimit(limit int64) *ListDnszonesOptions

SetLimit : Allow user to set Limit

func (*ListDnszonesOptions) SetOffset

func (_options *ListDnszonesOptions) SetOffset(offset int64) *ListDnszonesOptions

SetOffset : Allow user to set Offset

func (*ListDnszonesOptions) SetVpcID added in v0.41.0

func (_options *ListDnszonesOptions) SetVpcID(vpcID string) *ListDnszonesOptions

SetVpcID : Allow user to set VpcID

func (*ListDnszonesOptions) SetXCorrelationID

func (_options *ListDnszonesOptions) SetXCorrelationID(xCorrelationID string) *ListDnszonesOptions

SetXCorrelationID : Allow user to set XCorrelationID

type ListForwardingRulesOptions added in v0.19.0

type ListForwardingRulesOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a custom resolver.
	ResolverID *string `json:"resolver_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Specify how many resources to skip over, the default value is 0.
	Offset *int64 `json:"offset,omitempty"`

	// Specify maximum resources might be returned.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListForwardingRulesOptions : The ListForwardingRules options.

func (*ListForwardingRulesOptions) SetHeaders added in v0.19.0

func (options *ListForwardingRulesOptions) SetHeaders(param map[string]string) *ListForwardingRulesOptions

SetHeaders : Allow user to set Headers

func (*ListForwardingRulesOptions) SetInstanceID added in v0.19.0

func (_options *ListForwardingRulesOptions) SetInstanceID(instanceID string) *ListForwardingRulesOptions

SetInstanceID : Allow user to set InstanceID

func (*ListForwardingRulesOptions) SetLimit added in v0.41.0

func (_options *ListForwardingRulesOptions) SetLimit(limit int64) *ListForwardingRulesOptions

SetLimit : Allow user to set Limit

func (*ListForwardingRulesOptions) SetOffset added in v0.41.0

func (_options *ListForwardingRulesOptions) SetOffset(offset int64) *ListForwardingRulesOptions

SetOffset : Allow user to set Offset

func (*ListForwardingRulesOptions) SetResolverID added in v0.19.0

func (_options *ListForwardingRulesOptions) SetResolverID(resolverID string) *ListForwardingRulesOptions

SetResolverID : Allow user to set ResolverID

func (*ListForwardingRulesOptions) SetXCorrelationID added in v0.19.0

func (_options *ListForwardingRulesOptions) SetXCorrelationID(xCorrelationID string) *ListForwardingRulesOptions

SetXCorrelationID : Allow user to set XCorrelationID

type ListLinkedPermittedNetworksOptions added in v0.31.0

type ListLinkedPermittedNetworksOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a linked zone.
	LinkedDnszoneID *string `json:"linked_dnszone_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListLinkedPermittedNetworksOptions : The ListLinkedPermittedNetworks options.

func (*ListLinkedPermittedNetworksOptions) SetHeaders added in v0.31.0

SetHeaders : Allow user to set Headers

func (*ListLinkedPermittedNetworksOptions) SetInstanceID added in v0.31.0

SetInstanceID : Allow user to set InstanceID

func (*ListLinkedPermittedNetworksOptions) SetLinkedDnszoneID added in v0.31.0

func (_options *ListLinkedPermittedNetworksOptions) SetLinkedDnszoneID(linkedDnszoneID string) *ListLinkedPermittedNetworksOptions

SetLinkedDnszoneID : Allow user to set LinkedDnszoneID

func (*ListLinkedPermittedNetworksOptions) SetXCorrelationID added in v0.31.0

func (_options *ListLinkedPermittedNetworksOptions) SetXCorrelationID(xCorrelationID string) *ListLinkedPermittedNetworksOptions

SetXCorrelationID : Allow user to set XCorrelationID

type ListLinkedZonesOptions added in v0.31.0

type ListLinkedZonesOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Specify how many resources to skip over, the default value is 0.
	Offset *int64 `json:"offset,omitempty"`

	// Specify maximum resources might be returned.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListLinkedZonesOptions : The ListLinkedZones options.

func (*ListLinkedZonesOptions) SetHeaders added in v0.31.0

func (options *ListLinkedZonesOptions) SetHeaders(param map[string]string) *ListLinkedZonesOptions

SetHeaders : Allow user to set Headers

func (*ListLinkedZonesOptions) SetInstanceID added in v0.31.0

func (_options *ListLinkedZonesOptions) SetInstanceID(instanceID string) *ListLinkedZonesOptions

SetInstanceID : Allow user to set InstanceID

func (*ListLinkedZonesOptions) SetLimit added in v0.31.0

func (_options *ListLinkedZonesOptions) SetLimit(limit int64) *ListLinkedZonesOptions

SetLimit : Allow user to set Limit

func (*ListLinkedZonesOptions) SetOffset added in v0.31.0

func (_options *ListLinkedZonesOptions) SetOffset(offset int64) *ListLinkedZonesOptions

SetOffset : Allow user to set Offset

func (*ListLinkedZonesOptions) SetXCorrelationID added in v0.31.0

func (_options *ListLinkedZonesOptions) SetXCorrelationID(xCorrelationID string) *ListLinkedZonesOptions

SetXCorrelationID : Allow user to set XCorrelationID

type ListLoadBalancers

type ListLoadBalancers struct {
	// An array of Global Load Balancers.
	LoadBalancers []LoadBalancer `json:"load_balancers" validate:"required"`

	// The number of resources to skip over.
	Offset *int64 `json:"offset" validate:"required"`

	// The maximum number of resources might be returned.
	Limit *int64 `json:"limit" validate:"required"`

	// The number of resources are returned.
	Count *int64 `json:"count" validate:"required"`

	// Total number of resources.
	TotalCount *int64 `json:"total_count" validate:"required"`

	// href.
	First *PaginationRef `json:"first" validate:"required"`

	// href.
	Last *PaginationRef `json:"last" validate:"required"`

	// href.
	Previous *PaginationRef `json:"previous,omitempty"`

	// href.
	Next *PaginationRef `json:"next,omitempty"`
}

ListLoadBalancers : List Global Load Balancers response.

func (*ListLoadBalancers) GetNextOffset added in v0.31.0

func (resp *ListLoadBalancers) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

type ListLoadBalancersOptions

type ListLoadBalancersOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Specify how many resources to skip over, the default value is 0.
	Offset *int64 `json:"offset,omitempty"`

	// Specify maximum resources might be returned.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListLoadBalancersOptions : The ListLoadBalancers options.

func (*ListLoadBalancersOptions) SetDnszoneID

func (_options *ListLoadBalancersOptions) SetDnszoneID(dnszoneID string) *ListLoadBalancersOptions

SetDnszoneID : Allow user to set DnszoneID

func (*ListLoadBalancersOptions) SetHeaders

func (options *ListLoadBalancersOptions) SetHeaders(param map[string]string) *ListLoadBalancersOptions

SetHeaders : Allow user to set Headers

func (*ListLoadBalancersOptions) SetInstanceID

func (_options *ListLoadBalancersOptions) SetInstanceID(instanceID string) *ListLoadBalancersOptions

SetInstanceID : Allow user to set InstanceID

func (*ListLoadBalancersOptions) SetLimit added in v0.31.0

func (_options *ListLoadBalancersOptions) SetLimit(limit int64) *ListLoadBalancersOptions

SetLimit : Allow user to set Limit

func (*ListLoadBalancersOptions) SetOffset added in v0.31.0

func (_options *ListLoadBalancersOptions) SetOffset(offset int64) *ListLoadBalancersOptions

SetOffset : Allow user to set Offset

func (*ListLoadBalancersOptions) SetXCorrelationID

func (_options *ListLoadBalancersOptions) SetXCorrelationID(xCorrelationID string) *ListLoadBalancersOptions

SetXCorrelationID : Allow user to set XCorrelationID

type ListMonitors

type ListMonitors struct {
	// An array of load balancer monitors.
	Monitors []Monitor `json:"monitors" validate:"required"`

	// The number of resources to skip over.
	Offset *int64 `json:"offset" validate:"required"`

	// The maximum number of resources might be returned.
	Limit *int64 `json:"limit" validate:"required"`

	// The number of resources are returned.
	Count *int64 `json:"count" validate:"required"`

	// Total number of resources.
	TotalCount *int64 `json:"total_count" validate:"required"`

	// href.
	First *PaginationRef `json:"first" validate:"required"`

	// href.
	Last *PaginationRef `json:"last" validate:"required"`

	// href.
	Previous *PaginationRef `json:"previous,omitempty"`

	// href.
	Next *PaginationRef `json:"next,omitempty"`
}

ListMonitors : List load balancer monitors response.

func (*ListMonitors) GetNextOffset added in v0.31.0

func (resp *ListMonitors) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

type ListMonitorsOptions

type ListMonitorsOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Specify how many resources to skip over, the default value is 0.
	Offset *int64 `json:"offset,omitempty"`

	// Specify maximum resources might be returned.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListMonitorsOptions : The ListMonitors options.

func (*ListMonitorsOptions) SetHeaders

func (options *ListMonitorsOptions) SetHeaders(param map[string]string) *ListMonitorsOptions

SetHeaders : Allow user to set Headers

func (*ListMonitorsOptions) SetInstanceID

func (_options *ListMonitorsOptions) SetInstanceID(instanceID string) *ListMonitorsOptions

SetInstanceID : Allow user to set InstanceID

func (*ListMonitorsOptions) SetLimit added in v0.31.0

func (_options *ListMonitorsOptions) SetLimit(limit int64) *ListMonitorsOptions

SetLimit : Allow user to set Limit

func (*ListMonitorsOptions) SetOffset added in v0.31.0

func (_options *ListMonitorsOptions) SetOffset(offset int64) *ListMonitorsOptions

SetOffset : Allow user to set Offset

func (*ListMonitorsOptions) SetXCorrelationID

func (_options *ListMonitorsOptions) SetXCorrelationID(xCorrelationID string) *ListMonitorsOptions

SetXCorrelationID : Allow user to set XCorrelationID

type ListPermittedNetworks

type ListPermittedNetworks struct {
	// An array of permitted networks.
	PermittedNetworks []PermittedNetwork `json:"permitted_networks" validate:"required"`
}

ListPermittedNetworks : List permitted networks response.

type ListPermittedNetworksOptions

type ListPermittedNetworksOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// The account identifiers of the owner zone and linked zones in the format of "?account=account1,account2,account3".
	// Maximum 5 accounts are allowed.
	Accounts *string `json:"accounts,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListPermittedNetworksOptions : The ListPermittedNetworks options.

func (*ListPermittedNetworksOptions) SetAccounts added in v0.41.0

func (_options *ListPermittedNetworksOptions) SetAccounts(accounts string) *ListPermittedNetworksOptions

SetAccounts : Allow user to set Accounts

func (*ListPermittedNetworksOptions) SetDnszoneID

func (_options *ListPermittedNetworksOptions) SetDnszoneID(dnszoneID string) *ListPermittedNetworksOptions

SetDnszoneID : Allow user to set DnszoneID

func (*ListPermittedNetworksOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListPermittedNetworksOptions) SetInstanceID

func (_options *ListPermittedNetworksOptions) SetInstanceID(instanceID string) *ListPermittedNetworksOptions

SetInstanceID : Allow user to set InstanceID

func (*ListPermittedNetworksOptions) SetXCorrelationID

func (_options *ListPermittedNetworksOptions) SetXCorrelationID(xCorrelationID string) *ListPermittedNetworksOptions

SetXCorrelationID : Allow user to set XCorrelationID

type ListPools

type ListPools struct {
	// An array of load balancer pools.
	Pools []Pool `json:"pools" validate:"required"`

	// The number of resources to skip over.
	Offset *int64 `json:"offset" validate:"required"`

	// The maximum number of resources might be returned.
	Limit *int64 `json:"limit" validate:"required"`

	// The number of resources are returned.
	Count *int64 `json:"count" validate:"required"`

	// Total number of resources.
	TotalCount *int64 `json:"total_count" validate:"required"`

	// href.
	First *PaginationRef `json:"first" validate:"required"`

	// href.
	Last *PaginationRef `json:"last" validate:"required"`

	// href.
	Previous *PaginationRef `json:"previous,omitempty"`

	// href.
	Next *PaginationRef `json:"next,omitempty"`
}

ListPools : List load balancer pools response.

func (*ListPools) GetNextOffset added in v0.31.0

func (resp *ListPools) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

type ListPoolsOptions

type ListPoolsOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Specify how many resources to skip over, the default value is 0.
	Offset *int64 `json:"offset,omitempty"`

	// Specify maximum resources might be returned.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListPoolsOptions : The ListPools options.

func (*ListPoolsOptions) SetHeaders

func (options *ListPoolsOptions) SetHeaders(param map[string]string) *ListPoolsOptions

SetHeaders : Allow user to set Headers

func (*ListPoolsOptions) SetInstanceID

func (_options *ListPoolsOptions) SetInstanceID(instanceID string) *ListPoolsOptions

SetInstanceID : Allow user to set InstanceID

func (*ListPoolsOptions) SetLimit added in v0.31.0

func (_options *ListPoolsOptions) SetLimit(limit int64) *ListPoolsOptions

SetLimit : Allow user to set Limit

func (*ListPoolsOptions) SetOffset added in v0.31.0

func (_options *ListPoolsOptions) SetOffset(offset int64) *ListPoolsOptions

SetOffset : Allow user to set Offset

func (*ListPoolsOptions) SetXCorrelationID

func (_options *ListPoolsOptions) SetXCorrelationID(xCorrelationID string) *ListPoolsOptions

SetXCorrelationID : Allow user to set XCorrelationID

type ListResourceRecords

type ListResourceRecords struct {
	// An array of resource records.
	ResourceRecords []ResourceRecord `json:"resource_records" validate:"required"`

	// The number of resources to skip over.
	Offset *int64 `json:"offset" validate:"required"`

	// The maximum number of resources might be returned.
	Limit *int64 `json:"limit" validate:"required"`

	// The number of resources are returned.
	Count *int64 `json:"count" validate:"required"`

	// Total number of resources.
	TotalCount *int64 `json:"total_count" validate:"required"`

	// href.
	First *PaginationRef `json:"first" validate:"required"`

	// href.
	Last *PaginationRef `json:"last" validate:"required"`

	// href.
	Previous *PaginationRef `json:"previous,omitempty"`

	// href.
	Next *PaginationRef `json:"next,omitempty"`
}

ListResourceRecords : List Resource Records response.

func (*ListResourceRecords) GetNextOffset added in v0.22.0

func (resp *ListResourceRecords) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

type ListResourceRecordsOptions

type ListResourceRecordsOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Specify how many resources to skip over, the default value is 0.
	Offset *int64 `json:"offset,omitempty"`

	// Specify maximum resources might be returned.
	Limit *int64 `json:"limit,omitempty"`

	// Specify the type of resource record to query.
	Type *string `json:"type,omitempty"`

	// Specify the name of resource record to query.
	Name *string `json:"name,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListResourceRecordsOptions : The ListResourceRecords options.

func (*ListResourceRecordsOptions) SetDnszoneID

func (_options *ListResourceRecordsOptions) SetDnszoneID(dnszoneID string) *ListResourceRecordsOptions

SetDnszoneID : Allow user to set DnszoneID

func (*ListResourceRecordsOptions) SetHeaders

func (options *ListResourceRecordsOptions) SetHeaders(param map[string]string) *ListResourceRecordsOptions

SetHeaders : Allow user to set Headers

func (*ListResourceRecordsOptions) SetInstanceID

func (_options *ListResourceRecordsOptions) SetInstanceID(instanceID string) *ListResourceRecordsOptions

SetInstanceID : Allow user to set InstanceID

func (*ListResourceRecordsOptions) SetLimit

func (_options *ListResourceRecordsOptions) SetLimit(limit int64) *ListResourceRecordsOptions

SetLimit : Allow user to set Limit

func (*ListResourceRecordsOptions) SetName added in v0.41.0

SetName : Allow user to set Name

func (*ListResourceRecordsOptions) SetOffset

func (_options *ListResourceRecordsOptions) SetOffset(offset int64) *ListResourceRecordsOptions

SetOffset : Allow user to set Offset

func (*ListResourceRecordsOptions) SetType added in v0.41.0

func (_options *ListResourceRecordsOptions) SetType(typeVar string) *ListResourceRecordsOptions

SetType : Allow user to set Type

func (*ListResourceRecordsOptions) SetXCorrelationID

func (_options *ListResourceRecordsOptions) SetXCorrelationID(xCorrelationID string) *ListResourceRecordsOptions

SetXCorrelationID : Allow user to set XCorrelationID

type ListSecondaryZonesOptions added in v0.31.0

type ListSecondaryZonesOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a custom resolver.
	ResolverID *string `json:"resolver_id" validate:"required,ne="`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Specify how many resources to skip over, the default value is 0.
	Offset *int64 `json:"offset,omitempty"`

	// Specify maximum resources might be returned.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListSecondaryZonesOptions : The ListSecondaryZones options.

func (*ListSecondaryZonesOptions) SetHeaders added in v0.31.0

func (options *ListSecondaryZonesOptions) SetHeaders(param map[string]string) *ListSecondaryZonesOptions

SetHeaders : Allow user to set Headers

func (*ListSecondaryZonesOptions) SetInstanceID added in v0.31.0

func (_options *ListSecondaryZonesOptions) SetInstanceID(instanceID string) *ListSecondaryZonesOptions

SetInstanceID : Allow user to set InstanceID

func (*ListSecondaryZonesOptions) SetLimit added in v0.31.0

func (_options *ListSecondaryZonesOptions) SetLimit(limit int64) *ListSecondaryZonesOptions

SetLimit : Allow user to set Limit

func (*ListSecondaryZonesOptions) SetOffset added in v0.31.0

func (_options *ListSecondaryZonesOptions) SetOffset(offset int64) *ListSecondaryZonesOptions

SetOffset : Allow user to set Offset

func (*ListSecondaryZonesOptions) SetResolverID added in v0.31.0

func (_options *ListSecondaryZonesOptions) SetResolverID(resolverID string) *ListSecondaryZonesOptions

SetResolverID : Allow user to set ResolverID

func (*ListSecondaryZonesOptions) SetXCorrelationID added in v0.31.0

func (_options *ListSecondaryZonesOptions) SetXCorrelationID(xCorrelationID string) *ListSecondaryZonesOptions

SetXCorrelationID : Allow user to set XCorrelationID

type LoadBalancer

type LoadBalancer struct {
	// Identifier of the load balancer.
	ID *string `json:"id,omitempty"`

	// Name of the load balancer.
	Name *string `json:"name,omitempty"`

	// Descriptive text of the load balancer.
	Description *string `json:"description,omitempty"`

	// Whether the load balancer is enabled.
	Enabled *bool `json:"enabled,omitempty"`

	// Time to live in second.
	TTL *int64 `json:"ttl,omitempty"`

	// Healthy state of the load balancer.
	Health *string `json:"health,omitempty"`

	// The pool ID to use when all other pools are detected as unhealthy.
	FallbackPool *string `json:"fallback_pool,omitempty"`

	// A list of pool IDs ordered by their failover priority. Pools defined here are used by default, or when region_pools
	// are not configured for a given region.
	DefaultPools []string `json:"default_pools,omitempty"`

	// Map availability zones to pool IDs.
	AzPools []LoadBalancerAzPoolsItem `json:"az_pools,omitempty"`

	// The time when a load balancer is created.
	CreatedOn *strfmt.DateTime `json:"created_on,omitempty"`

	// The recent time when a load balancer is modified.
	ModifiedOn *strfmt.DateTime `json:"modified_on,omitempty"`
}

LoadBalancer : Load balancer details.

type LoadBalancerAzPoolsItem

type LoadBalancerAzPoolsItem struct {
	// Availability zone.
	AvailabilityZone *string `json:"availability_zone,omitempty"`

	// List of load balancer pools.
	Pools []string `json:"pools,omitempty"`
}

LoadBalancerAzPoolsItem : LoadBalancerAzPoolsItem struct

type LoadBalancersPager added in v0.41.0

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

LoadBalancersPager can be used to simplify the use of the "ListLoadBalancers" method.

func (*LoadBalancersPager) GetAll added in v0.41.0

func (pager *LoadBalancersPager) GetAll() (allItems []LoadBalancer, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*LoadBalancersPager) GetAllWithContext added in v0.41.0

func (pager *LoadBalancersPager) GetAllWithContext(ctx context.Context) (allItems []LoadBalancer, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*LoadBalancersPager) GetNext added in v0.41.0

func (pager *LoadBalancersPager) GetNext() (page []LoadBalancer, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*LoadBalancersPager) GetNextWithContext added in v0.41.0

func (pager *LoadBalancersPager) GetNextWithContext(ctx context.Context) (page []LoadBalancer, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*LoadBalancersPager) HasNext added in v0.41.0

func (pager *LoadBalancersPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type Location added in v0.19.0

type Location struct {
	// Location ID.
	ID *string `json:"id,omitempty"`

	// Subnet CRN.
	SubnetCrn *string `json:"subnet_crn,omitempty"`

	// Whether the location is enabled for the custom resolver.
	Enabled *bool `json:"enabled,omitempty"`

	// Whether the DNS server in this location is healthy or not.
	Healthy *bool `json:"healthy,omitempty"`

	// The ip address of this dns server.
	DnsServerIp *string `json:"dns_server_ip,omitempty"`
}

Location : Custom resolver location.

type LocationInput added in v0.19.0

type LocationInput struct {
	// Custom resolver location, subnet CRN.
	SubnetCrn *string `json:"subnet_crn" validate:"required"`

	// Enable/Disable custom resolver location.
	Enabled *bool `json:"enabled,omitempty"`
}

LocationInput : Request to add custom resolver location.

type Monitor

type Monitor struct {
	// Identifier of the load balancer monitor.
	ID *string `json:"id,omitempty"`

	// The name of the load balancer monitor.
	Name *string `json:"name,omitempty"`

	// Descriptive text of the load balancer monitor.
	Description *string `json:"description,omitempty"`

	// The protocol to use for the health check. Currently supported protocols are 'HTTP','HTTPS' and 'TCP'.
	Type *string `json:"type,omitempty"`

	// Port number to connect to for the health check. Required for TCP checks. HTTP and HTTPS checks should only define
	// the port when using a non-standard port (HTTP: default 80, HTTPS: default 443).
	Port *int64 `json:"port,omitempty"`

	// The interval between each health check. Shorter intervals may improve failover time, but will increase load on the
	// origins as we check from multiple locations.
	Interval *int64 `json:"interval,omitempty"`

	// The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted
	// immediately.
	Retries *int64 `json:"retries,omitempty"`

	// The timeout (in seconds) before marking the health check as failed.
	Timeout *int64 `json:"timeout,omitempty"`

	// The method to use for the health check applicable to HTTP/HTTPS based checks, the default value is 'GET'.
	Method *string `json:"method,omitempty"`

	// The endpoint path to health check against. This parameter is only valid for HTTP and HTTPS monitors.
	Path *string `json:"path,omitempty"`

	// The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The
	// User-Agent header cannot be overridden. This parameter is only valid for HTTP and HTTPS monitors.
	HeadersVar []HealthcheckHeader `json:"headers,omitempty"`

	// Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTPS monitors.
	AllowInsecure *bool `json:"allow_insecure,omitempty"`

	// The expected HTTP response code or code range of the health check. This parameter is only valid for HTTP and HTTPS
	// monitors.
	ExpectedCodes *string `json:"expected_codes,omitempty"`

	// A case-insensitive sub-string to look for in the response body. If this string is not found, the origin will be
	// marked as unhealthy. This parameter is only valid for HTTP and HTTPS monitors.
	ExpectedBody *string `json:"expected_body,omitempty"`

	// the time when a load balancer monitor is created.
	CreatedOn *strfmt.DateTime `json:"created_on,omitempty"`

	// the recent time when a load balancer monitor is modified.
	ModifiedOn *strfmt.DateTime `json:"modified_on,omitempty"`
}

Monitor : Load balancer monitor details.

type MonitorsPager added in v0.41.0

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

MonitorsPager can be used to simplify the use of the "ListMonitors" method.

func (*MonitorsPager) GetAll added in v0.41.0

func (pager *MonitorsPager) GetAll() (allItems []Monitor, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*MonitorsPager) GetAllWithContext added in v0.41.0

func (pager *MonitorsPager) GetAllWithContext(ctx context.Context) (allItems []Monitor, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*MonitorsPager) GetNext added in v0.41.0

func (pager *MonitorsPager) GetNext() (page []Monitor, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*MonitorsPager) GetNextWithContext added in v0.41.0

func (pager *MonitorsPager) GetNextWithContext(ctx context.Context) (page []Monitor, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*MonitorsPager) HasNext added in v0.41.0

func (pager *MonitorsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type Origin

type Origin struct {
	// The name of the origin server.
	Name *string `json:"name,omitempty"`

	// Description of the origin server.
	Description *string `json:"description,omitempty"`

	// The address of the origin server. It can be a hostname or an IP address.
	Address *string `json:"address,omitempty"`

	// Whether the origin server is enabled.
	Enabled *bool `json:"enabled,omitempty"`

	// The health state of the origin server.
	Health *bool `json:"health,omitempty"`

	// The failure reason of the origin server if it is unhealthy.
	HealthFailureReason *string `json:"health_failure_reason,omitempty"`
}

Origin : Origin server.

type OriginInput

type OriginInput struct {
	// The name of the origin server.
	Name *string `json:"name,omitempty"`

	// Description of the origin server.
	Description *string `json:"description,omitempty"`

	// The address of the origin server. It can be a hostname or an IP address.
	Address *string `json:"address,omitempty"`

	// Whether the origin server is enabled.
	Enabled *bool `json:"enabled,omitempty"`
}

OriginInput : The request data of origin server.

type PaginationRef added in v0.31.0

type PaginationRef struct {
	// href.
	Href *string `json:"href,omitempty"`
}

PaginationRef : href.

type PermittedNetwork

type PermittedNetwork struct {
	// Unique identifier of a permitted network.
	ID *string `json:"id,omitempty"`

	// The time when a permitted network is created.
	CreatedOn *strfmt.DateTime `json:"created_on,omitempty"`

	// The recent time when a permitted network is modified.
	ModifiedOn *strfmt.DateTime `json:"modified_on,omitempty"`

	// Permitted network data for VPC.
	PermittedNetwork *PermittedNetworkVpc `json:"permitted_network,omitempty"`

	// The type of a permitted network.
	Type *string `json:"type,omitempty"`

	// The state of a permitted network.
	State *string `json:"state,omitempty"`

	// Unique identifier of a linked zone through which the permitted network was added.
	LinkedZoneID *string `json:"linked_zone_id,omitempty"`
}

PermittedNetwork : Permitted network details.

type PermittedNetworkVpc

type PermittedNetworkVpc struct {
	// CRN string uniquely identifies a VPC.
	VpcCrn *string `json:"vpc_crn" validate:"required"`
}

PermittedNetworkVpc : Permitted network data for VPC.

type Pool

type Pool struct {
	// Identifier of the load balancer pool.
	ID *string `json:"id,omitempty"`

	// Name of the load balancer pool.
	Name *string `json:"name,omitempty"`

	// Descriptive text of the load balancer pool.
	Description *string `json:"description,omitempty"`

	// Whether the load balancer pool is enabled.
	Enabled *bool `json:"enabled,omitempty"`

	// The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins
	// falls below this number, the pool will be marked unhealthy and we will failover to the next available pool.
	HealthyOriginsThreshold *int64 `json:"healthy_origins_threshold,omitempty"`

	// The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy
	// origins, provided the pool itself is healthy.
	Origins []Origin `json:"origins,omitempty"`

	// The ID of the load balancer monitor to be associated to this pool.
	Monitor *string `json:"monitor,omitempty"`

	// The notification channel.
	NotificationChannel *string `json:"notification_channel,omitempty"`

	// Healthy state of the load balancer pool.
	Health *string `json:"health,omitempty"`

	// Health check region of VSIs.
	HealthcheckRegion *string `json:"healthcheck_region,omitempty"`

	// Health check subnet CRNs.
	HealthcheckSubnets []string `json:"healthcheck_subnets,omitempty"`

	// Health check VSI information.
	HealthcheckVsis []PoolHealthcheckVsisItem `json:"healthcheck_vsis,omitempty"`

	// the time when a load balancer pool is created.
	CreatedOn *strfmt.DateTime `json:"created_on,omitempty"`

	// the recent time when a load balancer pool is modified.
	ModifiedOn *strfmt.DateTime `json:"modified_on,omitempty"`
}

Pool : Load balancer pool details.

type PoolHealthcheckVsisItem added in v0.12.2

type PoolHealthcheckVsisItem struct {
	// Health check VSI subnet CRN.
	Subnet *string `json:"subnet,omitempty"`

	// healthcheck VSI ip address.
	Ipv4Address *string `json:"ipv4_address,omitempty"`

	// ipv4 cidr block.
	Ipv4CidrBlock *string `json:"ipv4_cidr_block,omitempty"`

	// vpc crn.
	Vpc *string `json:"vpc,omitempty"`
}

PoolHealthcheckVsisItem : PoolHealthcheckVsisItem struct

type PoolsPager added in v0.41.0

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

PoolsPager can be used to simplify the use of the "ListPools" method.

func (*PoolsPager) GetAll added in v0.41.0

func (pager *PoolsPager) GetAll() (allItems []Pool, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*PoolsPager) GetAllWithContext added in v0.41.0

func (pager *PoolsPager) GetAllWithContext(ctx context.Context) (allItems []Pool, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*PoolsPager) GetNext added in v0.41.0

func (pager *PoolsPager) GetNext() (page []Pool, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*PoolsPager) GetNextWithContext added in v0.41.0

func (pager *PoolsPager) GetNextWithContext(ctx context.Context) (page []Pool, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*PoolsPager) HasNext added in v0.41.0

func (pager *PoolsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type RecordStatsByType added in v0.19.0

type RecordStatsByType struct {
	// Number of records, type A.
	A *int64 `json:"A" validate:"required"`

	// Number of records, type AAAA.
	AAAA *int64 `json:"AAAA" validate:"required"`

	// Number of records, type CNAME.
	CNAME *int64 `json:"CNAME" validate:"required"`

	// Number of records, type SRV.
	SRV *int64 `json:"SRV" validate:"required"`

	// Number of records, type TXT.
	TXT *int64 `json:"TXT" validate:"required"`

	// Number of records, type MX.
	MX *int64 `json:"MX" validate:"required"`

	// Number of records, type PTR.
	PTR *int64 `json:"PTR" validate:"required"`
}

RecordStatsByType : Number of records classified by type.

type RecordsImportErrorModel added in v0.19.0

type RecordsImportErrorModel struct {
	// resource record content in zone file.
	ResourceRecord *string `json:"resource_record" validate:"required"`

	// Error container.
	Error *RecordsImportErrorModelError `json:"error" validate:"required"`
}

RecordsImportErrorModel : RecordsImportErrorModel struct

type RecordsImportErrorModelError added in v0.19.0

type RecordsImportErrorModelError struct {
	// Internal service error when DNS resource created fails by internal error.
	Code *string `json:"code" validate:"required"`

	// An internal error occurred. Try again later.
	Message *string `json:"message" validate:"required"`
}

RecordsImportErrorModelError : Error container.

type RecordsImportMessageModel added in v0.19.0

type RecordsImportMessageModel struct {
	// Code to classify import DNS records error.
	Code *string `json:"code" validate:"required"`

	// Message to describe import DNS records error.
	Message *string `json:"message" validate:"required"`
}

RecordsImportMessageModel : RecordsImportMessageModel struct

type ResourceRecord

type ResourceRecord struct {
	// Identifier of the resource record.
	ID *string `json:"id,omitempty"`

	// The time when a resource record is created.
	CreatedOn *strfmt.DateTime `json:"created_on,omitempty"`

	// The recent time when a resource record is modified.
	ModifiedOn *strfmt.DateTime `json:"modified_on,omitempty"`

	// Name of the resource record.
	Name *string `json:"name,omitempty"`

	// Type of the resource record.
	Type *string `json:"type,omitempty"`

	// Time to live in second.
	TTL *int64 `json:"ttl,omitempty"`

	// Content of the resource record.
	Rdata map[string]interface{} `json:"rdata,omitempty"`

	// Only used for SRV record.
	Service *string `json:"service,omitempty"`

	// Only used for SRV record.
	Protocol *string `json:"protocol,omitempty"`
}

ResourceRecord : Resource record details.

type ResourceRecordInputRdata

type ResourceRecordInputRdata struct {
	// IPv4 address.
	Ip *string `json:"ip,omitempty"`

	// Canonical name.
	Cname *string `json:"cname,omitempty"`

	// Hostname of Exchange server.
	Exchange *string `json:"exchange,omitempty"`

	// Preference of the MX record.
	Preference *int64 `json:"preference,omitempty"`

	// Port number of the target server.
	Port *int64 `json:"port,omitempty"`

	// Priority of the SRV record.
	Priority *int64 `json:"priority,omitempty"`

	// Hostname of the target server.
	Target *string `json:"target,omitempty"`

	// Weight of distributing queries among multiple target servers.
	Weight *int64 `json:"weight,omitempty"`

	// Human readable text.
	Text *string `json:"text,omitempty"`

	// Hostname of the relevant A or AAAA record.
	Ptrdname *string `json:"ptrdname,omitempty"`
}

ResourceRecordInputRdata : Content of the resource record. Models which "extend" this model: - ResourceRecordInputRdataRdataARecord - ResourceRecordInputRdataRdataAaaaRecord - ResourceRecordInputRdataRdataCnameRecord - ResourceRecordInputRdataRdataMxRecord - ResourceRecordInputRdataRdataSrvRecord - ResourceRecordInputRdataRdataTxtRecord - ResourceRecordInputRdataRdataPtrRecord

type ResourceRecordInputRdataIntf

type ResourceRecordInputRdataIntf interface {
	// contains filtered or unexported methods
}

type ResourceRecordInputRdataRdataARecord

type ResourceRecordInputRdataRdataARecord struct {
	// IPv4 address.
	Ip *string `json:"ip" validate:"required"`
}

ResourceRecordInputRdataRdataARecord : The content of type-A resource record. This model "extends" ResourceRecordInputRdata

type ResourceRecordInputRdataRdataAaaaRecord

type ResourceRecordInputRdataRdataAaaaRecord struct {
	// IPv6 address.
	Ip *string `json:"ip" validate:"required"`
}

ResourceRecordInputRdataRdataAaaaRecord : The content of type-AAAA resource record. This model "extends" ResourceRecordInputRdata

type ResourceRecordInputRdataRdataCnameRecord

type ResourceRecordInputRdataRdataCnameRecord struct {
	// Canonical name.
	Cname *string `json:"cname" validate:"required"`
}

ResourceRecordInputRdataRdataCnameRecord : The content of type-CNAME resource record. This model "extends" ResourceRecordInputRdata

type ResourceRecordInputRdataRdataMxRecord

type ResourceRecordInputRdataRdataMxRecord struct {
	// Hostname of Exchange server.
	Exchange *string `json:"exchange" validate:"required"`

	// Preference of the MX record.
	Preference *int64 `json:"preference" validate:"required"`
}

ResourceRecordInputRdataRdataMxRecord : The content of type-MX resource record. This model "extends" ResourceRecordInputRdata

type ResourceRecordInputRdataRdataPtrRecord

type ResourceRecordInputRdataRdataPtrRecord struct {
	// Hostname of the relevant A or AAAA record.
	Ptrdname *string `json:"ptrdname" validate:"required"`
}

ResourceRecordInputRdataRdataPtrRecord : The content of type-PTR resource record. This model "extends" ResourceRecordInputRdata

type ResourceRecordInputRdataRdataSrvRecord

type ResourceRecordInputRdataRdataSrvRecord struct {
	// Port number of the target server.
	Port *int64 `json:"port" validate:"required"`

	// Priority of the SRV record.
	Priority *int64 `json:"priority" validate:"required"`

	// Hostname of the target server.
	Target *string `json:"target" validate:"required"`

	// Weight of distributing queries among multiple target servers.
	Weight *int64 `json:"weight" validate:"required"`
}

ResourceRecordInputRdataRdataSrvRecord : The content of type-SRV resource record. This model "extends" ResourceRecordInputRdata

type ResourceRecordInputRdataRdataTxtRecord

type ResourceRecordInputRdataRdataTxtRecord struct {
	// Human readable text.
	Text *string `json:"text" validate:"required"`
}

ResourceRecordInputRdataRdataTxtRecord : The content of type-TXT resource record. This model "extends" ResourceRecordInputRdata

type ResourceRecordUpdateInputRdata

type ResourceRecordUpdateInputRdata struct {
	// IPv4 address.
	Ip *string `json:"ip,omitempty"`

	// Canonical name.
	Cname *string `json:"cname,omitempty"`

	// Hostname of Exchange server.
	Exchange *string `json:"exchange,omitempty"`

	// Preference of the MX record.
	Preference *int64 `json:"preference,omitempty"`

	// Port number of the target server.
	Port *int64 `json:"port,omitempty"`

	// Priority of the SRV record.
	Priority *int64 `json:"priority,omitempty"`

	// Hostname of the target server.
	Target *string `json:"target,omitempty"`

	// Weight of distributing queries among multiple target servers.
	Weight *int64 `json:"weight,omitempty"`

	// Human readable text.
	Text *string `json:"text,omitempty"`

	// Hostname of the relevant A or AAAA record.
	Ptrdname *string `json:"ptrdname,omitempty"`
}

ResourceRecordUpdateInputRdata : Content of the resource record. Models which "extend" this model: - ResourceRecordUpdateInputRdataRdataARecord - ResourceRecordUpdateInputRdataRdataAaaaRecord - ResourceRecordUpdateInputRdataRdataCnameRecord - ResourceRecordUpdateInputRdataRdataMxRecord - ResourceRecordUpdateInputRdataRdataSrvRecord - ResourceRecordUpdateInputRdataRdataTxtRecord - ResourceRecordUpdateInputRdataRdataPtrRecord

type ResourceRecordUpdateInputRdataIntf

type ResourceRecordUpdateInputRdataIntf interface {
	// contains filtered or unexported methods
}

type ResourceRecordUpdateInputRdataRdataARecord

type ResourceRecordUpdateInputRdataRdataARecord struct {
	// IPv4 address.
	Ip *string `json:"ip" validate:"required"`
}

ResourceRecordUpdateInputRdataRdataARecord : The content of type-A resource record. This model "extends" ResourceRecordUpdateInputRdata

type ResourceRecordUpdateInputRdataRdataAaaaRecord

type ResourceRecordUpdateInputRdataRdataAaaaRecord struct {
	// IPv6 address.
	Ip *string `json:"ip" validate:"required"`
}

ResourceRecordUpdateInputRdataRdataAaaaRecord : The content of type-AAAA resource record. This model "extends" ResourceRecordUpdateInputRdata

type ResourceRecordUpdateInputRdataRdataCnameRecord

type ResourceRecordUpdateInputRdataRdataCnameRecord struct {
	// Canonical name.
	Cname *string `json:"cname" validate:"required"`
}

ResourceRecordUpdateInputRdataRdataCnameRecord : The content of type-CNAME resource record. This model "extends" ResourceRecordUpdateInputRdata

type ResourceRecordUpdateInputRdataRdataMxRecord

type ResourceRecordUpdateInputRdataRdataMxRecord struct {
	// Hostname of Exchange server.
	Exchange *string `json:"exchange" validate:"required"`

	// Preference of the MX record.
	Preference *int64 `json:"preference" validate:"required"`
}

ResourceRecordUpdateInputRdataRdataMxRecord : The content of type-MX resource record. This model "extends" ResourceRecordUpdateInputRdata

type ResourceRecordUpdateInputRdataRdataPtrRecord

type ResourceRecordUpdateInputRdataRdataPtrRecord struct {
	// Hostname of the relevant A or AAAA record.
	Ptrdname *string `json:"ptrdname" validate:"required"`
}

ResourceRecordUpdateInputRdataRdataPtrRecord : The content of type-PTR resource record. This model "extends" ResourceRecordUpdateInputRdata

type ResourceRecordUpdateInputRdataRdataSrvRecord

type ResourceRecordUpdateInputRdataRdataSrvRecord struct {
	// Port number of the target server.
	Port *int64 `json:"port" validate:"required"`

	// Priority of the SRV record.
	Priority *int64 `json:"priority" validate:"required"`

	// Hostname of the target server.
	Target *string `json:"target" validate:"required"`

	// Weight of distributing queries among multiple target servers.
	Weight *int64 `json:"weight" validate:"required"`
}

ResourceRecordUpdateInputRdataRdataSrvRecord : The content of type-SRV resource record. This model "extends" ResourceRecordUpdateInputRdata

type ResourceRecordUpdateInputRdataRdataTxtRecord

type ResourceRecordUpdateInputRdataRdataTxtRecord struct {
	// Human readable text.
	Text *string `json:"text" validate:"required"`
}

ResourceRecordUpdateInputRdataRdataTxtRecord : The content of type-TXT resource record. This model "extends" ResourceRecordUpdateInputRdata

type ResourceRecordsPager added in v0.41.0

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

ResourceRecordsPager can be used to simplify the use of the "ListResourceRecords" method.

func (*ResourceRecordsPager) GetAll added in v0.41.0

func (pager *ResourceRecordsPager) GetAll() (allItems []ResourceRecord, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*ResourceRecordsPager) GetAllWithContext added in v0.41.0

func (pager *ResourceRecordsPager) GetAllWithContext(ctx context.Context) (allItems []ResourceRecord, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*ResourceRecordsPager) GetNext added in v0.41.0

func (pager *ResourceRecordsPager) GetNext() (page []ResourceRecord, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*ResourceRecordsPager) GetNextWithContext added in v0.41.0

func (pager *ResourceRecordsPager) GetNextWithContext(ctx context.Context) (page []ResourceRecord, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*ResourceRecordsPager) HasNext added in v0.41.0

func (pager *ResourceRecordsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type SecondaryZone added in v0.31.0

type SecondaryZone struct {
	// Identifier of the secondary zone.
	ID *string `json:"id" validate:"required"`

	// Descriptive text of the secondary zone.
	Description *string `json:"description,omitempty"`

	// zone name.
	Zone *string `json:"zone" validate:"required"`

	// Enable/Disable the secondary zone.
	Enabled *bool `json:"enabled" validate:"required"`

	// The addresses of DNS servers where the secondary zone data should be transferred from.
	TransferFrom []string `json:"transfer_from" validate:"required"`

	// The time when a secondary zone is created.
	CreatedOn *strfmt.DateTime `json:"created_on,omitempty"`

	// The recent time when a secondary zone is modified.
	ModifiedOn *strfmt.DateTime `json:"modified_on,omitempty"`
}

SecondaryZone : Secondary zone details.

type SecondaryZoneList added in v0.31.0

type SecondaryZoneList struct {
	// Secondary zones.
	SecondaryZones []SecondaryZone `json:"secondary_zones" validate:"required"`

	// The number of resources to skip over.
	Offset *int64 `json:"offset" validate:"required"`

	// The maximum number of resources might be returned.
	Limit *int64 `json:"limit" validate:"required"`

	// The number of resources are returned.
	Count *int64 `json:"count" validate:"required"`

	// Total number of resources.
	TotalCount *int64 `json:"total_count" validate:"required"`

	// href.
	First *PaginationRef `json:"first,omitempty"`

	// href.
	Last *PaginationRef `json:"last,omitempty"`

	// href.
	Previous *PaginationRef `json:"previous,omitempty"`

	// href.
	Next *PaginationRef `json:"next,omitempty"`
}

SecondaryZoneList : List of secondary zones.

func (*SecondaryZoneList) GetNextOffset added in v0.31.0

func (resp *SecondaryZoneList) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

type SecondaryZonesPager added in v0.41.0

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

SecondaryZonesPager can be used to simplify the use of the "ListSecondaryZones" method.

func (*SecondaryZonesPager) GetAll added in v0.41.0

func (pager *SecondaryZonesPager) GetAll() (allItems []SecondaryZone, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*SecondaryZonesPager) GetAllWithContext added in v0.41.0

func (pager *SecondaryZonesPager) GetAllWithContext(ctx context.Context) (allItems []SecondaryZone, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*SecondaryZonesPager) GetNext added in v0.41.0

func (pager *SecondaryZonesPager) GetNext() (page []SecondaryZone, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*SecondaryZonesPager) GetNextWithContext added in v0.41.0

func (pager *SecondaryZonesPager) GetNextWithContext(ctx context.Context) (page []SecondaryZone, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*SecondaryZonesPager) HasNext added in v0.41.0

func (pager *SecondaryZonesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type UpdateCrLocationsOrderOptions added in v0.31.0

type UpdateCrLocationsOrderOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a custom resolver.
	ResolverID *string `json:"resolver_id" validate:"required,ne="`

	// Array of custom resolver location ID.
	Locations []string `json:"locations,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateCrLocationsOrderOptions : The UpdateCrLocationsOrder options.

func (*UpdateCrLocationsOrderOptions) SetHeaders added in v0.31.0

SetHeaders : Allow user to set Headers

func (*UpdateCrLocationsOrderOptions) SetInstanceID added in v0.31.0

func (_options *UpdateCrLocationsOrderOptions) SetInstanceID(instanceID string) *UpdateCrLocationsOrderOptions

SetInstanceID : Allow user to set InstanceID

func (*UpdateCrLocationsOrderOptions) SetLocations added in v0.31.0

func (_options *UpdateCrLocationsOrderOptions) SetLocations(locations []string) *UpdateCrLocationsOrderOptions

SetLocations : Allow user to set Locations

func (*UpdateCrLocationsOrderOptions) SetResolverID added in v0.31.0

func (_options *UpdateCrLocationsOrderOptions) SetResolverID(resolverID string) *UpdateCrLocationsOrderOptions

SetResolverID : Allow user to set ResolverID

func (*UpdateCrLocationsOrderOptions) SetXCorrelationID added in v0.31.0

func (_options *UpdateCrLocationsOrderOptions) SetXCorrelationID(xCorrelationID string) *UpdateCrLocationsOrderOptions

SetXCorrelationID : Allow user to set XCorrelationID

type UpdateCustomResolverLocationOptions added in v0.19.0

type UpdateCustomResolverLocationOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a custom resolver.
	ResolverID *string `json:"resolver_id" validate:"required,ne="`

	// Custom resolver location ID.
	LocationID *string `json:"location_id" validate:"required,ne="`

	// Enable/Disable custom resolver location.
	Enabled *bool `json:"enabled,omitempty"`

	// Subnet CRN.
	SubnetCrn *string `json:"subnet_crn,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateCustomResolverLocationOptions : The UpdateCustomResolverLocation options.

func (*UpdateCustomResolverLocationOptions) SetEnabled added in v0.19.0

SetEnabled : Allow user to set Enabled

func (*UpdateCustomResolverLocationOptions) SetHeaders added in v0.19.0

SetHeaders : Allow user to set Headers

func (*UpdateCustomResolverLocationOptions) SetInstanceID added in v0.19.0

SetInstanceID : Allow user to set InstanceID

func (*UpdateCustomResolverLocationOptions) SetLocationID added in v0.19.0

SetLocationID : Allow user to set LocationID

func (*UpdateCustomResolverLocationOptions) SetResolverID added in v0.19.0

SetResolverID : Allow user to set ResolverID

func (*UpdateCustomResolverLocationOptions) SetSubnetCrn added in v0.19.0

SetSubnetCrn : Allow user to set SubnetCrn

func (*UpdateCustomResolverLocationOptions) SetXCorrelationID added in v0.19.0

func (_options *UpdateCustomResolverLocationOptions) SetXCorrelationID(xCorrelationID string) *UpdateCustomResolverLocationOptions

SetXCorrelationID : Allow user to set XCorrelationID

type UpdateCustomResolverOptions added in v0.19.0

type UpdateCustomResolverOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a custom resolver.
	ResolverID *string `json:"resolver_id" validate:"required,ne="`

	// Name of the custom resolver.
	Name *string `json:"name,omitempty"`

	// Descriptive text of the custom resolver.
	Description *string `json:"description,omitempty"`

	// Whether the custom resolver is enabled.
	Enabled *bool `json:"enabled,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateCustomResolverOptions : The UpdateCustomResolver options.

func (*UpdateCustomResolverOptions) SetDescription added in v0.19.0

func (_options *UpdateCustomResolverOptions) SetDescription(description string) *UpdateCustomResolverOptions

SetDescription : Allow user to set Description

func (*UpdateCustomResolverOptions) SetEnabled added in v0.19.0

func (_options *UpdateCustomResolverOptions) SetEnabled(enabled bool) *UpdateCustomResolverOptions

SetEnabled : Allow user to set Enabled

func (*UpdateCustomResolverOptions) SetHeaders added in v0.19.0

func (options *UpdateCustomResolverOptions) SetHeaders(param map[string]string) *UpdateCustomResolverOptions

SetHeaders : Allow user to set Headers

func (*UpdateCustomResolverOptions) SetInstanceID added in v0.19.0

func (_options *UpdateCustomResolverOptions) SetInstanceID(instanceID string) *UpdateCustomResolverOptions

SetInstanceID : Allow user to set InstanceID

func (*UpdateCustomResolverOptions) SetName added in v0.19.0

SetName : Allow user to set Name

func (*UpdateCustomResolverOptions) SetResolverID added in v0.19.0

func (_options *UpdateCustomResolverOptions) SetResolverID(resolverID string) *UpdateCustomResolverOptions

SetResolverID : Allow user to set ResolverID

func (*UpdateCustomResolverOptions) SetXCorrelationID added in v0.19.0

func (_options *UpdateCustomResolverOptions) SetXCorrelationID(xCorrelationID string) *UpdateCustomResolverOptions

SetXCorrelationID : Allow user to set XCorrelationID

type UpdateDnszoneAccessRequestOptions added in v0.31.0

type UpdateDnszoneAccessRequestOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// The unique identifier of an access request.
	RequestID *string `json:"request_id" validate:"required,ne="`

	// The action applies to the access request.
	Action *string `json:"action,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateDnszoneAccessRequestOptions : The UpdateDnszoneAccessRequest options.

func (*UpdateDnszoneAccessRequestOptions) SetAction added in v0.31.0

SetAction : Allow user to set Action

func (*UpdateDnszoneAccessRequestOptions) SetDnszoneID added in v0.31.0

SetDnszoneID : Allow user to set DnszoneID

func (*UpdateDnszoneAccessRequestOptions) SetHeaders added in v0.31.0

SetHeaders : Allow user to set Headers

func (*UpdateDnszoneAccessRequestOptions) SetInstanceID added in v0.31.0

func (_options *UpdateDnszoneAccessRequestOptions) SetInstanceID(instanceID string) *UpdateDnszoneAccessRequestOptions

SetInstanceID : Allow user to set InstanceID

func (*UpdateDnszoneAccessRequestOptions) SetRequestID added in v0.31.0

SetRequestID : Allow user to set RequestID

func (*UpdateDnszoneAccessRequestOptions) SetXCorrelationID added in v0.31.0

func (_options *UpdateDnszoneAccessRequestOptions) SetXCorrelationID(xCorrelationID string) *UpdateDnszoneAccessRequestOptions

SetXCorrelationID : Allow user to set XCorrelationID

type UpdateDnszoneOptions

type UpdateDnszoneOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// The text describing the purpose of a DNS zone.
	Description *string `json:"description,omitempty"`

	// The label of a DNS zone.
	Label *string `json:"label,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateDnszoneOptions : The UpdateDnszone options.

func (*UpdateDnszoneOptions) SetDescription

func (_options *UpdateDnszoneOptions) SetDescription(description string) *UpdateDnszoneOptions

SetDescription : Allow user to set Description

func (*UpdateDnszoneOptions) SetDnszoneID

func (_options *UpdateDnszoneOptions) SetDnszoneID(dnszoneID string) *UpdateDnszoneOptions

SetDnszoneID : Allow user to set DnszoneID

func (*UpdateDnszoneOptions) SetHeaders

func (options *UpdateDnszoneOptions) SetHeaders(param map[string]string) *UpdateDnszoneOptions

SetHeaders : Allow user to set Headers

func (*UpdateDnszoneOptions) SetInstanceID

func (_options *UpdateDnszoneOptions) SetInstanceID(instanceID string) *UpdateDnszoneOptions

SetInstanceID : Allow user to set InstanceID

func (*UpdateDnszoneOptions) SetLabel

func (_options *UpdateDnszoneOptions) SetLabel(label string) *UpdateDnszoneOptions

SetLabel : Allow user to set Label

func (*UpdateDnszoneOptions) SetXCorrelationID

func (_options *UpdateDnszoneOptions) SetXCorrelationID(xCorrelationID string) *UpdateDnszoneOptions

SetXCorrelationID : Allow user to set XCorrelationID

type UpdateForwardingRuleOptions added in v0.19.0

type UpdateForwardingRuleOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a custom resolver.
	ResolverID *string `json:"resolver_id" validate:"required,ne="`

	// The unique identifier of a rule.
	RuleID *string `json:"rule_id" validate:"required,ne="`

	// Descriptive text of the forwarding rule.
	Description *string `json:"description,omitempty"`

	// The matching zone or hostname.
	Match *string `json:"match,omitempty"`

	// The upstream DNS servers will be forwarded to.
	ForwardTo []string `json:"forward_to,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateForwardingRuleOptions : The UpdateForwardingRule options.

func (*UpdateForwardingRuleOptions) SetDescription added in v0.19.0

func (_options *UpdateForwardingRuleOptions) SetDescription(description string) *UpdateForwardingRuleOptions

SetDescription : Allow user to set Description

func (*UpdateForwardingRuleOptions) SetForwardTo added in v0.19.0

func (_options *UpdateForwardingRuleOptions) SetForwardTo(forwardTo []string) *UpdateForwardingRuleOptions

SetForwardTo : Allow user to set ForwardTo

func (*UpdateForwardingRuleOptions) SetHeaders added in v0.19.0

func (options *UpdateForwardingRuleOptions) SetHeaders(param map[string]string) *UpdateForwardingRuleOptions

SetHeaders : Allow user to set Headers

func (*UpdateForwardingRuleOptions) SetInstanceID added in v0.19.0

func (_options *UpdateForwardingRuleOptions) SetInstanceID(instanceID string) *UpdateForwardingRuleOptions

SetInstanceID : Allow user to set InstanceID

func (*UpdateForwardingRuleOptions) SetMatch added in v0.19.0

SetMatch : Allow user to set Match

func (*UpdateForwardingRuleOptions) SetResolverID added in v0.19.0

func (_options *UpdateForwardingRuleOptions) SetResolverID(resolverID string) *UpdateForwardingRuleOptions

SetResolverID : Allow user to set ResolverID

func (*UpdateForwardingRuleOptions) SetRuleID added in v0.19.0

func (_options *UpdateForwardingRuleOptions) SetRuleID(ruleID string) *UpdateForwardingRuleOptions

SetRuleID : Allow user to set RuleID

func (*UpdateForwardingRuleOptions) SetXCorrelationID added in v0.19.0

func (_options *UpdateForwardingRuleOptions) SetXCorrelationID(xCorrelationID string) *UpdateForwardingRuleOptions

SetXCorrelationID : Allow user to set XCorrelationID

type UpdateLinkedZoneOptions added in v0.31.0

type UpdateLinkedZoneOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a linked zone.
	LinkedDnszoneID *string `json:"linked_dnszone_id" validate:"required,ne="`

	// Descriptive text of the linked zone.
	Description *string `json:"description,omitempty"`

	// The label of linked zone.
	Label *string `json:"label,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateLinkedZoneOptions : The UpdateLinkedZone options.

func (*UpdateLinkedZoneOptions) SetDescription added in v0.31.0

func (_options *UpdateLinkedZoneOptions) SetDescription(description string) *UpdateLinkedZoneOptions

SetDescription : Allow user to set Description

func (*UpdateLinkedZoneOptions) SetHeaders added in v0.31.0

func (options *UpdateLinkedZoneOptions) SetHeaders(param map[string]string) *UpdateLinkedZoneOptions

SetHeaders : Allow user to set Headers

func (*UpdateLinkedZoneOptions) SetInstanceID added in v0.31.0

func (_options *UpdateLinkedZoneOptions) SetInstanceID(instanceID string) *UpdateLinkedZoneOptions

SetInstanceID : Allow user to set InstanceID

func (*UpdateLinkedZoneOptions) SetLabel added in v0.31.0

func (_options *UpdateLinkedZoneOptions) SetLabel(label string) *UpdateLinkedZoneOptions

SetLabel : Allow user to set Label

func (*UpdateLinkedZoneOptions) SetLinkedDnszoneID added in v0.31.0

func (_options *UpdateLinkedZoneOptions) SetLinkedDnszoneID(linkedDnszoneID string) *UpdateLinkedZoneOptions

SetLinkedDnszoneID : Allow user to set LinkedDnszoneID

func (*UpdateLinkedZoneOptions) SetXCorrelationID added in v0.31.0

func (_options *UpdateLinkedZoneOptions) SetXCorrelationID(xCorrelationID string) *UpdateLinkedZoneOptions

SetXCorrelationID : Allow user to set XCorrelationID

type UpdateLoadBalancerOptions

type UpdateLoadBalancerOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// The unique identifier of a load balancer.
	LbID *string `json:"lb_id" validate:"required,ne="`

	// Name of the load balancer.
	Name *string `json:"name,omitempty"`

	// Descriptive text of the load balancer.
	Description *string `json:"description,omitempty"`

	// Whether the load balancer is enabled.
	Enabled *bool `json:"enabled,omitempty"`

	// Time to live in second.
	TTL *int64 `json:"ttl,omitempty"`

	// The pool ID to use when all other pools are detected as unhealthy.
	FallbackPool *string `json:"fallback_pool,omitempty"`

	// A list of pool IDs ordered by their failover priority. Pools defined here are used by default, or when region_pools
	// are not configured for a given region.
	DefaultPools []string `json:"default_pools,omitempty"`

	// Map availability zones to pool IDs.
	AzPools []LoadBalancerAzPoolsItem `json:"az_pools,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateLoadBalancerOptions : The UpdateLoadBalancer options.

func (*UpdateLoadBalancerOptions) SetAzPools

SetAzPools : Allow user to set AzPools

func (*UpdateLoadBalancerOptions) SetDefaultPools

func (_options *UpdateLoadBalancerOptions) SetDefaultPools(defaultPools []string) *UpdateLoadBalancerOptions

SetDefaultPools : Allow user to set DefaultPools

func (*UpdateLoadBalancerOptions) SetDescription

func (_options *UpdateLoadBalancerOptions) SetDescription(description string) *UpdateLoadBalancerOptions

SetDescription : Allow user to set Description

func (*UpdateLoadBalancerOptions) SetDnszoneID

func (_options *UpdateLoadBalancerOptions) SetDnszoneID(dnszoneID string) *UpdateLoadBalancerOptions

SetDnszoneID : Allow user to set DnszoneID

func (*UpdateLoadBalancerOptions) SetEnabled

func (_options *UpdateLoadBalancerOptions) SetEnabled(enabled bool) *UpdateLoadBalancerOptions

SetEnabled : Allow user to set Enabled

func (*UpdateLoadBalancerOptions) SetFallbackPool

func (_options *UpdateLoadBalancerOptions) SetFallbackPool(fallbackPool string) *UpdateLoadBalancerOptions

SetFallbackPool : Allow user to set FallbackPool

func (*UpdateLoadBalancerOptions) SetHeaders

func (options *UpdateLoadBalancerOptions) SetHeaders(param map[string]string) *UpdateLoadBalancerOptions

SetHeaders : Allow user to set Headers

func (*UpdateLoadBalancerOptions) SetInstanceID

func (_options *UpdateLoadBalancerOptions) SetInstanceID(instanceID string) *UpdateLoadBalancerOptions

SetInstanceID : Allow user to set InstanceID

func (*UpdateLoadBalancerOptions) SetLbID

SetLbID : Allow user to set LbID

func (*UpdateLoadBalancerOptions) SetName

SetName : Allow user to set Name

func (*UpdateLoadBalancerOptions) SetTTL

SetTTL : Allow user to set TTL

func (*UpdateLoadBalancerOptions) SetXCorrelationID

func (_options *UpdateLoadBalancerOptions) SetXCorrelationID(xCorrelationID string) *UpdateLoadBalancerOptions

SetXCorrelationID : Allow user to set XCorrelationID

type UpdateMonitorOptions

type UpdateMonitorOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a load balancer monitor.
	MonitorID *string `json:"monitor_id" validate:"required,ne="`

	// The name of the load balancer monitor.
	Name *string `json:"name,omitempty"`

	// Descriptive text of the load balancer monitor.
	Description *string `json:"description,omitempty"`

	// The protocol to use for the health check. Currently supported protocols are 'HTTP','HTTPS' and 'TCP'.
	Type *string `json:"type,omitempty"`

	// Port number to connect to for the health check. Required for TCP checks. HTTP and HTTPS checks should only define
	// the port when using a non-standard port (HTTP: default 80, HTTPS: default 443).
	Port *int64 `json:"port,omitempty"`

	// The interval between each health check. Shorter intervals may improve failover time, but will increase load on the
	// origins as we check from multiple locations.
	Interval *int64 `json:"interval,omitempty"`

	// The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted
	// immediately.
	Retries *int64 `json:"retries,omitempty"`

	// The timeout (in seconds) before marking the health check as failed.
	Timeout *int64 `json:"timeout,omitempty"`

	// The method to use for the health check applicable to HTTP/HTTPS based checks, the default value is 'GET'.
	Method *string `json:"method,omitempty"`

	// The endpoint path to health check against. This parameter is only valid for HTTP and HTTPS monitors.
	Path *string `json:"path,omitempty"`

	// The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The
	// User-Agent header cannot be overridden. This parameter is only valid for HTTP and HTTPS monitors.
	HeadersVar []HealthcheckHeader `json:"headers,omitempty"`

	// Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTP and HTTPS
	// monitors.
	AllowInsecure *bool `json:"allow_insecure,omitempty"`

	// The expected HTTP response code or code range of the health check. This parameter is only valid for HTTP and HTTPS
	// monitors.
	ExpectedCodes *string `json:"expected_codes,omitempty"`

	// A case-insensitive sub-string to look for in the response body. If this string is not found, the origin will be
	// marked as unhealthy. This parameter is only valid for HTTP and HTTPS monitors.
	ExpectedBody *string `json:"expected_body,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateMonitorOptions : The UpdateMonitor options.

func (*UpdateMonitorOptions) SetAllowInsecure

func (_options *UpdateMonitorOptions) SetAllowInsecure(allowInsecure bool) *UpdateMonitorOptions

SetAllowInsecure : Allow user to set AllowInsecure

func (*UpdateMonitorOptions) SetDescription

func (_options *UpdateMonitorOptions) SetDescription(description string) *UpdateMonitorOptions

SetDescription : Allow user to set Description

func (*UpdateMonitorOptions) SetExpectedBody

func (_options *UpdateMonitorOptions) SetExpectedBody(expectedBody string) *UpdateMonitorOptions

SetExpectedBody : Allow user to set ExpectedBody

func (*UpdateMonitorOptions) SetExpectedCodes

func (_options *UpdateMonitorOptions) SetExpectedCodes(expectedCodes string) *UpdateMonitorOptions

SetExpectedCodes : Allow user to set ExpectedCodes

func (*UpdateMonitorOptions) SetHeaders

func (options *UpdateMonitorOptions) SetHeaders(param map[string]string) *UpdateMonitorOptions

SetHeaders : Allow user to set Headers

func (*UpdateMonitorOptions) SetHeadersVar

func (_options *UpdateMonitorOptions) SetHeadersVar(headersVar []HealthcheckHeader) *UpdateMonitorOptions

SetHeadersVar : Allow user to set HeadersVar

func (*UpdateMonitorOptions) SetInstanceID

func (_options *UpdateMonitorOptions) SetInstanceID(instanceID string) *UpdateMonitorOptions

SetInstanceID : Allow user to set InstanceID

func (*UpdateMonitorOptions) SetInterval

func (_options *UpdateMonitorOptions) SetInterval(interval int64) *UpdateMonitorOptions

SetInterval : Allow user to set Interval

func (*UpdateMonitorOptions) SetMethod

func (_options *UpdateMonitorOptions) SetMethod(method string) *UpdateMonitorOptions

SetMethod : Allow user to set Method

func (*UpdateMonitorOptions) SetMonitorID

func (_options *UpdateMonitorOptions) SetMonitorID(monitorID string) *UpdateMonitorOptions

SetMonitorID : Allow user to set MonitorID

func (*UpdateMonitorOptions) SetName

func (_options *UpdateMonitorOptions) SetName(name string) *UpdateMonitorOptions

SetName : Allow user to set Name

func (*UpdateMonitorOptions) SetPath

func (_options *UpdateMonitorOptions) SetPath(path string) *UpdateMonitorOptions

SetPath : Allow user to set Path

func (*UpdateMonitorOptions) SetPort

func (_options *UpdateMonitorOptions) SetPort(port int64) *UpdateMonitorOptions

SetPort : Allow user to set Port

func (*UpdateMonitorOptions) SetRetries

func (_options *UpdateMonitorOptions) SetRetries(retries int64) *UpdateMonitorOptions

SetRetries : Allow user to set Retries

func (*UpdateMonitorOptions) SetTimeout

func (_options *UpdateMonitorOptions) SetTimeout(timeout int64) *UpdateMonitorOptions

SetTimeout : Allow user to set Timeout

func (*UpdateMonitorOptions) SetType

func (_options *UpdateMonitorOptions) SetType(typeVar string) *UpdateMonitorOptions

SetType : Allow user to set Type

func (*UpdateMonitorOptions) SetXCorrelationID

func (_options *UpdateMonitorOptions) SetXCorrelationID(xCorrelationID string) *UpdateMonitorOptions

SetXCorrelationID : Allow user to set XCorrelationID

type UpdatePoolOptions

type UpdatePoolOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a load balancer pool.
	PoolID *string `json:"pool_id" validate:"required,ne="`

	// Name of the load balancer pool.
	Name *string `json:"name,omitempty"`

	// Descriptive text of the load balancer pool.
	Description *string `json:"description,omitempty"`

	// Whether the load balancer pool is enabled.
	Enabled *bool `json:"enabled,omitempty"`

	// The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins
	// falls below this number, the pool will be marked unhealthy and we will failover to the next available pool.
	HealthyOriginsThreshold *int64 `json:"healthy_origins_threshold,omitempty"`

	// The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy
	// origins, provided the pool itself is healthy.
	Origins []OriginInput `json:"origins,omitempty"`

	// The ID of the load balancer monitor to be associated to this pool.
	Monitor *string `json:"monitor,omitempty"`

	// The notification channel.
	NotificationChannel *string `json:"notification_channel,omitempty"`

	// Health check region of VSIs.
	HealthcheckRegion *string `json:"healthcheck_region,omitempty"`

	// Health check subnet CRNs.
	HealthcheckSubnets []string `json:"healthcheck_subnets,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdatePoolOptions : The UpdatePool options.

func (*UpdatePoolOptions) SetDescription

func (_options *UpdatePoolOptions) SetDescription(description string) *UpdatePoolOptions

SetDescription : Allow user to set Description

func (*UpdatePoolOptions) SetEnabled

func (_options *UpdatePoolOptions) SetEnabled(enabled bool) *UpdatePoolOptions

SetEnabled : Allow user to set Enabled

func (*UpdatePoolOptions) SetHeaders

func (options *UpdatePoolOptions) SetHeaders(param map[string]string) *UpdatePoolOptions

SetHeaders : Allow user to set Headers

func (*UpdatePoolOptions) SetHealthcheckRegion

func (_options *UpdatePoolOptions) SetHealthcheckRegion(healthcheckRegion string) *UpdatePoolOptions

SetHealthcheckRegion : Allow user to set HealthcheckRegion

func (*UpdatePoolOptions) SetHealthcheckSubnets

func (_options *UpdatePoolOptions) SetHealthcheckSubnets(healthcheckSubnets []string) *UpdatePoolOptions

SetHealthcheckSubnets : Allow user to set HealthcheckSubnets

func (*UpdatePoolOptions) SetHealthyOriginsThreshold

func (_options *UpdatePoolOptions) SetHealthyOriginsThreshold(healthyOriginsThreshold int64) *UpdatePoolOptions

SetHealthyOriginsThreshold : Allow user to set HealthyOriginsThreshold

func (*UpdatePoolOptions) SetInstanceID

func (_options *UpdatePoolOptions) SetInstanceID(instanceID string) *UpdatePoolOptions

SetInstanceID : Allow user to set InstanceID

func (*UpdatePoolOptions) SetMonitor

func (_options *UpdatePoolOptions) SetMonitor(monitor string) *UpdatePoolOptions

SetMonitor : Allow user to set Monitor

func (*UpdatePoolOptions) SetName

func (_options *UpdatePoolOptions) SetName(name string) *UpdatePoolOptions

SetName : Allow user to set Name

func (*UpdatePoolOptions) SetNotificationChannel

func (_options *UpdatePoolOptions) SetNotificationChannel(notificationChannel string) *UpdatePoolOptions

SetNotificationChannel : Allow user to set NotificationChannel

func (*UpdatePoolOptions) SetOrigins

func (_options *UpdatePoolOptions) SetOrigins(origins []OriginInput) *UpdatePoolOptions

SetOrigins : Allow user to set Origins

func (*UpdatePoolOptions) SetPoolID

func (_options *UpdatePoolOptions) SetPoolID(poolID string) *UpdatePoolOptions

SetPoolID : Allow user to set PoolID

func (*UpdatePoolOptions) SetXCorrelationID

func (_options *UpdatePoolOptions) SetXCorrelationID(xCorrelationID string) *UpdatePoolOptions

SetXCorrelationID : Allow user to set XCorrelationID

type UpdateResourceRecordOptions

type UpdateResourceRecordOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a DNS zone.
	DnszoneID *string `json:"dnszone_id" validate:"required,ne="`

	// The unique identifier of a resource record.
	RecordID *string `json:"record_id" validate:"required,ne="`

	// Name of the resource record.
	Name *string `json:"name,omitempty"`

	// Content of the resource record.
	Rdata ResourceRecordUpdateInputRdataIntf `json:"rdata,omitempty"`

	// Time to live in second.
	TTL *int64 `json:"ttl,omitempty"`

	// Only used for SRV record.
	Service *string `json:"service,omitempty"`

	// Only used for SRV record.
	Protocol *string `json:"protocol,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateResourceRecordOptions : The UpdateResourceRecord options.

func (*UpdateResourceRecordOptions) SetDnszoneID

func (_options *UpdateResourceRecordOptions) SetDnszoneID(dnszoneID string) *UpdateResourceRecordOptions

SetDnszoneID : Allow user to set DnszoneID

func (*UpdateResourceRecordOptions) SetHeaders

func (options *UpdateResourceRecordOptions) SetHeaders(param map[string]string) *UpdateResourceRecordOptions

SetHeaders : Allow user to set Headers

func (*UpdateResourceRecordOptions) SetInstanceID

func (_options *UpdateResourceRecordOptions) SetInstanceID(instanceID string) *UpdateResourceRecordOptions

SetInstanceID : Allow user to set InstanceID

func (*UpdateResourceRecordOptions) SetName

SetName : Allow user to set Name

func (*UpdateResourceRecordOptions) SetProtocol

func (_options *UpdateResourceRecordOptions) SetProtocol(protocol string) *UpdateResourceRecordOptions

SetProtocol : Allow user to set Protocol

func (*UpdateResourceRecordOptions) SetRdata

SetRdata : Allow user to set Rdata

func (*UpdateResourceRecordOptions) SetRecordID

func (_options *UpdateResourceRecordOptions) SetRecordID(recordID string) *UpdateResourceRecordOptions

SetRecordID : Allow user to set RecordID

func (*UpdateResourceRecordOptions) SetService

func (_options *UpdateResourceRecordOptions) SetService(service string) *UpdateResourceRecordOptions

SetService : Allow user to set Service

func (*UpdateResourceRecordOptions) SetTTL

SetTTL : Allow user to set TTL

func (*UpdateResourceRecordOptions) SetXCorrelationID

func (_options *UpdateResourceRecordOptions) SetXCorrelationID(xCorrelationID string) *UpdateResourceRecordOptions

SetXCorrelationID : Allow user to set XCorrelationID

type UpdateSecondaryZoneOptions added in v0.31.0

type UpdateSecondaryZoneOptions struct {
	// The unique identifier of a service instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The unique identifier of a custom resolver.
	ResolverID *string `json:"resolver_id" validate:"required,ne="`

	// The unique identifier of a secondary zone.
	SecondaryZoneID *string `json:"secondary_zone_id" validate:"required,ne="`

	// Descriptive text of the secondary zone.
	Description *string `json:"description,omitempty"`

	// Enable/Disable the secondary zone.
	Enabled *bool `json:"enabled,omitempty"`

	// The addresses of DNS servers where the secondary zone data should be transferred from.
	TransferFrom []string `json:"transfer_from,omitempty"`

	// Uniquely identifying a request.
	XCorrelationID *string `json:"X-Correlation-ID,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateSecondaryZoneOptions : The UpdateSecondaryZone options.

func (*UpdateSecondaryZoneOptions) SetDescription added in v0.31.0

func (_options *UpdateSecondaryZoneOptions) SetDescription(description string) *UpdateSecondaryZoneOptions

SetDescription : Allow user to set Description

func (*UpdateSecondaryZoneOptions) SetEnabled added in v0.31.0

func (_options *UpdateSecondaryZoneOptions) SetEnabled(enabled bool) *UpdateSecondaryZoneOptions

SetEnabled : Allow user to set Enabled

func (*UpdateSecondaryZoneOptions) SetHeaders added in v0.31.0

func (options *UpdateSecondaryZoneOptions) SetHeaders(param map[string]string) *UpdateSecondaryZoneOptions

SetHeaders : Allow user to set Headers

func (*UpdateSecondaryZoneOptions) SetInstanceID added in v0.31.0

func (_options *UpdateSecondaryZoneOptions) SetInstanceID(instanceID string) *UpdateSecondaryZoneOptions

SetInstanceID : Allow user to set InstanceID

func (*UpdateSecondaryZoneOptions) SetResolverID added in v0.31.0

func (_options *UpdateSecondaryZoneOptions) SetResolverID(resolverID string) *UpdateSecondaryZoneOptions

SetResolverID : Allow user to set ResolverID

func (*UpdateSecondaryZoneOptions) SetSecondaryZoneID added in v0.31.0

func (_options *UpdateSecondaryZoneOptions) SetSecondaryZoneID(secondaryZoneID string) *UpdateSecondaryZoneOptions

SetSecondaryZoneID : Allow user to set SecondaryZoneID

func (*UpdateSecondaryZoneOptions) SetTransferFrom added in v0.31.0

func (_options *UpdateSecondaryZoneOptions) SetTransferFrom(transferFrom []string) *UpdateSecondaryZoneOptions

SetTransferFrom : Allow user to set TransferFrom

func (*UpdateSecondaryZoneOptions) SetXCorrelationID added in v0.31.0

func (_options *UpdateSecondaryZoneOptions) SetXCorrelationID(xCorrelationID string) *UpdateSecondaryZoneOptions

SetXCorrelationID : Allow user to set XCorrelationID

Jump to

Keyboard shortcuts

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