Documentation
¶
Index ¶
- Constants
- Variables
- type AccountId
- type ApiVersion
- type ApsaraStackClient
- func (client *ApsaraStackClient) AccountId() (string, error)
- func (client *ApsaraStackClient) GetCallerDefaultRole() (int, error)
- func (client *ApsaraStackClient) GetCallerIdentity() (string, error)
- func (client *ApsaraStackClient) GetCallerInfo() (*responses.BaseResponse, error)
- func (client *ApsaraStackClient) NewAdsClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewAscmClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewCloudApiClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewCommonRequest(product, serviceCode, schema string, apiVersion ApiVersion) (*requests.CommonRequest, error)
- func (client *ApsaraStackClient) NewDataworksPrivateClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewDataworkspublicClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewDbsClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewDmsenterpriseClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewDtsClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewEcsClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewElasticsearchClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewGpdbClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewHbaseClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewHitsdbClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewKmsClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewNasClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewOdpsClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewQuickbiClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewRdsClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewRoaCsClient() (*roaCS.Client, error)
- func (client *ApsaraStackClient) NewRosClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) NewTeaCommonClient(endpoint string) (*rpc.Client, error)
- func (client *ApsaraStackClient) NewVpcClient() (*rpc.Client, error)
- func (client *ApsaraStackClient) RoleIds() (int, error)
- func (client *ApsaraStackClient) WithAdbClient(do func(*adb.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithAlikafkaClient(do func(*alikafka.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithBssopenapiClient(do func(*bssopenapi.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithCdnClient_new(do func(*cdn_new.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithCloudApiClient(do func(*cloudapi.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithCmsClient(do func(*cms.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithCrClient(do func(*cr.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithCrEEClient(do func(*cr_ee.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithCsClient(do func(*cs.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithDataHubClient(do func(api datahub.DataHubApi) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithDdsClient(do func(*dds.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithDnsClient(do func(*alidns.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithDrdsClient(do func(*drds.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithEcsClient(do func(*ecs.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithEdasClient(do func(*edas.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithElasticsearchClient(do func(*elasticsearch.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithEssClient(do func(*ess.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithFcClient(do func(*fc.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithGpdbClient(do func(*gpdb.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithHbaseClient(do func(*hbase.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithKmsClient(do func(*kms.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithLogClient(do func(*sls.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithLogPopClient(do func(*slsPop.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithMaxComputeClient(do func(*maxcompute.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithOnsClient(do func(*ons.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithOssBucketByName(bucketName string, do func(*oss.Bucket) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithOssClient(do func(*oss.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithOssClientPutObject(do func(*oss.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithOssNewClient(do func(*ecs.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithOtsClient(do func(*ots.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithPolarDBClient(do func(*polardb.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithRamClient(do func(*ram.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithRdsClient(do func(*rds.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithRkvClient(do func(*r_kvstore.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithSlbClient(do func(*slb.Client) (interface{}, error)) (interface{}, error)
- func (client *ApsaraStackClient) WithTableStoreClient(instanceName string, ...) (interface{}, error)
- func (client *ApsaraStackClient) WithVpcClient(do func(*vpc.Client) (interface{}, error)) (interface{}, error)
- type Config
- type Endpoint
- type Endpoints
- type Product
- type Products
- type Region
- type RegionIds
- type RoleId
- type ServiceCode
Constants ¶
View Source
const ( ApiVersion20140526 = ApiVersion("2014-05-26") ApiVersion20160815 = ApiVersion("2016-08-15") ApiVersion20140515 = ApiVersion("2014-05-15") ApiVersion20190510 = ApiVersion("2019-05-10") )
View Source
const ( DcdnCode = ServiceCode("DCDN") MseCode = ServiceCode("MSE") ActiontrailCode = ServiceCode("ACTIONTRAIL") OosCode = ServiceCode("OOS") EcsCode = ServiceCode("ECS") ASCMCode = ServiceCode("ASCM") NasCode = ServiceCode("NAS") EciCode = ServiceCode("ECI") DdoscooCode = ServiceCode("DDOSCOO") BssopenapiCode = ServiceCode("BSSOPENAPI") AlidnsCode = ServiceCode("ALIDNS") ResourcemanagerCode = ServiceCode("RESOURCEMANAGER") WafOpenapiCode = ServiceCode("WAFOPENAPI") DmsEnterpriseCode = ServiceCode("DMSENTERPRISE") DnsCode = ServiceCode("DNS") KmsCode = ServiceCode("KMS") CbnCode = ServiceCode("CBN") ECSCode = ServiceCode("ECS") ESSCode = ServiceCode("ESS") RAMCode = ServiceCode("RAM") VPCCode = ServiceCode("VPC") SLBCode = ServiceCode("SLB") RDSCode = ServiceCode("RDS") OSSCode = ServiceCode("OSS") ONSCode = ServiceCode("ONS") ALIKAFKACode = ServiceCode("ALIKAFKA") CONTAINCode = ServiceCode("CS") CRCode = ServiceCode("CR") CDNCode = ServiceCode("CDN") CMSCode = ServiceCode("CMS") KMSCode = ServiceCode("KMS") OTSCode = ServiceCode("OTS") DNSCode = ServiceCode("DNS") PVTZCode = ServiceCode("PVTZ") LOGCode = ServiceCode("LOG") FCCode = ServiceCode("FC") DDSCode = ServiceCode("DDS") GPDBCode = ServiceCode("GPDB") CENCode = ServiceCode("CEN") KVSTORECode = ServiceCode("KVSTORE") POLARDBCode = ServiceCode("POLARDB") DATAHUBCode = ServiceCode("DATAHUB") MNSCode = ServiceCode("MNS") CLOUDAPICode = ServiceCode("APIGATEWAY") DRDSCode = ServiceCode("DRDS") LOCATIONCode = ServiceCode("LOCATION") ELASTICSEARCHCode = ServiceCode("ELASTICSEARCH") BSSOPENAPICode = ServiceCode("BSSOPENAPI") DDOSCOOCode = ServiceCode("DDOSCOO") DDOSBGPCode = ServiceCode("DDOSBGP") SAGCode = ServiceCode("SAG") EMRCode = ServiceCode("EMR") CasCode = ServiceCode("CAS") YUNDUNDBAUDITCode = ServiceCode("YUNDUNDBAUDIT") MARKETCode = ServiceCode("MARKET") HBASECode = ServiceCode("HBASE") ADBCode = ServiceCode("ADB") MAXCOMPUTECode = ServiceCode("MAXCOMPUTE") EDASCode = ServiceCode("EDAS") CassandraCode = ServiceCode("CASSANDRA") OtsCode = ServiceCode("OTS") DatahubCode = ServiceCode("DATAHUB") STSCode = ServiceCode("STS") )
View Source
const ( OpenOtsService = "ots.cn-hangzhou.aliyuncs.com" OpenDatahubService = "datahub.aliyuncs.com" OpenApiGatewayService = "apigateway.cn-hangzhou.aliyuncs.com" )
View Source
const ( NeimengEnv30 = Region("cn-neimeng-env30-d01") NeimengEnv127 = Region("cn-neimeng-env127-d01") QingdaoEnv66 = Region("cn-qingdao-env66-d01") QingdaoEnv17 = Region("cn-qingdao-env17-d01") WulanEnv230 = Region("cn-wulan-env230-d01") WulanEnv205 = Region("cn-wulan-env205-d01") WulanEnv82 = Region("cn-wulan-env82-d01") QingdaoEnv15 = Region("cn-qingdao-env15-d01") Hangzhou = Region("cn-hangzhou") Qingdao = Region("cn-qingdao") Beijing = Region("cn-beijing") Hongkong = Region("cn-hongkong") Shenzhen = Region("cn-shenzhen") Shanghai = Region("cn-shanghai") Zhangjiakou = Region("cn-zhangjiakou") Huhehaote = Region("cn-huhehaote") ChengDu = Region("cn-chengdu") HeYuan = Region("cn-heyuan") WuLanChaBu = Region("cn-wulanchabu") APSouthEast1 = Region("ap-southeast-1") APNorthEast1 = Region("ap-northeast-1") APSouthEast2 = Region("ap-southeast-2") APSouthEast3 = Region("ap-southeast-3") APSouthEast5 = Region("ap-southeast-5") APSouth1 = Region("ap-south-1") USWest1 = Region("us-west-1") USEast1 = Region("us-east-1") MEEast1 = Region("me-east-1") EUCentral1 = Region("eu-central-1") EUWest1 = Region("eu-west-1") ShenZhenFinance = Region("cn-shenzhen-finance-1") ShanghaiFinance = Region("cn-shanghai-finance-1") GuangZhou = Region("cn-guangzhou") APSouthEast6 = Region("ap-southeast-6") )
View Source
const DefaultClientRetryCountSmall = 5
View Source
const Module = "Terraform-Module"
View Source
const Provider = "Terraform-Provider"
View Source
const Terraform = "HashiCorp-Terraform"
Variables ¶
View Source
var AdbReserverUnSupportRegions = []Region{EUCentral1}
View Source
var AlbSupportRegions = []Region{Hangzhou, Shanghai, Qingdao, Zhangjiakou, Beijing, WuLanChaBu, Shenzhen, ChengDu, Hongkong, APSouthEast1, APSouthEast2, APSouthEast3, APSouthEast5, APNorthEast1, EUCentral1, USEast1, APSouth1}
View Source
var AlikafkaSupportedRegions = []Region{Hangzhou, Qingdao, Beijing, Hongkong, Shenzhen, Shanghai, Zhangjiakou, Huhehaote, ChengDu, HeYuan, APNorthEast1, APSouthEast1, APSouthEast3, EUCentral1, EUWest1, USEast1, USWest1}
View Source
var ApiGatewayNoSupportedRegions = []Region{Zhangjiakou, Huhehaote, USEast1, USWest1, EUWest1, MEEast1}
View Source
var CRNoSupportedRegions = []Region{Beijing, Hangzhou, Qingdao, Huhehaote, Zhangjiakou}
View Source
var DatahubSupportedRegions = []Region{Beijing, Hangzhou, Shanghai, Shenzhen, APSouthEast1}
View Source
var DrdsClassicNoSupportedRegions = []Region{Hongkong}
View Source
var DrdsSupportedRegions = []Region{Beijing, Shenzhen, Hangzhou, Qingdao, Hongkong, Shanghai, Huhehaote, Zhangjiakou, APSouthEast1}
View Source
var EcsClassicSupportedRegions = []Region{Shenzhen, Shanghai, Beijing, Qingdao, Hangzhou, Hongkong, USWest1, APSouthEast1}
View Source
var EcsSpotNoSupportedRegions = []Region{APSouth1}
View Source
var EdasSupportedRegions = []Region{Hangzhou, Beijing, Shanghai, Shenzhen, Zhangjiakou, Qingdao, Hongkong}
View Source
var FcNoSupportedRegions = []Region{MEEast1}
View Source
var GpdbClassicNoSupportedRegions = []Region{APSouthEast2, APSouthEast3, APSouthEast5, APSouth1, USEast1, USWest1, APNorthEast1, EUCentral1}
View Source
var HttpHttpsHealthCheckMehtodSupportedRegions = []Region{Hangzhou, Beijing, Shanghai, EUWest1, ChengDu, Qingdao, Hongkong, Shenzhen, APSouthEast5, Zhangjiakou, Huhehaote, MEEast1, APSouth1, EUCentral1, USWest1, APSouthEast3, APSouthEast2, APSouthEast1, APNorthEast1}
View Source
var KmsSkippedRegions = []Region{}
View Source
var KubernetesSupportedRegions = []Region{Beijing, Zhangjiakou, Huhehaote, Hangzhou, Shanghai, Shenzhen, Hongkong, APNorthEast1, APSouthEast1, APSouthEast2, APSouthEast3, APSouthEast5, APSouth1, USEast1, USWest1, EUWest1, MEEast1, EUCentral1}
View Source
var ManagedKubernetesSupportedRegions = []Region{QingdaoEnv15, Beijing, Hangzhou, Shanghai, Shenzhen, ChengDu, Hongkong, APSouthEast1, APSouthEast2, EUCentral1, USWest1}
View Source
var MongoDBClassicNoSupportedRegions = []Region{Huhehaote, Zhangjiakou, APSouthEast2, APSouthEast3, APSouthEast5, APSouth1, USEast1, USWest1, APNorthEast1}
View Source
var MongoDBMultiAzSupportedRegions = []Region{Hangzhou, Beijing, Shenzhen, EUCentral1}
View Source
var NasClassicSupportedRegions = []Region{Hangzhou, Qingdao, Beijing, Hongkong, Shenzhen, Shanghai, Zhangjiakou, Huhehaote, ShenZhenFinance, ShanghaiFinance}
View Source
var NasNoSupportedRegions = []Region{Qingdao, APSouth1, APSouthEast3, APSouthEast5}
View Source
var OssSseSupportedRegions = []Region{Qingdao, Hangzhou, Beijing, Shanghai, Shenzhen, Hongkong, APNorthEast1, APSouth1, USEast1}
View Source
var OssVersioningSupportedRegions = []Region{APSouth1}
View Source
var OtsCapacityNoSupportedRegions = []Region{APSouthEast1, USWest1, USEast1}
View Source
var OtsHighPerformanceNoSupportedRegions = []Region{Qingdao, Zhangjiakou, Huhehaote, APSouthEast2, APSouthEast5, APNorthEast1, EUCentral1, MEEast1}
View Source
var ProviderVersion = "1.0.8"
The main version number that is being run at the moment.
View Source
var RdsClassicNoSupportedRegions = []Region{APSouth1, APSouthEast2, APSouthEast3, APNorthEast1, EUCentral1, EUWest1, MEEast1}
View Source
var RdsMultiAzNoSupportedRegions = []Region{Qingdao, APNorthEast1, APSouthEast5, MEEast1}
View Source
var RdsPPASNoSupportedRegions = []Region{Qingdao, USEast1, APNorthEast1, EUCentral1, MEEast1, APSouthEast2, APSouthEast3, APSouth1, APSouthEast5, ChengDu, EUWest1}
View Source
var RouteTableNoSupportedRegions = []Region{Beijing, Hangzhou, Shenzhen}
View Source
var SlbClassicNoSupportedRegions = []Region{APNorthEast1, APSouthEast2, APSouthEast3, APSouthEast5, APSouth1, USEast1, MEEast1, EUCentral1, EUWest1, Huhehaote, Zhangjiakou}
View Source
var TerraformVersion = strings.TrimSuffix(schema.Provider{}.TerraformVersion, "-dev")
View Source
var ValidRegions = []Region{ NeimengEnv30, QingdaoEnv66, QingdaoEnv17, QingdaoEnv15, WulanEnv82, Hangzhou, Qingdao, Beijing, Shenzhen, Hongkong, Shanghai, Zhangjiakou, Huhehaote, ChengDu, HeYuan, WuLanChaBu, USWest1, USEast1, APNorthEast1, APSouthEast1, APSouthEast2, APSouthEast3, APSouthEast5, APSouth1, MEEast1, EUCentral1, EUWest1, }
View Source
var VpcIpv6GatewaySupportRegions = []Region{QingdaoEnv15, QingdaoEnv66, WulanEnv205, WulanEnv230, NeimengEnv127, Qingdao, Beijing, Zhangjiakou, Huhehaote, WuLanChaBu, Hangzhou, Shanghai, Shenzhen, GuangZhou, Hongkong, ChengDu, HeYuan, APSouthEast1, APSouthEast6, USEast1, EUCentral1}
View Source
var VpcIpv6SupportRegions = []Region{QingdaoEnv15, Hangzhou, Shanghai, Shenzhen, Beijing, Huhehaote, Hongkong, APSouthEast1}
Functions ¶
This section is empty.
Types ¶
type AccountId ¶
type AccountId struct {
Data struct {
PrimaryKey string `json:"primaryKey"`
} `json:"data"`
}
type ApiVersion ¶
type ApiVersion string
type ApsaraStackClient ¶
type ApsaraStackClient struct {
SourceIp string
SecureTransport string
Region Region
RegionId string
Domain string
AccessKey string
SecretKey string
Department string
ResourceGroup string
Config *Config
OtsInstanceName string
// contains filtered or unexported fields
}
func (*ApsaraStackClient) AccountId ¶
func (client *ApsaraStackClient) AccountId() (string, error)
func (*ApsaraStackClient) GetCallerDefaultRole ¶
func (client *ApsaraStackClient) GetCallerDefaultRole() (int, error)
func (*ApsaraStackClient) GetCallerIdentity ¶
func (client *ApsaraStackClient) GetCallerIdentity() (string, error)
func (*ApsaraStackClient) GetCallerInfo ¶
func (client *ApsaraStackClient) GetCallerInfo() (*responses.BaseResponse, error)
func (*ApsaraStackClient) NewAdsClient ¶
func (client *ApsaraStackClient) NewAdsClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewAscmClient ¶
func (client *ApsaraStackClient) NewAscmClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewCloudApiClient ¶
func (client *ApsaraStackClient) NewCloudApiClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewCommonRequest ¶
func (client *ApsaraStackClient) NewCommonRequest(product, serviceCode, schema string, apiVersion ApiVersion) (*requests.CommonRequest, error)
func (*ApsaraStackClient) NewDataworksPrivateClient ¶
func (client *ApsaraStackClient) NewDataworksPrivateClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewDataworkspublicClient ¶
func (client *ApsaraStackClient) NewDataworkspublicClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewDbsClient ¶
func (client *ApsaraStackClient) NewDbsClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewDmsenterpriseClient ¶
func (client *ApsaraStackClient) NewDmsenterpriseClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewDtsClient ¶
func (client *ApsaraStackClient) NewDtsClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewEcsClient ¶
func (client *ApsaraStackClient) NewEcsClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewElasticsearchClient ¶
func (client *ApsaraStackClient) NewElasticsearchClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewGpdbClient ¶
func (client *ApsaraStackClient) NewGpdbClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewHbaseClient ¶
func (client *ApsaraStackClient) NewHbaseClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewHitsdbClient ¶
func (client *ApsaraStackClient) NewHitsdbClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewKmsClient ¶
func (client *ApsaraStackClient) NewKmsClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewNasClient ¶
func (client *ApsaraStackClient) NewNasClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewOdpsClient ¶
func (client *ApsaraStackClient) NewOdpsClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewQuickbiClient ¶
func (client *ApsaraStackClient) NewQuickbiClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewRdsClient ¶
func (client *ApsaraStackClient) NewRdsClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewRoaCsClient ¶
func (client *ApsaraStackClient) NewRoaCsClient() (*roaCS.Client, error)
func (*ApsaraStackClient) NewRosClient ¶
func (client *ApsaraStackClient) NewRosClient() (*rpc.Client, error)
func (*ApsaraStackClient) NewTeaCommonClient ¶
func (client *ApsaraStackClient) NewTeaCommonClient(endpoint string) (*rpc.Client, error)
func (*ApsaraStackClient) NewVpcClient ¶
func (client *ApsaraStackClient) NewVpcClient() (*rpc.Client, error)
func (*ApsaraStackClient) RoleIds ¶
func (client *ApsaraStackClient) RoleIds() (int, error)
func (*ApsaraStackClient) WithAdbClient ¶
func (client *ApsaraStackClient) WithAdbClient(do func(*adb.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithAlikafkaClient ¶
func (client *ApsaraStackClient) WithAlikafkaClient(do func(*alikafka.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithBssopenapiClient ¶
func (client *ApsaraStackClient) WithBssopenapiClient(do func(*bssopenapi.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithCdnClient_new ¶
func (client *ApsaraStackClient) WithCdnClient_new(do func(*cdn_new.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithCloudApiClient ¶
func (client *ApsaraStackClient) WithCloudApiClient(do func(*cloudapi.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithCmsClient ¶
func (client *ApsaraStackClient) WithCmsClient(do func(*cms.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithCrClient ¶
func (client *ApsaraStackClient) WithCrClient(do func(*cr.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithCrEEClient ¶
func (client *ApsaraStackClient) WithCrEEClient(do func(*cr_ee.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithCsClient ¶
func (client *ApsaraStackClient) WithCsClient(do func(*cs.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithDataHubClient ¶
func (client *ApsaraStackClient) WithDataHubClient(do func(api datahub.DataHubApi) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithDdsClient ¶
func (client *ApsaraStackClient) WithDdsClient(do func(*dds.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithDnsClient ¶
func (client *ApsaraStackClient) WithDnsClient(do func(*alidns.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithDrdsClient ¶
func (client *ApsaraStackClient) WithDrdsClient(do func(*drds.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithEcsClient ¶
func (client *ApsaraStackClient) WithEcsClient(do func(*ecs.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithEdasClient ¶
func (client *ApsaraStackClient) WithEdasClient(do func(*edas.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithElasticsearchClient ¶
func (client *ApsaraStackClient) WithElasticsearchClient(do func(*elasticsearch.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithEssClient ¶
func (client *ApsaraStackClient) WithEssClient(do func(*ess.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithFcClient ¶
func (client *ApsaraStackClient) WithFcClient(do func(*fc.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithGpdbClient ¶
func (client *ApsaraStackClient) WithGpdbClient(do func(*gpdb.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithHbaseClient ¶
func (client *ApsaraStackClient) WithHbaseClient(do func(*hbase.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithKmsClient ¶
func (client *ApsaraStackClient) WithKmsClient(do func(*kms.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithLogClient ¶
func (client *ApsaraStackClient) WithLogClient(do func(*sls.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithLogPopClient ¶
func (client *ApsaraStackClient) WithLogPopClient(do func(*slsPop.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithMaxComputeClient ¶
func (client *ApsaraStackClient) WithMaxComputeClient(do func(*maxcompute.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithOnsClient ¶
func (client *ApsaraStackClient) WithOnsClient(do func(*ons.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithOssBucketByName ¶
func (*ApsaraStackClient) WithOssClient ¶
func (client *ApsaraStackClient) WithOssClient(do func(*oss.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithOssClientPutObject ¶
func (client *ApsaraStackClient) WithOssClientPutObject(do func(*oss.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithOssNewClient ¶
func (client *ApsaraStackClient) WithOssNewClient(do func(*ecs.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithOtsClient ¶
func (client *ApsaraStackClient) WithOtsClient(do func(*ots.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithPolarDBClient ¶
func (client *ApsaraStackClient) WithPolarDBClient(do func(*polardb.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithRamClient ¶
func (client *ApsaraStackClient) WithRamClient(do func(*ram.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithRdsClient ¶
func (client *ApsaraStackClient) WithRdsClient(do func(*rds.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithRkvClient ¶
func (client *ApsaraStackClient) WithRkvClient(do func(*r_kvstore.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithSlbClient ¶
func (client *ApsaraStackClient) WithSlbClient(do func(*slb.Client) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithTableStoreClient ¶
func (client *ApsaraStackClient) WithTableStoreClient(instanceName string, do func(*tablestore.TableStoreClient) (interface{}, error)) (interface{}, error)
func (*ApsaraStackClient) WithVpcClient ¶
func (client *ApsaraStackClient) WithVpcClient(do func(*vpc.Client) (interface{}, error)) (interface{}, error)
type Config ¶
type Config struct {
AccessKey string
SecretKey string
EcsRoleName string
Region Region
RegionId string
Department string
ResourceGroup string
SecurityToken string
OtsInstanceName string
AccountId string
Protocol string
ClientReadTimeout int
ClientConnectTimeout int
SourceIp string
SecureTransport string
ResourceSetName string
RamRoleArn string
RamRoleSessionName string
RamRolePolicy string
RamRoleSessionExpiration int
Endpoints map[string]interface{}
EcsEndpoint string
RdsEndpoint string
SlbEndpoint string
VpcEndpoint string
CenEndpoint string
EssEndpoint string
OssEndpoint string
OssServerEndpoint string
OnsEndpoint string
AlikafkaEndpoint string
AlikafkaOpenAPIEndpoint string
OrganizationAccessKey string
OrganizationSecretKey string
SLSOpenAPIEndpoint string
DnsEndpoint string
RamEndpoint string
CsEndpoint string
DtsEndpoint string
CrEndpoint string
CdnEndpoint string
KmsEndpoint string
OtsEndpoint string
CmsEndpoint string
PvtzEndpoint string
AscmEndpoint string
LogEndpoint string
DrdsEndpoint string
DdsEndpoint string
GpdbEndpoint string
KVStoreEndpoint string
PolarDBEndpoint string
FcEndpoint string
ApigatewayEndpoint string
DatahubEndpoint string
MnsEndpoint string
LocationEndpoint string
ElasticsearchEndpoint string
NasEndpoint string
BssOpenApiEndpoint string
DdoscooEndpoint string
DdosbgpEndpoint string
SagEndpoint string
EmrEndpoint string
CasEndpoint string
MarketEndpoint string
HBaseEndpoint string
AdbEndpoint string
StsEndpoint string
MaxComputeEndpoint string
HitsdbEndpoint string
RosEndpoint string
EdasEndpoint string
DataworkspublicEndpoint string
DbsEndpoint string
SkipRegionValidation bool
ConfigurationSource string
CbnEndpoint string
DmsEnterpriseEndpoint string
WafOpenapiEndpoint string
ResourcemanagerEndpoint string
BssopenapiEndpoint string
AlidnsEndpoint string
CassandraEndpoint string
EciEndpoint string
OosEndpoint string
DcdnEndpoint string
MseEndpoint string
ActiontrailEndpoint string
Insecure bool
Proxy string
Domain string
QuickbiEndpoint string
}
Config of apsarastack
func (*Config) Client ¶
func (c *Config) Client() (*ApsaraStackClient, error)
Client for ApsaraStackClient
func (*Config) MakeConfigByEcsRoleName ¶
type RoleId ¶
type RoleId struct {
Data struct {
DefaultRole struct {
Id int `json:"id"`
} `json:"defaultRole"`
} `json:"data"`
}
type ServiceCode ¶
type ServiceCode string
ServiceCode Load endpoints from endpoints.xml or environment variables to meet specified application scenario, like private cloud.
Click to show internal directories.
Click to hide internal directories.