Documentation ¶
Index ¶
- Constants
- type AddZoneArgs
- type AddZoneRecordArgs
- type AddZoneRecordResponse
- type AddZoneResponse
- type BindZoneVpcArgs
- type BindZoneVpcResponse
- type ChangeLogType
- type CheckZoneNameArgs
- type CheckZoneNameResponse
- type Client
- func NewClient(accessKeyId, accessKeySecret string) *Client
- func NewClientWithEndpoint(endpoint string, accessKeyId string, accessKeySecret string) *Client
- func NewClientWithRegion(endpoint string, accessKeyId string, accessKeySecret string, ...) *Client
- func NewPVTZClient(accessKeyId, accessKeySecret string, regionID common.Region) *Client
- func NewPVTZClientWithEndpoint(endpoint string, accessKeyId string, accessKeySecret string, ...) *Client
- func NewPVTZClientWithEndpointAndSecurityToken(endpoint string, accessKeyId string, accessKeySecret string, ...) *Client
- func NewPVTZClientWithEndpointAndSecurityToken4RegionalDomain(endpoint string, accessKeyId string, accessKeySecret string, ...) *Client
- func NewPVTZClientWithSecurityToken(accessKeyId string, accessKeySecret string, securityToken string, ...) *Client
- func NewPVTZClientWithSecurityToken4RegionalDomain(accessKeyId string, accessKeySecret string, securityToken string, ...) *Client
- func (client *Client) AddZone(args *AddZoneArgs) (response *AddZoneResponse, err error)
- func (client *Client) AddZoneRecord(args *AddZoneRecordArgs) (response *AddZoneRecordResponse, err error)
- func (client *Client) BindZoneVpc(args *BindZoneVpcArgs) (err error)
- func (client *Client) CheckZoneName(args *CheckZoneNameArgs) (bool, error)
- func (client *Client) DeleteZone(args *DeleteZoneArgs) (err error)
- func (client *Client) DeleteZoneRecord(args *DeleteZoneRecordArgs) (err error)
- func (client *Client) DeleteZoneRecordsByRR(zoneId string, rr string) error
- func (client *Client) DescribeChangeLogs(args *DescribeChangeLogsArgs) (logs []ChangeLogType, err error)
- func (client *Client) DescribeRegions() (regions []RegionType, err error)
- func (client *Client) DescribeZoneInfo(args *DescribeZoneInfoArgs) (response *DescribeZoneInfoResponse, err error)
- func (client *Client) DescribeZoneRecords(args *DescribeZoneRecordsArgs) (records []ZoneRecordType, err error)
- func (client *Client) DescribeZoneRecordsByRR(zoneId string, rr string) (records []ZoneRecordType, err error)
- func (client *Client) DescribeZones(args *DescribeZonesArgs) (zones []ZoneType, err error)
- func (client *Client) SetZoneRecordStatus(args *SetZoneRecordStatusArgs) (err error)
- func (client *Client) UpdateZoneRecord(args *UpdateZoneRecordArgs) (err error)
- func (client *Client) UpdateZoneRemark(args *UpdateZoneRemarkArgs) error
- type DeleteZoneArgs
- type DeleteZoneRecordArgs
- type DeleteZoneRecordResponse
- type DeleteZoneResponse
- type DescribeChangeLogsArgs
- type DescribeChangeLogsResponse
- type DescribeRegionsArgs
- type DescribeRegionsResponse
- type DescribeZoneInfoArgs
- type DescribeZoneInfoResponse
- type DescribeZoneRecordsArgs
- type DescribeZoneRecordsResponse
- type DescribeZonesArgs
- type DescribeZonesResponse
- type RecordStatus
- type RegionType
- type SetZoneRecordStatusArgs
- type SetZoneRecordStatusResponse
- type UpdateZoneRecordArgs
- type UpdateZoneRecordResponse
- type UpdateZoneRemarkArgs
- type UpdateZoneRemarkResponse
- type VPCType
- type ZoneRecordType
- type ZoneType
Constants ¶
const ( // ECSDefaultEndpoint is the default API endpoint of ECS services PVTZDefaultEndpoint = "https://pvtz.aliyuncs.com" PVTZServiceCode = "pvtz" PVTZAPIVersion = "2018-01-01" )
const DefaultTimeout = 60
Default timeout value for WaitForXXX method
const DefaultWaitForInterval = 5
Interval for checking status in WaitForXXX method
const DisableStatus = RecordStatus("DISABLE")
const EnableStatus = RecordStatus("ENABLE")
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddZoneArgs ¶
type AddZoneRecordArgs ¶
type AddZoneRecordResponse ¶
type AddZoneResponse ¶
type BindZoneVpcArgs ¶
type BindZoneVpcResponse ¶
type ChangeLogType ¶
type CheckZoneNameArgs ¶
type CheckZoneNameResponse ¶
type Client ¶
func NewClientWithEndpoint ¶
func NewClientWithRegion ¶
func NewPVTZClient ¶
--------------------------------------- NewPVTZClient creates a new instance of PVTZ client ---------------------------------------
func NewPVTZClientWithEndpointAndSecurityToken4RegionalDomain ¶
func NewPVTZClientWithEndpointAndSecurityToken4RegionalDomain(endpoint string, accessKeyId string, accessKeySecret string, securityToken string, regionID common.Region) *Client
only for hangzhou
func NewPVTZClientWithSecurityToken4RegionalDomain ¶
func NewPVTZClientWithSecurityToken4RegionalDomain(accessKeyId string, accessKeySecret string, securityToken string, regionID common.Region) *Client
Onlyfor hangzhou
func (*Client) AddZone ¶
func (client *Client) AddZone(args *AddZoneArgs) (response *AddZoneResponse, err error)
AddZone add zone
You can read doc at https://help.aliyun.com/document_detail/66240.html
func (*Client) AddZoneRecord ¶
func (client *Client) AddZoneRecord(args *AddZoneRecordArgs) (response *AddZoneRecordResponse, err error)
AddZoneRecord add zone record
You can read doc at https://help.aliyun.com/document_detail/66248.html
func (*Client) BindZoneVpc ¶
func (client *Client) BindZoneVpc(args *BindZoneVpcArgs) (err error)
BindZoneVpc bind zone to VPC
You can read doc at https://help.aliyun.com/document_detail/66244.html
func (*Client) CheckZoneName ¶
func (client *Client) CheckZoneName(args *CheckZoneNameArgs) (bool, error)
CheckZoneName check zone name available or not
You can read doc at https://help.aliyun.com/document_detail/66240.html
func (*Client) DeleteZone ¶
func (client *Client) DeleteZone(args *DeleteZoneArgs) (err error)
DeleteZone delete zone
You can read doc at https://help.aliyun.com/document_detail/66240.html
func (*Client) DeleteZoneRecord ¶
func (client *Client) DeleteZoneRecord(args *DeleteZoneRecordArgs) (err error)
DeleteZone delete zone
You can read doc at https://help.aliyun.com/document_detail/66249.html
func (*Client) DeleteZoneRecordsByRR ¶
func (*Client) DescribeChangeLogs ¶
func (client *Client) DescribeChangeLogs(args *DescribeChangeLogsArgs) (logs []ChangeLogType, err error)
DescribeChangeLogs describes change logs
You can read doc at https://help.aliyun.com/document_detail/66253.html
func (*Client) DescribeRegions ¶
func (client *Client) DescribeRegions() (regions []RegionType, err error)
DescribeRegions describes regions
You can read doc at https://help.aliyun.com/document_detail/66246.html
func (*Client) DescribeZoneInfo ¶
func (client *Client) DescribeZoneInfo(args *DescribeZoneInfoArgs) (response *DescribeZoneInfoResponse, err error)
DescribeZoneInfo describes zone info
You can read doc at https://help.aliyun.com/document_detail/66244.html
func (*Client) DescribeZoneRecords ¶
func (client *Client) DescribeZoneRecords(args *DescribeZoneRecordsArgs) (records []ZoneRecordType, err error)
DescribeZoneRecords describes zones
You can read doc at https://help.aliyun.com/document_detail/66252.html
func (*Client) DescribeZoneRecordsByRR ¶
func (client *Client) DescribeZoneRecordsByRR(zoneId string, rr string) (records []ZoneRecordType, err error)
func (*Client) DescribeZones ¶
func (client *Client) DescribeZones(args *DescribeZonesArgs) (zones []ZoneType, err error)
DescribeZones describes zones
You can read doc at https://help.aliyun.com/document_detail/66243.html
func (*Client) SetZoneRecordStatus ¶
func (client *Client) SetZoneRecordStatus(args *SetZoneRecordStatusArgs) (err error)
SetZoneRecordStatus set zone record status
You can read doc at https://help.aliyun.com/document_detail/66251.html
func (*Client) UpdateZoneRecord ¶
func (client *Client) UpdateZoneRecord(args *UpdateZoneRecordArgs) (err error)
UpdateZoneRecord update zone record
You can read doc at https://help.aliyun.com/document_detail/66250.html
func (*Client) UpdateZoneRemark ¶
func (client *Client) UpdateZoneRemark(args *UpdateZoneRemarkArgs) error
CheckZoneName check zone name available or not
You can read doc at https://help.aliyun.com/document_detail/66242.html
type DeleteZoneArgs ¶
type DeleteZoneRecordArgs ¶
type DeleteZoneResponse ¶
type DescribeChangeLogsArgs ¶
type DescribeChangeLogsResponse ¶
type DescribeChangeLogsResponse struct { common.Response common.PaginationResult ChangeLogs struct { ChangeLog []ChangeLogType } }
type DescribeRegionsArgs ¶
type DescribeRegionsArgs struct { }
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { common.Response Regions struct { Region []RegionType } }
type DescribeZoneInfoArgs ¶
type DescribeZoneInfoArgs struct { ZoneId string Lang string UserClientIp string common.Pagination }
type DescribeZoneRecordsArgs ¶
type DescribeZoneRecordsResponse ¶
type DescribeZoneRecordsResponse struct { common.Response common.PaginationResult Records struct { Record []ZoneRecordType } }
type DescribeZonesArgs ¶
type DescribeZonesArgs struct { Keyword string Lang string UserClientIp string common.Pagination }
type DescribeZonesResponse ¶
type DescribeZonesResponse struct { common.Response common.PaginationResult Zones struct { Zone []ZoneType } }
type RecordStatus ¶
type RecordStatus string
type RegionType ¶
type SetZoneRecordStatusArgs ¶
type SetZoneRecordStatusArgs struct { RecordId int64 Lang string UserClientIp string Status RecordStatus }
type SetZoneRecordStatusResponse ¶
type SetZoneRecordStatusResponse struct { common.Response RecordId string Status RecordStatus }
type UpdateZoneRecordArgs ¶
type UpdateZoneRemarkArgs ¶
type ZoneRecordType ¶
type ZoneType ¶
type ZoneType struct { ZoneName string ZoneId string IsPtr bool RecordCount int CreateTime util.ISO6801Time UpdateTime util.ISO6801Time }