alicloud

package
v1.115.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: MPL-2.0 Imports: 98 Imported by: 0

Documentation

Overview

Package alicloud common functions used by datahub

Index

Constants

View Source
const (
	ClassicNet = InstanceNetWork("classic")
	VpcNet     = InstanceNetWork("vpc")
)
View Source
const (
	PrePaid  = PayType("PrePaid")
	PostPaid = PayType("PostPaid")
	Prepaid  = PayType("Prepaid")
	Postpaid = PayType("Postpaid")
)
View Source
const (
	NormalMode = "normal"
	SafetyMode = "safety"
)
View Source
const (
	Enterprise   = DdosbgpInsatnceType("Enterprise")
	Professional = DdosbgpInsatnceType("Professional")
)
View Source
const (
	IPv4 = DdosbgpInstanceIpType("IPv4")
	IPv6 = DdosbgpInstanceIpType("IPv6")
)
View Source
const (
	Internet = NetType("Internet")
	Intranet = NetType("Intranet")
)
View Source
const (
	Classic         = NetworkType("Classic")
	Vpc             = NetworkType("Vpc")
	ClassicInternet = NetworkType("classic_internet")
	ClassicIntranet = NetworkType("classic_intranet")
	PUBLIC          = NetworkType("PUBLIC")
	PRIVATE         = NetworkType("PRIVATE")
)
View Source
const (
	WORKER = NodeType("WORKER")
	KIBANA = NodeType("KIBANA")
)
View Source
const (
	OPEN  = ActionType("OPEN")
	CLOSE = ActionType("CLOSE")
)
View Source
const (
	Hour  = TimeType("Hour")
	Day   = TimeType("Day")
	Week  = TimeType("Week")
	Month = TimeType("Month")
	Year  = TimeType("Year")
)
View Source
const (
	IPV4 = IpVersion("ipv4")
	IPV6 = IpVersion("ipv6")
)
View Source
const (
	Pending     = Status("Pending")
	Creating    = Status("Creating")
	Running     = Status("Running")
	Available   = Status("Available")
	Unavailable = Status("Unavailable")
	Modifying   = Status("Modifying")
	Deleting    = Status("Deleting")
	Starting    = Status("Starting")
	Stopping    = Status("Stopping")
	Stopped     = Status("Stopped")
	Normal      = Status("Normal")
	Changing    = Status("Changing")
	Online      = Status("online")
	Configuring = Status("configuring")

	Associating   = Status("Associating")
	Unassociating = Status("Unassociating")
	InUse         = Status("InUse")
	DiskInUse     = Status("In_use")

	Active   = Status("Active")
	Inactive = Status("Inactive")
	Idle     = Status("Idle")

	SoldOut = Status("SoldOut")

	InService      = Status("InService")
	Removing       = Status("Removing")
	DisabledStatus = Status("Disabled")

	Init            = Status("Init")
	Provisioning    = Status("Provisioning")
	Updating        = Status("Updating")
	FinancialLocked = Status("FinancialLocked")

	PUBLISHED   = Status("Published")
	NOPUBLISHED = Status("NonPublished")

	Deleted = Status("Deleted")
	Null    = Status("Null")

	Enable = Status("Enable")
	BINDED = Status("BINDED")
)
View Source
const (
	Inner   = IPType("Inner")
	Private = IPType("Private")
	Public  = IPType("Public")
)
View Source
const (
	ResourceTypeInstance      = ResourceType("Instance")
	ResourceTypeDisk          = ResourceType("Disk")
	ResourceTypeVSwitch       = ResourceType("VSwitch")
	ResourceTypeRds           = ResourceType("Rds")
	ResourceTypePolarDB       = ResourceType("PolarDB")
	IoOptimized               = ResourceType("IoOptimized")
	ResourceTypeRkv           = ResourceType("KVStore")
	ResourceTypeFC            = ResourceType("FunctionCompute")
	ResourceTypeElasticsearch = ResourceType("Elasticsearch")
	ResourceTypeSlb           = ResourceType("Slb")
	ResourceTypeMongoDB       = ResourceType("MongoDB")
	ResourceTypeGpdb          = ResourceType("Gpdb")
	ResourceTypeHBase         = ResourceType("HBase")
	ResourceTypeAdb           = ResourceType("ADB")
	ResourceTypeCassandra     = ResourceType("Cassandra")
)
View Source
const (
	PayByBandwidth = InternetChargeType("PayByBandwidth")
	PayByTraffic   = InternetChargeType("PayByTraffic")
	PayBy95        = InternetChargeType("PayBy95")
)
View Source
const (
	DomesticSite = AccountSite("Domestic")
	IntlSite     = AccountSite("International")
)
View Source
const (
	SnapshotCreatingInProcessing = Status("progressing")
	SnapshotCreatingAccomplished = Status("accomplished")
	SnapshotCreatingFailed       = Status("failed")

	SnapshotPolicyCreating  = Status("Creating")
	SnapshotPolicyAvailable = Status("available")
	SnapshotPolicyNormal    = Status("Normal")
)
View Source
const (
	PageSizeSmall  = 10
	PageSizeMedium = 20
	PageSizeLarge  = 50
	PageSizeXLarge = 100
)
View Source
const (
	Http  = Protocol("http")
	Https = Protocol("https")
	Tcp   = Protocol("tcp")
	Udp   = Protocol("udp")
	All   = Protocol("all")
	Icmp  = Protocol("icmp")
	Gre   = Protocol("gre")
)

Constants of protocol definition

View Source
const (
	IOOptimized   = OptimizedType("optimized")
	NoneOptimized = OptimizedType("none")
)
View Source
const (
	TagResourceImage         = TagResourceType("image")
	TagResourceInstance      = TagResourceType("instance")
	TagResourceAcl           = TagResourceType("acl")
	TagResourceCertificate   = TagResourceType("certificate")
	TagResourceSnapshot      = TagResourceType("snapshot")
	TagResourceKeypair       = TagResourceType("keypair")
	TagResourceDisk          = TagResourceType("disk")
	TagResourceSecurityGroup = TagResourceType("securitygroup")
	TagResourceEni           = TagResourceType("eni")
	TagResourceCdn           = TagResourceType("DOMAIN")
	TagResourceVpc           = TagResourceType("VPC")
	TagResourceVSwitch       = TagResourceType("VSWITCH")
	TagResourceRouteTable    = TagResourceType("ROUTETABLE")
	TagResourceEip           = TagResourceType("EIP")
	TagResourcePlugin        = TagResourceType("plugin")
	TagResourceApiGroup      = TagResourceType("apiGroup")
	TagResourceApp           = TagResourceType("app")
	TagResourceTopic         = TagResourceType("topic")
	TagResourceConsumerGroup = TagResourceType("consumergroup")
	TagResourceCluster       = TagResourceType("cluster")
)
View Source
const (
	KubernetesNodeMaster = ResourceType("Master")
	KubernetesNodeWorker = ResourceType("Worker")
)
View Source
const (
	// common
	NotFound                = "NotFound"
	ResourceNotfound        = "ResourceNotfound"
	ServiceUnavailable      = "ServiceUnavailable"
	InstanceNotFound        = "Instance.Notfound"
	MessageInstanceNotFound = "instance is not found"
	Throttling              = "Throttling"
	ThrottlingUser          = "Throttling.User"

	// RAM Instance Not Found
	RamInstanceNotFound   = "Forbidden.InstanceNotFound"
	AliyunGoClientFailure = "AliyunGoClientFailure"

	LogClientTimeout = "Client.Timeout exceeded while awaiting headers"
)
View Source
const (
	AlibabaCloudSdkGoERROR = ErrorSource("[SDK alibaba-cloud-sdk-go ERROR]")
	AliyunLogGoSdkERROR    = ErrorSource("[SDK aliyun-log-go-sdk ERROR]")
	AliyunDatahubSdkGo     = ErrorSource("[SDK aliyun-datahub-sdk-go ERROR]")
	AliyunMaxComputeSdkGo  = ErrorSource("[SDK aliyun-maxcompute-sdk-go ERROR]")
	AliyunOssGoSdk         = ErrorSource("[SDK aliyun-oss-go-sdk ERROR]")
	FcGoSdk                = ErrorSource("[SDK fc-go-sdk ERROR]")
	DenverdinoAliyungo     = ErrorSource("[SDK denverdino/aliyungo ERROR]")
	AliyunTablestoreGoSdk  = ErrorSource("[SDK aliyun-tablestore-go-sdk ERROR]")
	AliMnsERROR            = ErrorSource("[SDK ali_mns ERROR]")
	ProviderERROR          = ErrorSource("[Provider ERROR]")
)
View Source
const (
	CatalogRequest           = "REQUEST"
	CatalogConstant          = "CONSTANT"
	CatalogSystem            = "SYSTEM"
	ResultType               = "JSON"
	ResultSample             = "Result Sample"
	Visibility               = "PRIVATE"
	AllowSignatureMethod     = "HmacSHA256"
	WebSocketApiType         = "COMMON"
	DeployCommonDescription  = "Terraform Deploy"
	StageNamePre             = "PRE"
	StageNameRelease         = "RELEASE"
	StageNameTest            = "TEST"
	AuthorizationDone        = "DONE"
	ApigatewayDefaultAddress = "http://www.aliyun.com"
	ApigatewayDefaultTimeout = 30
)
View Source
const (
	Average          = "Average"
	Minimum          = "Minimum"
	Maximum          = "Maximum"
	ErrorCodeMaximum = "ErrorCodeMaximum"
)
View Source
const (
	MoreThan        = ">"
	MoreThanOrEqual = ">="
	LessThan        = "<"
	LessThanOrEqual = "<="
	Equal           = "=="
	NotEqual        = "!="
)
View Source
const (
	SiteMonitorHTTP = "HTTP"
	SiteMonitorPing = "Ping"
	SiteMonitorTCP  = "TCP"
	SiteMonitorUDP  = "UDP"
	SiteMonitorDNS  = "DNS"
	SiteMonitorSMTP = "SMTP"
	SiteMonitorPOP3 = "POP3"
	SiteMonitorFTP  = "FTP"
)
View Source
const (
	GroupRuleInternet = GroupRuleNicType("internet")
	GroupRuleIntranet = GroupRuleNicType("intranet")
)
View Source
const (
	DirectionIngress = Direction("ingress")
	DirectionEgress  = Direction("egress")
)
View Source
const (
	GroupRulePolicyAccept = GroupRulePolicy("accept")
	GroupRulePolicyDrop   = GroupRulePolicy("drop")
)
View Source
const (
	GroupInnerAccept = GroupInnerAccessPolicy("Accept")
	GroupInnerDrop   = GroupInnerAccessPolicy("Drop")
)
View Source
const (
	NoSpot             = SpotStrategyType("NoSpot")
	SpotWithPriceLimit = SpotStrategyType("SpotWithPriceLimit")
	SpotAsPriceGo      = SpotStrategyType("SpotAsPriceGo")
)

Constants of SpotStrategyType

View Source
const (
	ZoneResource         = DestinationResource("Zone")
	IoOptimizedResource  = DestinationResource("IoOptimized")
	InstanceTypeResource = DestinationResource("InstanceType")
	SystemDiskResource   = DestinationResource("SystemDisk")
	DataDiskResource     = DestinationResource("DataDisk")
	NetworkResource      = DestinationResource("Network")
)
View Source
const (
	RenewAutoRenewal = RenewalStatus("AutoRenewal")
	RenewNormal      = RenewalStatus("Normal")
	RenewNotRenewal  = RenewalStatus("NotRenewal")
)
View Source
const (
	DiskTypeAll    = DiskType("all")
	DiskTypeSystem = DiskType("system")
	DiskTypeData   = DiskType("data")
)
View Source
const (
	DiskAll             = DiskCategory("all") //Default
	DiskCloud           = DiskCategory("cloud")
	DiskEphemeralSSD    = DiskCategory("ephemeral_ssd")
	DiskCloudESSD       = DiskCategory("cloud_essd")
	DiskCloudEfficiency = DiskCategory("cloud_efficiency")
	DiskCloudSSD        = DiskCategory("cloud_ssd")
	DiskLocalDisk       = DiskCategory("local_disk")
)
View Source
const (
	DiskResizeTypeOffline = DiskResizeType("offline")
	DiskResizeTypeOnline  = DiskResizeType("online")
)
View Source
const (
	ImageOwnerSystem      = ImageOwnerAlias("system")
	ImageOwnerSelf        = ImageOwnerAlias("self")
	ImageOwnerOthers      = ImageOwnerAlias("others")
	ImageOwnerMarketplace = ImageOwnerAlias("marketplace")
	ImageOwnerDefault     = ImageOwnerAlias("") //Return the values for system, self, and others
)
View Source
const (
	ActiveSecurityEnhancementStrategy   = SecurityEnhancementStrategy("Active")
	DeactiveSecurityEnhancementStrategy = SecurityEnhancementStrategy("Deactive")
)
View Source
const (
	CreditSpecificationStandard  = CreditSpecification("Standard")
	CreditSpecificationUnlimited = CreditSpecification("Unlimited")
)
View Source
const (
	SimpleScalingRule         = ScalingRuleType("SimpleScalingRule")
	TargetTrackingScalingRule = ScalingRuleType("TargetTrackingScalingRule")
	StepScalingRule           = ScalingRuleType("StepScalingRule")
)
View Source
const (
	AttachDetachLoadbalancersBatchsize = BatchSize(5)
	AttachDetachDbinstancesBatchsize   = BatchSize(5)
)
View Source
const (
	Enabled         = KeyState("Enabled")
	Disabled        = KeyState("Disabled")
	PendingDeletion = KeyState("PendingDeletion")
)
View Source
const (
	MongoDBShardingNodeMongos = MongoDBShardingNodeType("mongos")
	MongoDBShardingNodeShard  = MongoDBShardingNodeType("shard")
)
View Source
const (
	ExpirationStatusEnabled  = LifecycleRuleStatus("Enabled")
	ExpirationStatusDisabled = LifecycleRuleStatus("Disabled")
)
View Source
const (
	IntegerType = PrimaryKeyTypeString("Integer")
	StringType  = PrimaryKeyTypeString("String")
	BinaryType  = PrimaryKeyTypeString("Binary")
)
View Source
const (
	AnyNetwork   = InstanceAccessedByType("Any")
	VpcOnly      = InstanceAccessedByType("Vpc")
	VpcOrConsole = InstanceAccessedByType("ConsoleOrVpc")
)
View Source
const (
	OtsCapacity        = OtsInstanceType("Capacity")
	OtsHighPerformance = OtsInstanceType("HighPerformance")
)
View Source
const (
	MySQL      = Engine("MySQL")
	SQLServer  = Engine("SQLServer")
	PPAS       = Engine("PPAS")
	PostgreSQL = Engine("PostgreSQL")
)
View Source
const (
	KVStoreRedis    = KVStoreInstanceType("Redis")
	KVStoreMemcache = KVStoreInstanceType("Memcache")
)
View Source
const (
	KVStore2Dot8 = KVStoreEngineVersion("2.8")
	KVStore4Dot0 = KVStoreEngineVersion("4.0")
)
View Source
const (
	WRRScheduler = SchedulerType("wrr")
	WLCScheduler = SchedulerType("wlc")
	RRScheduler  = SchedulerType("rr")
)
View Source
const (
	OnFlag  = FlagType("on")
	OffFlag = FlagType("off")
)
View Source
const (
	ENI = FlagType("eni")
	ECS = FlagType("ecs")
)
View Source
const (
	AclTypeBlack = AclType("black")
	AclTypeWhite = AclType("white")
)
View Source
const (
	InsertStickySessionType = StickySessionType("insert")
	ServerStickySessionType = StickySessionType("server")
)
View Source
const (
	HTTP_2XX = HealthCheckHttpCodeType("http_2xx")
	HTTP_3XX = HealthCheckHttpCodeType("http_3xx")
	HTTP_4XX = HealthCheckHttpCodeType("http_4xx")
	HTTP_5XX = HealthCheckHttpCodeType("http_5xx")
)
View Source
const (
	TCPHealthCheckType  = HealthCheckType("tcp")
	HTTPHealthCheckType = HealthCheckType("http")
)
View Source
const (
	S1Small  = "slb.s1.small"
	S2Small  = "slb.s2.small"
	S2Medium = "slb.s2.medium"
	S3Small  = "slb.s3.small"
	S3Medium = "slb.s3.medium"
	S3Large  = "slb.s3.large"
	S4Large  = "slb.s4.large"
)
View Source
const (
	EcsInstance = "EcsInstance"
	SlbInstance = "SlbInstance"
	Nat         = "Nat"
	HaVip       = "HaVip"
)
View Source
const (
	VRouter = RouterType("VRouter")
	VBR     = RouterType("VBR")

	InitiatingSide = Role("InitiatingSide")
	AcceptingSide  = Role("AcceptingSide")

	Mini2   = Spec("Mini.2")
	Mini5   = Spec("Mini.5")
	Small1  = Spec("Small.1")
	Small2  = Spec("Small.2")
	Small5  = Spec("Small.5")
	Middle1 = Spec("Middle.1")
	Middle2 = Spec("Middle.2")
	Middle5 = Spec("Middle.5")
	Large1  = Spec("Large.1")
	Large2  = Spec("Large.2")
	Large5  = Spec("Large.5")
	Xlarge1 = Spec("Xlarge.1")

	Negative = Spec(("Negative"))
)
View Source
const (
	Ssl_Cert_Expiring = Status("expiring-soon")
	Ssl_Cert_Normal   = Status("normal")
	Ssl_Cert_Expired  = Status("expired")
)
View Source
const (
	IKE_VERSION_1       = string("ikev1")
	IKE_VERSION_2       = string("ikev2")
	IKE_MODE_MAIN       = string("main")
	IKE_MODE_AGGRESSIVE = string("aggressive")
	VPN_ENC_AES         = string("aes")
	VPN_ENC_AES_192     = string("aes192")
	VPN_ENC_AES_256     = string("aes256")
	VPN_ENC_AES_DES     = string("des")
	VPN_ENC_AES_3DES    = string("3des")
	VPN_AUTH_MD5        = string("md5")
	VPN_AUTH_SHA        = string("sha1")
	VPN_AUTH_SHA256     = string("sha256")
	VPN_AUTH_SHA386     = string("sha386")
	VPN_AUTH_SHA512     = string("sha512")
	VPN_PFS_DISABLED    = string("disabled")
	VPN_PFS_G1          = string("group1")
	VPN_PFS_G2          = string("group2")
	VPN_PFS_G5          = string("group5")
	VPN_PFS_G14         = string("group14")
	VPN_PFS_G24         = string("group24")
	VPN_UDP_PROTO       = string("UDP")
	VPN_TCP_PROTO       = string("TCP")
	SSL_VPN_ENC_AES_128 = string("AES-128-CBC")
	SSL_VPN_ENC_AES_192 = string("AES-192-CBC")
	SSL_VPN_ENC_AES_256 = string("AES-256-CBC")
	SSL_VPN_ENC_NONE    = string("none")
)
View Source
const (
	EdgeKubernetesDefaultTimeoutInMinutes = 60
	EdgeProfile                           = "Edge"
)
View Source
const (
	KubernetesClusterNetworkTypeFlannel = "flannel"
	KubernetesClusterNetworkTypeTerway  = "terway"

	KubernetesClusterLoggingTypeSLS = "SLS"
)
View Source
const (
	LabelPattern = "k8s.io/cluster-autoscaler/node-template/label/"
	TaintPattern = "k8s.io/cluster-autoscaler/node-template/taint/"
)
View Source
const (
	BATIONHOST_RELEASE_HANG_MINS  = 5
	BASTIONHOST_WAITING_FOR_START = 600
)
View Source
const (
	RepoTypePublic  = "PUBLIC"
	RepoTypePrivate = "PRIVATE"
)
View Source
const (
	COMPONENT_AUTO_SCALER      = "cluster-autoscaler"
	COMPONENT_DEFAULT_VRESION  = "v1.0.0"
	SCALING_CONFIGURATION_NAME = "kubernetes_autoscaler_autogen"
	DefaultECSTag              = "k8s.aliyun.com"
	RECYCLE_MODE_LABEL         = "k8s.io/cluster-autoscaler/node-template/label/policy"
	DefaultAutoscalerTag       = "k8s.io/cluster-autoscaler"
	SCALING_GROUP_NAME         = "sg-%s-%s"
	DEFAULT_COOL_DOWN_TIME     = 300
	RELEASE_MODE               = "release"
	RECYCLE_MODE               = "recycle"

	PRIORITY_POLICY       = "PRIORITY"
	COST_OPTIMIZED_POLICY = "COST_OPTIMIZED"
	BALANCE_POLICY        = "BALANCE"

	UpgradeClusterTimeout = 30 * time.Minute
)
View Source
const (
	Hb_LAUNCHING            = "LAUNCHING"
	Hb_CREATING             = "CREATING"
	Hb_ACTIVATION           = "ACTIVATION"
	Hb_DELETING             = "DELETING"
	Hb_CREATE_FAILED        = "CREATE_FAILED"
	Hb_NODE_RESIZING        = "HBASE_SCALE_OUT"
	Hb_NODE_RESIZING_FAILED = "NODE_RESIZE_FAILED"
	Hb_DISK_RESIZING        = "HBASE_EXPANDING"
	Hb_DISK_RESIZE_FAILED   = "DISK_RESIZING_FAILED"
	Hb_LEVEL_MODIFY         = "INSTANCE_LEVEL_MODIFY"
	Hb_LEVEL_MODIFY_FAILED  = "INSTANCE_LEVEL_MODIFY_FAILED"
	Hb_HBASE_COLD_EXPANDING = "HBASE_COLD_EXPANDING"
)
View Source
const (
	BastionhostRoleDefaultDescription = "Bastionhost will access other cloud resources by playing this role by default"
	BastionhostRoleName               = "AliyunBastionHostDefaultRole"
	BastionhostAssumeRolePolicy       = `` /* 191-byte string literal not displayed */

	BastionhostResourceType = "INSTANCE"
)
View Source
const (
	RoleDefaultDescription = "DbAudit perform the default role to access your other cloud resources"
	RoleName               = "AliyunDbAuditDefaultRole"
	AssumeRolePolicy       = `` /* 187-byte string literal not displayed */

	DBauditResourceType = "INSTANCE"
)
View Source
const AllPortRange = "-1/-1"
View Source
const BackendServerPort = -520
View Source
const COLON_SEPARATED = ":"
View Source
const COMMA_SEPARATED = ","
View Source
const CharityPageUrl = "http://promotion.alicdn.com/help/oss/error.html"
View Source
const ChildInstanceTypeCcn = "CCN"
View Source
const ChildInstanceTypeVbr = "VBR"
View Source
const ChildInstanceTypeVpc = "VPC"
View Source
const DEFAULT_REGION = "cn-beijing"

