Documentation ¶
Index ¶
- Constants
- Variables
- func AddTags(client *ecs.Client, args *AddTagsArgs) error
- func AssembleIkeConfig(ikeCfgParam []interface{}) (string, error)
- func AssembleIpsecConfig(ipsecCfgParam []interface{}) (string, error)
- func AssembleNetworkSubnetToString(list []interface{}) string
- func AssemblePolicyDocument(document []interface{}, version string) (string, error)
- func AssembleRolePolicyDocument(ramUser, service []interface{}, version string) (string, error)
- func BoolPointer(b bool) *bool
- func BuildCmsCommonRequest(region string) *requests.CommonRequest
- func CommonRequestInit(region string, code ServiceCode, domain CommonRequestDomain) *requests.CommonRequest
- func CompareJsonTemplateAreEquivalent(tem1, tem2 string) (bool, error)
- func CompareYmalTemplateAreEquivalent(tem1, tem2 string) (bool, error)
- func ConvertIntegerToInt(value requests.Integer) (v int, err error)
- func EssCommonRequestInit(region string, code ServiceCode, domain CommonRequestDomain) *requests.CommonRequest
- func GetAllRouterInterfaceSpec() (specifications []string)
- func GetIntersection(dataMap []map[string]interface{}, allDataMap map[string]interface{}) (allData []interface{})
- func GetNotFoundErrorFromString(str string) error
- func GetNotFoundMessage(product, id string) string
- func GetTimeErrorFromString(str string) error
- func GetTimeoutMessage(product, status string) string
- func GetUserHomeDir() (string, error)
- func Int32Pointer(i int32) *int32
- func IsExceptedError(err error, expectCode string) bool
- func IsExceptedErrors(err error, expectCodes []string) bool
- func LoadEndpoint(region string, serviceCode ServiceCode) string
- func NotFoundDBInstance(err error) bool
- func NotFoundError(err error) bool
- func ParseIkeConfig(ike vpc.IkeConfig) (ikeConfigs []map[string]interface{})
- func ParseIpsecConfig(ipsec vpc.IpsecConfig) (ipsecConfigs []map[string]interface{})
- func ParsePolicyDocument(policyDocument string) (statement []map[string]interface{}, version string, err error)
- func Provider() terraform.ResourceProvider
- func RamEntityNotExist(err error) bool
- func RemoveTags(client *ecs.Client, args *RemoveTagsArgs) error
- func String(v string) *string
- func StringPointer(s string) *string
- func TransformPeriod2Time(period int, chargeType string) (ut int, tt common.TimeType)
- func TransformTime2Period(ut int, tt common.TimeType) (period int)
- func Trim(v string) string
- func VSwitchesDecriptionAttributes(d *schema.ResourceData, vsws []vpc.VSwitch, meta interface{}) error
- type ActionResult
- type AddTagsArgs
- type AdjustmentType
- type AliyunClient
- func (client *AliyunClient) AccountId() (string, error)
- func (client *AliyunClient) ActivateRouterInterface(interfaceId string) error
- func (client *AliyunClient) ActiveScalingConfigurationById(sgId, configId string) error
- func (client *AliyunClient) AllocateDBPublicConnection(instanceId, prefix, port string) error
- func (client *AliyunClient) AttachKeyPair(keyname string, instanceIds []interface{}) error
- func (client *AliyunClient) BuildCmsAlarmRequest(id string) *requests.CommonRequest
- func (client *AliyunClient) BuildSlbCommonRequest() *requests.CommonRequest
- func (client *AliyunClient) BuildVpcCommonRequest(region string) *requests.CommonRequest
- func (client *AliyunClient) DeactivateRouterInterface(interfaceId string) error
- func (client *AliyunClient) DeleteOtsTable(instanceName, tableName string) (bool, error)
- func (client *AliyunClient) DeleteScalingGroupById(sgId string) error
- func (client *AliyunClient) DeleteScalingRuleById(ruleId string) error
- func (client *AliyunClient) DeleteScheduleById(scheduleId string) error
- func (client *AliyunClient) DescribeAlarm(id string) (alarm cms.AlarmInListAlarm, err error)
- func (client *AliyunClient) DescribeAvailableResources(d *schema.ResourceData, meta interface{}, destination DestinationResource) (zoneId string, validZones []ecs.AvailableZone, err error)
- func (client *AliyunClient) DescribeBackupPolicy(instanceId string) (policy *rds.DescribeBackupPolicyResponse, err error)
- func (client *AliyunClient) DescribeCenInstance(cenId string) (c cbn.Cen, err error)
- func (client *AliyunClient) DescribeContainerApplication(clusterName, appName string) (app cs.GetProjectResponse, err error)
- func (client *AliyunClient) DescribeCustomerGateway(cgwId string) (v vpc.DescribeCustomerGatewayResponse, err error)
- func (client *AliyunClient) DescribeDBInstanceById(id string) (instance *rds.DBInstanceAttribute, err error)
- func (client *AliyunClient) DescribeDBInstanceNetInfoByIpType(instanceId string, ipType IPType) (*rds.DBInstanceNetInfo, error)
- func (client *AliyunClient) DescribeDBInstanceNetInfos(instanceId string) ([]rds.DBInstanceNetInfo, error)
- func (client *AliyunClient) DescribeDBSecurityIps(instanceId string) (ips []rds.DBInstanceIPArray, err error)
- func (client *AliyunClient) DescribeDatabaseAccount(instanceId, accountName string) (ds *rds.DBInstanceAccount, err error)
- func (client *AliyunClient) DescribeDatabaseByName(instanceId, dbName string) (ds *rds.Database, err error)
- func (client *AliyunClient) DescribeDiskById(instanceId, diskId string) (disk ecs.Disk, err error)
- func (client *AliyunClient) DescribeDisksByType(instanceId string, diskType DiskType) (disk []ecs.Disk, err error)
- func (client *AliyunClient) DescribeEipAddress(allocationId string) (eip vpc.EipAddress, err error)
- func (client *AliyunClient) DescribeEndpointByCode(region string, code ServiceCode) (string, error)
- func (client *AliyunClient) DescribeEssAlarmById(alarmTaskId string) (alarm ess.Alarm, err error)
- func (client *AliyunClient) DescribeFcFunction(service, name string) (function *fc.GetFunctionOutput, err error)
- func (client *AliyunClient) DescribeFcService(name string) (service *fc.GetServiceOutput, err error)
- func (client *AliyunClient) DescribeFcTrigger(service, function, name string) (trigger *fc.GetTriggerOutput, err error)
- func (client *AliyunClient) DescribeForwardEntry(forwardTableId string, forwardEntryId string) (entry vpc.ForwardTableEntry, err error)
- func (client *AliyunClient) DescribeImageById(id string) (image ecs.Image, err error)
- func (client *AliyunClient) DescribeInstanceAttribute(id string) (instance ecs.DescribeInstanceAttributeResponse, err error)
- func (client *AliyunClient) DescribeInstanceById(id string) (instance ecs.Instance, err error)
- func (client *AliyunClient) DescribeKeyPair(keyName string) (keypair ecs.KeyPair, err error)
- func (client *AliyunClient) DescribeLifecycleHookById(hookId string) (hook ess.LifecycleHook, err error)
- func (client *AliyunClient) DescribeLoadBalancerAttribute(slbId string) (loadBalancer *slb.DescribeLoadBalancerAttributeResponse, err error)
- func (client *AliyunClient) DescribeLoadBalancerListenerAttribute(loadBalancerId string, port int, protocol Protocol) (listener map[string]interface{}, err error)
- func (client *AliyunClient) DescribeLoadBalancerRuleAttribute(ruleId string) (*slb.DescribeRuleAttributeResponse, error)
- func (client *AliyunClient) DescribeLoadBalancerRuleId(slbId string, port int, domain, url string) (string, error)
- func (client *AliyunClient) DescribeLogMachineGroup(projectName, groupName string) (group *sls.MachineGroup, err error)
- func (client *AliyunClient) DescribeLogProject(name string) (project *sls.LogProject, err error)
- func (client *AliyunClient) DescribeLogStore(projectName, name string) (store *sls.LogStore, err error)
- func (client *AliyunClient) DescribeLogStoreIndex(projectName, name string) (index *sls.Index, err error)
- func (client *AliyunClient) DescribeMultiIZByRegion() (izs []string, err error)
- func (client *AliyunClient) DescribeNatGateway(natGatewayId string) (nat vpc.NatGateway, err error)
- func (client *AliyunClient) DescribeOtsInstance(name string) (inst ots.InstanceInfo, err error)
- func (client *AliyunClient) DescribeOtsInstanceVpc(name string) (inst ots.VpcInfo, err error)
- func (client *AliyunClient) DescribeOtsTable(instanceName, tableName string) (table *tablestore.DescribeTableResponse, err error)
- func (client *AliyunClient) DescribePvtzZoneInfo(zoneId string) (zone pvtz.DescribeZoneInfoResponse, err error)
- func (client *AliyunClient) DescribeRKVInstanceById(id string) (instance *r_kvstore.DBInstanceAttribute, err error)
- func (client *AliyunClient) DescribeRKVInstancebackupPolicy(id string) (policy *r_kvstore.DescribeBackupPolicyResponse, err error)
- func (client *AliyunClient) DescribeRouterInterface(regionId, interfaceId string) (ri vpc.RouterInterfaceTypeInDescribeRouterInterfaces, err error)
- func (client *AliyunClient) DescribeScalingConfifurations(groupId string) (configs []ess.ScalingConfiguration, err error)
- func (client *AliyunClient) DescribeScalingConfigurationById(configId string) (config ess.ScalingConfiguration, err error)
- func (client *AliyunClient) DescribeScalingGroupById(sgId string) (group ess.ScalingGroup, err error)
- func (client *AliyunClient) DescribeScalingInstances(groupId, configurationId string, instanceIds []string, creationType string) (instances []ess.ScalingInstance, err error)
- func (client *AliyunClient) DescribeScalingRuleById(sgId, ruleId string) (rule ess.ScalingRule, err error)
- func (client *AliyunClient) DescribeScheduleById(scheduleId string) (task ess.ScheduledTask, err error)
- func (client *AliyunClient) DescribeSecurityGroupAttribute(securityGroupId string) (group ecs.DescribeSecurityGroupAttributeResponse, err error)
- func (client *AliyunClient) DescribeSecurityGroupRule(groupId, direction, ipProtocol, portRange, nicType, cidr_ip, policy string, ...) (rule ecs.Permission, err error)
- func (client *AliyunClient) DescribeSlbVServerGroupAttribute(groupId string) (*slb.DescribeVServerGroupAttributeResponse, error)
- func (client *AliyunClient) DescribeSnatEntry(snatTableId string, snatEntryId string) (snat vpc.SnatTableEntry, err error)
- func (client *AliyunClient) DescribeSslVpnClientCert(id string) (v vpc.DescribeSslVpnClientCertResponse, err error)
- func (client *AliyunClient) DescribeSslVpnServer(sslId string) (v vpc.SslVpnServer, err error)
- func (client *AliyunClient) DescribeTags(resourceId string, resourceType TagResourceType) (tags []ecs.Tag, err error)
- func (client *AliyunClient) DescribeVpc(vpcId string) (v vpc.DescribeVpcAttributeResponse, err error)
- func (client *AliyunClient) DescribeVpnConnection(id string) (v vpc.DescribeVpnConnectionResponse, err error)
- func (client *AliyunClient) DescribeVpnGateway(vpnId string) (v vpc.DescribeVpnGatewayResponse, err error)
- func (client *AliyunClient) DescribeVswitch(vswitchId string) (v vpc.DescribeVSwitchAttributesResponse, err error)
- func (client *AliyunClient) DescribeZone(zoneID string) (zone ecs.Zone, err error)
- func (client *AliyunClient) DescribeZoneRecord(recordId int, zoneId string) (record pvtz.Record, err error)
- func (client *AliyunClient) DiskAvailable(zone ecs.Zone, diskCategory DiskCategory) error
- func (client *AliyunClient) EssRemoveInstances(groupId string, instanceIds []string) error
- func (client *AliyunClient) Fcconn() (*fc.Client, error)
- func (client *AliyunClient) GetApplicationClientByClusterName(name string) (c *cs.ProjectClient, err error)
- func (client *AliyunClient) GetCallerIdentity() (*sts.GetCallerIdentityResponse, error)
- func (client *AliyunClient) GetContainerClusterByName(name string) (cluster cs.ClusterType, err error)
- func (client *AliyunClient) GetSecurityIps(instanceId string) ([]string, error)
- func (client *AliyunClient) GrantAccountPrivilege(instanceId, account, dbName, privilege string) error
- func (client *AliyunClient) InstanceTypeValidation(targetType, zoneId string, validZones []ecs.AvailableZone) error
- func (client *AliyunClient) JoinSecurityGroups(instanceId string, securityGroupIds []string) error
- func (client *AliyunClient) JudgeRegionValidation(key, region string) error
- func (client *AliyunClient) JudgeRolePolicyPrincipal(roleName string) error
- func (client *AliyunClient) LeaveSecurityGroups(instanceId string, securityGroupIds []string) error
- func (client *AliyunClient) ModifyDBBackupPolicy(instanceId, backupTime, backupPeriod, retentionPeriod, backupLog, ... string) error
- func (client *AliyunClient) ModifyDBSecurityIps(instanceId, ips string) error
- func (client *AliyunClient) QueryInstanceSystemDisk(id string) (disk ecs.Disk, err error)
- func (client *AliyunClient) QueryInstancesWithKeyPair(instanceIdsStr, keypair string) (instanceIds []string, instances []ecs.Instance, err error)
- func (client *AliyunClient) QueryOssBucketById(id string) (info *oss.BucketInfo, err error)
- func (client *AliyunClient) QueryRouteEntry(routeTableId, cidrBlock, nextHopType, nextHopId string) (rn vpc.RouteEntry, err error)
- func (client *AliyunClient) QueryRouteTableById(routeTableId string) (rt vpc.RouteTable, err error)
- func (client *AliyunClient) ReleaseDBPublicConnection(instanceId, connection string) error
- func (client *AliyunClient) ResourceAvailable(zone ecs.Zone, resourceType ResourceType) error
- func (client *AliyunClient) RevokeAccountPrivilege(instanceId, account, dbName string) error
- func (client *AliyunClient) WaitForAccount(instanceId string, accountName string, status Status, timeout int) error
- func (client *AliyunClient) WaitForAccountPrivilege(instanceId, accountName, dbName, privilege string, timeout int) error
- func (client *AliyunClient) WaitForAccountPrivilegeRevoked(instanceId, accountName, dbName string, timeout int) error
- func (client *AliyunClient) WaitForAllRouteEntries(routeTableId string, status Status, timeout int) error
- func (client *AliyunClient) WaitForCenInstance(cenId string, status Status, timeout int) error
- func (client *AliyunClient) WaitForCmsAlarm(id string, enabled bool, timeout int) error
- func (client *AliyunClient) WaitForContainerApplication(clusterName, appName string, status Status, timeout int) error
- func (client *AliyunClient) WaitForCustomerGateway(id string, status Status, timeout int) error
- func (client *AliyunClient) WaitForDBConnection(instanceId string, netType IPType, timeout int) error
- func (client *AliyunClient) WaitForDBInstance(instanceId string, status Status, timeout int) error
- func (client *AliyunClient) WaitForEcsDisk(diskId string, status Status, timeout int) error
- func (client *AliyunClient) WaitForEcsInstance(instanceId string, status Status, timeout int) error
- func (client *AliyunClient) WaitForEip(allocationId string, status Status, timeout int) error
- func (client *AliyunClient) WaitForListener(loadBalancerId string, port int, protocol Protocol, status Status, timeout int) error
- func (client *AliyunClient) WaitForLoadBalancer(loadBalancerId string, status Status, timeout int) error
- func (client *AliyunClient) WaitForOtsInstance(name string, status Status, timeout int) error
- func (client *AliyunClient) WaitForRKVInstance(instanceId string, status Status, timeout int) error
- func (client *AliyunClient) WaitForRouterInterface(regionId, interfaceId string, status Status, timeout int) error
- func (client *AliyunClient) WaitForScalingGroup(groupId string, status Status, timeout int) error
- func (client *AliyunClient) WaitForSslVpnClientCert(id string, status Status, timeout int) error
- func (client *AliyunClient) WaitForVSwitch(vswitchId string, status Status, timeout int) error
- func (client *AliyunClient) WaitForVpc(vpcId string, status Status, timeout int) error
- func (client *AliyunClient) WaitForVpn(vpnId string, status Status, timeout int) error
- type Catcher
- type CommonRequestDomain
- type ComparisonOperator
- type Config
- type DBAccountPrivilege
- type DBAccountType
- type DestinationResource
- type Direction
- type DiskCategory
- type DiskType
- type Effect
- type Endpoint
- type Endpoints
- type Engine
- type FlagType
- type GroupInnerAccessPolicy
- type GroupRuleNicType
- type GroupRulePolicy
- type HealthCheckHttpCodeType
- type HealthCheckType
- type IPType
- type IkeConfig
- type ImageOwnerAlias
- type IndexFiledType
- type InstanceAccessedByType
- type InstanceCreationType
- type InstanceNetWork
- type InternetChargeType
- type Invoker
- type IpsecConfig
- type KeyState
- type LifecycleRuleStatus
- type LifecycleTransition
- type ListenerErr
- type LoadBalancerSpecType
- type MetricType
- type NatGatewaySpec
- type NetType
- type NetworkType
- type NextHopType
- type OptimizedType
- type OtsInstanceType
- type PayType
- type Period
- type Policy
- type PolicyStatement
- type PrimaryKeyTypeString
- type Principal
- type Product
- type Products
- type Protocol
- type ProviderError
- type RecurrenceType
- type RegionIds
- type RegionalFeature
- type RemoveTagsArgs
- type RenewalStatus
- type ResourceType
- type Role
- type RolePolicy
- type RolePolicyStatement
- type RouterType
- type SchedulerType
- type SecurityGroup
- type ServiceCode
- type Spec
- type SpotStrategyType
- type Statistics
- type Status
- type StickySessionType
- type Tag
- type TagResourceType
- type TimeType
Constants ¶
const ( ClassicNet = InstanceNetWork("classic") VpcNet = InstanceNetWork("vpc") )
const ( PrePaid = PayType("PrePaid") PostPaid = PayType("PostPaid") Prepaid = PayType("Prepaid") Postpaid = PayType("Postpaid") )
const ( Internet = NetType("Internet") Intranet = NetType("Intranet") )
const ( Classic = NetworkType("Classic") Vpc = NetworkType("Vpc") )
const ( Hour = TimeType("Hour") Day = TimeType("Day") Week = TimeType("Week") Month = TimeType("Month") Year = TimeType("Year") )
const ( Pending = Status("Pending") Creating = Status("Creating") Running = Status("Running") Available = Status("Available") Modifying = Status("Modifying") Deleting = Status("Deleting") Starting = Status("Starting") Stopping = Status("Stopping") Stopped = Status("Stopped") Normal = Status("Normal") Changing = Status("Changing") 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") )
const ( Inner = IPType("Inner") Private = IPType("Private") Public = IPType("Public") )
const ( ResourceTypeInstance = ResourceType("Instance") ResourceTypeDisk = ResourceType("Disk") ResourceTypeVSwitch = ResourceType("VSwitch") ResourceTypeRds = ResourceType("Rds") IoOptimized = ResourceType("IoOptimized") ResourceTypeRkv = ResourceType("KVStore") )
const ( PayByBandwidth = InternetChargeType("PayByBandwidth") PayByTraffic = InternetChargeType("PayByTraffic") )
const ( PageSizeSmall = 10 PageSizeMedium = 20 PageSizeLarge = 50 )
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
const ( IOOptimized = OptimizedType("optimized") NoneOptimized = OptimizedType("none") )
const ( TagResourceImage = TagResourceType("image") TagResourceInstance = TagResourceType("instance") TagResourceSnapshot = TagResourceType("snapshot") TagResourceDisk = TagResourceType("disk") )
const ( ECSCode = ServiceCode("ECS") ESSCode = ServiceCode("ESS") RAMCode = ServiceCode("RAM") VPCCode = ServiceCode("VPC") SLBCode = ServiceCode("SLB") RDSCode = ServiceCode("RDS") OSSCode = ServiceCode("OSS") CONTAINCode = ServiceCode("CS") DOMAINCode = ServiceCode("DOMAIN") CDNCode = ServiceCode("CDN") CMSCode = ServiceCode("CMS") KMSCode = ServiceCode("KMS") OTSCode = ServiceCode("OTS") PVTZCode = ServiceCode("PVTZ") LOGCode = ServiceCode("LOG") FCCode = ServiceCode("FC") DDSCode = ServiceCode("DDS") STSCode = ServiceCode("STS") CENCode = ServiceCode("CEN") KVSTORECode = ServiceCode("KVSTORE") )
const ( ECSDomain = CommonRequestDomain("ecs.aliyuncs.com") ESSDomain = CommonRequestDomain("ess.aliyuncs.com") )
const ( // common NotFound = "NotFound" WaitForTimeout = "WaitForTimeout" // ecs InstanceNotFound = "Instance.Notfound" MessageInstanceNotFound = "instance is not found" EcsThrottling = "Throttling" EcsInternalError = "InternalError" // disk InternalError = "InternalError" DependencyViolation = "DependencyViolation" // eip EipIncorrectStatus = "IncorrectEipStatus" InstanceIncorrectStatus = "IncorrectInstanceStatus" HaVipIncorrectStatus = "IncorrectHaVipStatus" COMMODITYINVALID_COMPONENT = "COMMODITY.INVALID_COMPONENT" // slb LoadBalancerNotFound = "InvalidLoadBalancerId.NotFound" UnsupportedProtocalPort = "UnsupportedOperationonfixedprotocalport" ListenerNotFound = "The specified resource does not exist" ListenerAlreadyExists = "ListenerAlreadyExists" SlbOrderFailed = "OrderFailed" VServerGroupNotFoundMessage = "The specified VServerGroupId does not exist" RspoolVipExist = "RspoolVipExist" InvalidParameter = "InvalidParameter" InvalidRuleIdNotFound = "InvalidRuleId.NotFound" RuleDomainExist = "DomainExist" BackendServerConfiguring = "BackendServer.configuring" // security_group InvalidInstanceIdAlreadyExists = "InvalidInstanceId.AlreadyExists" InvalidSecurityGroupIdNotFound = "InvalidSecurityGroupId.NotFound" SgDependencyViolation = "DependencyViolation" //Nat gateway NatGatewayInvalidRegionId = "Invalid.RegionId" DependencyViolationBandwidthPackages = "DependencyViolation.BandwidthPackages" VswitchStatusError = "VswitchStatusError" EIP_NOT_IN_GATEWAY = "EIP_NOT_IN_GATEWAY" InvalidNatGatewayIdNotFound = "InvalidNatGatewayId.NotFound" // vpc VpcQuotaExceeded = "QuotaExceeded.Vpc" InvalidVpcIDNotFound = "InvalidVpcID.NotFound" ForbiddenVpcNotFound = "Forbidden.VpcNotFound" Throttling = "Throttling" // vswitch VswitcInvalidRegionId = "InvalidRegionId.NotFound" InvalidVswitchIDNotFound = "InvalidVswitchID.NotFound" //vroute entry IncorrectRouteEntryStatus = "IncorrectRouteEntryStatus" InvalidStatusRouteEntry = "InvalidStatus.RouteEntry" TaskConflict = "TaskConflict" RouterEntryForbbiden = "Forbbiden" RouterEntryConflictDuplicated = "RouterEntryConflict.Duplicated" InvalidCidrBlockOverlapped = "InvalidCidrBlock.Overlapped" IncorrectOppositeInterfaceInfoNotSet = "IncorrectOppositeInterfaceInfo.NotSet" InvalidSnatTableIdNotFound = "InvalidSnatTableId.NotFound" // Forward InvalidIpNotInNatgw = "InvalidIp.NotInNatgw" InvalidForwardTableIdNotFound = "InvalidForwardTableId.NotFound" InvalidForwardEntryIdNotFound = "InvalidForwardEntryId.NotFound" // ess InvalidScalingGroupIdNotFound = "InvalidScalingGroupId.NotFound" IncorrectScalingConfigurationLifecycleState = "IncorrectScalingConfigurationLifecycleState" IncorrectScalingGroupStatus = "IncorrectScalingGroupStatus" IncorrectCapacityMaxSize = "IncorrectCapacity.MaxSize" IncorrectCapacityMinSize = "IncorrectCapacity.MinSize" ScalingActivityInProgress = "ScalingActivityInProgress" EssThrottling = "Throttling" InvalidScalingRuleIdNotFound = "InvalidScalingRuleId.NotFound" InvalidLifecycleHookIdNotFound = "InvalidLifecycleHookId.NotExist" InvalidEssAlarmTaskNotFound = "404" // rds InvalidDBInstanceIdNotFound = "InvalidDBInstanceId.NotFound" InvalidDBNameNotFound = "InvalidDBName.NotFound" InvalidDBInstanceNameNotFound = "InvalidDBInstanceName.NotFound" InvalidCurrentConnectionStringNotFound = "InvalidCurrentConnectionString.NotFound" NetTypeExists = "NetTypeExists" InvalidAccountNameDuplicate = "InvalidAccountName.Duplicate" InvalidAccountNameNotFound = "InvalidAccountName.NotFound" InvalidConnectionStringDuplicate = "InvalidConnectionString.Duplicate" AtLeastOneNetTypeExists = "AtLeastOneNetTypeExists" ConnectionOperationDenied = "OperationDenied" ConnectionConflictMessage = "The requested resource is sold out in the specified zone; try other types of resources or other regions and zones" DBInternalError = "InternalError" // oss OssBucketNotFound = "NoSuchBucket" OssBodyNotFound = "404 Not Found" NoSuchCORSConfiguration = "NoSuchCORSConfiguration" NoSuchWebsiteConfiguration = "NoSuchWebsiteConfiguration" // RAM Instance Not Found RamInstanceNotFound = "Forbidden.InstanceNotFound" AliyunGoClientFailure = "AliyunGoClientFailure" // dns RecordForbiddenDNSChange = "RecordForbidden.DNSChange" FobiddenNotEmptyGroup = "Fobidden.NotEmptyGroup" DomainRecordNotBelongToUser = "DomainRecordNotBelongToUser" InvalidDomainNotFound = "InvalidDomain.NotFound" InvalidDomainNameNoExist = "InvalidDomainName.NoExist" // ram user DeleteConflictUserGroup = "DeleteConflict.User.Group" DeleteConflictUserAccessKey = "DeleteConflict.User.AccessKey" DeleteConflictUserLoginProfile = "DeleteConflict.User.LoginProfile" DeleteConflictUserMFADevice = "DeleteConflict.User.MFADevice" DeleteConflictUserPolicy = "DeleteConflict.User.Policy" // ram mfa DeleteConflictVirtualMFADeviceUser = "DeleteConflict.VirtualMFADevice.User" // ram group DeleteConflictGroupUser = "DeleteConflict.Group.User" DeleteConflictGroupPolicy = "DeleteConflict.Group.Policy" // ram role DeleteConflictRolePolicy = "DeleteConflict.Role.Policy" // ram policy DeleteConflictPolicyUser = "DeleteConflict.Policy.User" DeleteConflictPolicyGroup = "DeleteConflict.Policy.Group" DeleteConflictPolicyVersion = "DeleteConflict.Policy.Version" //unknown Error UnknownError = "UnknownError" // Keypair error KeyPairNotFound = "InvalidKeyPair.NotFound" // Container ErrorClusterNotFound = "ErrorClusterNotFound" // cdn ServiceBusy = "ServiceBusy" // KMS ForbiddenKeyNotFound = "Forbidden.KeyNotFound" // RAM InvalidRamRoleNotFound = "InvalidRamRole.NotFound" RoleAttachmentUnExpectedJson = "unexpected end of JSON input" InvalidInstanceIdNotFound = "InvalidInstanceId.NotFound" RouterInterfaceIncorrectStatus = "IncorrectStatus" DependencyViolationRouterInterfaceReferedByRouteEntry = "DependencyViolation.RouterInterfaceReferedByRouteEntry" // CS ErrorClusterNameAlreadyExist = "ErrorClusterNameAlreadyExist" ApplicationNotFound = "Not Found" ApplicationErrorIgnore = "Unable to reach primary cluster manager" ApplicationConfirmConflict = "Conflicts with unconfirmed updates for operation" // privatezone ZoneNotExists = "Zone.NotExists" ZoneVpcNotExists = "ZoneVpc.NotExists.VpcId" // log ProjectNotExist = "ProjectNotExist" IndexConfigNotExist = "IndexConfigNotExist" IndexAlreadyExist = "IndexAlreadyExist" LogStoreNotExist = "LogStoreNotExist" InternalServerError = "InternalServerError" GroupNotExist = "GroupNotExist" MachineGroupNotExist = "MachineGroupNotExist" // OTS OTSObjectNotExist = "OTSObjectNotExist" // FC ServiceNotFound = "ServiceNotFound" FunctionNotFound = "FunctionNotFound" TriggerNotFound = "TriggerNotFound" AccessDenied = "AccessDenied" // Vpn VpnNotFound = "InvalidVpnGatewayInstanceId.NotFound" VpnForbidden = "Forbidden" VpnForbiddenRelease = "ForbiddenRelease" VpnForbiddenSubUser = "Forbbiden.SubUser" CgwNotFound = "InvalidCustomerGatewayInstanceId.NotFound" ResQuotaFull = "Resource.QuotaFull" VpnConnNotFound = "InvalidVpnConnectionInstanceId.NotFound" InvalidIpAddress = "InvalidIpAddress.AlreadyExist" SslVpnServerNotFound = "InvalidSslVpnServerId.NotFound" SslVpnClientCertNotFound = "InvalidSslVpnClientCertId.NotFound" VpnConfiguring = "VpnGateway.Configuring" VpnInvalidSpec = "InvalidSpec.NotFound" VpnEnable = "enable" // CEN OperationBlocking = "Operation.Blocking" ParameterCenInstanceIdNotExist = "ParameterCenInstanceId" CenQuotaExceeded = "QuotaExceeded.CenCountExceeded" // kv-store InvalidKVStoreInstanceIdNotFound = "InvalidInstanceId.NotFound" )
const ( Average = "Average" Minimum = "Minimum" Maximum = "Maximum" )
const ( MoreThan = ">" MoreThanOrEqual = ">=" LessThan = "<" LessThanOrEqual = "<=" Equal = "==" NotEqual = "!=" )
const ( GroupRuleInternet = GroupRuleNicType("internet") GroupRuleIntranet = GroupRuleNicType("intranet") )
const ( DirectionIngress = Direction("ingress") DirectionEgress = Direction("egress") )
const ( GroupRulePolicyAccept = GroupRulePolicy("accept") GroupRulePolicyDrop = GroupRulePolicy("drop") )
const ( GroupInnerAccept = GroupInnerAccessPolicy("Accept") GroupInnerDrop = GroupInnerAccessPolicy("Drop") )
const ( NoSpot = SpotStrategyType("NoSpot") SpotWithPriceLimit = SpotStrategyType("SpotWithPriceLimit") SpotAsPriceGo = SpotStrategyType("SpotAsPriceGo") )
Constants of SpotStrategyType
const ( ZoneResource = DestinationResource("Zone") IoOptimizedResource = DestinationResource("IoOptimized") InstanceTypeResource = DestinationResource("InstanceType") SystemDiskResource = DestinationResource("SystemDisk") DataDiskResource = DestinationResource("DataDisk") NetworkResource = DestinationResource("Network") )
const ( KubernetesImageId = "centos_7" KubernetesMasterNumber = 3 )
const ( RenewAutoRenewal = RenewalStatus("AutoRenewal") RenewNormal = RenewalStatus("Normal") RenewNotRenewal = RenewalStatus("NotRenewal") )
const ( DiskTypeAll = DiskType("all") DiskTypeSystem = DiskType("system") DiskTypeData = DiskType("data") )
const ( DiskAll = DiskCategory("all") //Default DiskCloud = DiskCategory("cloud") DiskEphemeralSSD = DiskCategory("ephemeral_ssd") DiskCloudEfficiency = DiskCategory("cloud_efficiency") DiskCloudSSD = DiskCategory("cloud_ssd") )
const ( ImageOwnerSystem = ImageOwnerAlias("system") ImageOwnerSelf = ImageOwnerAlias("self") ImageOwnerOthers = ImageOwnerAlias("others") ImageOwnerMarketplace = ImageOwnerAlias("marketplace") ImageOwnerDefault = ImageOwnerAlias("") //Return the values for system, self, and others )
const ( Gt = ComparisonOperator(">") Gte = ComparisonOperator(">=") Lt = ComparisonOperator("<") Lte = ComparisonOperator("<=") )
const ( Avg = Statistics("Average") Min = Statistics("Minimum") Max = Statistics("Maximum") )
const ( OneMinite = Period(60) TwoMinite = Period(120) FiveMinite = Period(300) FifteenMinite = Period(900) )
const ( System = MetricType("system") Custom = MetricType("custom") )
const ( Continue = ActionResult("CONTINUE") Abandon = ActionResult("ABANDON") )
const ( ScaleOut = LifecycleTransition("SCALE_OUT") ScaleIn = LifecycleTransition("SCALE_IN") )
const ( QuantityChangeInCapacity = AdjustmentType("QuantityChangeInCapacity") PercentChangeInCapacity = AdjustmentType("PercentChangeInCapacity") TotalCapacity = AdjustmentType("TotalCapacity") )
const ( Daily = RecurrenceType("Daily") Weekly = RecurrenceType("Weekly") Monthly = RecurrenceType("Monthly") )
const ( AutoCreated = InstanceCreationType("AutoCreated") Attached = InstanceCreationType("Attached") )
const ( Enabled = KeyState("Enabled") Disabled = KeyState("Disabled") PendingDeletion = KeyState("PendingDeletion") )
const ( TextType = IndexFiledType("text") LongType = IndexFiledType("long") DoubleType = IndexFiledType("double") JsonType = IndexFiledType("json") )
const ( ExpirationStatusEnabled = LifecycleRuleStatus("Enabled") ExpirationStatusDisabled = LifecycleRuleStatus("Disabled") )
const ( IntegerType = PrimaryKeyTypeString("Integer") StringType = PrimaryKeyTypeString("String") BinaryType = PrimaryKeyTypeString("Binary") )
const ( AnyNetwork = InstanceAccessedByType("Any") VpcOnly = InstanceAccessedByType("Vpc") VpcOrConsole = InstanceAccessedByType("ConsoleOrVpc") )
const ( OtsCapacity = OtsInstanceType("Capacity") OtsHighPerformance = OtsInstanceType("HighPerformance") )
const ( MySQL = Engine("MySQL") SQLServer = Engine("SQLServer") PPAS = Engine("PPAS") PostgreSQL = Engine("PostgreSQL") )
const ( ReadOnly = DBAccountPrivilege("ReadOnly") ReadWrite = DBAccountPrivilege("ReadWrite") )
const ( DBAccountNormal = DBAccountType("Normal") DBAccountSuper = DBAccountType("Super") )
const ( WRRScheduler = SchedulerType("wrr") WLCScheduler = SchedulerType("wlc") )
const ( OnFlag = FlagType("on") OffFlag = FlagType("off") )
const ( InsertStickySessionType = StickySessionType("insert") ServerStickySessionType = StickySessionType("server") )
const ( HTTP_2XX = HealthCheckHttpCodeType("http_2xx") HTTP_3XX = HealthCheckHttpCodeType("http_3xx") HTTP_4XX = HealthCheckHttpCodeType("http_4xx") HTTP_5XX = HealthCheckHttpCodeType("http_5xx") )
const ( TCPHealthCheckType = HealthCheckType("tcp") HTTPHealthCheckType = HealthCheckType("http") )
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" )
const ( NatGatewaySmallSpec = NatGatewaySpec("Small") NatGatewayMiddleSpec = NatGatewaySpec("Middle") NatGatewayLargeSpec = NatGatewaySpec("Large") )
const ( EcsInstance = "EcsInstance" SlbInstance = "SlbInstance" Nat = "Nat" HaVip = "HaVip" )
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")) )
const ( NextHopIntance = NextHopType("Instance") //Default NextHopTunnel = NextHopType("Tunnel") NextHopRouterInterface = NextHopType("RouterInterface") NextHopHaVip = NextHopType("HaVip") NextHopVpnGateway = NextHopType("VpnGateway") )
const ( Ssl_Cert_Expiring = Status("expiring-soon") Ssl_Cert_Normal = Status("normal") Ssl_Cert_Expired = Status("expired") )
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_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") )
const ( SlbSpecification = RegionalFeature("SLB_SPECIFICATION") SlbPayByBandwidth = RegionalFeature("SLB_PAY_BY_BANDWIDTH") FunctionCompute = RegionalFeature("FUNCTION_COMPUTE") PrivateZone = RegionalFeature("PRIVATE_ZONE") RdsMultiAZ = RegionalFeature("RDS_MULTI_AZ") ClassicNetwork = RegionalFeature("CLASSIC_NETWORK") )
const AllPortRange = "-1/-1"
const ApiVersion20140515 = "2014-05-15"
const ApiVersion20140526 = "2014-05-26"
const ApiVersion20140828 = "2014-08-28"
const ApiVersion20160428 = "2016-04-28"
const ApiVersion20160815 = "2016-08-15"
const BackendServerPort = -520
const BusinessInfoKey = "Terraform"
const COLON_SEPARATED = ":"
const COMMA_SEPARATED = ","
const CharityPageUrl = "http://promotion.alicdn.com/help/oss/error.html"
const DBConnectionSuffix = ".mysql.rds.aliyuncs.com"
const DB_DEFAULT_CONNECT_PORT = "3306"
default connect port of db
const DEFAULT_REGION = "cn-beijing"
default region for all resource
const DOT_SEPARATED = "."
const DefaultIntervalLong = 20
const DefaultIntervalMedium = 10
const DefaultIntervalShort = 5
const DefaultLongTimeout = 1000
timeout for long time progerss product, rds e.g.
const DefaultTimeout = 120
timeout for common product, ecs e.g.
const DefaultTimeoutMedium = 500
const GenerationFour = "ecs-4"
const GenerationOne = "ecs-1"
const GenerationThree = "ecs-3"
const GenerationTwo = "ecs-2"
const INT_MAX = 2147483647
const LOCAL_HOST_IP = "127.0.0.1"
const MULTI_IZ_SYMBOL = "MAZ"
symbol of multiIZ
const ScalingGroup = "scaling_group"
const ServerSideEncryptionAes256 = "AES256"
const UserId = "userId"
Variables ¶
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",
}
var CHARACTER_SET_NAME = []string{
"utf8", "gbk", "latin1", "utf8mb4",
"Chinese_PRC_CI_AS", "Chinese_PRC_CS_AS", "SQL_Latin1_General_CP1_CI_AS", "SQL_Latin1_General_CP1_CS_AS", "Chinese_PRC_BIN",
}
var ClientErrorCatcher = Catcher{AliyunGoClientFailure, 10, 5}
var DiskInvalidOperation = []string{"IncorrectDiskStatus", "IncorrectInstanceStatus", "OperationConflict", InternalError, "InvalidOperation.Conflict", "IncorrectDiskStatus.Initializing"}
var EcsNotFound = []string{"InvalidInstanceId.NotFound", "Forbidden.InstanceNotFound"}
var HalfIoOptimizedFamily = map[string]string{"ecs.s2": "", "ecs.s3": "", "ecs.m1": "", "ecs.m2": "", "ecs.c1": "", "ecs.c2": ""}
var NoneIoOptimizedFamily = map[string]string{"ecs.t1": "", "ecs.t2": "", "ecs.s1": ""}
var NoneIoOptimizedInstanceType = map[string]string{"ecs.s2.small": ""}
var OperationDeniedDBStatus = []string{"OperationDenied.DBStatus", "OperationDenied.DBInstanceStatus", DBInternalError}
var OutdatedDiskCategory = map[DiskCategory]DiskCategory{ DiskCloud: DiskCloud}
var ServiceBusyCatcher = Catcher{"ServiceUnavailable", 10, 5}
var SlbIsBusy = []string{"SystemBusy", "OperationBusy", "ServiceIsStopping", "BackendServer.configuring", "ServiceIsConfiguring"}
var SupportedDiskCategory = map[DiskCategory]DiskCategory{ DiskCloudSSD: DiskCloudSSD, DiskCloudEfficiency: DiskCloudEfficiency, DiskEphemeralSSD: DiskEphemeralSSD, DiskCloud: DiskCloud, }
var ThrottlingCatcher = Catcher{Throttling, 10, 10}
ValidProtocols network protocol list
var WEEK_ENUM = []string{"Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"}
Functions ¶
func AssembleIkeConfig ¶ added in v1.14.0
func AssembleIpsecConfig ¶ added in v1.14.0
func AssembleNetworkSubnetToString ¶ added in v1.14.0
func AssembleNetworkSubnetToString(list []interface{}) string
func AssemblePolicyDocument ¶ added in v1.2.0
func AssembleRolePolicyDocument ¶ added in v1.2.0
func BoolPointer ¶ added in v1.10.0
func BuildCmsCommonRequest ¶ added in v1.9.1
func BuildCmsCommonRequest(region string) *requests.CommonRequest
func CommonRequestInit ¶ added in v1.9.4
func CommonRequestInit(region string, code ServiceCode, domain CommonRequestDomain) *requests.CommonRequest
func CompareJsonTemplateAreEquivalent ¶ added in v1.9.6
func CompareYmalTemplateAreEquivalent ¶ added in v1.9.6
func ConvertIntegerToInt ¶ added in v1.9.4
func EssCommonRequestInit ¶ added in v1.9.4
func EssCommonRequestInit(region string, code ServiceCode, domain CommonRequestDomain) *requests.CommonRequest
func GetAllRouterInterfaceSpec ¶ added in v0.1.1
func GetAllRouterInterfaceSpec() (specifications []string)
func GetIntersection ¶ added in v1.2.0
func GetNotFoundMessage ¶ added in v1.8.1
func GetTimeErrorFromString ¶ added in v1.8.1
func GetTimeoutMessage ¶ added in v1.8.1
func GetUserHomeDir ¶ added in v1.9.4
func Int32Pointer ¶ added in v1.10.0
func IsExceptedError ¶ added in v0.1.1
func IsExceptedErrors ¶ added in v1.9.2
func LoadEndpoint ¶ added in v1.9.2
func LoadEndpoint(region string, serviceCode ServiceCode) string
func NotFoundDBInstance ¶ added in v1.8.0
func NotFoundError ¶ added in v0.1.1
func ParseIkeConfig ¶ added in v1.14.0
func ParseIpsecConfig ¶ added in v1.14.0
func ParseIpsecConfig(ipsec vpc.IpsecConfig) (ipsecConfigs []map[string]interface{})
func ParsePolicyDocument ¶ added in v1.2.0
func Provider ¶
func Provider() terraform.ResourceProvider
Provider returns a schema.Provider for alicloud
func RamEntityNotExist ¶ added in v1.2.0
func RemoveTags ¶
func RemoveTags(client *ecs.Client, args *RemoveTagsArgs) error
func StringPointer ¶ added in v1.10.0
func TransformPeriod2Time ¶
turn period to TimeType
func TransformTime2Period ¶
turn TimeType to Period
func VSwitchesDecriptionAttributes ¶ added in v1.7.2
func VSwitchesDecriptionAttributes(d *schema.ResourceData, vsws []vpc.VSwitch, meta interface{}) error
Types ¶
type ActionResult ¶ added in v1.13.0
type ActionResult string
type AddTagsArgs ¶
type AdjustmentType ¶ added in v1.9.4
type AdjustmentType string
type AliyunClient ¶
type AliyunClient struct { Region common.Region RegionId string //In order to build ots table client, add accesskey and secretkey in aliyunclient temporarily. AccessKey string SecretKey string SecurityToken string OtsInstanceName string // contains filtered or unexported fields }
AliyunClient of aliyun
func (*AliyunClient) AccountId ¶ added in v1.10.0
func (client *AliyunClient) AccountId() (string, error)
func (*AliyunClient) ActivateRouterInterface ¶ added in v1.12.0
func (client *AliyunClient) ActivateRouterInterface(interfaceId string) error
func (*AliyunClient) ActiveScalingConfigurationById ¶
func (client *AliyunClient) ActiveScalingConfigurationById(sgId, configId string) error
func (*AliyunClient) AllocateDBPublicConnection ¶
func (client *AliyunClient) AllocateDBPublicConnection(instanceId, prefix, port string) error
func (*AliyunClient) AttachKeyPair ¶ added in v1.11.0
func (client *AliyunClient) AttachKeyPair(keyname string, instanceIds []interface{}) error
func (*AliyunClient) BuildCmsAlarmRequest ¶ added in v1.9.1
func (client *AliyunClient) BuildCmsAlarmRequest(id string) *requests.CommonRequest
func (*AliyunClient) BuildSlbCommonRequest ¶ added in v1.12.0
func (client *AliyunClient) BuildSlbCommonRequest() *requests.CommonRequest
func (*AliyunClient) BuildVpcCommonRequest ¶ added in v1.12.0
func (client *AliyunClient) BuildVpcCommonRequest(region string) *requests.CommonRequest
func (*AliyunClient) DeactivateRouterInterface ¶ added in v1.12.0
func (client *AliyunClient) DeactivateRouterInterface(interfaceId string) error
func (*AliyunClient) DeleteOtsTable ¶ added in v1.10.0
func (client *AliyunClient) DeleteOtsTable(instanceName, tableName string) (bool, error)
func (*AliyunClient) DeleteScalingGroupById ¶
func (client *AliyunClient) DeleteScalingGroupById(sgId string) error
func (*AliyunClient) DeleteScalingRuleById ¶
func (client *AliyunClient) DeleteScalingRuleById(ruleId string) error
func (*AliyunClient) DeleteScheduleById ¶
func (client *AliyunClient) DeleteScheduleById(scheduleId string) error
func (*AliyunClient) DescribeAlarm ¶ added in v1.9.1
func (client *AliyunClient) DescribeAlarm(id string) (alarm cms.AlarmInListAlarm, err error)
func (*AliyunClient) DescribeAvailableResources ¶ added in v1.9.3
func (client *AliyunClient) DescribeAvailableResources(d *schema.ResourceData, meta interface{}, destination DestinationResource) (zoneId string, validZones []ecs.AvailableZone, err error)
func (*AliyunClient) DescribeBackupPolicy ¶ added in v1.8.0
func (client *AliyunClient) DescribeBackupPolicy(instanceId string) (policy *rds.DescribeBackupPolicyResponse, err error)
func (*AliyunClient) DescribeCenInstance ¶ added in v1.15.0
func (client *AliyunClient) DescribeCenInstance(cenId string) (c cbn.Cen, err error)
func (*AliyunClient) DescribeContainerApplication ¶ added in v1.9.1
func (client *AliyunClient) DescribeContainerApplication(clusterName, appName string) (app cs.GetProjectResponse, err error)
func (*AliyunClient) DescribeCustomerGateway ¶ added in v1.13.0
func (client *AliyunClient) DescribeCustomerGateway(cgwId string) (v vpc.DescribeCustomerGatewayResponse, err error)
func (*AliyunClient) DescribeDBInstanceById ¶
func (client *AliyunClient) DescribeDBInstanceById(id string) (instance *rds.DBInstanceAttribute, err error)
_______________ _______________ _______________ | | ______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.
func (*AliyunClient) DescribeDBInstanceNetInfoByIpType ¶ added in v1.5.0
func (client *AliyunClient) DescribeDBInstanceNetInfoByIpType(instanceId string, ipType IPType) (*rds.DBInstanceNetInfo, error)
func (*AliyunClient) DescribeDBInstanceNetInfos ¶ added in v1.5.0
func (client *AliyunClient) DescribeDBInstanceNetInfos(instanceId string) ([]rds.DBInstanceNetInfo, error)
func (*AliyunClient) DescribeDBSecurityIps ¶
func (client *AliyunClient) DescribeDBSecurityIps(instanceId string) (ips []rds.DBInstanceIPArray, err error)
func (*AliyunClient) DescribeDatabaseAccount ¶ added in v1.5.0
func (client *AliyunClient) DescribeDatabaseAccount(instanceId, accountName string) (ds *rds.DBInstanceAccount, err error)
func (*AliyunClient) DescribeDatabaseByName ¶
func (client *AliyunClient) DescribeDatabaseByName(instanceId, dbName string) (ds *rds.Database, err error)
func (*AliyunClient) DescribeDiskById ¶ added in v1.9.4
func (client *AliyunClient) DescribeDiskById(instanceId, diskId string) (disk ecs.Disk, err error)
func (*AliyunClient) DescribeDisksByType ¶ added in v1.9.4
func (*AliyunClient) DescribeEipAddress ¶
func (client *AliyunClient) DescribeEipAddress(allocationId string) (eip vpc.EipAddress, err error)
func (*AliyunClient) DescribeEndpointByCode ¶ added in v1.12.0
func (client *AliyunClient) DescribeEndpointByCode(region string, code ServiceCode) (string, error)
func (*AliyunClient) DescribeEssAlarmById ¶ added in v1.15.0
func (client *AliyunClient) DescribeEssAlarmById(alarmTaskId string) (alarm ess.Alarm, err error)
func (*AliyunClient) DescribeFcFunction ¶ added in v1.10.0
func (client *AliyunClient) DescribeFcFunction(service, name string) (function *fc.GetFunctionOutput, err error)
func (*AliyunClient) DescribeFcService ¶ added in v1.10.0
func (client *AliyunClient) DescribeFcService(name string) (service *fc.GetServiceOutput, err error)
func (*AliyunClient) DescribeFcTrigger ¶ added in v1.10.0
func (client *AliyunClient) DescribeFcTrigger(service, function, name string) (trigger *fc.GetTriggerOutput, err error)
func (*AliyunClient) DescribeForwardEntry ¶
func (client *AliyunClient) DescribeForwardEntry(forwardTableId string, forwardEntryId string) (entry vpc.ForwardTableEntry, err error)
func (*AliyunClient) DescribeImageById ¶ added in v1.9.4
func (client *AliyunClient) DescribeImageById(id string) (image ecs.Image, err error)
func (*AliyunClient) DescribeInstanceAttribute ¶ added in v1.9.4
func (client *AliyunClient) DescribeInstanceAttribute(id string) (instance ecs.DescribeInstanceAttributeResponse, err error)
func (*AliyunClient) DescribeInstanceById ¶ added in v1.9.4
func (client *AliyunClient) DescribeInstanceById(id string) (instance ecs.Instance, err error)
func (*AliyunClient) DescribeKeyPair ¶ added in v1.9.4
func (client *AliyunClient) DescribeKeyPair(keyName string) (keypair ecs.KeyPair, err error)
func (*AliyunClient) DescribeLifecycleHookById ¶ added in v1.13.0
func (client *AliyunClient) DescribeLifecycleHookById(hookId string) (hook ess.LifecycleHook, err error)
func (*AliyunClient) DescribeLoadBalancerAttribute ¶
func (client *AliyunClient) DescribeLoadBalancerAttribute(slbId string) (loadBalancer *slb.DescribeLoadBalancerAttributeResponse, err error)
func (*AliyunClient) DescribeLoadBalancerListenerAttribute ¶ added in v1.11.0
func (*AliyunClient) DescribeLoadBalancerRuleAttribute ¶ added in v1.9.6
func (client *AliyunClient) DescribeLoadBalancerRuleAttribute(ruleId string) (*slb.DescribeRuleAttributeResponse, error)
func (*AliyunClient) DescribeLoadBalancerRuleId ¶ added in v1.7.0
func (*AliyunClient) DescribeLogMachineGroup ¶ added in v1.9.5
func (client *AliyunClient) DescribeLogMachineGroup(projectName, groupName string) (group *sls.MachineGroup, err error)
func (*AliyunClient) DescribeLogProject ¶ added in v1.9.5
func (client *AliyunClient) DescribeLogProject(name string) (project *sls.LogProject, err error)
func (*AliyunClient) DescribeLogStore ¶ added in v1.9.5
func (client *AliyunClient) DescribeLogStore(projectName, name string) (store *sls.LogStore, err error)
func (*AliyunClient) DescribeLogStoreIndex ¶ added in v1.9.5
func (client *AliyunClient) DescribeLogStoreIndex(projectName, name string) (index *sls.Index, err error)
func (*AliyunClient) DescribeMultiIZByRegion ¶
func (client *AliyunClient) DescribeMultiIZByRegion() (izs []string, err error)
return multiIZ list of current region
func (*AliyunClient) DescribeNatGateway ¶
func (client *AliyunClient) DescribeNatGateway(natGatewayId string) (nat vpc.NatGateway, err error)
func (*AliyunClient) DescribeOtsInstance ¶ added in v1.10.0
func (client *AliyunClient) DescribeOtsInstance(name string) (inst ots.InstanceInfo, err error)
func (*AliyunClient) DescribeOtsInstanceVpc ¶ added in v1.10.0
func (client *AliyunClient) DescribeOtsInstanceVpc(name string) (inst ots.VpcInfo, err error)
func (*AliyunClient) DescribeOtsTable ¶ added in v1.10.0
func (client *AliyunClient) DescribeOtsTable(instanceName, tableName string) (table *tablestore.DescribeTableResponse, err error)
func (*AliyunClient) DescribePvtzZoneInfo ¶ added in v1.13.0
func (client *AliyunClient) DescribePvtzZoneInfo(zoneId string) (zone pvtz.DescribeZoneInfoResponse, err error)
func (*AliyunClient) DescribeRKVInstanceById ¶ added in v1.15.0
func (client *AliyunClient) DescribeRKVInstanceById(id string) (instance *r_kvstore.DBInstanceAttribute, err error)
func (*AliyunClient) DescribeRKVInstancebackupPolicy ¶ added in v1.15.0
func (client *AliyunClient) DescribeRKVInstancebackupPolicy(id string) (policy *r_kvstore.DescribeBackupPolicyResponse, err error)
func (*AliyunClient) DescribeRouterInterface ¶ added in v1.8.1
func (client *AliyunClient) DescribeRouterInterface(regionId, interfaceId string) (ri vpc.RouterInterfaceTypeInDescribeRouterInterfaces, err error)
func (*AliyunClient) DescribeScalingConfifurations ¶ added in v1.9.4
func (client *AliyunClient) DescribeScalingConfifurations(groupId string) (configs []ess.ScalingConfiguration, err error)
func (*AliyunClient) DescribeScalingConfigurationById ¶
func (client *AliyunClient) DescribeScalingConfigurationById(configId string) (config ess.ScalingConfiguration, err error)
func (*AliyunClient) DescribeScalingGroupById ¶
func (client *AliyunClient) DescribeScalingGroupById(sgId string) (group ess.ScalingGroup, err error)
func (*AliyunClient) DescribeScalingInstances ¶ added in v1.9.4
func (client *AliyunClient) DescribeScalingInstances(groupId, configurationId string, instanceIds []string, creationType string) (instances []ess.ScalingInstance, err error)
func (*AliyunClient) DescribeScalingRuleById ¶
func (client *AliyunClient) DescribeScalingRuleById(sgId, ruleId string) (rule ess.ScalingRule, err error)
func (*AliyunClient) DescribeScheduleById ¶
func (client *AliyunClient) DescribeScheduleById(scheduleId string) (task ess.ScheduledTask, err error)
func (*AliyunClient) DescribeSecurityGroupAttribute ¶ added in v1.9.4
func (client *AliyunClient) DescribeSecurityGroupAttribute(securityGroupId string) (group ecs.DescribeSecurityGroupAttributeResponse, err error)
func (*AliyunClient) DescribeSecurityGroupRule ¶
func (client *AliyunClient) DescribeSecurityGroupRule(groupId, direction, ipProtocol, portRange, nicType, cidr_ip, policy string, priority int) (rule ecs.Permission, err error)
func (*AliyunClient) DescribeSlbVServerGroupAttribute ¶ added in v1.9.6
func (client *AliyunClient) DescribeSlbVServerGroupAttribute(groupId string) (*slb.DescribeVServerGroupAttributeResponse, error)
func (*AliyunClient) DescribeSnatEntry ¶
func (client *AliyunClient) DescribeSnatEntry(snatTableId string, snatEntryId string) (snat vpc.SnatTableEntry, err error)
func (*AliyunClient) DescribeSslVpnClientCert ¶ added in v1.13.0
func (client *AliyunClient) DescribeSslVpnClientCert(id string) (v vpc.DescribeSslVpnClientCertResponse, err error)
func (*AliyunClient) DescribeSslVpnServer ¶ added in v1.15.0
func (client *AliyunClient) DescribeSslVpnServer(sslId string) (v vpc.SslVpnServer, err error)
func (*AliyunClient) DescribeTags ¶ added in v1.9.4
func (client *AliyunClient) DescribeTags(resourceId string, resourceType TagResourceType) (tags []ecs.Tag, err error)
func (*AliyunClient) DescribeVpc ¶
func (client *AliyunClient) DescribeVpc(vpcId string) (v vpc.DescribeVpcAttributeResponse, err error)
func (*AliyunClient) DescribeVpnConnection ¶ added in v1.13.0
func (client *AliyunClient) DescribeVpnConnection(id string) (v vpc.DescribeVpnConnectionResponse, err error)
func (*AliyunClient) DescribeVpnGateway ¶ added in v1.13.0
func (client *AliyunClient) DescribeVpnGateway(vpnId string) (v vpc.DescribeVpnGatewayResponse, err error)
func (*AliyunClient) DescribeVswitch ¶ added in v1.8.1
func (client *AliyunClient) DescribeVswitch(vswitchId string) (v vpc.DescribeVSwitchAttributesResponse, err error)
func (*AliyunClient) DescribeZone ¶
func (client *AliyunClient) DescribeZone(zoneID string) (zone ecs.Zone, err error)
DescribeZone validate zoneId is valid in region
func (*AliyunClient) DescribeZoneRecord ¶ added in v1.13.0
func (*AliyunClient) DiskAvailable ¶
func (client *AliyunClient) DiskAvailable(zone ecs.Zone, diskCategory DiskCategory) error
func (*AliyunClient) EssRemoveInstances ¶ added in v1.7.0
func (client *AliyunClient) EssRemoveInstances(groupId string, instanceIds []string) error
func (*AliyunClient) Fcconn ¶ added in v1.15.0
func (client *AliyunClient) Fcconn() (*fc.Client, error)
func (*AliyunClient) GetApplicationClientByClusterName ¶ added in v1.9.1
func (client *AliyunClient) GetApplicationClientByClusterName(name string) (c *cs.ProjectClient, err error)
func (*AliyunClient) GetCallerIdentity ¶ added in v1.15.0
func (client *AliyunClient) GetCallerIdentity() (*sts.GetCallerIdentityResponse, error)
func (*AliyunClient) GetContainerClusterByName ¶ added in v1.9.1
func (client *AliyunClient) GetContainerClusterByName(name string) (cluster cs.ClusterType, err error)
func (*AliyunClient) GetSecurityIps ¶
func (client *AliyunClient) GetSecurityIps(instanceId string) ([]string, error)
func (*AliyunClient) GrantAccountPrivilege ¶ added in v1.5.0
func (client *AliyunClient) GrantAccountPrivilege(instanceId, account, dbName, privilege string) error
func (*AliyunClient) InstanceTypeValidation ¶ added in v1.9.3
func (client *AliyunClient) InstanceTypeValidation(targetType, zoneId string, validZones []ecs.AvailableZone) error
func (*AliyunClient) JoinSecurityGroups ¶
func (client *AliyunClient) JoinSecurityGroups(instanceId string, securityGroupIds []string) error
func (*AliyunClient) JudgeRegionValidation ¶ added in v0.1.1
func (client *AliyunClient) JudgeRegionValidation(key, region string) error
func (*AliyunClient) JudgeRolePolicyPrincipal ¶ added in v1.2.0
func (client *AliyunClient) JudgeRolePolicyPrincipal(roleName string) error
Judge whether the role policy contains service "ecs.aliyuncs.com"
func (*AliyunClient) LeaveSecurityGroups ¶
func (client *AliyunClient) LeaveSecurityGroups(instanceId string, securityGroupIds []string) error
func (*AliyunClient) ModifyDBBackupPolicy ¶ added in v1.8.0
func (client *AliyunClient) ModifyDBBackupPolicy(instanceId, backupTime, backupPeriod, retentionPeriod, backupLog, LogBackupRetentionPeriod string) error
func (*AliyunClient) ModifyDBSecurityIps ¶
func (client *AliyunClient) ModifyDBSecurityIps(instanceId, ips string) error
func (*AliyunClient) QueryInstanceSystemDisk ¶
func (client *AliyunClient) QueryInstanceSystemDisk(id string) (disk ecs.Disk, err error)
func (*AliyunClient) QueryInstancesWithKeyPair ¶ added in v0.1.1
func (*AliyunClient) QueryOssBucketById ¶ added in v0.1.1
func (client *AliyunClient) QueryOssBucketById(id string) (info *oss.BucketInfo, err error)
func (*AliyunClient) QueryRouteEntry ¶
func (client *AliyunClient) QueryRouteEntry(routeTableId, cidrBlock, nextHopType, nextHopId string) (rn vpc.RouteEntry, err error)
func (*AliyunClient) QueryRouteTableById ¶
func (client *AliyunClient) QueryRouteTableById(routeTableId string) (rt vpc.RouteTable, err error)
func (*AliyunClient) ReleaseDBPublicConnection ¶ added in v1.5.0
func (client *AliyunClient) ReleaseDBPublicConnection(instanceId, connection string) error
func (*AliyunClient) ResourceAvailable ¶
func (client *AliyunClient) ResourceAvailable(zone ecs.Zone, resourceType ResourceType) error
ResourceAvailable check resource available for zone
func (*AliyunClient) RevokeAccountPrivilege ¶ added in v1.5.0
func (client *AliyunClient) RevokeAccountPrivilege(instanceId, account, dbName string) error
func (*AliyunClient) WaitForAccount ¶ added in v1.8.0
func (*AliyunClient) WaitForAccountPrivilege ¶ added in v1.8.0
func (client *AliyunClient) WaitForAccountPrivilege(instanceId, accountName, dbName, privilege string, timeout int) error
func (*AliyunClient) WaitForAccountPrivilegeRevoked ¶ added in v1.8.0
func (client *AliyunClient) WaitForAccountPrivilegeRevoked(instanceId, accountName, dbName string, timeout int) error
func (*AliyunClient) WaitForAllRouteEntries ¶ added in v1.8.1
func (client *AliyunClient) WaitForAllRouteEntries(routeTableId string, status Status, timeout int) error
func (*AliyunClient) WaitForCenInstance ¶ added in v1.15.0
func (client *AliyunClient) WaitForCenInstance(cenId string, status Status, timeout int) error
func (*AliyunClient) WaitForCmsAlarm ¶ added in v1.9.1
func (client *AliyunClient) WaitForCmsAlarm(id string, enabled bool, timeout int) error
func (*AliyunClient) WaitForContainerApplication ¶ added in v1.9.1
func (client *AliyunClient) WaitForContainerApplication(clusterName, appName string, status Status, timeout int) error
func (*AliyunClient) WaitForCustomerGateway ¶ added in v1.13.0
func (client *AliyunClient) WaitForCustomerGateway(id string, status Status, timeout int) error
func (*AliyunClient) WaitForDBConnection ¶ added in v1.8.0
func (client *AliyunClient) WaitForDBConnection(instanceId string, netType IPType, timeout int) error
func (*AliyunClient) WaitForDBInstance ¶ added in v1.8.0
func (client *AliyunClient) WaitForDBInstance(instanceId string, status Status, timeout int) error
WaitForInstance waits for instance to given status
func (*AliyunClient) WaitForEcsDisk ¶ added in v1.9.4
func (client *AliyunClient) WaitForEcsDisk(diskId string, status Status, timeout int) error
WaitForInstance waits for instance to given status
func (*AliyunClient) WaitForEcsInstance ¶ added in v1.9.4
func (client *AliyunClient) WaitForEcsInstance(instanceId string, status Status, timeout int) error
WaitForInstance waits for instance to given status
func (*AliyunClient) WaitForEip ¶ added in v1.8.1
func (client *AliyunClient) WaitForEip(allocationId string, status Status, timeout int) error
func (*AliyunClient) WaitForListener ¶ added in v1.11.0
func (*AliyunClient) WaitForLoadBalancer ¶ added in v1.11.0
func (client *AliyunClient) WaitForLoadBalancer(loadBalancerId string, status Status, timeout int) error
func (*AliyunClient) WaitForOtsInstance ¶ added in v1.10.0
func (client *AliyunClient) WaitForOtsInstance(name string, status Status, timeout int) error
func (*AliyunClient) WaitForRKVInstance ¶ added in v1.15.0
func (client *AliyunClient) WaitForRKVInstance(instanceId string, status Status, timeout int) error
func (*AliyunClient) WaitForRouterInterface ¶ added in v1.8.1
func (client *AliyunClient) WaitForRouterInterface(regionId, interfaceId string, status Status, timeout int) error
func (*AliyunClient) WaitForScalingGroup ¶ added in v1.9.4
func (client *AliyunClient) WaitForScalingGroup(groupId string, status Status, timeout int) error
WaitForScalingGroup waits for group to given status
func (*AliyunClient) WaitForSslVpnClientCert ¶ added in v1.13.0
func (client *AliyunClient) WaitForSslVpnClientCert(id string, status Status, timeout int) error
func (*AliyunClient) WaitForVSwitch ¶ added in v1.8.1
func (client *AliyunClient) WaitForVSwitch(vswitchId string, status Status, timeout int) error
func (*AliyunClient) WaitForVpc ¶ added in v1.8.1
func (client *AliyunClient) WaitForVpc(vpcId string, status Status, timeout int) error
func (*AliyunClient) WaitForVpn ¶ added in v1.13.0
func (client *AliyunClient) WaitForVpn(vpnId string, status Status, timeout int) error
type CommonRequestDomain ¶ added in v1.9.4
type CommonRequestDomain string
type ComparisonOperator ¶ added in v1.15.0
type ComparisonOperator string
type Config ¶
type Config struct { AccessKey string SecretKey string Region common.Region RegionId string SecurityToken string OtsInstanceName string LogEndpoint string AccountId string FcEndpoint string }
Config of aliyun
type DBAccountPrivilege ¶ added in v1.8.0
type DBAccountPrivilege string
type DBAccountType ¶ added in v1.8.0
type DBAccountType string
type DestinationResource ¶ added in v1.9.3
type DestinationResource string
type DiskCategory ¶ added in v1.9.4
type DiskCategory string
type GroupInnerAccessPolicy ¶ added in v1.9.4
type GroupInnerAccessPolicy string
type GroupRuleNicType ¶
type GroupRuleNicType string
type GroupRulePolicy ¶
type GroupRulePolicy string
type HealthCheckHttpCodeType ¶ added in v1.11.0
type HealthCheckHttpCodeType string
type HealthCheckType ¶ added in v1.11.0
type HealthCheckType string
type ImageOwnerAlias ¶ added in v1.9.4
type ImageOwnerAlias string
type IndexFiledType ¶ added in v1.9.5
type IndexFiledType string
type InstanceAccessedByType ¶ added in v1.10.0
type InstanceAccessedByType string
type InstanceCreationType ¶ added in v1.9.4
type InstanceCreationType string
type InstanceNetWork ¶
type InstanceNetWork string
type InternetChargeType ¶ added in v1.8.1
type InternetChargeType string
type Invoker ¶ added in v1.9.6
type Invoker struct {
// contains filtered or unexported fields
}
func NewInvoker ¶ added in v1.9.6
func NewInvoker() Invoker
func (*Invoker) AddCatcher ¶ added in v1.9.6
type IpsecConfig ¶ added in v1.14.0
type LifecycleRuleStatus ¶ added in v0.1.1
type LifecycleRuleStatus string
type LifecycleTransition ¶ added in v1.13.0
type LifecycleTransition string
type ListenerErr ¶
func (*ListenerErr) Error ¶
func (e *ListenerErr) Error() string
type LoadBalancerSpecType ¶ added in v1.11.0
type LoadBalancerSpecType string
type MetricType ¶ added in v1.15.0
type MetricType string
type NatGatewaySpec ¶ added in v1.8.1
type NatGatewaySpec string
type NetworkType ¶ added in v1.8.0
type NetworkType string
type NextHopType ¶ added in v1.9.4
type NextHopType string
type OptimizedType ¶ added in v1.9.3
type OptimizedType string
type OtsInstanceType ¶ added in v1.10.0
type OtsInstanceType string
type Policy ¶ added in v1.2.0
type Policy struct { Statement []PolicyStatement Version string }
type PolicyStatement ¶ added in v1.2.0
type PolicyStatement struct { Effect Effect Action interface{} Resource interface{} }
type PrimaryKeyTypeString ¶ added in v1.9.2
type PrimaryKeyTypeString string
type ProviderError ¶ added in v1.8.1
type ProviderError struct {
// contains filtered or unexported fields
}
An Error represents a custom error for Terraform failure response
func (*ProviderError) Error ¶ added in v1.8.1
func (e *ProviderError) Error() string
func (*ProviderError) ErrorCode ¶ added in v1.8.1
func (err *ProviderError) ErrorCode() string
func (*ProviderError) Message ¶ added in v1.8.1
func (err *ProviderError) Message() string
type RecurrenceType ¶ added in v1.9.4
type RecurrenceType string
type RegionalFeature ¶ added in v1.14.0
type RegionalFeature string
type RemoveTagsArgs ¶
type RenewalStatus ¶ added in v1.9.3
type RenewalStatus string
type ResourceType ¶ added in v1.8.0
type ResourceType string
type RolePolicy ¶ added in v1.2.0
type RolePolicy struct { Statement []RolePolicyStatement Version string }
func ParseRolePolicyDocument ¶ added in v1.2.0
func ParseRolePolicyDocument(policyDocument string) (RolePolicy, error)
type RolePolicyStatement ¶ added in v1.2.0
type RouterType ¶ added in v1.8.1
type RouterType string
type SchedulerType ¶ added in v1.11.0
type SchedulerType string
type SecurityGroup ¶ added in v1.9.0
type SecurityGroup struct { Attributes ecs.DescribeSecurityGroupAttributeResponse CreationTime string }
type ServiceCode ¶ added in v1.9.2
type ServiceCode string
Load endpoints from endpoints.xml or environment variables to meet specified application scenario, like private cloud.
type SpotStrategyType ¶ added in v1.9.4
type SpotStrategyType string
type Statistics ¶ added in v1.15.0
type Statistics string
type StickySessionType ¶ added in v1.11.0
type StickySessionType string
type TagResourceType ¶ added in v1.9.4
type TagResourceType string
Source Files ¶
- common.go
- config.go
- data_source_alicloud_account.go
- data_source_alicloud_common.go
- data_source_alicloud_db_instances.go
- data_source_alicloud_dns_domains.go
- data_source_alicloud_dns_groups.go
- data_source_alicloud_dns_records.go
- data_source_alicloud_eips.go
- data_source_alicloud_images.go
- data_source_alicloud_instance_types.go
- data_source_alicloud_instances.go
- data_source_alicloud_key_pairs.go
- data_source_alicloud_kms_keys.go
- data_source_alicloud_kvstore_instances.go
- data_source_alicloud_mongo_instances.go
- data_source_alicloud_pvtz_zone_records.go
- data_source_alicloud_pvtz_zones.go
- data_source_alicloud_ram_account_alias.go
- data_source_alicloud_ram_groups.go
- data_source_alicloud_ram_policies.go
- data_source_alicloud_ram_roles.go
- data_source_alicloud_ram_users.go
- data_source_alicloud_regions.go
- data_source_alicloud_router_interfaces.go
- data_source_alicloud_security_group_rules.go
- data_source_alicloud_security_groups.go
- data_source_alicloud_slb_attachments.go
- data_source_alicloud_slb_listeners.go
- data_source_alicloud_slb_rules.go
- data_source_alicloud_slb_server_groups.go
- data_source_alicloud_slbs.go
- data_source_alicloud_vpcs.go
- data_source_alicloud_vswitches.go
- data_source_alicloud_zones.go
- diff_suppress_funcs.go
- errors.go
- extension_cms.go
- extension_ecs.go
- extension_ess.go
- extension_kms.go
- extension_log.go
- extension_oss.go
- extension_ots.go
- extension_rds.go
- extension_slb.go
- extension_tags.go
- extension_vpc.go
- extension_vpn.go
- provider.go
- resource_alicloud_cdn_domain.go
- resource_alicloud_cen_instance.go
- resource_alicloud_cms_alarm.go
- resource_alicloud_cs_application.go
- resource_alicloud_cs_kubernetes.go
- resource_alicloud_cs_swarm.go
- resource_alicloud_db_account.go
- resource_alicloud_db_account_privilege.go
- resource_alicloud_db_backup_policy.go
- resource_alicloud_db_connection.go
- resource_alicloud_db_database.go
- resource_alicloud_db_instance.go
- resource_alicloud_disk.go
- resource_alicloud_disk_attachment.go
- resource_alicloud_dns.go
- resource_alicloud_dns_group.go
- resource_alicloud_dns_record.go
- resource_alicloud_eip.go
- resource_alicloud_eip_association.go
- resource_alicloud_ess_alarm.go
- resource_alicloud_ess_attachment.go
- resource_alicloud_ess_lifecyclehook.go
- resource_alicloud_ess_scalingconfiguration.go
- resource_alicloud_ess_scalinggroup.go
- resource_alicloud_ess_scalingrule.go
- resource_alicloud_ess_schedule.go
- resource_alicloud_fc_function.go
- resource_alicloud_fc_service.go
- resource_alicloud_fc_trigger.go
- resource_alicloud_forward.go
- resource_alicloud_instance.go
- resource_alicloud_key_pair.go
- resource_alicloud_key_pair_attachment.go
- resource_alicloud_kms_key.go
- resource_alicloud_kvstore_backup_policy.go
- resource_alicloud_kvstore_instance.go
- resource_alicloud_log_machine_group.go
- resource_alicloud_log_project.go
- resource_alicloud_log_store.go
- resource_alicloud_log_store_index.go
- resource_alicloud_nat_gateway.go
- resource_alicloud_oss_bucket.go
- resource_alicloud_oss_bucket_object.go
- resource_alicloud_ots_instance.go
- resource_alicloud_ots_instance_attachment.go
- resource_alicloud_ots_table.go
- resource_alicloud_pvtz_zone.go
- resource_alicloud_pvtz_zone_attachment.go
- resource_alicloud_pvtz_zone_record.go
- resource_alicloud_ram_access_key.go
- resource_alicloud_ram_account_alias.go
- resource_alicloud_ram_group.go
- resource_alicloud_ram_group_membership.go
- resource_alicloud_ram_group_policy_attachment.go
- resource_alicloud_ram_login_profile.go
- resource_alicloud_ram_policy.go
- resource_alicloud_ram_role.go
- resource_alicloud_ram_role_attachment.go
- resource_alicloud_ram_role_policy_attachment.go
- resource_alicloud_ram_user.go
- resource_alicloud_ram_user_policy_attachment.go
- resource_alicloud_router_interface.go
- resource_alicloud_router_interface_connection.go
- resource_alicloud_security_group.go
- resource_alicloud_security_group_rule.go
- resource_alicloud_slb.go
- resource_alicloud_slb_attachment.go
- resource_alicloud_slb_listener.go
- resource_alicloud_slb_rule.go
- resource_alicloud_slb_server_group.go
- resource_alicloud_snat.go
- resource_alicloud_ssl_vpn_client_cert.go
- resource_alicloud_ssl_vpn_server.go
- resource_alicloud_vpc.go
- resource_alicloud_vpn_connection.go
- resource_alicloud_vpn_customer_gateway.go
- resource_alicloud_vpn_gateway.go
- resource_alicloud_vroute_entry.go
- resource_alicloud_vswitch.go
- service_alicloud_cen.go
- service_alicloud_cms.go
- service_alicloud_common.go
- service_alicloud_cs.go
- service_alicloud_ecs.go
- service_alicloud_ess.go
- service_alicloud_fc.go
- service_alicloud_kvstore.go
- service_alicloud_log.go
- service_alicloud_oss.go
- service_alicloud_ots.go
- service_alicloud_pvtz.go
- service_alicloud_ram.go
- service_alicloud_rds.go
- service_alicloud_slb.go
- service_alicloud_vpc.go
- service_alicloud_vpn_gateway.go
- tags.go
- testing.go
- validators.go