Versions in this module Expand all Collapse all v0 v0.8.5 Jan 26, 2017 Changes in this version + const ClassicNet + const DependencyViolationBandwidthPackages + const DiskCreatingSnapshot + const DiskIncorrectStatus + const EipIncorrectStatus + const GroupRuleAll + const GroupRuleEgress + const GroupRuleGre + const GroupRuleIcmp + const GroupRuleIngress + const GroupRuleInternet + const GroupRuleIntranet + const GroupRulePolicyAccept + const GroupRulePolicyDrop + const GroupRuleTcp + const GroupRuleUdp + const HaVipIncorrectStatus + const Http + const Https + const InstanceIncorrectStatus + const InstanceLockedForSecurity + const InstanceNotfound + const InvalidInstanceIdAlreadyExists + const InvalidSecurityGroupIdNotFound + const LoadBalancerNotFound + const NatGatewayInvalidRegionId + const NatGatewayLargeSpec + const NatGatewayMiddleSpec + const NatGatewaySmallSpec + const Notfound + const SgDependencyViolation + const Tcp + const Udp + const VpcNet + const VswitcInvalidRegionId + var ValidProtocals = []Protocal + func AddTags(client *ecs.Client, args *AddTagsArgs) error + func DeleteBandwidthPackage(client *ecs.Client, args *DeleteBandwidthPackageArgs) error + func DeleteNatGateway(client *ecs.Client, args *DeleteNatGatewayArgs) error + func DescribeSnatTableEntries(client *ecs.Client, args *DescribeSnatTableEntriesArgs) + func ModifyNatGatewayAttribute(client *ecs.Client, args *ModifyNatGatewayAttributeArgs) error + func ModifyNatGatewaySpec(client *ecs.Client, args *ModifyNatGatewaySpecArgs) error + func Provider() terraform.ResourceProvider + func RemoveTags(client *ecs.Client, args *RemoveTagsArgs) error + func String(v string) *string + type AddTagsArgs struct + RegionId common.Region + ResourceId string + ResourceType ecs.TagResourceType + Tag []Tag + type AliyunClient struct + Region common.Region + func (client *AliyunClient) DescribeEipAddress(allocationId string) (*ecs.EipAddressSetType, error) + func (client *AliyunClient) DescribeImage(imageId string) (*ecs.ImageType, error) + func (client *AliyunClient) DescribeLoadBalancerAttribute(slbId string) (*slb.LoadBalancerType, error) + func (client *AliyunClient) DescribeNatGateway(natGatewayId string) (*NatGatewaySetType, error) + func (client *AliyunClient) DescribeSecurity(securityGroupId string) (*ecs.DescribeSecurityGroupAttributeResponse, error) + func (client *AliyunClient) DescribeSecurityGroupRule(securityGroupId, types, ip_protocol, port_range string) (*ecs.PermissionType, error) + func (client *AliyunClient) DescribeVpc(vpcId string) (*ecs.VpcSetType, error) + func (client *AliyunClient) DescribeZone(zoneID string) (*ecs.ZoneType, error) + func (client *AliyunClient) DiskAvailable(zone *ecs.ZoneType, diskCategory ecs.DiskCategory) error + func (client *AliyunClient) JoinSecurityGroups(instanceId string, securityGroupIds []string) error + func (client *AliyunClient) LeaveSecurityGroups(instanceId string, securityGroupIds []string) error + func (client *AliyunClient) QueryInstancesById(id string) (instance *ecs.InstanceAttributesType, err error) + func (client *AliyunClient) QueryInstancesByIds(ids []string) (instances []ecs.InstanceAttributesType, err error) + func (client *AliyunClient) QueryRouteEntry(routeTableId, cidrBlock, nextHopType, nextHopId string) (rn *ecs.RouteEntrySetType, err error) + func (client *AliyunClient) QueryRouteTableById(routeTableId string) (rt *ecs.RouteTableSetType, err error) + func (client *AliyunClient) QueryRouteTables(args *ecs.DescribeRouteTablesArgs) (routeTables []ecs.RouteTableSetType, err error) + func (client *AliyunClient) QueryVswitchById(vpcId, vswitchId string) (vsw *ecs.VSwitchSetType, err error) + func (client *AliyunClient) QueryVswitches(args *ecs.DescribeVSwitchesArgs) (vswitches []ecs.VSwitchSetType, err error) + func (client *AliyunClient) ResourceAvailable(zone *ecs.ZoneType, resourceType ecs.ResourceType) error + func (client *AliyunClient) RevokeSecurityGroup(args *ecs.RevokeSecurityGroupArgs) error + type BandwidthPackageIdType struct + BandwidthPackageId []string + type BandwidthPackageType struct + Bandwidth int + IpCount int + Zone string + type Config struct + AccessKey string + Region common.Region + SecretKey string + func (c *Config) Client() (*AliyunClient, error) + type CreateNatGatewayArgs struct + BandwidthPackage []BandwidthPackageType + ClientToken string + Description string + Name string + RegionId common.Region + Spec string + VpcId string + type CreateNatGatewayResponse struct + BandwidthPackageIds BandwidthPackageIdType + ForwardTableIds ForwardTableIdType + NatGatewayId string + func CreateNatGateway(client *ecs.Client, args *CreateNatGatewayArgs) (resp *CreateNatGatewayResponse, err error) + type DeleteBandwidthPackageArgs struct + BandwidthPackageId string + RegionId common.Region + type DeleteBandwidthPackageResponse struct + type DeleteNatGatewayArgs struct + NatGatewayId string + RegionId common.Region + type DeleteNatGatewayResponse struct + type DescribeBandwidthPackageType struct + Bandwidth string + BandwidthPackageId string + IpCount string + func DescribeBandwidthPackages(client *ecs.Client, args *DescribeBandwidthPackagesArgs) ([]DescribeBandwidthPackageType, error) + type DescribeBandwidthPackagesArgs struct + BandwidthPackageId string + NatGatewayId string + RegionId common.Region + type DescribeBandwidthPackagesResponse struct + BandwidthPackages struct{ ... } + type DescribeNatGatewayResponse struct + NatGateways struct{ ... } + type DescribeNatGatewaysArgs struct + NatGatewayId string + RegionId common.Region + VpcId string + type DescribeSnatTableEntriesArgs struct + RegionId common.Region + type ForwardTableIdType struct + ForwardTableId []string + type GroupRuleDirection string + type GroupRuleIpProtocol string + type GroupRuleNicType string + type GroupRulePolicy string + type InstanceNetWork string + type Listener struct + Bandwidth int + InstancePort int + LoadBalancerPort int + Protocol string + SSLCertificateId string + type ModifyNatGatewayAttributeArgs struct + Description string + Name string + NatGatewayId string + RegionId common.Region + type ModifyNatGatewayAttributeResponse struct + type ModifyNatGatewaySpecArgs struct + NatGatewayId string + RegionId common.Region + Spec NatGatewaySpec + type NatGatewaySetType struct + BandwidthPackageIds BandwidthPackageIdType + BusinessStatus string + Description string + ForwardTableIds ForwardTableIdType + InstanceChargeType string + Name string + NatGatewayId string + RegionId common.Region + Spec string + Status string + VpcId string + func DescribeNatGateways(client *ecs.Client, args *DescribeNatGatewaysArgs) (natGateways []NatGatewaySetType, pagination *common.PaginationResult, ...) + type NatGatewaySpec string + type Protocal string + type RemoveTagsArgs struct + RegionId common.Region + ResourceId string + ResourceType ecs.TagResourceType + Tag []Tag + type Tag struct + Key string + Value string