default region for all resource

View Source
const DataDefaultErrorMsg = "Datasource %s %s Failed!!! %s"
View Source
const DefaultCenTimeout = 60
View Source
const DefaultCenTimeoutLong = 180
View Source
const DefaultDebugMsg = "\n*************** %s Response *************** \n%s\n%s******************************\n\n"
View Source
const DefaultErrorMsg = "Resource %s %s Failed!!! %s"

A default message of ComplexError's Err. It is format to Resource <resource-id> <operation> Failed!!! <error source>

View Source
const DefaultIntervalLong = 20
View Source
const DefaultIntervalMedium = 10
View Source
const DefaultIntervalMini = 2
View Source
const DefaultIntervalShort = 5
View Source
const DefaultLongTimeout = 1000

timeout for long time progerss product, rds e.g.

View Source
const DefaultTimeout = 120

timeout for common product, ecs e.g.

View Source
const DefaultTimeoutMedium = 500
View Source
const DefaultTimeoutMsg = "Resource %s %s Timeout!!! %s"
View Source
const DeleteTimeoutMsg = "Resource %s Still Exists. %s Timeout!!! %s"
View Source
const (
	DoesNotExist = "does not exist"
)

It is proactive defense to the case that SDK extends new datahub objects.

View Source
const FailedGetAttributeMsg = "Getting resource %s attribute by path %s failed!!! Body: %v."
View Source
const FailedToReachTargetAttribute = "Failed to reach value for target attribute. Current value is %s."
View Source
const FailedToReachTargetStatus = "Failed to reach target status. Current status is %s."
View Source
const GenerationFour = "ecs-4"
View Source
const GenerationOne = "ecs-1"
View Source
const GenerationThree = "ecs-3"
View Source
const GenerationTwo = "ecs-2"
View Source
const GroupId = "groupId"
View Source
const INT_MAX = 2147483647
View Source
const IdMsg = "Resource id:%s "
View Source
const (
	KubernetesMasterNumber = 3
)
View Source
const LOCAL_HOST_IP = "127.0.0.1"
View Source
const MULTI_IZ_SYMBOL = "MAZ"

symbol of multiIZ

View Source
const (
	ManagedKubernetesCreationDefaultTimeoutInMinute = 60
)
View Source
const (
	MaxScalingConfigurationInstanceTypes = MaxItems(10)
)
View Source
const ModulesSizeLimit = 50
View Source
const NotFoundMsg = ResourceNotfound + "!!! %s"
View Source
const NotFoundWithResponse = ResourceNotfound + "!!! Response: %v"
View Source
const (
	RELEASE_HANG_MINS = 3
)
View Source
const RequestIdMsg = "RequestId: %s"
View Source
const SLASH_SEPARATED = "/"
View Source
const ScalingGroup = "scaling_group"
View Source
const ServerSideEncryptionAes256 = "AES256"
View Source
const ServerSideEncryptionKMS = "KMS"
View Source
const Timeout5Minute = 300
View Source
const UserId = "userId"
View Source
const WaitTimeoutMsg = "Resource %s %s Timeout In %d Seconds. Got: %s Expected: %s !!! %s"

Variables

View Source
var (
	ATTACH_SCRIPT_WITH_VERSION = `` /* 139-byte string literal not displayed */

	NETWORK_ADDON_NAMES = []string{"terway", "kube-flannel-ds", "terway-eni", "terway-eniip"}
)
View Source
var BACKUP_TIME = []string{
	"00:00Z-01:00Z", "01:00Z-02:00Z", "02:00Z-03:00Z", "03:00Z-04:00Z", "04:00Z-05:00Z",
	"05:00Z-06:00Z", "06:00Z-07:00Z", "07:00Z-08:00Z", "08:00Z-09:00Z", "09:00Z-10:00Z",
	"10:00Z-11:00Z", "11:00Z-12:00Z", "12:00Z-13:00Z", "13:00Z-14:00Z", "14:00Z-15:00Z",
	"15:00Z-16:00Z", "16:00Z-17:00Z", "17:00Z-18:00Z", "18:00Z-19:00Z", "19:00Z-20:00Z",
	"20:00Z-21:00Z", "21:00Z-22:00Z", "22:00Z-23:00Z", "23:00Z-24:00Z",
}
View Source
var ClientErrorCatcher = Catcher{AliyunGoClientFailure, 10, 5}
View Source
var DBInstanceStatusCatcher = Catcher{"OperationDenied.DBInstanceStatus", 60, 5}
_______________                      _______________                       _______________
|              | ______param______\  |              |  _____request_____\  |              |
|   Business   |                     |    Service   |                      |    SDK/API   |
|              | __________________  |              |  __________________  |              |
|______________| \    (obj, err)     |______________|  \ (status, cont)    |______________|
                    |                                    |
                    |A. {instance, nil}                  |a. {200, content}
                    |B. {nil, error}                     |b. {200, nil}
               					  |c. {4xx, nil}

The API return 200 for resource not found. When getInstance is empty, then throw InstanceNotfound error. That the business layer only need to check error.

View Source
var DBReadInstanceNotReadyStatus = []string{"OperationDenied.ReadDBInstanceStatus", "OperationDenied.MasterDBInstanceState", "ReadDBInstance.Mismatch"}
View Source
var DiskInvalidOperation = []string{"IncorrectDiskStatus", "IncorrectInstanceStatus", "OperationConflict", "InternalError", "InvalidOperation.Conflict", "IncorrectDiskStatus.Initializing"}
View Source
var DiskNotSupportOnlineChangeErrors = []string{"InvalidDiskCategory.NotSupported", "InvalidRegion.NotSupport", "IncorrectInstanceStatus", "IncorrectDiskStatus", "InvalidOperation.InstanceTypeNotSupport"}
View Source
var EcsNotFound = []string{"InvalidInstanceId.NotFound", "Forbidden.InstanceNotFound"}
View Source
var HalfIoOptimizedFamily = map[string]string{"ecs.s2": "", "ecs.s3": "", "ecs.m1": "", "ecs.m2": "", "ecs.c1": "", "ecs.c2": ""}
View Source
var KVstoreInstanceStatusCatcher = Catcher{"OperationDenied.KVstoreInstanceStatus", 60, 5}
View Source
var (
	KubernetesClusterNodeCIDRMasksByDefault = 24
)
View Source
var NasNotFound = []string{"InvalidMountTarget.NotFound", "InvalidFileSystem.NotFound", "Forbidden.NasNotFound", "InvalidLBid.NotFound", "VolumeUnavailable"}
View Source
var NetworkInterfaceInvalidOperations = []string{"InvalidOperation.InvalidEniState", "InvalidOperation.InvalidEcsState", "OperationConflict", "ServiceUnavailable", "InternalError"}
View Source
var NoneIoOptimizedFamily = map[string]string{"ecs.t1": "", "ecs.t2": "", "ecs.s1": ""}
View Source
var NoneIoOptimizedInstanceType = map[string]string{"ecs.s2.small": ""}
View Source
var OperationDeniedDBStatus = []string{"OperationDenied.DBStatus", "OperationDenied.DBInstanceStatus", "OperationDenied.DBClusterStatus", "InternalError", "OperationDenied.OutofUsage"}
View Source
var OtsTableIsTemporarilyUnavailable = []string{"no such host", "OTSServerBusy", "OTSPartitionUnavailable", "OTSInternalServerError",
	"OTSTimeout", "OTSServerUnavailable", "OTSRowOperationConflict", "OTSTableNotReady", "OTSNotEnoughCapacityUnit", "Too frequent table operations."}

details at: https://help.aliyun.com/document_detail/27300.html

View Source
var OutdatedDiskCategory = map[DiskCategory]DiskCategory{
	DiskCloud: DiskCloud}
View Source
var PvtzSystemBusyCatcher = Catcher{"System.Busy", 30, 5}
View Source
var PvtzThrottlingUserCatcher = Catcher{ThrottlingUser, 30, 2}
View Source
var ServiceBusyCatcher = Catcher{"ServiceUnavailable", 10, 5}
View Source
var SlbIsBusy = []string{"SystemBusy", "OperationBusy", "ServiceIsStopping", "BackendServer.configuring", "ServiceIsConfiguring"}
View Source
var SlsClientTimeoutCatcher = Catcher{LogClientTimeout, 15, 5}
View Source
var SnapshotInvalidOperations = []string{"OperationConflict", "ServiceUnavailable", "InternalError", "SnapshotCreatedDisk", "SnapshotCreatedImage"}
View Source
var SnapshotPolicyInvalidOperations = []string{"OperationConflict", "ServiceUnavailable", "InternalError", "SnapshotCreatedDisk", "SnapshotCreatedImage"}
View Source
var SupportedDiskCategory = map[DiskCategory]DiskCategory{
	DiskCloudSSD:        DiskCloudSSD,
	DiskCloudEfficiency: DiskCloudEfficiency,
	DiskEphemeralSSD:    DiskEphemeralSSD,
	DiskCloudESSD:       DiskCloudESSD,
	DiskCloud:           DiskCloud,
}
View Source
var ThrottlingCatcher = Catcher{Throttling, 50, 2}
View Source
var ValidProtocols = []Protocol{Http, Https, Tcp, Udp}

ValidProtocols network protocol list

View Source
var WEEK_ENUM = []string{"Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"}

Functions

func AddTags

func AddTags(client *ecs.Client, args *AddTagsArgs) error

func BoolPointer

func BoolPointer(b bool) *bool

func BuildStateConf

func BuildStateConf(pending, target []string, timeout, delay time.Duration, f resource.StateRefreshFunc) *resource.StateChangeConf

func CommonBandwidthPackagesDecriptionAttributes

func CommonBandwidthPackagesDecriptionAttributes(d *schema.ResourceData, cbwps []vpc.CommonBandwidthPackage, meta interface{}) error

func ConvertCsTags

func ConvertCsTags(d *schema.ResourceData) ([]cs.Tag, error)

func ConvertIntegerToInt

func ConvertIntegerToInt(value requests.Integer) (v int, err error)

func CreateDashboard

func CreateDashboard(project, name string, client *sls.Client) error

func DeleteAutoscaler

func DeleteAutoscaler(kubeconf string) error

delete autoscaler component

func DeployAutoscaler

func DeployAutoscaler(options autoscalerOptions, clientSet *kubernetes.Clientset) error

deploy cluster-autoscaler to kubernetes cluster

func DescribeDomainDetail

func DescribeDomainDetail(Id string, meta interface{}) (domain cdn.DomainDetail, err error)

func DescribeNatBandwidthPackages

func DescribeNatBandwidthPackages(natGatewayId string, meta interface{}) ([]interface{}, error)

func DownloadUserKubeConf

func DownloadUserKubeConf(client *connectivity.AliyunClient, clusterId string) (string, error)

prepare kubeconf of kubernetes clsuter

func Error

func Error(msg string, args ...interface{}) error

func FlattenImageDiskDeviceMappings

func FlattenImageDiskDeviceMappings(list []ecs.DiskDeviceMapping) []map[string]interface{}

func FlattenImageImportDiskDeviceMappings

func FlattenImageImportDiskDeviceMappings(list []ecs.DiskDeviceMapping) []map[string]interface{}

func ForwardEntriesDecriptionAttributes

func ForwardEntriesDecriptionAttributes(d *schema.ResourceData, entries []vpc.ForwardTableEntry, meta interface{}) error

func GetAllRouterInterfaceSpec

func GetAllRouterInterfaceSpec() (specifications []string)

func GetCenChildInstanceType

func GetCenChildInstanceType(id string) (c string, e error)

func GetCharTitile

func GetCharTitile(project, dashboard, char string, client *sls.Client) string

func GetFunc

func GetFunc(level int) string

Return a ComplexError which including extra error message, error occurred file and path

func GetKubernetesNetworkName

func GetKubernetesNetworkName(cluster *cs.KubernetesClusterDetail) (network string, err error)

func GetNotFoundErrorFromString

func GetNotFoundErrorFromString(str string) error

func GetNotFoundMessage

func GetNotFoundMessage(product, id string) string

func GetScalingGroupSizeRange

func GetScalingGroupSizeRange(client *connectivity.AliyunClient, groupId string) (min, max int, err error)

func GetTimeErrorFromString

func GetTimeErrorFromString(str string) error

func GetTimeoutMessage

func GetTimeoutMessage(product, status string) string

func GetUserHomeDir

func GetUserHomeDir() (string, error)

func Int32Pointer

func Int32Pointer(i int32) *int32

func Int64Pointer

func Int64Pointer(i int64) *int64

func IntMin

func IntMin(x, y int) int

func IsExpectedErrorCodes

func IsExpectedErrorCodes(code string, errorCodes []string) bool

func IsExpectedErrors

func IsExpectedErrors(err error, expectCodes []string) bool

func IsThrottling

func IsThrottling(err error) bool

func NatGatewaysDecriptionAttributes

func NatGatewaysDecriptionAttributes(d *schema.ResourceData, gateways []vpc.NatGateway, meta interface{}) error

func NeedRetry

func NeedRetry(err error) bool

func NotFoundError

func NotFoundError(err error) bool

func ParseResourceId

func ParseResourceId(id string, length int) (parts []string, err error)

func ParseSlbListenerId

func ParseSlbListenerId(id string) (parts []string, err error)

func PostPaidAndRenewDiffSuppressFunc

func PostPaidAndRenewDiffSuppressFunc(k, old, new string, d *schema.ResourceData) bool

func PostPaidDiffSuppressFunc

func PostPaidDiffSuppressFunc(k, old, new string, d *schema.ResourceData) bool

func Provider

func Provider() terraform.ResourceProvider

Provider returns a schema.Provider for alicloud

func RemoveTags

func RemoveTags(client *ecs.Client, args *RemoveTagsArgs) error

func RouteEntriesDecriptionAttributes

func RouteEntriesDecriptionAttributes(d *schema.ResourceData, entries []vpc.RouteEntry, meta interface{}) error

func RouteTablesDecriptionAttributes

func RouteTablesDecriptionAttributes(d *schema.ResourceData, tables []vpc.RouterTableListType, meta interface{}) error

func SnatEntriesDecriptionAttributes

func SnatEntriesDecriptionAttributes(d *schema.ResourceData, entries []vpc.SnatTableEntry, meta interface{}) error

func String

func String(v string) *string

func StringPointer

func StringPointer(s string) *string

func TimestampToStr

func TimestampToStr(timestamp int64) string

func Trim

func Trim(v string) string

Remove useless blank in the string.

func UpdateScalingGroupConfiguration

func UpdateScalingGroupConfiguration(client *connectivity.AliyunClient, groupId, userData string, labels string, taints string) (err error)

update scaling group config

func UpgradeAlicloudKubernetesCluster

func UpgradeAlicloudKubernetesCluster(d *schema.ResourceData, meta interface{}) error

func VSwitchesDecriptionAttributes

func VSwitchesDecriptionAttributes(d *schema.ResourceData, vsws []vpc.VSwitch, meta interface{}) error

func WaitForDomainStatus

func WaitForDomainStatus(Id string, status Status, timeout int, meta interface{}) error

func WaitForServerCertificate

func WaitForServerCertificate(client *connectivity.AliyunClient, Id string, serverCertificate string, timeout int) error

func WrapComplexError

func WrapComplexError(cause, err error, filepath string, fileline int) error

func WrapError

func WrapError(cause error) error

Return a ComplexError which including error occurred file and path

func WrapErrorf

func WrapErrorf(cause error, msg string, args ...interface{}) error

Return a ComplexError which including extra error message, error occurred file and path

Types

type AccountSite

type AccountSite string

type AclType

type AclType string

type ActionType

type ActionType string

type ActiontrailService

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

func (*ActiontrailService) ActiontrailTrailStateRefreshFunc

func (s *ActiontrailService) ActiontrailTrailStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*ActiontrailService) DescribeActiontrailTrail

func (s *ActiontrailService) DescribeActiontrailTrail(id string) (object map[string]interface{}, err error)

type AdbService

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

func (*AdbService) AdbClusterStateRefreshFunc

func (s *AdbService) AdbClusterStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*AdbService) AdbTaskStateRefreshFunc

func (s *AdbService) AdbTaskStateRefreshFunc(id, taskId string) resource.StateRefreshFunc

func (*AdbService) DescribeAdbAccount

func (s *AdbService) DescribeAdbAccount(id string) (ds *adb.DBAccount, err error)

func (*AdbService) DescribeAdbAutoRenewAttribute

func (s *AdbService) DescribeAdbAutoRenewAttribute(id string) (instance *adb.AutoRenewAttribute, err error)

func (*AdbService) DescribeAdbBackupPolicy

func (s *AdbService) DescribeAdbBackupPolicy(id string) (policy *adb.DescribeBackupPolicyResponse, err error)

func (*AdbService) DescribeAdbCluster

func (s *AdbService) DescribeAdbCluster(id string) (instance *adb.DBClusterInDescribeDBClusters, err error)

func (*AdbService) DescribeAdbClusterAttribute

func (s *AdbService) DescribeAdbClusterAttribute(id string) (instance *adb.DBCluster, err error)

func (*AdbService) DescribeAdbClusterNetInfo

func (s *AdbService) DescribeAdbClusterNetInfo(id string) ([]adb.Address, error)

func (*AdbService) DescribeAdbConnection

func (s *AdbService) DescribeAdbConnection(id string) (*adb.Address, error)

func (*AdbService) DescribeDBSecurityIps

func (s *AdbService) DescribeDBSecurityIps(clusterId string) (ips []string, err error)

func (*AdbService) DescribeTags

func (s *AdbService) DescribeTags(resourceId string, resourceType TagResourceType) (tags []adb.TagResource, err error)

func (*AdbService) DescribeTask

func (s *AdbService) DescribeTask(id, taskId string) (*adb.DescribeTaskInfoResponse, error)

func (*AdbService) ModifyAdbBackupPolicy

func (s *AdbService) ModifyAdbBackupPolicy(clusterId, backupTime, backupPeriod string) error

func (*AdbService) ModifyDBSecurityIps

func (s *AdbService) ModifyDBSecurityIps(clusterId, ips string) error

func (*AdbService) WaitForAdbAccount

func (s *AdbService) WaitForAdbAccount(id string, status Status, timeout int) error

func (*AdbService) WaitForAdbConnection

func (s *AdbService) WaitForAdbConnection(id string, status Status, timeout int) error

func (*AdbService) WaitForAdbInstance

func (s *AdbService) WaitForAdbInstance(id string, status Status, timeout int) error

WaitForInstance waits for instance to given status

func (*AdbService) WaitForCluster

func (s *AdbService) WaitForCluster(id string, status Status, timeout int) error

WaitForCluster waits for cluster to given status

type AddTagsArgs

type AddTagsArgs struct {
	ResourceId   string
	ResourceType ecs.TagResourceType //image, instance, snapshot or disk
	RegionId     common.Region
	Tag          []Tag
}

type AlidnsService

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

func (*AlidnsService) DescribeAlidnsDomain

func (s *AlidnsService) DescribeAlidnsDomain(id string) (object alidns.DescribeDomainInfoResponse, err error)

func (*AlidnsService) DescribeAlidnsDomainGroup

func (s *AlidnsService) DescribeAlidnsDomainGroup(id string) (object alidns.DomainGroup, err error)

func (*AlidnsService) DescribeAlidnsInstance

func (s *AlidnsService) DescribeAlidnsInstance(id string) (object alidns.DescribeDnsProductInstanceResponse, err error)

func (*AlidnsService) DescribeAlidnsRecord

func (s *AlidnsService) DescribeAlidnsRecord(id string) (object alidns.DescribeDomainRecordInfoResponse, err error)

func (*AlidnsService) ListTagResources

func (s *AlidnsService) ListTagResources(id string) (object alidns.ListTagResourcesResponse, err error)

func (*AlidnsService) SetResourceTags

func (s *AlidnsService) SetResourceTags(d *schema.ResourceData, resourceType string) error

type AlikafkaService

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

func (*AlikafkaService) DescribeAlikafkaConsumerGroup

func (alikafkaService *AlikafkaService) DescribeAlikafkaConsumerGroup(id string) (*alikafka.ConsumerVO, error)

func (*AlikafkaService) DescribeAlikafkaInstance

func (alikafkaService *AlikafkaService) DescribeAlikafkaInstance(instanceId string) (*alikafka.InstanceVO, error)

func (*AlikafkaService) DescribeAlikafkaInstanceByOrderId

func (alikafkaService *AlikafkaService) DescribeAlikafkaInstanceByOrderId(orderId string, timeout int) (*alikafka.InstanceVO, error)

func (*AlikafkaService) DescribeAlikafkaNodeStatus

func (alikafkaService *AlikafkaService) DescribeAlikafkaNodeStatus(instanceId string) (*alikafka.StatusList, error)

func (*AlikafkaService) DescribeAlikafkaSaslAcl

func (alikafkaService *AlikafkaService) DescribeAlikafkaSaslAcl(id string) (*alikafka.KafkaAclVO, error)

func (*AlikafkaService) DescribeAlikafkaSaslUser

func (alikafkaService *AlikafkaService) DescribeAlikafkaSaslUser(id string) (*alikafka.SaslUserVO, error)

func (*AlikafkaService) DescribeAlikafkaTopic

func (alikafkaService *AlikafkaService) DescribeAlikafkaTopic(id string) (*alikafka.TopicVO, error)

func (*AlikafkaService) DescribeTags

func (s *AlikafkaService) DescribeTags(resourceId string, resourceTags map[string]interface{}, resourceType TagResourceType) (tags []alikafka.TagResource, err error)

func (*AlikafkaService) WaitForAlikafkaConsumerGroup

func (s *AlikafkaService) WaitForAlikafkaConsumerGroup(id string, status Status, timeout int) error

func (*AlikafkaService) WaitForAlikafkaInstance

func (s *AlikafkaService) WaitForAlikafkaInstance(id string, status Status, timeout int) error

func (*AlikafkaService) WaitForAlikafkaInstanceUpdated

func (s *AlikafkaService) WaitForAlikafkaInstanceUpdated(id string, topicQuota int, diskSize int, ioMax int,
	eipMax int, paidType int, specType string, timeout int) error

func (*AlikafkaService) WaitForAlikafkaSaslAcl

func (s *AlikafkaService) WaitForAlikafkaSaslAcl(id string, status Status, timeout int) error

func (*AlikafkaService) WaitForAlikafkaSaslUser

func (s *AlikafkaService) WaitForAlikafkaSaslUser(id string, status Status, timeout int) error

func (*AlikafkaService) WaitForAlikafkaTopic

func (s *AlikafkaService) WaitForAlikafkaTopic(id string, status Status, timeout int) error

func (*AlikafkaService) WaitForAllAlikafkaNodeRelease

func (s *AlikafkaService) WaitForAllAlikafkaNodeRelease(id string, timeout int) error

type ApiGatewayFunctionComputeConfig

type ApiGatewayFunctionComputeConfig struct {
	Region       string `json:"fcRegionId"`
	ServiceName  string `json:"serviceName"`
	FunctionName string `json:"functionName"`
	Arn          string `json:"roleArn"`
}

type ApiGatewayParameterMap

type ApiGatewayParameterMap struct {
	RequestParamName string `json:"requestParameterName"`
	ServiceParamName string `json:"serviceParameterName"`
}

type ApiGatewayRequestConfig

type ApiGatewayRequestConfig struct {
	Protocol   string `json:"requestProtocol"`
	Method     string `json:"requestHttpMethod"`
	Path       string `json:"requestPath"`
	Mode       string `json:"requestMode"`
	BodyFormat string `json:"bodyFormat"`
}

type ApiGatewayRequestParam

type ApiGatewayRequestParam struct {
	Type             string `json:"parameterType"`
	Name             string `json:"name"`
	ApiParameterName string `json:"apiParameterName"`
	Description      string `json:"description"`
	In               string `json:"location"`
	Required         string `json:"required"`
	DefualtValue     string `json:"defaultValue"`
}

type ApiGatewayServiceConfig

type ApiGatewayServiceConfig struct {
	Protocol            string                          `json:"serviceProtocol"`
	Address             string                          `json:"serviceAddress"`
	Method              string                          `json:"serviceHttpMethod"`
	Path                string                          `json:"servicePath"`
	Timeout             int                             `json:"serviceTimeout"`
	ContentTypeCategory string                          `json:"contentTypeCatagory"`
	ContentTypeValue    string                          `json:"contentTypeValue"`
	MockEnable          string                          `json:"mock"`
	MockResult          string                          `json:"mockResult"`
	VpcEnable           string                          `json:"serviceVpcEnable"`
	FcConfig            ApiGatewayFunctionComputeConfig `json:"functionComputeConfig"`
	VpcConfig           ApiGatewayVpcConfig             `json:"vpcConfig"`
	AoneName            string                          `json:"aoneAppName"`
}

type ApiGatewayServiceParam

type ApiGatewayServiceParam struct {
	Name    string `json:"serviceParameterName"`
	In      string `json:"location"`
	Type    string `json:"parameterType"`
	Catalog string `json:"parameterCatalog"`
}

type ApiGatewayVpcConfig

type ApiGatewayVpcConfig struct {
	Name string `json:"name"`
}

type BastionhostPolicyRequired

type BastionhostPolicyRequired struct {
	PolicyName string
	PolicyType string
}

type BatchSize

type BatchSize int

type Brain_industrialService

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

func (*Brain_industrialService) DescribeBrainIndustrialPidOrganization

func (s *Brain_industrialService) DescribeBrainIndustrialPidOrganization(id string) (object map[string]interface{}, err error)

func (*Brain_industrialService) DescribeBrainIndustrialPidProject

func (s *Brain_industrialService) DescribeBrainIndustrialPidProject(id string) (object map[string]interface{}, err error)

type BssopenapiService

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

func (*BssopenapiService) GetInstanceTypePrice

func (b *BssopenapiService) GetInstanceTypePrice(productCode, productType string, modules interface{}) ([]float64, error)

type CasService

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

func (*CasService) DescribeCas

func (s *CasService) DescribeCas(id string) (*cas.Certificate, error)

type CassandraService

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

func (*CassandraService) CassandraClusterStateRefreshFunc

func (s *CassandraService) CassandraClusterStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*CassandraService) CassandraDataCenterStateRefreshFunc

func (s *CassandraService) CassandraDataCenterStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*CassandraService) DescribeAccounts

func (s *CassandraService) DescribeAccounts(id string) (object cassandra.DescribeAccountsResponse, err error)

func (*CassandraService) DescribeCassandraCluster

func (s *CassandraService) DescribeCassandraCluster(id string) (object cassandra.Cluster, err error)

func (*CassandraService) DescribeCassandraDataCenter

func (s *CassandraService) DescribeCassandraDataCenter(id string) (object cassandra.DescribeDataCenterResponse, err error)

func (*CassandraService) DescribeCassandraEndpoints

func (s *CassandraService) DescribeCassandraEndpoints(id string) (object cassandra.DescribeContactPointsResponse, err error)

func (*CassandraService) DescribeClusterDataCenter

func (s *CassandraService) DescribeClusterDataCenter(id string) (object cassandra.DataCenter, err error)

func (*CassandraService) DescribeIpWhitelist

func (s *CassandraService) DescribeIpWhitelist(id string) (object cassandra.DescribeIpWhitelistResponse, err error)

func (*CassandraService) DescribeSecurityGroups

func (s *CassandraService) DescribeSecurityGroups(id string) (object cassandra.DescribeSecurityGroupsResponse, err error)

type Catcher

type Catcher struct {
	Reason           string
	RetryCount       int
	RetryWaitSeconds int
}

type CbnService

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

func (*CbnService) CenBandwidthPackageStateRefreshFunc

func (s *CbnService) CenBandwidthPackageStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*CbnService) CenInstanceAttachmentStateRefreshFunc

func (s *CbnService) CenInstanceAttachmentStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*CbnService) CenInstanceStateRefreshFunc

func (s *CbnService) CenInstanceStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*CbnService) CenPrivateZoneStateRefreshFunc

func (s *CbnService) CenPrivateZoneStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*CbnService) CenRouteMapStateRefreshFunc

func (s *CbnService) CenRouteMapStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*CbnService) CenRouteServiceStateRefreshFunc

func (s *CbnService) CenRouteServiceStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*CbnService) DescribeCenBandwidthPackage

func (s *CbnService) DescribeCenBandwidthPackage(id string) (object cbn.CenBandwidthPackage, err error)

func (*CbnService) DescribeCenFlowlog

func (s *CbnService) DescribeCenFlowlog(id string) (object cbn.FlowLog, err error)

func (*CbnService) DescribeCenInstance

func (s *CbnService) DescribeCenInstance(id string) (object cbn.Cen, err error)

func (*CbnService) DescribeCenInstanceAttachment

func (s *CbnService) DescribeCenInstanceAttachment(id string) (object cbn.DescribeCenAttachedChildInstanceAttributeResponse, err error)

func (*CbnService) DescribeCenPrivateZone

func (s *CbnService) DescribeCenPrivateZone(id string) (object cbn.PrivateZoneInfo, err error)

func (*CbnService) DescribeCenRouteMap

func (s *CbnService) DescribeCenRouteMap(id string) (object cbn.RouteMap, err error)

func (*CbnService) DescribeCenRouteService

func (s *CbnService) DescribeCenRouteService(id string) (object cbn.RouteServiceEntry, err error)

func (*CbnService) DescribeCenVbrHealthCheck

func (s *CbnService) DescribeCenVbrHealthCheck(id string) (object cbn.VbrHealthCheck, err error)

func (*CbnService) SetResourceTags

func (s *CbnService) SetResourceTags(d *schema.ResourceData, resourceType string) error

func (*CbnService) WaitForCenFlowlog

func (s *CbnService) WaitForCenFlowlog(id string, expected map[string]interface{}, isDelete bool, timeout int) error

type CdnService

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

func (*CdnService) DescribeCdnDomainConfig

func (c *CdnService) DescribeCdnDomainConfig(id string) (*cdn.DomainConfigInDescribeCdnDomainConfigs, error)

func (*CdnService) DescribeCdnDomainNew

func (c *CdnService) DescribeCdnDomainNew(id string) (*cdn.GetDomainDetailModel, error)

func (*CdnService) DescribeDomainCertificateInfo

func (c *CdnService) DescribeDomainCertificateInfo(id string) (certInfo cdn.CertInfo, err error)

func (*CdnService) DescribeTags

func (c *CdnService) DescribeTags(resourceId string, resourceType TagResourceType) (tags []cdn.TagItem, err error)

func (*CdnService) WaitForCdnDomain

func (c *CdnService) WaitForCdnDomain(id string, status Status, timeout int) error

func (*CdnService) WaitForServerCertificateNew

func (c *CdnService) WaitForServerCertificateNew(id string, serverCertificate string, timeout int) error

type CenService

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

func (*CenService) CenBandwidthLimitStateRefreshFunc

func (s *CenService) CenBandwidthLimitStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*CenService) CenInstanceAttachmentStateRefreshFunc

func (s *CenService) CenInstanceAttachmentStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*CenService) CreateCenRouteEntryParas

func (s *CenService) CreateCenRouteEntryParas(vtbId string) (childInstanceId string, instanceType string, err error)

func (*CenService) DescribeCenBandwidthLimit

func (s *CenService) DescribeCenBandwidthLimit(id string) (c cbn.CenInterRegionBandwidthLimit, err error)

func (*CenService) DescribeCenBandwidthPackage

func (s *CenService) DescribeCenBandwidthPackage(id string) (c cbn.CenBandwidthPackage, err error)

func (*CenService) DescribeCenBandwidthPackageAttachment

func (s *CenService) DescribeCenBandwidthPackageAttachment(id string) (c cbn.CenBandwidthPackage, err error)

func (*CenService) DescribeCenInstanceAttachment

func (s *CenService) DescribeCenInstanceAttachment(id string) (*cbn.ChildInstance, error)

func (*CenService) DescribeCenRouteEntry

func (s *CenService) DescribeCenRouteEntry(id string) (c cbn.PublishedRouteEntry, err error)

func (*CenService) GetCenAndRegionIds

func (s *CenService) GetCenAndRegionIds(id string) (retString []string, err error)

func (*CenService) GetCenIdAndAnotherId

func (s *CenService) GetCenIdAndAnotherId(id string) (string, string, error)

func (*CenService) SetCenInterRegionBandwidthLimit

func (s *CenService) SetCenInterRegionBandwidthLimit(cenId, localRegionId, oppositeRegionId string, bandwidthLimit int) (err error)

func (*CenService) WaitForCenBandwidthPackage

func (s *CenService) WaitForCenBandwidthPackage(id string, status Status, bandwidth, timeout int) error

func (*CenService) WaitForCenBandwidthPackageAttachment

func (s *CenService) WaitForCenBandwidthPackageAttachment(id string, status Status, timeout int) error

func (*CenService) WaitForCenInstanceAttachment

func (s *CenService) WaitForCenInstanceAttachment(id string, status Status, timeout int) error

func (*CenService) WaitForCenRouterEntry

func (s *CenService) WaitForCenRouterEntry(id string, status Status, timeout int) error

type CloudApiService

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

func (*CloudApiService) AbolishApi

func (s *CloudApiService) AbolishApi(id string, stageName string) (err error)

func (*CloudApiService) DeployedApi

func (s *CloudApiService) DeployedApi(id string, stageName string) (err error)

func (*CloudApiService) DescribeApiGatewayApi

func (s *CloudApiService) DescribeApiGatewayApi(id string) (*cloudapi.DescribeApiResponse, error)

func (*CloudApiService) DescribeApiGatewayApp

func (s *CloudApiService) DescribeApiGatewayApp(id string) (*cloudapi.DescribeAppResponse, error)

func (*CloudApiService) DescribeApiGatewayAppAttachment

func (s *CloudApiService) DescribeApiGatewayAppAttachment(id string) (*cloudapi.AuthorizedApp, error)

func (*CloudApiService) DescribeApiGatewayGroup

func (s *CloudApiService) DescribeApiGatewayGroup(id string) (*cloudapi.DescribeApiGroupResponse, error)

func (*CloudApiService) DescribeApiGatewayVpcAccess

func (s *CloudApiService) DescribeApiGatewayVpcAccess(id string) (*cloudapi.VpcAccessAttribute, error)

func (*CloudApiService) DescribeDeployedApi

func (s *CloudApiService) DescribeDeployedApi(id string, stageName string) (*cloudapi.DescribeDeployedApiResponse, error)

func (*CloudApiService) DescribeTags

func (s *CloudApiService) DescribeTags(resourceId string, resourceTags map[string]interface{}, resourceType TagResourceType) (tags []cloudapi.TagResource, err error)

func (*CloudApiService) WaitForApiGatewayApi

func (s *CloudApiService) WaitForApiGatewayApi(id string, status Status, timeout int) error

func (*CloudApiService) WaitForApiGatewayApp

func (s *CloudApiService) WaitForApiGatewayApp(id string, status Status, timeout int) error

func (*CloudApiService) WaitForApiGatewayAppAttachment

func (s *CloudApiService) WaitForApiGatewayAppAttachment(id string, status Status, timeout int) (err error)

func (*CloudApiService) WaitForApiGatewayGroup

func (s *CloudApiService) WaitForApiGatewayGroup(id string, status Status, timeout int) error

type CmsService

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

func (*CmsService) BuildCmsAlarmRequest

func (s *CmsService) BuildCmsAlarmRequest(id string) *requests.CommonRequest

func (*CmsService) BuildCmsCommonRequest

func (s *CmsService) BuildCmsCommonRequest(region string) *requests.CommonRequest

func (*CmsService) BuildJsonWebhook

func (s *CmsService) BuildJsonWebhook(webhook string) string

func (*CmsService) DescribeAlarm

func (s *CmsService) DescribeAlarm(id string) (alarm cms.AlarmInDescribeMetricRuleList, err error)

func (*CmsService) DescribeCmsAlarmContact

func (s *CmsService) DescribeCmsAlarmContact(id string) (object cms.Contact, err error)

func (*CmsService) DescribeCmsAlarmContactGroup

func (s *CmsService) DescribeCmsAlarmContactGroup(id string) (object cms.ContactGroup, err error)

func (*CmsService) DescribeCmsGroupMetricRule

func (s *CmsService) DescribeCmsGroupMetricRule(id string) (object map[string]interface{}, err error)

func (*CmsService) DescribeCmsMonitorGroup

func (s *CmsService) DescribeCmsMonitorGroup(id string) (object map[string]interface{}, err error)

func (*CmsService) DescribeCmsMonitorGroupInstances

func (s *CmsService) DescribeCmsMonitorGroupInstances(id string) (object map[string]interface{}, err error)

func (*CmsService) DescribeSiteMonitor

func (s *CmsService) DescribeSiteMonitor(id, keyword string) (siteMonitor cms.SiteMonitor, err error)

func (*CmsService) ExtractWebhookFromJson

func (s *CmsService) ExtractWebhookFromJson(webhookJson string) (string, error)

func (*CmsService) GetIspCities

func (s *CmsService) GetIspCities(id string) (ispCities IspCities, err error)

func (*CmsService) SetResourceTags

func (s *CmsService) SetResourceTags(d *schema.ResourceData, resourceType string) error

func (*CmsService) WaitForCmsAlarm

func (s *CmsService) WaitForCmsAlarm(id string, enabled bool, timeout int) error

type CommandArg

type CommandArg struct {
	Argument string `json:"argument" xml:"argument"`
}

type ComplexError

type ComplexError struct {
	Cause error
	Err   error
	Path  string
	Line  int
}

ComplexError is a format error which including origin error, extra error message, error occurred file and line Cause: a error is a origin error that comes from SDK, some exceptions and so on Err: a new error is built from extra message Path: the file path of error occurred Line: the file line of error occurred

func (ComplexError) Error

func (e ComplexError) Error() string

type ConfigService

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

func (*ConfigService) ConfigConfigurationRecorderStateRefreshFunc

func (s *ConfigService) ConfigConfigurationRecorderStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*ConfigService) DescribeConfigConfigurationRecorder

func (s *ConfigService) DescribeConfigConfigurationRecorder(id string) (object map[string]interface{}, err error)

func (*ConfigService) DescribeConfigDeliveryChannel

func (s *ConfigService) DescribeConfigDeliveryChannel(id string) (object map[string]interface{}, err error)

func (*ConfigService) DescribeConfigRule

func (s *ConfigService) DescribeConfigRule(id string) (object map[string]interface{}, err error)

type CrService

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

func (*CrService) DeleteCrEENamespace

func (c *CrService) DeleteCrEENamespace(instanceId string, namespaceName string) (*cr_ee.DeleteNamespaceResponse, error)

func (*CrService) DeleteCrEERepo

func (c *CrService) DeleteCrEERepo(instanceId, namespace, repo, repoId string) (*cr_ee.DeleteRepositoryResponse, error)

func (*CrService) DescribeCrEEInstance

func (c *CrService) DescribeCrEEInstance(instanceId string) (*cr_ee.GetInstanceResponse, error)

func (*CrService) DescribeCrEENamespace

func (c *CrService) DescribeCrEENamespace(id string) (*cr_ee.GetNamespaceResponse, error)

func (*CrService) DescribeCrEERepo

func (c *CrService) DescribeCrEERepo(id string) (*cr_ee.GetRepositoryResponse, error)

func (*CrService) DescribeCrEESyncRule

func (c *CrService) DescribeCrEESyncRule(id string) (*cr_ee.SyncRulesItem, error)

func (*CrService) DescribeCrNamespace

func (c *CrService) DescribeCrNamespace(id string) (*cr.GetNamespaceResponse, error)

func (*CrService) DescribeCrRepo

func (c *CrService) DescribeCrRepo(id string) (*cr.GetRepoResponse, error)

func (*CrService) GenResourceId

func (c *CrService) GenResourceId(args ...string) string

func (*CrService) GetCrEEInstanceUsage

func (c *CrService) GetCrEEInstanceUsage(instanceId string) (*cr_ee.GetInstanceUsageResponse, error)

func (*CrService) ListCrEEInstanceEndpoint

func (c *CrService) ListCrEEInstanceEndpoint(instanceId string) (*cr_ee.ListInstanceEndpointResponse, error)

func (*CrService) ListCrEEInstances

func (c *CrService) ListCrEEInstances(pageNo int, pageSize int) (*cr_ee.ListInstanceResponse, error)

func (*CrService) ListCrEENamespaces

func (c *CrService) ListCrEENamespaces(instanceId string, pageNo int, pageSize int) (*cr_ee.ListNamespaceResponse, error)

func (*CrService) ListCrEERepoTags

func (c *CrService) ListCrEERepoTags(instanceId string, repoId string, pageNo int, pageSize int) (*cr_ee.ListRepoTagResponse, error)

func (*CrService) ListCrEERepos

func (c *CrService) ListCrEERepos(instanceId string, namespace string, pageNo int, pageSize int) (*cr_ee.ListRepositoryResponse, error)

func (*CrService) ParseResourceId

func (c *CrService) ParseResourceId(id string) []string

func (*CrService) WaitForCRNamespace

func (c *CrService) WaitForCRNamespace(id string, status Status, timeout int) error

func (*CrService) WaitForCrEENamespace

func (c *CrService) WaitForCrEENamespace(instanceId string, namespaceName string, status Status, timeout int) error

func (*CrService) WaitForCrEERepo

func (c *CrService) WaitForCrEERepo(instanceId string, namespace string, repo string, status Status, timeout int) error

func (*CrService) WaitForCrRepo

func (c *CrService) WaitForCrRepo(id string, status Status, timeout int) error

type CreditSpecification

type CreditSpecification string

type CsService

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

func (*CsService) CsKubernetesInstanceStateRefreshFunc

func (s *CsService) CsKubernetesInstanceStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*CsService) CsKubernetesNodePoolStateRefreshFunc

func (s *CsService) CsKubernetesNodePoolStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*CsService) CsManagedKubernetesInstanceStateRefreshFunc

func (s *CsService) CsManagedKubernetesInstanceStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*CsService) CsServerlessKubernetesInstanceStateRefreshFunc

func (s *CsService) CsServerlessKubernetesInstanceStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*CsService) DescribeContainerApplication

func (s *CsService) DescribeContainerApplication(clusterName, appName string) (app cs.GetProjectResponse, err error)

func (*CsService) DescribeCsKubernetes

func (s *CsService) DescribeCsKubernetes(id string) (cluster *cs.KubernetesClusterDetail, err error)

func (*CsService) DescribeCsKubernetesNodePool

func (s *CsService) DescribeCsKubernetesNodePool(id string) (nodePool *cs.NodePoolDetail, err error)

func (*CsService) DescribeCsManagedKubernetes

func (s *CsService) DescribeCsManagedKubernetes(id string) (cluster *cs.KubernetesClusterDetail, err error)

func (*CsService) DescribeCsServerlessKubernetes

func (s *CsService) DescribeCsServerlessKubernetes(id string) (*cs.ServerlessClusterResponse, error)

func (*CsService) GetContainerClusterAndCertsByName

func (s *CsService) GetContainerClusterAndCertsByName(name string) (*cs.ClusterType, *cs.ClusterCerts, error)

func (*CsService) GetContainerClusterByName

func (s *CsService) GetContainerClusterByName(name string) (cluster cs.ClusterType, err error)

func (*CsService) GetPermanentToken

func (s *CsService) GetPermanentToken(clusterId string) (string, error)

func (*CsService) GetUserData

func (s *CsService) GetUserData(clusterId string, labels string, taints string) (string, error)

GetUserData of cluster

func (*CsService) UpgradeCluster

func (s *CsService) UpgradeCluster(clusterId string, args *cs.UpgradeClusterArgs) error

func (*CsService) WaitForCSManagedKubernetes

func (s *CsService) WaitForCSManagedKubernetes(id string, status Status, timeout int) error

func (*CsService) WaitForCSServerlessKubernetes

func (s *CsService) WaitForCSServerlessKubernetes(id string, status Status, timeout int) error

func (*CsService) WaitForContainerApplication

func (s *CsService) WaitForContainerApplication(clusterName, appName string, status Status, timeout int) error

func (*CsService) WaitForCsKubernetes

func (s *CsService) WaitForCsKubernetes(id string, status Status, timeout int) error

func (*CsService) WaitForUpgradeCluster

func (s *CsService) WaitForUpgradeCluster(clusterId string, action string) (string, error)

type DatahubService

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

func (*DatahubService) DescribeDatahubProject

func (s *DatahubService) DescribeDatahubProject(id string) (*datahub.Project, error)

func (*DatahubService) DescribeDatahubSubscription

func (s *DatahubService) DescribeDatahubSubscription(id string) (*datahub.Subscription, error)

func (*DatahubService) DescribeDatahubTopic

func (s *DatahubService) DescribeDatahubTopic(id string) (*datahub.Topic, error)

func (*DatahubService) WaitForDatahubProject

func (s *DatahubService) WaitForDatahubProject(id string, status Status, timeout int) error

func (*DatahubService) WaitForDatahubSubscription

func (s *DatahubService) WaitForDatahubSubscription(id string, status Status, timeout int) error

func (*DatahubService) WaitForDatahubTopic

func (s *DatahubService) WaitForDatahubTopic(id string, status Status, timeout int) error

type DbauditService

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

func (*DbauditService) DbauditInstanceRefreshFunc

func (s *DbauditService) DbauditInstanceRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*DbauditService) DescribeDbauditInstanceAttribute

func (s *DbauditService) DescribeDbauditInstanceAttribute(id string) (v yundun_dbaudit.InstanceAttribute, err error)

func (*DbauditService) DescribeTags

func (s *DbauditService) DescribeTags(resourceId string, resourceTags map[string]interface{}, resourceType TagResourceType) (tags []yundun_dbaudit.TagResource, err error)

func (*DbauditService) DescribeYundunDbauditInstance

func (s *DbauditService) DescribeYundunDbauditInstance(id string) (v yundun_dbaudit.Instance, err error)

func (*DbauditService) ProcessRolePolicy

func (s *DbauditService) ProcessRolePolicy() error

func (*DbauditService) StartDbauditInstance

func (s *DbauditService) StartDbauditInstance(instanceId string, vSwitchId string) error

func (*DbauditService) UpdateDbauditInstanceDescription

func (s *DbauditService) UpdateDbauditInstanceDescription(instanceId string, description string) error

func (*DbauditService) UpdateInstanceSpec

func (s *DbauditService) UpdateInstanceSpec(schemaName string, specName string, d *schema.ResourceData, meta interface{}) error

func (*DbauditService) UpdateResourceGroup

func (s *DbauditService) UpdateResourceGroup(resourceId, resourceGroupId string) error

func (*DbauditService) WaitForYundunDbauditInstance

func (s *DbauditService) WaitForYundunDbauditInstance(instanceId string, status Status, timeoutSenconds time.Duration) error

type DcdnService

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

func (*DcdnService) DcdnDomainStateRefreshFunc

func (s *DcdnService) DcdnDomainStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*DcdnService) DescribeDcdnDomain

func (s *DcdnService) DescribeDcdnDomain(id string) (object map[string]interface{}, err error)

func (*DcdnService) DescribeDcdnDomainCertificateInfo

func (s *DcdnService) DescribeDcdnDomainCertificateInfo(id string) (object map[string]interface{}, err error)

type DdosbgpInsatnceType

type DdosbgpInsatnceType string

type DdosbgpInstanceIpType

type DdosbgpInstanceIpType string

type DdosbgpService

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

func (*DdosbgpService) DescribeDdosbgpInstance

func (s *DdosbgpService) DescribeDdosbgpInstance(id string) (v ddosbgp.Instance, err error)

func (*DdosbgpService) DescribeDdosbgpInstanceSpec

func (s *DdosbgpService) DescribeDdosbgpInstanceSpec(id string, region string) (v ddosbgp.InstanceSpec, err error)

func (*DdosbgpService) WaitForDdosbgpInstance

func (s *DdosbgpService) WaitForDdosbgpInstance(id string, status Status, timeout int) error

type DdoscooService

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

func (*DdoscooService) DescribeDdoscooInstance

func (s *DdoscooService) DescribeDdoscooInstance(id string) (v ddoscoo.Instance, err error)

func (*DdoscooService) DescribeDdoscooInstanceSpec

func (s *DdoscooService) DescribeDdoscooInstanceSpec(id string) (v ddoscoo.InstanceSpec, err error)

func (*DdoscooService) DescribeDdoscooSchedulerRule

func (s *DdoscooService) DescribeDdoscooSchedulerRule(id string) (object ddoscoo.SchedulerRule, err error)

func (*DdoscooService) UpdateDdoscooInstanceName

func (s *DdoscooService) UpdateDdoscooInstanceName(instanceId string, name string) error

func (*DdoscooService) UpdateInstanceSpec

func (s *DdoscooService) UpdateInstanceSpec(schemaName string, specName string, d *schema.ResourceData, meta interface{}) error

type DestinationResource

type DestinationResource string

type Direction

type Direction string

type DiskCategory

type DiskCategory string

type DiskResizeType

type DiskResizeType string

type DiskType

type DiskType string

type Dms_enterpriseService

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

func (*Dms_enterpriseService) DescribeDmsEnterpriseInstance

func (s *Dms_enterpriseService) DescribeDmsEnterpriseInstance(id string) (object map[string]interface{}, err error)

func (*Dms_enterpriseService) DescribeDmsEnterpriseUser

func (s *Dms_enterpriseService) DescribeDmsEnterpriseUser(id string) (object map[string]interface{}, err error)

type DnsService

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

func (*DnsService) DescribeAlidnsDomainAttachment

func (s *DnsService) DescribeAlidnsDomainAttachment(id string) (object alidns.DescribeInstanceDomainsResponse, err error)

func (*DnsService) DescribeDns

func (s *DnsService) DescribeDns(id string) (*alidns.DescribeDomainInfoResponse, error)

func (*DnsService) DescribeDnsDomain

func (s *DnsService) DescribeDnsDomain(id string) (object alidns.DescribeDomainInfoResponse, err error)

func (*DnsService) DescribeDnsGroup

func (dns *DnsService) DescribeDnsGroup(id string) (alidns.DomainGroup, error)

func (*DnsService) DescribeDnsInstance

func (s *DnsService) DescribeDnsInstance(id string) (object alidns.DescribeDnsProductInstanceResponse, err error)

func (*DnsService) DescribeDnsRecord

func (dns *DnsService) DescribeDnsRecord(id string) (*alidns.DescribeDomainRecordInfoResponse, error)

func (*DnsService) ListTagResources

func (s *DnsService) ListTagResources(id string) (object alidns.ListTagResourcesResponse, err error)

func (*DnsService) SetResourceTags

func (s *DnsService) SetResourceTags(d *schema.ResourceData, resourceType string) error

func (*DnsService) WaitForAlidnsDomainAttachment

func (s *DnsService) WaitForAlidnsDomainAttachment(id string, expected map[string]interface{}, isDelete bool, timeout int) error

type DrdsService

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

func (*DrdsService) DescribeDrdsInstance

func (s *DrdsService) DescribeDrdsInstance(id string) (*drds.DescribeDrdsInstanceResponse, error)

func (*DrdsService) DrdsInstanceStateRefreshFunc

func (s *DrdsService) DrdsInstanceStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*DrdsService) WaitDrdsInstanceConfigEffect

func (s *DrdsService) WaitDrdsInstanceConfigEffect(id string, item map[string]string, timeout time.Duration) error

type EciService

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

func (*EciService) DescribeEciContainerGroup

func (s *EciService) DescribeEciContainerGroup(id string) (object map[string]interface{}, err error)

func (*EciService) DescribeEciImageCache

func (s *EciService) DescribeEciImageCache(id string) (object eci.DescribeImageCachesImageCache0, err error)

func (*EciService) EciContainerGroupStateRefreshFunc

func (s *EciService) EciContainerGroupStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*EciService) EciImageCacheStateRefreshFunc

func (s *EciService) EciImageCacheStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

type EcsService

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

func (*EcsService) AttachKeyPair

func (s *EcsService) AttachKeyPair(keyName string, instanceIds []interface{}) error

func (*EcsService) DescribeAutoProvisioningGroup

func (s *EcsService) DescribeAutoProvisioningGroup(id string) (group ecs.AutoProvisioningGroup, err error)

func (*EcsService) DescribeAvailableResources

func (s *EcsService) DescribeAvailableResources(d *schema.ResourceData, meta interface{}, destination DestinationResource) (zoneId string, validZones []ecs.AvailableZone, requestId string, err error)

func (*EcsService) DescribeDisk

func (s *EcsService) DescribeDisk(id string) (disk ecs.Disk, err error)

func (*EcsService) DescribeDiskAttachment

func (s *EcsService) DescribeDiskAttachment(id string) (disk ecs.Disk, err error)

func (*EcsService) DescribeDisksByType

func (s *EcsService) DescribeDisksByType(instanceId string, diskType DiskType) (disk []ecs.Disk, err error)

func (*EcsService) DescribeEcsDedicatedHost

func (s *EcsService) DescribeEcsDedicatedHost(id string) (object ecs.DedicatedHost, err error)

func (*EcsService) DescribeImageById

func (s *EcsService) DescribeImageById(id string) (image ecs.Image, err error)

func (*EcsService) DescribeImageShareByImageId

func (s *EcsService) DescribeImageShareByImageId(id string) (imageShare *ecs.DescribeImageSharePermissionResponse, err error)

func (*EcsService) DescribeInstance

func (s *EcsService) DescribeInstance(id string) (instance ecs.Instance, err error)

func (*EcsService) DescribeInstanceAttribute

func (s *EcsService) DescribeInstanceAttribute(id string) (instance ecs.DescribeInstanceAttributeResponse, err error)

func (*EcsService) DescribeInstanceSystemDisk

func (s *EcsService) DescribeInstanceSystemDisk(id, rg string) (disk ecs.Disk, err error)

func (*EcsService) DescribeKeyPair

func (s *EcsService) DescribeKeyPair(id string) (keyPair ecs.KeyPair, err error)

func (*EcsService) DescribeKeyPairAttachment

func (s *EcsService) DescribeKeyPairAttachment(id string) (keyPair ecs.KeyPair, err error)

func (*EcsService) DescribeLaunchTemplate

func (s *EcsService) DescribeLaunchTemplate(id string) (set ecs.LaunchTemplateSet, err error)

func (*EcsService) DescribeLaunchTemplateVersion

func (s *EcsService) DescribeLaunchTemplateVersion(id string, version int) (set ecs.LaunchTemplateVersionSet, err error)

func (*EcsService) DescribeNetworkInterface

func (s *EcsService) DescribeNetworkInterface(id string) (networkInterface ecs.NetworkInterfaceSet, err error)

func (*EcsService) DescribeNetworkInterfaceAttachment

func (s *EcsService) DescribeNetworkInterfaceAttachment(id string) (networkInterface ecs.NetworkInterfaceSet, err error)

func (*EcsService) DescribeReservedInstance

func (s *EcsService) DescribeReservedInstance(id string) (reservedInstance ecs.ReservedInstance, err error)

func (*EcsService) DescribeSecurityGroup

func (s *EcsService) DescribeSecurityGroup(id string) (group ecs.DescribeSecurityGroupAttributeResponse, err error)

func (*EcsService) DescribeSecurityGroupRule

func (s *EcsService) DescribeSecurityGroupRule(id string) (rule ecs.Permission, err error)

func (*EcsService) DescribeSnapshot

func (s *EcsService) DescribeSnapshot(id string) (*ecs.Snapshot, error)

func (*EcsService) DescribeSnapshotPolicy

func (s *EcsService) DescribeSnapshotPolicy(id string) (*ecs.AutoSnapshotPolicy, error)

func (*EcsService) DescribeTags

func (s *EcsService) DescribeTags(resourceId string, resourceType TagResourceType) (tags []ecs.Tag, err error)

func (*EcsService) DescribeTaskById

func (s *EcsService) DescribeTaskById(id string) (task *ecs.DescribeTaskAttributeResponse, err error)

func (*EcsService) DescribeZone

func (s *EcsService) DescribeZone(id string) (zone ecs.Zone, err error)

DescribeZone validate zoneId is valid in region

func (*EcsService) DescribeZones

func (s *EcsService) DescribeZones(d *schema.ResourceData) (zones []ecs.Zone, err error)

func (*EcsService) DiskAvailable

func (s *EcsService) DiskAvailable(zone ecs.Zone, diskCategory DiskCategory) error

func (*EcsService) EcsDedicatedHostStateRefreshFunc

func (s *EcsService) EcsDedicatedHostStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*EcsService) ImageStateRefreshFunc

func (s *EcsService) ImageStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*EcsService) InstanceStateRefreshFunc

func (s *EcsService) InstanceStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

WaitForInstance waits for instance to given status

func (*EcsService) InstanceTypeValidation

func (s *EcsService) InstanceTypeValidation(targetType, zoneId string, validZones []ecs.AvailableZone) error

func (*EcsService) JoinSecurityGroups

func (s *EcsService) JoinSecurityGroups(instanceId string, securityGroupIds []string) error

func (*EcsService) JudgeRegionValidation

func (s *EcsService) JudgeRegionValidation(key, region string) error

func (*EcsService) LeaveSecurityGroups

func (s *EcsService) LeaveSecurityGroups(instanceId string, securityGroupIds []string) error

func (*EcsService) ListTagResources

func (s *EcsService) ListTagResources(resourceId, resourceType string) (object interface{}, err error)

func (*EcsService) QueryInstancesWithKeyPair

func (s *EcsService) QueryInstancesWithKeyPair(instanceIdsStr, keyPair string) (instanceIds []string, instances []ecs.Instance, err error)

func (*EcsService) QueryPrivateIps

func (s *EcsService) QueryPrivateIps(eniId string) ([]string, error)

func (*EcsService) ResourceAvailable

func (s *EcsService) ResourceAvailable(zone ecs.Zone, resourceType ResourceType) error

ResourceAvailable check resource available for zone

func (*EcsService) SetResourceTags

func (s *EcsService) SetResourceTags(d *schema.ResourceData, resourceType string) error

func (*EcsService) SnapshotStateRefreshFunc

func (s *EcsService) SnapshotStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*EcsService) TaskStateRefreshFunc

func (s *EcsService) TaskStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*EcsService) WaitForAutoProvisioningGroup

func (s *EcsService) WaitForAutoProvisioningGroup(id string, status Status, timeout int) error

func (*EcsService) WaitForDisk

func (s *EcsService) WaitForDisk(id string, status Status, timeout int) error

func (*EcsService) WaitForDiskAttachment

func (s *EcsService) WaitForDiskAttachment(id string, status Status, timeout int) error

func (*EcsService) WaitForEcsInstance

func (s *EcsService) WaitForEcsInstance(instanceId string, status Status, timeout int) error

WaitForInstance waits for instance to given status

func (*EcsService) WaitForKeyPair

func (s *EcsService) WaitForKeyPair(id string, status Status, timeout int) error

func (*EcsService) WaitForLaunchTemplate

func (s *EcsService) WaitForLaunchTemplate(id string, status Status, timeout int) error

func (*EcsService) WaitForModifySecurityGroupPolicy

func (s *EcsService) WaitForModifySecurityGroupPolicy(id, target string, timeout int) error

func (*EcsService) WaitForNetworkInterface

func (s *EcsService) WaitForNetworkInterface(id string, status Status, timeout int) error

func (*EcsService) WaitForPrivateIpsCountChanged

func (s *EcsService) WaitForPrivateIpsCountChanged(eniId string, count int) error

func (*EcsService) WaitForPrivateIpsListChanged

func (s *EcsService) WaitForPrivateIpsListChanged(eniId string, ipList []string) error

func (*EcsService) WaitForReservedInstance

func (s *EcsService) WaitForReservedInstance(id string, status Status, timeout int) error

func (*EcsService) WaitForSecurityGroup

func (s *EcsService) WaitForSecurityGroup(id string, status Status, timeout int) error

func (*EcsService) WaitForSnapshotPolicy

func (s *EcsService) WaitForSnapshotPolicy(id string, status Status, timeout int) error

func (*EcsService) WaitForVpcAttributesChanged

func (s *EcsService) WaitForVpcAttributesChanged(instanceId, vswitchId, privateIp string) error

type EdasService

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

func (*EdasService) CheckEcsStatus

func (e *EdasService) CheckEcsStatus(instanceIds string, count int) error

func (*EdasService) DescribeEdasApplication

func (e *EdasService) DescribeEdasApplication(appId string) (*edas.Applcation, error)

func (*EdasService) DescribeEdasApplicationDeployment

func (e *EdasService) DescribeEdasApplicationDeployment(id string) (*edas.Applcation, error)

func (*EdasService) DescribeEdasApplicationScale

func (e *EdasService) DescribeEdasApplicationScale(id string) (*edas.Applcation, error)

func (*EdasService) DescribeEdasCluster

func (e *EdasService) DescribeEdasCluster(clusterId string) (*edas.Cluster, error)

func (*EdasService) DescribeEdasDeployGroup

func (e *EdasService) DescribeEdasDeployGroup(id string) (*edas.DeployGroup, error)

func (*EdasService) DescribeEdasInstanceClusterAttachment

func (e *EdasService) DescribeEdasInstanceClusterAttachment(id string) (*edas.Cluster, error)

func (*EdasService) DescribeEdasK8sApplication

func (e *EdasService) DescribeEdasK8sApplication(appId string) (*edas.Applcation, error)

func (*EdasService) DescribeEdasK8sCluster

func (e *EdasService) DescribeEdasK8sCluster(clusterId string) (*edas.Cluster, error)

func (*EdasService) DescribeEdasSlbAttachment

func (e *EdasService) DescribeEdasSlbAttachment(id string) (*edas.Applcation, error)

func (*EdasService) EdasChangeOrderStatusRefreshFunc

func (e *EdasService) EdasChangeOrderStatusRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*EdasService) GetChangeOrderStatus

func (e *EdasService) GetChangeOrderStatus(id string) (info *edas.ChangeOrderInfo, err error)

func (*EdasService) GetDeployGroup

func (e *EdasService) GetDeployGroup(appId, groupId string) (groupInfo *edas.DeployGroup, err error)

func (*EdasService) GetK8sCommandArgs

func (e *EdasService) GetK8sCommandArgs(args []interface{}) (string, error)

func (*EdasService) GetK8sCommandArgsForDeploy

func (e *EdasService) GetK8sCommandArgsForDeploy(args []interface{}) (string, error)

func (*EdasService) GetK8sEnvs

func (e *EdasService) GetK8sEnvs(envs map[string]interface{}) (string, error)

func (*EdasService) GetLastPackgeVersion

func (e *EdasService) GetLastPackgeVersion(appId, groupId string) (string, error)

func (*EdasService) LivenessEqual

func (e *EdasService) LivenessEqual(old, new interface{}) bool

func (*EdasService) PostStartEqual

func (e *EdasService) PostStartEqual(old, new interface{}) bool

func (*EdasService) PreStopEqual

func (e *EdasService) PreStopEqual(old, new interface{}) bool

func (*EdasService) QueryK8sAppPackageType

func (e *EdasService) QueryK8sAppPackageType(appId string) (string, error)

func (*EdasService) ReadinessEqual

func (e *EdasService) ReadinessEqual(old, new interface{}) bool

func (*EdasService) SyncResource

func (e *EdasService) SyncResource(resourceType string) error

type Effect

type Effect string
const (
	Allow Effect = "Allow"
	Deny  Effect = "Deny"
)

type EipanycastService

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

func (*EipanycastService) DescribeEipanycastAnycastEipAddress

func (s *EipanycastService) DescribeEipanycastAnycastEipAddress(id string) (object map[string]interface{}, err error)

func (*EipanycastService) DescribeEipanycastAnycastEipAddressAttachment

func (s *EipanycastService) DescribeEipanycastAnycastEipAddressAttachment(id string) (object map[string]interface{}, err error)

func (*EipanycastService) EipanycastAnycastEipAddressAttachmentStateRefreshFunc

func (s *EipanycastService) EipanycastAnycastEipAddressAttachmentStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*EipanycastService) EipanycastAnycastEipAddressStateRefreshFunc

func (s *EipanycastService) EipanycastAnycastEipAddressStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

type ElasticsearchService

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

func (*ElasticsearchService) DescribeElasticsearchInstance

func (s *ElasticsearchService) DescribeElasticsearchInstance(id string) (*elasticsearch.DescribeInstanceResponse, error)

func (*ElasticsearchService) DescribeElasticsearchTags

func (s *ElasticsearchService) DescribeElasticsearchTags(id string) (tags map[string]string, err error)

func (*ElasticsearchService) ElasticsearchRetryFunc

func (s *ElasticsearchService) ElasticsearchRetryFunc(wait func(), errorCodeList []string, do func(*elasticsearch.Client) (interface{}, error)) (interface{}, error)

func (*ElasticsearchService) ElasticsearchStateRefreshFunc

func (s *ElasticsearchService) ElasticsearchStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*ElasticsearchService) ModifyWhiteIps

func (s *ElasticsearchService) ModifyWhiteIps(d *schema.ResourceData, content map[string]interface{}, meta interface{}) error

func (*ElasticsearchService) TriggerNetwork

func (s *ElasticsearchService) TriggerNetwork(d *schema.ResourceData, content map[string]interface{}, meta interface{}) error

type EmrService

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

func (*EmrService) DescribeEmrCluster

func (s *EmrService) DescribeEmrCluster(id string) (*emr.DescribeClusterV2Response, error)

func (*EmrService) DescribeEmrClusterTags

func (s *EmrService) DescribeEmrClusterTags(resourceId string, resourceType TagResourceType) (tags []emr.TagResource, err error)

func (*EmrService) EmrClusterStateRefreshFunc

func (s *EmrService) EmrClusterStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*EmrService) WaitForEmrCluster

func (s *EmrService) WaitForEmrCluster(id string, status Status, timeout int) error

type Engine

type Engine string

type ErrorSource

type ErrorSource string

type EssService

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

func (*EssService) ActiveEssScalingConfiguration

func (s *EssService) ActiveEssScalingConfiguration(sgId, id string) error

func (*EssService) DescribeEssAlarm

func (s *EssService) DescribeEssAlarm(id string) (alarm ess.Alarm, err error)

func (*EssService) DescribeEssAttachment

func (srv *EssService) DescribeEssAttachment(id string, instanceIds []string) (instances []ess.ScalingInstance, err error)

func (*EssService) DescribeEssLifecycleHook

func (s *EssService) DescribeEssLifecycleHook(id string) (hook ess.LifecycleHook, err error)

func (*EssService) DescribeEssNotification

func (s *EssService) DescribeEssNotification(id string) (notification ess.NotificationConfigurationModel, err error)

func (*EssService) DescribeEssScalingConfifurations

func (s *EssService) DescribeEssScalingConfifurations(id string) (configs []ess.ScalingConfiguration, err error)

func (*EssService) DescribeEssScalingConfiguration

func (s *EssService) DescribeEssScalingConfiguration(id string) (config ess.ScalingConfiguration, err error)

func (*EssService) DescribeEssScalingGroup

func (s *EssService) DescribeEssScalingGroup(id string) (group ess.ScalingGroup, err error)

func (*EssService) DescribeEssScalingRule

func (s *EssService) DescribeEssScalingRule(id string) (rule ess.ScalingRule, err error)

func (*EssService) DescribeEssScheduledTask

func (s *EssService) DescribeEssScheduledTask(id string) (task ess.ScheduledTask, err error)

func (*EssService) EssRemoveInstances

func (srv *EssService) EssRemoveInstances(id string, instanceIds []string) error

func (*EssService) WaitForEssAlarm

func (s *EssService) WaitForEssAlarm(id string, status Status, timeout int) error

func (*EssService) WaitForEssAttachment

func (s *EssService) WaitForEssAttachment(id string, status Status, timeout int) error

func (*EssService) WaitForEssLifecycleHook

func (s *EssService) WaitForEssLifecycleHook(id string, status Status, timeout int) error

func (*EssService) WaitForEssNotification

func (s *EssService) WaitForEssNotification(id string, status Status, timeout int) error

func (*EssService) WaitForEssScalingGroup

func (s *EssService) WaitForEssScalingGroup(id string, status Status, timeout int) error

WaitForScalingGroup waits for group to given status

func (*EssService) WaitForEssScalingRule

func (s *EssService) WaitForEssScalingRule(id string, status Status, timeout int) error

func (*EssService) WaitForEssScheduledTask

func (s *EssService) WaitForEssScheduledTask(id string, status Status, timeout int) error

func (*EssService) WaitForScalingConfiguration

func (s *EssService) WaitForScalingConfiguration(id string, status Status, timeout int) (err error)

type Exec

type Exec struct {
	Command []string `json:"command"`
}

type FcService

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

func (*FcService) DescribeFcAlias

func (s *FcService) DescribeFcAlias(id string) (*fc.GetAliasOutput, error)

func (*FcService) DescribeFcCustomDomain

func (s *FcService) DescribeFcCustomDomain(id string) (*fc.GetCustomDomainOutput, error)

func (*FcService) DescribeFcFunction

func (s *FcService) DescribeFcFunction(id string) (*fc.GetFunctionOutput, error)

func (*FcService) DescribeFcFunctionAsyncInvokeConfig

func (s *FcService) DescribeFcFunctionAsyncInvokeConfig(id string) (*fc.GetFunctionAsyncInvokeConfigOutput, error)

func (*FcService) DescribeFcService

func (s *FcService) DescribeFcService(id string) (*fc.GetServiceOutput, error)

func (*FcService) DescribeFcTrigger

func (s *FcService) DescribeFcTrigger(id string) (*fc.GetTriggerOutput, error)

func (*FcService) WaitForFcCustomDomain

func (s *FcService) WaitForFcCustomDomain(id string, status Status, timeout int) error

func (*FcService) WaitForFcFunction

func (s *FcService) WaitForFcFunction(id string, status Status, timeout int) error

func (*FcService) WaitForFcFunctionAsyncInvokeConfig

func (s *FcService) WaitForFcFunctionAsyncInvokeConfig(id string, status Status, timeout int) error

func (*FcService) WaitForFcService

func (s *FcService) WaitForFcService(id string, status Status, timeout int) error

func (*FcService) WaitForFcTrigger

func (s *FcService) WaitForFcTrigger(id string, status Status, timeout int) error

type FlagType

type FlagType string

type FnfService

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

func (*FnfService) DescribeFnfFlow

func (s *FnfService) DescribeFnfFlow(id string) (object map[string]interface{}, err error)

func (*FnfService) DescribeFnfSchedule

func (s *FnfService) DescribeFnfSchedule(id string) (object map[string]interface{}, err error)

type GaService

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

func (*GaService) DescribeGaAccelerator

func (s *GaService) DescribeGaAccelerator(id string) (object map[string]interface{}, err error)

func (*GaService) DescribeGaBandwidthPackage

func (s *GaService) DescribeGaBandwidthPackage(id string) (object map[string]interface{}, err error)

func (*GaService) DescribeGaBandwidthPackageAttachment

func (s *GaService) DescribeGaBandwidthPackageAttachment(id string) (object map[string]interface{}, err error)

func (*GaService) DescribeGaEndpointGroup

func (s *GaService) DescribeGaEndpointGroup(id string) (object map[string]interface{}, err error)

func (*GaService) DescribeGaIpSet

func (s *GaService) DescribeGaIpSet(id string) (object map[string]interface{}, err error)

func (*GaService) DescribeGaListener

func (s *GaService) DescribeGaListener(id string) (object map[string]interface{}, err error)

func (*GaService) GaAcceleratorStateRefreshFunc

func (s *GaService) GaAcceleratorStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*GaService) GaBandwidthPackageAttachmentStateRefreshFunc

func (s *GaService) GaBandwidthPackageAttachmentStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*GaService) GaBandwidthPackageStateRefreshFunc

func (s *GaService) GaBandwidthPackageStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*GaService) GaEndpointGroupStateRefreshFunc

func (s *GaService) GaEndpointGroupStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*GaService) GaIpSetStateRefreshFunc

func (s *GaService) GaIpSetStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*GaService) GaListenerStateRefreshFunc

func (s *GaService) GaListenerStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

type GpdbService

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

func (*GpdbService) DescribeGpdbConnection

func (s *GpdbService) DescribeGpdbConnection(id string) (*gpdb.DBInstanceNetInfo, error)

func (*GpdbService) DescribeGpdbInstance

func (s *GpdbService) DescribeGpdbInstance(id string) (instanceAttribute gpdb.DBInstanceAttribute, err error)

func (*GpdbService) DescribeGpdbSecurityIps

func (s *GpdbService) DescribeGpdbSecurityIps(id string) (ips []string, err error)

func (*GpdbService) GpdbInstanceStateRefreshFunc

func (s *GpdbService) GpdbInstanceStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*GpdbService) ModifyGpdbSecurityIps

func (s *GpdbService) ModifyGpdbSecurityIps(id, ips string) error

func (*GpdbService) WaitForGpdbConnection

func (s *GpdbService) WaitForGpdbConnection(id string, status Status, timeout int) error

type GroupInnerAccessPolicy

type GroupInnerAccessPolicy string

type GroupRuleNicType

type GroupRuleNicType string

type GroupRulePolicy

type GroupRulePolicy string

type HBaseService

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

func (*HBaseService) DescribeClusterConnection

func (s *HBaseService) DescribeClusterConnection(id string) (object hbase.DescribeClusterConnectionResponse, err error)

func (*HBaseService) DescribeEndpoints

func (s *HBaseService) DescribeEndpoints(id string) (object hbase.DescribeEndpointsResponse, err error)

func (*HBaseService) DescribeHBaseInstance

func (s *HBaseService) DescribeHBaseInstance(id string) (instance hbase.DescribeInstanceResponse, err error)

func (*HBaseService) DescribeIpWhitelist

func (s *HBaseService) DescribeIpWhitelist(id string) (instance hbase.DescribeIpWhitelistResponse, err error)

pop has limit, support next.

func (*HBaseService) DescribeSecurityGroups

func (s *HBaseService) DescribeSecurityGroups(id string) (object hbase.DescribeSecurityGroupsResponse, err error)

func (*HBaseService) HBaseClusterStateRefreshFunc

func (s *HBaseService) HBaseClusterStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*HBaseService) ModifyClusterDeletionProtection

func (s *HBaseService) ModifyClusterDeletionProtection(clusterId string, protection bool) error

type HaVipService

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

func (*HaVipService) DescribeHaVip

func (s *HaVipService) DescribeHaVip(haVipId string) (v vpc.HaVip, err error)

func (*HaVipService) DescribeHaVipAttachment

func (s *HaVipService) DescribeHaVipAttachment(haVipId string, instanceId string) (err error)

func (*HaVipService) WaitForHaVip

func (s *HaVipService) WaitForHaVip(haVipId string, status Status, timeout int) error

func (*HaVipService) WaitForHaVipAttachment

func (s *HaVipService) WaitForHaVipAttachment(haVipId string, instanceId string, timeout int) error

type HealthCheckHttpCodeType

type HealthCheckHttpCodeType string

type HealthCheckType

type HealthCheckType string

type HitsdbService

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

func (*HitsdbService) DescribeTsdbInstance

func (s *HitsdbService) DescribeTsdbInstance(id string) (object map[string]interface{}, err error)

func (*HitsdbService) TsdbInstanceStateRefreshFunc

func (s *HitsdbService) TsdbInstanceStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

type Hook

type Hook struct {
	Exec      *Exec      `json:"exec,omitempty"`
	HttpGet   *HttpGet   `json:"httpGet,omitempty"`
	TcpSocket *TcpSocket `json:"tcpSocket,omitempty"`
}

type HttpGet

type HttpGet struct {
	Path        string       `json:"path"`
	Port        int          `json:"port"`
	Scheme      string       `json:"scheme"`
	HttpHeaders []HttpHeader `json:"httpHeaders"`
}

type HttpHeader

type HttpHeader struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type IPType

type IPType string

type IkeConfig

type IkeConfig struct {
	IkeAuthAlg  string
	IkeEncAlg   string
	IkeLifetime int
	IkeMode     string
	IkePfs      string
	IkeVersion  string
	LocalId     string
	RemoteId    string
	Psk         string
}

type ImageOwnerAlias

type ImageOwnerAlias string

type ImsService

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

func (*ImsService) DescribeRamSamlProvider

func (s *ImsService) DescribeRamSamlProvider(id string) (object map[string]interface{}, err error)

type InstanceAccessedByType

type InstanceAccessedByType string

type InstanceNetWork

type InstanceNetWork string

type InternetChargeType

type InternetChargeType string

type Invoker

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

func NewInvoker

func NewInvoker() Invoker

func PvtzInvoker

func PvtzInvoker() Invoker

func (*Invoker) AddCatcher

func (a *Invoker) AddCatcher(catcher Catcher)

func (*Invoker) Run

func (a *Invoker) Run(f func() error) error

type IpVersion

type IpVersion string

type IpsecConfig

type IpsecConfig struct {
	IpsecAuthAlg  string
	IpsecEncAlg   string
	IpsecLifetime int
	IpsecPfs      string
}

type IspCities

type IspCities []map[string]string

type JsonTag

type JsonTag struct {
	TagKey   string
	TagValue string
}

type K8sEnv

type K8sEnv struct {
	Name  string `json:"name" xml:"name"`
	Value string `json:"value" xml:"value"`
}

type KVStoreEngineVersion

type KVStoreEngineVersion string

type KVStoreInstanceType

type KVStoreInstanceType string

type KeyState

type KeyState string

type KmsService

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

func (*KmsService) Decrypt

func (s *KmsService) Decrypt(ciphertextBlob string, encryptionContext map[string]interface{}) (*kms.DecryptResponse, error)

func (*KmsService) DescribeKmsAlias

func (s *KmsService) DescribeKmsAlias(id string) (object kms.KeyMetadata, err error)

func (*KmsService) DescribeKmsKey

func (s *KmsService) DescribeKmsKey(id string) (object kms.KeyMetadata, err error)

func (*KmsService) DescribeKmsKeyVersion

func (s *KmsService) DescribeKmsKeyVersion(id string) (object kms.DescribeKeyVersionResponse, err error)

func (*KmsService) DescribeKmsSecret

func (s *KmsService) DescribeKmsSecret(id string) (object kms.DescribeSecretResponse, err error)

func (*KmsService) GetSecretValue

func (s *KmsService) GetSecretValue(id string) (object kms.GetSecretValueResponse, err error)

func (*KmsService) SetResourceTags

func (s *KmsService) SetResourceTags(d *schema.ResourceData, resourceType string) error

type KubernetesNodeType

type KubernetesNodeType string

type KvstoreService

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

func (*KvstoreService) DescribeDBInstanceNetInfo

func (s *KvstoreService) DescribeDBInstanceNetInfo(id string) (*r_kvstore.NetInfoItemsInDescribeDBInstanceNetInfo, error)

func (*KvstoreService) DescribeKVstoreAccount

func (s *KvstoreService) DescribeKVstoreAccount(id string) (*r_kvstore.Account, error)

func (*KvstoreService) DescribeKVstoreBackupPolicy

func (s *KvstoreService) DescribeKVstoreBackupPolicy(id string) (*r_kvstore.DescribeBackupPolicyResponse, error)

func (*KvstoreService) DescribeKVstoreInstance

func (s *KvstoreService) DescribeKVstoreInstance(id string) (*r_kvstore.DBInstanceAttribute, error)

func (*KvstoreService) DescribeKVstoreSecurityGroupId

func (s *KvstoreService) DescribeKVstoreSecurityGroupId(id string) (*r_kvstore.DescribeSecurityGroupConfigurationResponse, error)

func (*KvstoreService) DescribeParameters

func (s *KvstoreService) DescribeParameters(id string) (*r_kvstore.DescribeParametersResponse, error)

func (*KvstoreService) DescribeTags

func (s *KvstoreService) DescribeTags(resourceId string, resourceType TagResourceType) (tags []r_kvstore.TagResource, err error)

func (*KvstoreService) ModifyInstanceConfig

func (s *KvstoreService) ModifyInstanceConfig(id string, config string) error

func (*KvstoreService) RdsKvstoreInstanceStateRefreshFunc

func (s *KvstoreService) RdsKvstoreInstanceStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*KvstoreService) WaitForKVstoreAccount

func (s *KvstoreService) WaitForKVstoreAccount(id string, status Status, timeout int) error

func (*KvstoreService) WaitForKVstoreInstance

func (s *KvstoreService) WaitForKVstoreInstance(id string, status Status, timeout int) error

func (*KvstoreService) WaitForKVstoreInstanceVpcAuthMode

func (s *KvstoreService) WaitForKVstoreInstanceVpcAuthMode(id string, status string, timeout int) error

type LifecycleRuleStatus

type LifecycleRuleStatus string

type ListenerErr

type ListenerErr struct {
	ErrType string
	Err     error
}

func (*ListenerErr) Error

func (e *ListenerErr) Error() string

type LoadBalancerSpecType

type LoadBalancerSpecType string

type LogService

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

func (*LogService) CreateLogDashboard

func (s *LogService) CreateLogDashboard(project, name string) error

func (*LogService) DescribeLogAlert

func (s *LogService) DescribeLogAlert(id string) (*sls.Alert, error)

func (*LogService) DescribeLogAudit

func (s *LogService) DescribeLogAudit(id string) (*slsPop.DescribeAppResponse, error)

func (*LogService) DescribeLogDashboard

func (s *LogService) DescribeLogDashboard(id string) (*sls.Dashboard, error)

func (*LogService) DescribeLogMachineGroup

func (s *LogService) DescribeLogMachineGroup(id string) (*sls.MachineGroup, error)

func (*LogService) DescribeLogProject

func (s *LogService) DescribeLogProject(id string) (*sls.LogProject, error)

func (*LogService) DescribeLogProjectTags

func (s *LogService) DescribeLogProjectTags(project_name string) ([]*sls.ResourceTagResponse, error)

func (*LogService) DescribeLogStore

func (s *LogService) DescribeLogStore(id string) (*sls.LogStore, error)

func (*LogService) DescribeLogStoreIndex

func (s *LogService) DescribeLogStoreIndex(id string) (*sls.Index, error)

func (*LogService) DescribeLogtailAttachment

func (s *LogService) DescribeLogtailAttachment(id string) (groupName string, err error)

func (*LogService) DescribeLogtailConfig

func (s *LogService) DescribeLogtailConfig(id string) (*sls.LogConfig, error)

func (*LogService) WaitForLogDashboard

func (s *LogService) WaitForLogDashboard(id string, status Status, timeout int) error

func (*LogService) WaitForLogMachineGroup

func (s *LogService) WaitForLogMachineGroup(id string, status Status, timeout int) error

func (*LogService) WaitForLogProject

func (s *LogService) WaitForLogProject(id string, status Status, timeout int) error

func (*LogService) WaitForLogStore

func (s *LogService) WaitForLogStore(id string, status Status, timeout int) error

func (*LogService) WaitForLogstoreAlert

func (s *LogService) WaitForLogstoreAlert(id string, status Status, timeout int) error

func (*LogService) WaitForLogtailAttachment

func (s *LogService) WaitForLogtailAttachment(id string, status Status, timeout int) error

func (*LogService) WaitForLogtailConfig

func (s *LogService) WaitForLogtailConfig(id string, status Status, timeout int) error

type MarketService

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

func (*MarketService) DescribeMarketOrder

func (s *MarketService) DescribeMarketOrder(id string) (order *market.DescribeOrderResponse, err error)

type MaxItems

type MaxItems int

type MaxcomputeService

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

func (*MaxcomputeService) DescribeMaxcomputeProject

func (s *MaxcomputeService) DescribeMaxcomputeProject(id string) (object map[string]interface{}, err error)

type MnsService

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

func (*MnsService) DescribeMnsQueue

func (s *MnsService) DescribeMnsQueue(id string) (response ali_mns.QueueAttribute, err error)

func (*MnsService) DescribeMnsTopic

func (s *MnsService) DescribeMnsTopic(id string) (*ali_mns.TopicAttribute, error)

func (*MnsService) DescribeMnsTopicSubscription

func (s *MnsService) DescribeMnsTopicSubscription(id string) (*ali_mns.SubscriptionAttribute, error)

func (*MnsService) QueueNotExistFunc

func (s *MnsService) QueueNotExistFunc(err error) bool

func (*MnsService) SubscriptionNotExistFunc

func (s *MnsService) SubscriptionNotExistFunc(err error) bool

func (*MnsService) TopicNotExistFunc

func (s *MnsService) TopicNotExistFunc(err error) bool

func (*MnsService) WaitForMnsQueue

func (s *MnsService) WaitForMnsQueue(id string, status Status, timeout int) error

func (*MnsService) WaitForMnsTopic

func (s *MnsService) WaitForMnsTopic(id string, status Status, timeout int) error

func (*MnsService) WaitForMnsTopicSubscription

func (s *MnsService) WaitForMnsTopicSubscription(id string, status Status, timeout int) error

type MongoDBService

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

func (*MongoDBService) DescribeDBInstanceSSL

func (s *MongoDBService) DescribeDBInstanceSSL(id string) (*dds.DescribeDBInstanceSSLResponse, error)

func (*MongoDBService) DescribeMongoDBBackupPolicy

func (s *MongoDBService) DescribeMongoDBBackupPolicy(id string) (*dds.DescribeBackupPolicyResponse, error)

func (*MongoDBService) DescribeMongoDBInstance

func (s *MongoDBService) DescribeMongoDBInstance(id string) (instance dds.DBInstance, err error)

func (*MongoDBService) DescribeMongoDBSecurityGroupId

func (s *MongoDBService) DescribeMongoDBSecurityGroupId(id string) (*dds.DescribeSecurityGroupConfigurationResponse, error)

func (*MongoDBService) DescribeMongoDBSecurityIps

func (s *MongoDBService) DescribeMongoDBSecurityIps(instanceId string) (ips []string, err error)

func (*MongoDBService) DescribeMongoDBTDEInfo

func (s *MongoDBService) DescribeMongoDBTDEInfo(id string) (*dds.DescribeDBInstanceTDEInfoResponse, error)

func (*MongoDBService) ModifyMongoDBSecurityIps

func (s *MongoDBService) ModifyMongoDBSecurityIps(instanceId, ips string) error

func (*MongoDBService) ModifyMongodbShardingInstanceNode

func (server *MongoDBService) ModifyMongodbShardingInstanceNode(
	instanceID string, nodeType MongoDBShardingNodeType, stateList, diffList []interface{}) error

func (*MongoDBService) MotifyMongoDBBackupPolicy

func (s *MongoDBService) MotifyMongoDBBackupPolicy(d *schema.ResourceData) error

func (*MongoDBService) RdsMongodbDBInstanceStateRefreshFunc

func (s *MongoDBService) RdsMongodbDBInstanceStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*MongoDBService) ResetAccountPassword

func (s *MongoDBService) ResetAccountPassword(d *schema.ResourceData, password string) error

func (*MongoDBService) WaitForMongoDBInstance

func (s *MongoDBService) WaitForMongoDBInstance(instanceId string, status Status, timeout int) error

WaitForInstance waits for instance to given statusid

type MongoDBShardingNodeType

type MongoDBShardingNodeType string

type MseService

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

func (*MseService) DescribeMseCluster

func (s *MseService) DescribeMseCluster(id string) (object map[string]interface{}, err error)

func (*MseService) MseClusterStateRefreshFunc

func (s *MseService) MseClusterStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

type NasService

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

func (*NasService) DescribeNasAccessGroup

func (s *NasService) DescribeNasAccessGroup(id string) (object map[string]interface{}, err error)

func (*NasService) DescribeNasAccessRule

func (s *NasService) DescribeNasAccessRule(id string) (object map[string]interface{}, err error)

func (*NasService) DescribeNasFileSystem

func (s *NasService) DescribeNasFileSystem(id string) (object map[string]interface{}, err error)

func (*NasService) DescribeNasMountTarget

func (s *NasService) DescribeNasMountTarget(id string) (object map[string]interface{}, err error)

func (*NasService) NasMountTargetStateRefreshFunc

func (s *NasService) NasMountTargetStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

type NetType

type NetType string

type NetworkType

type NetworkType string

type NodeType

type NodeType string

type OnsService

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

func (*OnsService) DescribeOnsGroup

func (s *OnsService) DescribeOnsGroup(id string) (object map[string]interface{}, err error)

func (*OnsService) DescribeOnsInstance

func (s *OnsService) DescribeOnsInstance(id string) (object map[string]interface{}, err error)

func (*OnsService) DescribeOnsTopic

func (s *OnsService) DescribeOnsTopic(id string) (object map[string]interface{}, err error)

func (*OnsService) ListTagResources

func (s *OnsService) ListTagResources(id string, resourceType string) (object interface{}, err error)

func (*OnsService) OnsTopicStatus

func (s *OnsService) OnsTopicStatus(id string) (object map[string]interface{}, err error)

func (*OnsService) SetResourceTags

func (s *OnsService) SetResourceTags(d *schema.ResourceData, resourceType string) error

type OosService

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

func (*OosService) DescribeOosExecution

func (s *OosService) DescribeOosExecution(id string) (object map[string]interface{}, err error)

func (*OosService) DescribeOosTemplate

func (s *OosService) DescribeOosTemplate(id string) (object map[string]interface{}, err error)

func (*OosService) OosExecutionStateRefreshFunc

func (s *OosService) OosExecutionStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

type OptimizedType

type OptimizedType string

type OssService

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

OssService *connectivity.AliyunClient

func (*OssService) DescribeOssBucket

func (s *OssService) DescribeOssBucket(id string) (response oss.GetBucketInfoResult, err error)

func (*OssService) WaitForOssBucket

func (s *OssService) WaitForOssBucket(id string, status Status, timeout int) error

func (*OssService) WaitForOssBucketObject

func (s *OssService) WaitForOssBucketObject(bucket *oss.Bucket, id string, status Status, timeout int) error

type OtsInstanceType

type OtsInstanceType string

type OtsService

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

func (*OtsService) DescribeOtsInstance

func (s *OtsService) DescribeOtsInstance(id string) (inst ots.InstanceInfo, err error)

func (*OtsService) DescribeOtsInstanceAttachment

func (s *OtsService) DescribeOtsInstanceAttachment(id string) (inst ots.VpcInfo, err error)

func (*OtsService) DescribeOtsInstanceTypes

func (s *OtsService) DescribeOtsInstanceTypes() (types []string, err error)

func (*OtsService) DescribeOtsTable

func (s *OtsService) DescribeOtsTable(id string) (*tablestore.DescribeTableResponse, error)

func (*OtsService) ListOtsInstance

func (s *OtsService) ListOtsInstance(pageSize int, pageNum int) ([]string, error)

func (*OtsService) ListOtsInstanceVpc

func (s *OtsService) ListOtsInstanceVpc(id string) (inst []ots.VpcInfo, err error)

func (*OtsService) ListOtsTable

func (s *OtsService) ListOtsTable(instanceName string) (table *tablestore.ListTableResponse, err error)

func (*OtsService) WaitForOtsInstance

func (s *OtsService) WaitForOtsInstance(id string, status Status, timeout int) error

func (*OtsService) WaitForOtsInstanceVpc

func (s *OtsService) WaitForOtsInstanceVpc(id string, status Status, timeout int) error

func (*OtsService) WaitForOtsTable

func (s *OtsService) WaitForOtsTable(instanceName, tableName string, status Status, timeout int) error

type OtsTableInfo

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

type PayType

type PayType string

type PolarDBService

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

func (*PolarDBService) DescribeBackupPolicy

func (s *PolarDBService) DescribeBackupPolicy(id string) (policy *polardb.DescribeBackupPolicyResponse, err error)

func (*PolarDBService) DescribeDBAuditLogCollectorStatus

func (s *PolarDBService) DescribeDBAuditLogCollectorStatus(id string) (collectorStatus string, err error)

func (*PolarDBService) DescribeDBSecurityIps

func (s *PolarDBService) DescribeDBSecurityIps(clusterId string) (ips []string, err error)

func (*PolarDBService) DescribeParameters

func (s *PolarDBService) DescribeParameters(id string) (ds *polardb.DescribeDBClusterParametersResponse, err error)

func (*PolarDBService) DescribePolarDBAccount

func (s *PolarDBService) DescribePolarDBAccount(id string) (ds *polardb.DBAccount, err error)

func (*PolarDBService) DescribePolarDBAccountPrivilege

func (s *PolarDBService) DescribePolarDBAccountPrivilege(id string) (account *polardb.DBAccount, err error)

func (*PolarDBService) DescribePolarDBAutoRenewAttribute

func (s *PolarDBService) DescribePolarDBAutoRenewAttribute(id string) (instance *polardb.AutoRenewAttribute, err error)

func (*PolarDBService) DescribePolarDBCluster

func (s *PolarDBService) DescribePolarDBCluster(id string) (instance *polardb.DBCluster, err error)

func (*PolarDBService) DescribePolarDBClusterAttribute

func (s *PolarDBService) DescribePolarDBClusterAttribute(id string) (instance *polardb.DescribeDBClusterAttributeResponse, err error)

func (*PolarDBService) DescribePolarDBClusterEndpoint

func (s *PolarDBService) DescribePolarDBClusterEndpoint(id string) (*polardb.DBEndpoint, error)

func (*PolarDBService) DescribePolarDBConnection

func (s *PolarDBService) DescribePolarDBConnection(id string) (*polardb.Address, error)

func (*PolarDBService) DescribePolarDBDatabase

func (s *PolarDBService) DescribePolarDBDatabase(id string) (ds *polardb.Database, err error)

func (*PolarDBService) DescribePolarDBInstanceNetInfo

func (s *PolarDBService) DescribePolarDBInstanceNetInfo(id string) ([]polardb.DBEndpoint, error)

func (*PolarDBService) DescribeTags

func (s *PolarDBService) DescribeTags(resourceId string, resourceType TagResourceType) (tags []polardb.TagResource, err error)

func (*PolarDBService) GrantPolarDBAccountPrivilege

func (s *PolarDBService) GrantPolarDBAccountPrivilege(id, dbName string) error

func (*PolarDBService) ModifyDBBackupPolicy

func (s *PolarDBService) ModifyDBBackupPolicy(clusterId, backupTime, backupPeriod string) error

func (*PolarDBService) ModifyDBSecurityIps

func (s *PolarDBService) ModifyDBSecurityIps(clusterId, ips string) error

func (*PolarDBService) ModifyParameters

func (s *PolarDBService) ModifyParameters(d *schema.ResourceData) error

func (*PolarDBService) PolarDBClusterStateRefreshFunc

func (s *PolarDBService) PolarDBClusterStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*PolarDBService) RefreshEndpointConfig

func (s *PolarDBService) RefreshEndpointConfig(d *schema.ResourceData) error

func (*PolarDBService) RefreshParameters

func (s *PolarDBService) RefreshParameters(d *schema.ResourceData) error

func (*PolarDBService) RevokePolarDBAccountPrivilege

func (s *PolarDBService) RevokePolarDBAccountPrivilege(id, dbName string) error

func (*PolarDBService) WaitForCluster

func (s *PolarDBService) WaitForCluster(id string, status Status, timeout int) error

WaitForCluster waits for cluster to given status

func (*PolarDBService) WaitForPolarDBAccount

func (s *PolarDBService) WaitForPolarDBAccount(id string, status Status, timeout int) error

func (*PolarDBService) WaitForPolarDBAccountPrivilege

func (s *PolarDBService) WaitForPolarDBAccountPrivilege(id, dbName string, status Status, timeout int) error

func (*PolarDBService) WaitForPolarDBAccountPrivilegeRevoked

func (s *PolarDBService) WaitForPolarDBAccountPrivilegeRevoked(id, dbName string, timeout int) error

func (*PolarDBService) WaitForPolarDBConnection

func (s *PolarDBService) WaitForPolarDBConnection(id string, status Status, timeout int) error

func (*PolarDBService) WaitForPolarDBConnectionPrefix

func (s *PolarDBService) WaitForPolarDBConnectionPrefix(id, prefix string, timeout int) error

func (*PolarDBService) WaitForPolarDBDatabase

func (s *PolarDBService) WaitForPolarDBDatabase(id string, status Status, timeout int) error

func (*PolarDBService) WaitForPolarDBEndpoints

func (s *PolarDBService) WaitForPolarDBEndpoints(d *schema.ResourceData, status Status, endpointIds *schema.Set, timeout int) (string, error)

func (*PolarDBService) WaitForPolarDBInstance

func (s *PolarDBService) WaitForPolarDBInstance(id string, status Status, timeout int) error

WaitForInstance waits for instance to given status

func (*PolarDBService) WaitForPolarDBParameter

func (s *PolarDBService) WaitForPolarDBParameter(clusterId string, timeout int, expects map[string]string) error

WaitForDBParameter waits for instance parameter to given value. Status of DB instance is Running after ModifyParameters API was call, so we can not just wait for instance status become Running, we should wait until parameters have expected values.

func (*PolarDBService) WaitPolardbEndpointConfigEffect

func (s *PolarDBService) WaitPolardbEndpointConfigEffect(id string, item map[string]string, timeout int) error

type Policy

type Policy struct {
	Statement []PolicyStatement
	Version   string
}

type PolicyRequired

type PolicyRequired struct {
	PolicyName string
	PolicyType string
}

type PolicyStatement

type PolicyStatement struct {
	Effect   Effect
	Action   interface{}
	Resource interface{}
}

type PrimaryKeyTypeString

type PrimaryKeyTypeString string

type Principal

type Principal struct {
	Service []string
	RAM     []string
}

type PrivatelinkService

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

func (*PrivatelinkService) DescribePrivatelinkVpcEndpoint

func (s *PrivatelinkService) DescribePrivatelinkVpcEndpoint(id string) (object map[string]interface{}, err error)

func (*PrivatelinkService) DescribePrivatelinkVpcEndpointConnection

func (s *PrivatelinkService) DescribePrivatelinkVpcEndpointConnection(id string) (object map[string]interface{}, err error)

func (*PrivatelinkService) DescribePrivatelinkVpcEndpointService

func (s *PrivatelinkService) DescribePrivatelinkVpcEndpointService(id string) (object map[string]interface{}, err error)

func (*PrivatelinkService) DescribePrivatelinkVpcEndpointServiceResource

func (s *PrivatelinkService) DescribePrivatelinkVpcEndpointServiceResource(id string) (object map[string]interface{}, err error)

func (*PrivatelinkService) DescribePrivatelinkVpcEndpointServiceUser

func (s *PrivatelinkService) DescribePrivatelinkVpcEndpointServiceUser(id string) (object map[string]interface{}, err error)

func (*PrivatelinkService) DescribePrivatelinkVpcEndpointZone

func (s *PrivatelinkService) DescribePrivatelinkVpcEndpointZone(id string) (object map[string]interface{}, err error)

func (*PrivatelinkService) ListVpcEndpointSecurityGroups

func (s *PrivatelinkService) ListVpcEndpointSecurityGroups(id string) (object map[string]interface{}, err error)

func (*PrivatelinkService) ListVpcEndpointServiceResources

func (s *PrivatelinkService) ListVpcEndpointServiceResources(id string) (object map[string]interface{}, err error)

func (*PrivatelinkService) ListVpcEndpointZones

func (s *PrivatelinkService) ListVpcEndpointZones(id string) (object map[string]interface{}, err error)

func (*PrivatelinkService) PrivatelinkVpcEndpointConnectionStateRefreshFunc

func (s *PrivatelinkService) PrivatelinkVpcEndpointConnectionStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*PrivatelinkService) PrivatelinkVpcEndpointServiceStateRefreshFunc

func (s *PrivatelinkService) PrivatelinkVpcEndpointServiceStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*PrivatelinkService) PrivatelinkVpcEndpointStateRefreshFunc

func (s *PrivatelinkService) PrivatelinkVpcEndpointStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*PrivatelinkService) PrivatelinkVpcEndpointZoneStateRefreshFunc

func (s *PrivatelinkService) PrivatelinkVpcEndpointZoneStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

type Prober

type Prober struct {
	FailureThreshold    int `json:"failureThreshold"`
	InitialDelaySeconds int `json:"initialDelaySeconds"`
	SuccessThreshold    int `json:"successThreshold"`
	TimeoutSeconds      int `json:"timeoutSeconds"`
	Hook                `json:",inline"`
}

type Protocol

type Protocol string

Protocol represents network protocol

type ProviderError

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

An Error represents a custom error for Terraform failure response

func (*ProviderError) Error

func (e *ProviderError) Error() string

func (*ProviderError) ErrorCode

func (err *ProviderError) ErrorCode() string

func (*ProviderError) Message

func (err *ProviderError) Message() string

type PvtzService

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

func (*PvtzService) DescribePvtzZone

func (s *PvtzService) DescribePvtzZone(id string) (object map[string]interface{}, err error)

func (*PvtzService) DescribePvtzZoneAttachment

func (s *PvtzService) DescribePvtzZoneAttachment(id string) (object map[string]interface{}, err error)

func (*PvtzService) DescribePvtzZoneRecord

func (s *PvtzService) DescribePvtzZoneRecord(id string) (object map[string]interface{}, err error)

func (*PvtzService) WaitForPvtzZone

func (s *PvtzService) WaitForPvtzZone(id string, status Status, timeout int) error

func (*PvtzService) WaitForPvtzZoneAttachment

func (s *PvtzService) WaitForPvtzZoneAttachment(id string, status Status, timeout int) error

func (*PvtzService) WaitForPvtzZoneRecord

func (s *PvtzService) WaitForPvtzZoneRecord(id string, status Status, timeout int) error

func (*PvtzService) WaitForZoneAttachment

func (s *PvtzService) WaitForZoneAttachment(id string, vpcIdMap map[string]string, timeout int) error

type QuotasService

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

func (*QuotasService) DescribeQuotasApplicationInfo

func (s *QuotasService) DescribeQuotasApplicationInfo(id string) (object map[string]interface{}, err error)

type R_kvstoreService

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

func (*R_kvstoreService) DescribeBackupPolicy

func (s *R_kvstoreService) DescribeBackupPolicy(id string) (object r_kvstore.DescribeBackupPolicyResponse, err error)

func (*R_kvstoreService) DescribeInstanceAutoRenewalAttribute

func (s *R_kvstoreService) DescribeInstanceAutoRenewalAttribute(id string) (object r_kvstore.Item, err error)

func (*R_kvstoreService) DescribeInstanceSSL

func (s *R_kvstoreService) DescribeInstanceSSL(id string) (object r_kvstore.DescribeInstanceSSLResponse, err error)

func (*R_kvstoreService) DescribeKvstoreAccount

func (s *R_kvstoreService) DescribeKvstoreAccount(id string) (object r_kvstore.Account, err error)

func (*R_kvstoreService) DescribeKvstoreConnection

func (s *R_kvstoreService) DescribeKvstoreConnection(id string) (object r_kvstore.InstanceNetInfo, err error)

func (*R_kvstoreService) DescribeKvstoreInstance

func (s *R_kvstoreService) DescribeKvstoreInstance(id string) (object r_kvstore.DBInstanceAttribute, err error)

func (*R_kvstoreService) DescribeSecurityGroupConfiguration

func (s *R_kvstoreService) DescribeSecurityGroupConfiguration(id string) (object r_kvstore.ItemsInDescribeSecurityGroupConfiguration, err error)

func (*R_kvstoreService) DescribeSecurityIps

func (s *R_kvstoreService) DescribeSecurityIps(id string) (object r_kvstore.SecurityIpGroup, err error)

func (*R_kvstoreService) KvstoreAccountStateRefreshFunc

func (s *R_kvstoreService) KvstoreAccountStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*R_kvstoreService) KvstoreInstanceStateRefreshFunc

func (s *R_kvstoreService) KvstoreInstanceStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*R_kvstoreService) SetResourceTags

func (s *R_kvstoreService) SetResourceTags(d *schema.ResourceData, resourceType string) error

type RamService

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

func (*RamService) AssemblePolicyDocument

func (s *RamService) AssemblePolicyDocument(document []interface{}, version string) (string, error)

func (*RamService) AssembleRolePolicyDocument

func (s *RamService) AssembleRolePolicyDocument(ramUser, service []interface{}, version string) (string, error)

func (*RamService) DescribeRamAccessKey

func (s *RamService) DescribeRamAccessKey(id, userName string) (*ram.AccessKeyInListAccessKeys, error)

func (*RamService) DescribeRamAccountAlias

func (s *RamService) DescribeRamAccountAlias(id string) (*ram.GetAccountAliasResponse, error)

func (*RamService) DescribeRamAccountPasswordPolicy

func (s *RamService) DescribeRamAccountPasswordPolicy(id string) (*ram.GetPasswordPolicyResponse, error)

func (*RamService) DescribeRamGroup

func (s *RamService) DescribeRamGroup(id string) (*ram.GetGroupResponse, error)

func (*RamService) DescribeRamGroupMembership

func (s *RamService) DescribeRamGroupMembership(id string) (*ram.ListUsersForGroupResponse, error)

func (*RamService) DescribeRamGroupPolicyAttachment

func (s *RamService) DescribeRamGroupPolicyAttachment(id string) (*ram.PolicyInListPoliciesForGroup, error)

func (*RamService) DescribeRamLoginProfile

func (s *RamService) DescribeRamLoginProfile(id string) (*ram.GetLoginProfileResponse, error)

func (*RamService) DescribeRamPolicy

func (s *RamService) DescribeRamPolicy(id string) (object map[string]interface{}, err error)

func (*RamService) DescribeRamRole

func (s *RamService) DescribeRamRole(id string) (*ram.GetRoleResponse, error)

func (*RamService) DescribeRamRoleAttachment

func (s *RamService) DescribeRamRoleAttachment(id string) (*ecs.DescribeInstanceRamRoleResponse, error)

func (*RamService) DescribeRamRolePolicyAttachment

func (s *RamService) DescribeRamRolePolicyAttachment(id string) (*ram.PolicyInListPoliciesForRole, error)

func (*RamService) DescribeRamUser

func (s *RamService) DescribeRamUser(id string) (*ram.UserInGetUser, error)

func (*RamService) DescribeRamUserPolicyAttachment

func (s *RamService) DescribeRamUserPolicyAttachment(id string) (*ram.PolicyInListPoliciesForUser, error)

func (*RamService) GetIntersection

func (s *RamService) GetIntersection(dataMap []map[string]interface{}, allDataMap map[string]interface{}) (allData []interface{})

func (*RamService) JudgeRolePolicyPrincipal

func (s *RamService) JudgeRolePolicyPrincipal(roleName string) error

Judge whether the role policy contains service "ecs.aliyuncs.com"

func (*RamService) ParsePolicyDocument

func (s *RamService) ParsePolicyDocument(policyDocument string) (statement []map[string]interface{}, version string, err error)

func (*RamService) ParseRolePolicyDocument

func (s *RamService) ParseRolePolicyDocument(policyDocument string) (RolePolicy, error)

func (*RamService) WaitForRamAccessKey

func (s *RamService) WaitForRamAccessKey(id, useName string, status Status, timeout int) error

func (*RamService) WaitForRamGroup

func (s *RamService) WaitForRamGroup(id string, status Status, timeout int) error

func (*RamService) WaitForRamGroupMembership

func (s *RamService) WaitForRamGroupMembership(id string, status Status, timeout int) error

func (*RamService) WaitForRamGroupPolicyAttachment

func (s *RamService) WaitForRamGroupPolicyAttachment(id string, status Status, timeout int) error

func (*RamService) WaitForRamLoginProfile

func (s *RamService) WaitForRamLoginProfile(id string, status Status, timeout int) error

func (*RamService) WaitForRamRole

func (s *RamService) WaitForRamRole(id string, status Status, timeout int) error

func (*RamService) WaitForRamRoleAttachment

func (s *RamService) WaitForRamRoleAttachment(id string, status Status, timeout int) error

func (*RamService) WaitForRamRolePolicyAttachment

func (s *RamService) WaitForRamRolePolicyAttachment(id string, status Status, timeout int) error

func (*RamService) WaitForRamUser

func (s *RamService) WaitForRamUser(id string, status Status, timeout int) error

func (*RamService) WaitForRamUserPolicyAttachment

func (s *RamService) WaitForRamUserPolicyAttachment(id string, status Status, timeout int) error

type RdsService

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

func (*RdsService) DescribeBackupPolicy

func (s *RdsService) DescribeBackupPolicy(id string) (map[string]interface{}, error)

func (*RdsService) DescribeDBAccount

func (s *RdsService) DescribeDBAccount(id string) (map[string]interface{}, error)

func (*RdsService) DescribeDBAccountPrivilege

func (s *RdsService) DescribeDBAccountPrivilege(id string) (map[string]interface{}, error)

func (*RdsService) DescribeDBConnection

func (s *RdsService) DescribeDBConnection(id string) (map[string]interface{}, error)

func (*RdsService) DescribeDBDatabase

func (s *RdsService) DescribeDBDatabase(id string) (map[string]interface{}, error)

func (*RdsService) DescribeDBInstance

func (s *RdsService) DescribeDBInstance(id string) (map[string]interface{}, error)

func (*RdsService) DescribeDBInstanceNetInfo

func (s *RdsService) DescribeDBInstanceNetInfo(id string) ([]interface{}, error)

func (*RdsService) DescribeDBInstanceSSL

func (s *RdsService) DescribeDBInstanceSSL(id string) (map[string]interface{}, error)

func (*RdsService) DescribeDBProxy

func (s *RdsService) DescribeDBProxy(id string) (map[string]interface{}, error)

func (*RdsService) DescribeDBProxyEndpoint

func (s *RdsService) DescribeDBProxyEndpoint(id string, endpointName string) (map[string]interface{}, error)

func (*RdsService) DescribeDBReadWriteSplittingConnection

func (s *RdsService) DescribeDBReadWriteSplittingConnection(id string) (map[string]interface{}, error)

func (*RdsService) DescribeDBReadonlyInstance

func (s *RdsService) DescribeDBReadonlyInstance(id string) (map[string]interface{}, error)

func (*RdsService) DescribeDBSecurityIps

func (s *RdsService) DescribeDBSecurityIps(instanceId string) ([]interface{}, error)

func (*RdsService) DescribeDbInstanceMonitor

func (s *RdsService) DescribeDbInstanceMonitor(id string) (monitoringPeriod int, err error)

func (*RdsService) DescribeMultiIZByRegion

func (s *RdsService) DescribeMultiIZByRegion() (izs []string, err error)

return multiIZ list of current region

func (*RdsService) DescribeParameters

func (s *RdsService) DescribeParameters(id string) (map[string]interface{}, error)

func (*RdsService) DescribeRdsTDEInfo

func (s *RdsService) DescribeRdsTDEInfo(id string) (map[string]interface{}, error)

func (*RdsService) DescribeSQLCollectorPolicy

func (s *RdsService) DescribeSQLCollectorPolicy(id string) (map[string]interface{}, error)

func (*RdsService) DescribeSQLCollectorRetention

func (s *RdsService) DescribeSQLCollectorRetention(id string) (map[string]interface{}, error)

func (*RdsService) DescribeSecurityGroupConfiguration

func (s *RdsService) DescribeSecurityGroupConfiguration(id string) ([]string, error)

func (*RdsService) DescribeTasks

func (s *RdsService) DescribeTasks(id string) (map[string]interface{}, error)

func (*RdsService) GetSecurityIps

func (s *RdsService) GetSecurityIps(instanceId string) ([]string, error)

func (*RdsService) GrantAccountPrivilege

func (s *RdsService) GrantAccountPrivilege(id, dbName string) error

func (*RdsService) ModifyDBBackupPolicy

func (s *RdsService) ModifyDBBackupPolicy(d *schema.ResourceData, updateForData, updateForLog bool) error

func (*RdsService) ModifyDBSecurityIps

func (s *RdsService) ModifyDBSecurityIps(instanceId, ips string) error

func (*RdsService) ModifyParameters

func (s *RdsService) ModifyParameters(d *schema.ResourceData, attribute string) error

func (*RdsService) ModifySecurityGroupConfiguration

func (s *RdsService) ModifySecurityGroupConfiguration(id string, groupid string) error

func (*RdsService) RdsDBInstanceStateRefreshFunc

func (s *RdsService) RdsDBInstanceStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*RdsService) RdsTaskStateRefreshFunc

func (s *RdsService) RdsTaskStateRefreshFunc(id string, taskAction string) resource.StateRefreshFunc

func (*RdsService) RefreshParameters

func (s *RdsService) RefreshParameters(d *schema.ResourceData, attribute string) error

func (*RdsService) ReleaseDBPublicConnection

func (s *RdsService) ReleaseDBPublicConnection(instanceId, connection string) error

func (*RdsService) RevokeAccountPrivilege

func (s *RdsService) RevokeAccountPrivilege(id, dbName string) error

func (*RdsService) TransformPeriod2Time

func (s *RdsService) TransformPeriod2Time(period int, chargeType string) (ut int, tt common.TimeType)

turn period to TimeType

func (*RdsService) TransformTime2Period

func (s *RdsService) TransformTime2Period(ut int, tt common.TimeType) (period int)

turn TimeType to Period

func (*RdsService) WaitForAccount

func (s *RdsService) WaitForAccount(id string, status Status, timeout int) error

func (*RdsService) WaitForAccountPrivilege

func (s *RdsService) WaitForAccountPrivilege(id, dbName string, status Status, timeout int) error

func (*RdsService) WaitForAccountPrivilegeRevoked

func (s *RdsService) WaitForAccountPrivilegeRevoked(id, dbName string, timeout int) error

func (*RdsService) WaitForDBConnection

func (s *RdsService) WaitForDBConnection(id string, status Status, timeout int) error

func (*RdsService) WaitForDBDatabase

func (s *RdsService) WaitForDBDatabase(id string, status Status, timeout int) error

func (*RdsService) WaitForDBInstance

func (s *RdsService) WaitForDBInstance(id string, status Status, timeout int) error

WaitForInstance waits for instance to given status

func (*RdsService) WaitForDBParameter

func (s *RdsService) WaitForDBParameter(instanceId string, timeout int, expects map[string]string) error

WaitForDBParameter waits for instance parameter to given value. Status of DB instance is Running after ModifyParameters API was call, so we can not just wait for instance status become Running, we should wait until parameters have expected values.

func (*RdsService) WaitForDBReadWriteSplitting

func (s *RdsService) WaitForDBReadWriteSplitting(id string, status Status, timeout int) error

type RemoveTagsArgs

type RemoveTagsArgs struct {
	ResourceId   string
	ResourceType ecs.TagResourceType //image, instance, snapshot or disk
	RegionId     common.Region
	Tag          []Tag
}

type RenewalStatus

type RenewalStatus string

type ResourceType

type ResourceType string

type ResourcemanagerService

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

func (*ResourcemanagerService) DescribeResourceManagerAccount

func (s *ResourcemanagerService) DescribeResourceManagerAccount(id string) (object map[string]interface{}, err error)

func (*ResourcemanagerService) DescribeResourceManagerFolder

func (s *ResourcemanagerService) DescribeResourceManagerFolder(id string) (object map[string]interface{}, err error)

func (*ResourcemanagerService) DescribeResourceManagerHandshake

func (s *ResourcemanagerService) DescribeResourceManagerHandshake(id string) (object map[string]interface{}, err error)

func (*ResourcemanagerService) DescribeResourceManagerPolicy

func (s *ResourcemanagerService) DescribeResourceManagerPolicy(id string) (object map[string]interface{}, err error)

func (*ResourcemanagerService) DescribeResourceManagerPolicyAttachment

func (s *ResourcemanagerService) DescribeResourceManagerPolicyAttachment(id string) (object map[string]interface{}, err error)

func (*ResourcemanagerService) DescribeResourceManagerPolicyVersion

func (s *ResourcemanagerService) DescribeResourceManagerPolicyVersion(id string) (object map[string]interface{}, err error)

func (*ResourcemanagerService) DescribeResourceManagerResourceDirectory

func (s *ResourcemanagerService) DescribeResourceManagerResourceDirectory(id string) (object map[string]interface{}, err error)

func (*ResourcemanagerService) DescribeResourceManagerResourceGroup

func (s *ResourcemanagerService) DescribeResourceManagerResourceGroup(id string) (object map[string]interface{}, err error)

func (*ResourcemanagerService) DescribeResourceManagerRole

func (s *ResourcemanagerService) DescribeResourceManagerRole(id string) (object map[string]interface{}, err error)

func (*ResourcemanagerService) GetPolicyVersion

func (s *ResourcemanagerService) GetPolicyVersion(id string, d *schema.ResourceData) (object map[string]interface{}, err error)

func (*ResourcemanagerService) ResourceManagerResourceGroupStateRefreshFunc

func (s *ResourcemanagerService) ResourceManagerResourceGroupStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

type ResourcesharingService

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

func (*ResourcesharingService) DescribeResourceManagerResourceShare

func (s *ResourcesharingService) DescribeResourceManagerResourceShare(id string) (object map[string]interface{}, err error)

func (*ResourcesharingService) DescribeResourceManagerSharedResource

func (s *ResourcesharingService) DescribeResourceManagerSharedResource(id string) (object map[string]interface{}, err error)

func (*ResourcesharingService) DescribeResourceManagerSharedTarget

func (s *ResourcesharingService) DescribeResourceManagerSharedTarget(id string) (object map[string]interface{}, err error)

func (*ResourcesharingService) ResourceManagerResourceShareStateRefreshFunc

func (s *ResourcesharingService) ResourceManagerResourceShareStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*ResourcesharingService) ResourceManagerSharedResourceStateRefreshFunc

func (s *ResourcesharingService) ResourceManagerSharedResourceStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*ResourcesharingService) ResourceManagerSharedTargetStateRefreshFunc

func (s *ResourcesharingService) ResourceManagerSharedTargetStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

type Role

type Role string

type RolePolicy

type RolePolicy struct {
	Statement []RolePolicyStatement
	Version   string
}

type RolePolicyStatement

type RolePolicyStatement struct {
	Effect    Effect
	Action    string
	Principal Principal
}

type RosService

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

func (*RosService) DescribeRosChangeSet

func (s *RosService) DescribeRosChangeSet(id string) (object map[string]interface{}, err error)

func (*RosService) DescribeRosStack

func (s *RosService) DescribeRosStack(id string) (object map[string]interface{}, err error)

func (*RosService) DescribeRosStackGroup

func (s *RosService) DescribeRosStackGroup(id string) (object map[string]interface{}, err error)

func (*RosService) DescribeRosTemplate

func (s *RosService) DescribeRosTemplate(id string) (object map[string]interface{}, err error)

func (*RosService) GetStackPolicy

func (s *RosService) GetStackPolicy(id string) (object map[string]interface{}, err error)

func (*RosService) ListTagResources

func (s *RosService) ListTagResources(id string, resourceType string) (object interface{}, err error)

func (*RosService) RosChangeSetStateRefreshFunc

func (s *RosService) RosChangeSetStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*RosService) RosStackGroupStateRefreshFunc

func (s *RosService) RosStackGroupStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*RosService) RosStackStateRefreshFunc

func (s *RosService) RosStackStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*RosService) SetResourceTags

func (s *RosService) SetResourceTags(d *schema.ResourceData, resourceType string) error

type RouterType

type RouterType string

type RsType

type RsType string

type SagService

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

func (*SagService) DescribeCloudConnectNetwork

func (s *SagService) DescribeCloudConnectNetwork(id string) (c smartag.CloudConnectNetwork, err error)

func (*SagService) DescribeCloudConnectNetworkAttachment

func (s *SagService) DescribeCloudConnectNetworkAttachment(id string) (c smartag.SmartAccessGateway, err error)

func (*SagService) DescribeCloudConnectNetworkGrant

func (s *SagService) DescribeCloudConnectNetworkGrant(id string) (c smartag.GrantRule, err error)

func (*SagService) DescribeSagAcl

func (s *SagService) DescribeSagAcl(id string) (c smartag.Acl, err error)

func (*SagService) DescribeSagAclRule

func (s *SagService) DescribeSagAclRule(id string) (c smartag.Acr, err error)

func (*SagService) DescribeSagClientUser

func (s *SagService) DescribeSagClientUser(id string) (c smartag.User, err error)

func (*SagService) DescribeSagDnatEntry

func (s *SagService) DescribeSagDnatEntry(id string) (c smartag.DnatEntry, err error)

func (*SagService) DescribeSagNetworkopt

func (s *SagService) DescribeSagNetworkopt(id string) (c smartag.NetworkOptimization, err error)

func (*SagService) DescribeSagNetworkoptSetting

func (s *SagService) DescribeSagNetworkoptSetting(id string) (c smartag.Setting, err error)

func (*SagService) DescribeSagQos

func (s *SagService) DescribeSagQos(id string) (c smartag.Qos, err error)

func (*SagService) DescribeSagQosCar

func (s *SagService) DescribeSagQosCar(id string) (c smartag.QosCar, err error)

func (*SagService) DescribeSagQosPolicy

func (s *SagService) DescribeSagQosPolicy(id string) (c smartag.QosPolicy, err error)

func (*SagService) DescribeSagSnatEntry

func (s *SagService) DescribeSagSnatEntry(id string) (c smartag.SnatEntry, err error)

func (*SagService) WaitForCloudConnectNetwork

func (s *SagService) WaitForCloudConnectNetwork(id string, status Status, timeout int) error

func (*SagService) WaitForCloudConnectNetworkAttachment

func (s *SagService) WaitForCloudConnectNetworkAttachment(id string, status Status, timeout int) error

func (*SagService) WaitForCloudConnectNetworkGrant

func (s *SagService) WaitForCloudConnectNetworkGrant(id string, status Status, timeout int) error

func (*SagService) WaitForSagAcl

func (s *SagService) WaitForSagAcl(id string, status Status, timeout int) error

func (*SagService) WaitForSagAclRule

func (s *SagService) WaitForSagAclRule(id string, status Status, timeout int) error

func (*SagService) WaitForSagClientUser

func (s *SagService) WaitForSagClientUser(id string, status Status, timeout int) error

func (*SagService) WaitForSagDnatEntry

func (s *SagService) WaitForSagDnatEntry(id string, status Status, timeout int) error

func (*SagService) WaitForSagQos

func (s *SagService) WaitForSagQos(id string, status Status, timeout int) error

func (*SagService) WaitForSagQosCar

func (s *SagService) WaitForSagQosCar(id string, status Status, timeout int) error

func (*SagService) WaitForSagQosPolicy

func (s *SagService) WaitForSagQosPolicy(id string, status Status, timeout int) error

func (*SagService) WaitForSagSnatEntry

func (s *SagService) WaitForSagSnatEntry(id string, status Status, timeout int) error

type ScalingRuleType

type ScalingRuleType string

type SchedulerType

type SchedulerType string

type SecurityEnhancementStrategy

type SecurityEnhancementStrategy string

type SecurityGroup

type SecurityGroup struct {
	Attributes        ecs.DescribeSecurityGroupAttributeResponse
	CreationTime      string
	SecurityGroupType string
	ResourceGroupId   string
	Tags              ecs.TagsInDescribeSecurityGroups
}

type SlbService

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

func (*SlbService) BuildSlbCommonRequest

func (s *SlbService) BuildSlbCommonRequest() (*requests.CommonRequest, error)

func (*SlbService) DescribeDomainExtensionAttribute

func (s *SlbService) DescribeDomainExtensionAttribute(domainExtensionId string) (*slb.DescribeDomainExtensionAttributeResponse, error)

func (*SlbService) DescribeSlb

func (*SlbService) DescribeSlbAcl

func (*SlbService) DescribeSlbBackendServer

func (s *SlbService) DescribeSlbBackendServer(id string) (*slb.DescribeLoadBalancerAttributeResponse, error)

func (*SlbService) DescribeSlbCACertificate

func (s *SlbService) DescribeSlbCACertificate(id string) (*slb.CACertificate, error)

func (*SlbService) DescribeSlbListener

func (s *SlbService) DescribeSlbListener(id string) (listener map[string]interface{}, err error)

func (*SlbService) DescribeSlbMasterSlaveServerGroup

func (s *SlbService) DescribeSlbMasterSlaveServerGroup(id string) (*slb.DescribeMasterSlaveServerGroupAttributeResponse, error)

func (*SlbService) DescribeSlbRule

func (s *SlbService) DescribeSlbRule(id string) (*slb.DescribeRuleAttributeResponse, error)

func (*SlbService) DescribeSlbServerCertificate

func (s *SlbService) DescribeSlbServerCertificate(id string) (*slb.ServerCertificate, error)

func (*SlbService) DescribeSlbServerGroup

func (s *SlbService) DescribeSlbServerGroup(id string) (*slb.DescribeVServerGroupAttributeResponse, error)

func (*SlbService) DescribeTags

func (s *SlbService) DescribeTags(resourceId string, resourceTags map[string]interface{}, resourceType TagResourceType) (tags []slb.TagResource, err error)

func (*SlbService) FlattenSlbAclEntryMappings

func (s *SlbService) FlattenSlbAclEntryMappings(list []slb.AclEntry) []map[string]interface{}

Flattens an array of slb.AclEntry into a []map[string]string

func (*SlbService) SlbAddAccessControlListEntry

func (s *SlbService) SlbAddAccessControlListEntry(list []interface{}, aclId string) error

func (*SlbService) SlbRemoveAccessControlListEntry

func (s *SlbService) SlbRemoveAccessControlListEntry(list []interface{}, aclId string) error

func (*SlbService) WaitForSlb

func (s *SlbService) WaitForSlb(id string, status Status, timeout int) error

func (*SlbService) WaitForSlbAcl

func (s *SlbService) WaitForSlbAcl(id string, status Status, timeout int) error

func (*SlbService) WaitForSlbCACertificate

func (s *SlbService) WaitForSlbCACertificate(id string, status Status, timeout int) error

func (*SlbService) WaitForSlbDomainExtension

func (s *SlbService) WaitForSlbDomainExtension(id string, status Status, timeout int) error

func (*SlbService) WaitForSlbListener

func (s *SlbService) WaitForSlbListener(id string, status Status, timeout int) error

func (*SlbService) WaitForSlbMasterSlaveServerGroup

func (s *SlbService) WaitForSlbMasterSlaveServerGroup(id string, status Status, timeout int) error

func (*SlbService) WaitForSlbRule

func (s *SlbService) WaitForSlbRule(id string, status Status, timeout int) error

func (*SlbService) WaitForSlbServerCertificate

func (s *SlbService) WaitForSlbServerCertificate(id string, status Status, timeout int) error

func (*SlbService) WaitForSlbServerGroup

func (s *SlbService) WaitForSlbServerGroup(id string, status Status, timeout int) error

func (*SlbService) WaitSlbAttribute

func (s *SlbService) WaitSlbAttribute(id string, instanceSet *schema.Set, timeout int) error

type SlbTag

type SlbTag struct {
	TagKey   string
	TagValue string
}

type Spec

type Spec string

type SpotStrategyType

type SpotStrategyType string

type Status

type Status string

type StickySessionType

type StickySessionType string

type Tag

type Tag struct {
	Key   string
	Value string
}

type TagResourceType

type TagResourceType string

type TcpSocket

type TcpSocket struct {
	Host string `json:"host"`
	Port int    `json:"port"`
}

type TimeType

type TimeType string

type VpcService

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

func (*VpcService) ActivateRouterInterface

func (s *VpcService) ActivateRouterInterface(interfaceId string) error

func (*VpcService) DeactivateRouterInterface

func (s *VpcService) DeactivateRouterInterface(interfaceId string) error

func (*VpcService) DescribeCenInstanceGrant

func (s *VpcService) DescribeCenInstanceGrant(id string) (rule vpc.CbnGrantRule, err error)

func (*VpcService) DescribeCommonBandwidthPackage

func (s *VpcService) DescribeCommonBandwidthPackage(id string) (v vpc.CommonBandwidthPackage, err error)

func (*VpcService) DescribeCommonBandwidthPackageAttachment

func (s *VpcService) DescribeCommonBandwidthPackageAttachment(id string) (v vpc.CommonBandwidthPackage, err error)

func (*VpcService) DescribeEip

func (s *VpcService) DescribeEip(id string) (eip vpc.EipAddress, err error)

func (*VpcService) DescribeEipAssociation

func (s *VpcService) DescribeEipAssociation(id string) (object vpc.EipAddress, err error)

func (*VpcService) DescribeForwardEntry

func (s *VpcService) DescribeForwardEntry(id string) (entry vpc.ForwardTableEntry, err error)

func (*VpcService) DescribeNatGateway

func (s *VpcService) DescribeNatGateway(id string) (nat vpc.NatGateway, err error)

func (*VpcService) DescribeNatGatewayTransform

func (s *VpcService) DescribeNatGatewayTransform(id string) ([]interface{}, error)

func (*VpcService) DescribeNetworkAcl

func (s *VpcService) DescribeNetworkAcl(id string) (networkAcl vpc.NetworkAcl, err error)

func (*VpcService) DescribeNetworkAclAttachment

func (s *VpcService) DescribeNetworkAclAttachment(id string, resource []vpc.Resource) (err error)

func (*VpcService) DescribeRouteEntry

func (s *VpcService) DescribeRouteEntry(id string) (*vpc.RouteEntry, error)

func (*VpcService) DescribeRouteTable

func (s *VpcService) DescribeRouteTable(id string) (v vpc.RouterTableListType, err error)

func (*VpcService) DescribeRouteTableAttachment

func (s *VpcService) DescribeRouteTableAttachment(id string) (v vpc.RouterTableListType, err error)

func (*VpcService) DescribeRouterInterface

func (s *VpcService) DescribeRouterInterface(id, regionId string) (ri vpc.RouterInterfaceType, err error)

func (*VpcService) DescribeRouterInterfaceConnection

func (s *VpcService) DescribeRouterInterfaceConnection(id, regionId string) (ri vpc.RouterInterfaceType, err error)

func (*VpcService) DescribeSnatEntry

func (s *VpcService) DescribeSnatEntry(id string) (snat vpc.SnatTableEntry, err error)

func (*VpcService) DescribeTags

func (s *VpcService) DescribeTags(resourceId string, resourceTags map[string]interface{}, resourceType TagResourceType) (tags []vpc.TagResource, err error)

func (*VpcService) DescribeVSwitch

func (s *VpcService) DescribeVSwitch(id string) (v vpc.DescribeVSwitchAttributesResponse, err error)

func (*VpcService) DescribeVSwitchWithTeadsl

func (s *VpcService) DescribeVSwitchWithTeadsl(id string) (object map[string]interface{}, err error)

func (*VpcService) DescribeVpc

func (s *VpcService) DescribeVpc(id string) (v vpc.Vpc, err error)

func (*VpcService) DescribeVpcWithTeadsl

func (s *VpcService) DescribeVpcWithTeadsl(id string) (object map[string]interface{}, err error)

func (*VpcService) FlattenPublicIpAddressesMappings

func (s *VpcService) FlattenPublicIpAddressesMappings(list []vpc.PublicIpAddresse) []map[string]interface{}

Flattens an array of vpc.public_ip_addresses into a []map[string]string

func (*VpcService) ListTagResources

func (s *VpcService) ListTagResources(resourceId, resourceType string) (object interface{}, err error)

func (*VpcService) QueryRouteTableById

func (s *VpcService) QueryRouteTableById(routeTableId string) (rt vpc.RouteTable, err error)

func (*VpcService) VSwitchStateRefreshFunc

func (s *VpcService) VSwitchStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*VpcService) VpcStateRefreshFunc

func (s *VpcService) VpcStateRefreshFunc(id string, failStates []string) resource.StateRefreshFunc

func (*VpcService) WaitForAllRouteEntriesAvailable

func (s *VpcService) WaitForAllRouteEntriesAvailable(routeTableId string, timeout int) error

func (*VpcService) WaitForCenInstanceGrant

func (s *VpcService) WaitForCenInstanceGrant(id string, status Status, timeout int) error

func (*VpcService) WaitForCommonBandwidthPackage

func (s *VpcService) WaitForCommonBandwidthPackage(id string, status Status, timeout int) error

func (*VpcService) WaitForCommonBandwidthPackageAttachment

func (s *VpcService) WaitForCommonBandwidthPackageAttachment(id string, status Status, timeout int) error

func (*VpcService) WaitForEip

func (s *VpcService) WaitForEip(id string, status Status, timeout int) error

func (*VpcService) WaitForEipAssociation

func (s *VpcService) WaitForEipAssociation(id string, status Status, timeout int) error

func (*VpcService) WaitForForwardEntry

func (s *VpcService) WaitForForwardEntry(id string, status Status, timeout int) error

func (*VpcService) WaitForNatGateway

func (s *VpcService) WaitForNatGateway(id string, status Status, timeout int) error

func (*VpcService) WaitForNatGatewayTransform

func (s *VpcService) WaitForNatGatewayTransform(id string, timeout int64) error

func (*VpcService) WaitForNetworkAcl

func (s *VpcService) WaitForNetworkAcl(networkAclId string, status Status, timeout int) error

func (*VpcService) WaitForNetworkAclAttachment

func (s *VpcService) WaitForNetworkAclAttachment(id string, resource []vpc.Resource, status Status, timeout int) error

func (*VpcService) WaitForRouteEntry

func (s *VpcService) WaitForRouteEntry(id string, status Status, timeout int) error

func (*VpcService) WaitForRouteTable

func (s *VpcService) WaitForRouteTable(id string, status Status, timeout int) error

func (*VpcService) WaitForRouteTableAttachment

func (s *VpcService) WaitForRouteTableAttachment(id string, status Status, timeout int) error

func (*VpcService) WaitForRouterInterface

func (s *VpcService) WaitForRouterInterface(id, regionId string, status Status, timeout int) error

func (*VpcService) WaitForRouterInterfaceConnection

func (s *VpcService) WaitForRouterInterfaceConnection(id, regionId string, status Status, timeout int) error

func (*VpcService) WaitForSnatEntry

func (s *VpcService) WaitForSnatEntry(id string, status Status, timeout int) error

func (*VpcService) WaitForVSwitch

func (s *VpcService) WaitForVSwitch(id string, status Status, timeout int) error

type VpnGatewayService

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

func (*VpnGatewayService) AssembleIkeConfig

func (s *VpnGatewayService) AssembleIkeConfig(ikeCfgParam []interface{}) (string, error)

func (*VpnGatewayService) AssembleIpsecConfig

func (s *VpnGatewayService) AssembleIpsecConfig(ipsecCfgParam []interface{}) (string, error)

func (*VpnGatewayService) AssembleNetworkSubnetToString

func (s *VpnGatewayService) AssembleNetworkSubnetToString(list []interface{}) string

func (*VpnGatewayService) DescribeSslVpnClientCert

func (s *VpnGatewayService) DescribeSslVpnClientCert(id string) (v vpc.DescribeSslVpnClientCertResponse, err error)

func (*VpnGatewayService) DescribeSslVpnServer

func (s *VpnGatewayService) DescribeSslVpnServer(id string) (v vpc.SslVpnServer, err error)

func (*VpnGatewayService) DescribeVpnConnection

func (s *VpnGatewayService) DescribeVpnConnection(id string) (v vpc.DescribeVpnConnectionResponse, err error)

func (*VpnGatewayService) DescribeVpnCustomerGateway

func (s *VpnGatewayService) DescribeVpnCustomerGateway(id string) (v vpc.DescribeCustomerGatewayResponse, err error)

func (*VpnGatewayService) DescribeVpnGateway

func (s *VpnGatewayService) DescribeVpnGateway(id string) (v vpc.DescribeVpnGatewayResponse, err error)

func (*VpnGatewayService) DescribeVpnRouteEntry

func (s *VpnGatewayService) DescribeVpnRouteEntry(id string) (v vpc.VpnRouteEntry, err error)

func (*VpnGatewayService) ParseIkeConfig

func (s *VpnGatewayService) ParseIkeConfig(ike vpc.IkeConfig) (ikeConfigs []map[string]interface{})

func (*VpnGatewayService) ParseIpsecConfig

func (s *VpnGatewayService) ParseIpsecConfig(ipsec vpc.IpsecConfig) (ipsecConfigs []map[string]interface{})

func (*VpnGatewayService) WaitForSslVpnClientCert

func (s *VpnGatewayService) WaitForSslVpnClientCert(id string, status Status, timeout int) error

func (*VpnGatewayService) WaitForSslVpnServer

func (s *VpnGatewayService) WaitForSslVpnServer(id string, status Status, timeout int) error

func (*VpnGatewayService) WaitForVpnConnection

func (s *VpnGatewayService) WaitForVpnConnection(id string, status Status, timeout int) error

func (*VpnGatewayService) WaitForVpnCustomerGateway

func (s *VpnGatewayService) WaitForVpnCustomerGateway(id string, status Status, timeout int) error

func (*VpnGatewayService) WaitForVpnGateway

func (s *VpnGatewayService) WaitForVpnGateway(id string, status Status, timeout int) error

func (*VpnGatewayService) WaitForVpnRouteEntry

func (s *VpnGatewayService) WaitForVpnRouteEntry(id string, status Status, timeout int) error

type Waf_openapiService

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

func (*Waf_openapiService) DescribeWafDomain

func (s *Waf_openapiService) DescribeWafDomain(id string) (object map[string]interface{}, err error)

func (*Waf_openapiService) DescribeWafInstance

func (s *Waf_openapiService) DescribeWafInstance(id string) (object map[string]interface{}, err error)

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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