tccli 3.0.1347.1__py2.py3-none-any.whl → 3.0.1349.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -76
- tccli/services/ai3d/__init__.py +4 -0
- tccli/services/{smpn/smpn_client.py → ai3d/ai3d_client.py} +17 -17
- tccli/services/ai3d/v20250513/api.json +239 -0
- tccli/services/ai3d/v20250513/examples.json +21 -0
- tccli/services/aiart/v20221229/api.json +3 -3
- tccli/services/autoscaling/v20180419/api.json +11 -0
- tccli/services/batch/v20170312/api.json +44 -0
- tccli/services/cdb/v20170320/api.json +8 -8
- tccli/services/cdb/v20170320/examples.json +1 -1
- tccli/services/cdn/v20180606/api.json +5 -5
- tccli/services/cdwdoris/v20211228/api.json +145 -7
- tccli/services/cfg/v20210820/api.json +20 -0
- tccli/services/cfs/v20190719/api.json +10 -10
- tccli/services/cfw/cfw_client.py +53 -0
- tccli/services/cfw/v20190904/api.json +272 -0
- tccli/services/cfw/v20190904/examples.json +8 -0
- tccli/services/csip/csip_client.py +833 -144
- tccli/services/csip/v20221121/api.json +3304 -1436
- tccli/services/csip/v20221121/examples.json +104 -0
- tccli/services/cvm/v20170312/api.json +64 -1
- tccli/services/cwp/v20180228/api.json +9 -0
- tccli/services/cwp/v20180228/examples.json +6 -0
- tccli/services/emr/v20190103/api.json +217 -2
- tccli/services/es/v20250101/api.json +22 -0
- tccli/services/ess/v20201111/api.json +10 -1
- tccli/services/essbasic/v20210526/api.json +3 -3
- tccli/services/gs/v20191118/api.json +38 -0
- tccli/services/igtm/igtm_client.py +159 -0
- tccli/services/igtm/v20231024/api.json +577 -0
- tccli/services/igtm/v20231024/examples.json +24 -0
- tccli/services/iotexplorer/v20190423/api.json +3 -3
- tccli/services/lcic/lcic_client.py +53 -0
- tccli/services/lcic/v20220817/api.json +53 -0
- tccli/services/lcic/v20220817/examples.json +8 -0
- tccli/services/live/v20180801/api.json +203 -1
- tccli/services/live/v20180801/examples.json +1 -1
- tccli/services/lke/v20231130/api.json +248 -2
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/lkeap/v20240522/api.json +1 -1
- tccli/services/mrs/v20200910/api.json +10 -0
- tccli/services/nlp/nlp_client.py +4 -322
- tccli/services/nlp/v20190408/api.json +0 -459
- tccli/services/nlp/v20190408/examples.json +0 -48
- tccli/services/ocr/v20181119/api.json +97 -11
- tccli/services/omics/v20221128/api.json +38 -0
- tccli/services/redis/v20180412/api.json +6 -6
- tccli/services/redis/v20180412/examples.json +1 -1
- tccli/services/ses/v20201002/api.json +100 -5
- tccli/services/tcb/v20180608/api.json +1 -1
- tccli/services/tcb/v20180608/examples.json +1 -1
- tccli/services/tdmq/v20200217/api.json +19 -0
- tccli/services/teo/teo_client.py +281 -16
- tccli/services/teo/v20220901/api.json +611 -6
- tccli/services/teo/v20220901/examples.json +48 -2
- tccli/services/tione/v20211111/api.json +16 -0
- tccli/services/tke/tke_client.py +57 -4
- tccli/services/tke/v20180525/api.json +24 -24
- tccli/services/tke/v20220501/api.json +52 -0
- tccli/services/tke/v20220501/examples.json +8 -0
- tccli/services/tmt/v20180321/api.json +4 -4
- tccli/services/tsf/v20180326/api.json +4 -4
- tccli/services/vclm/v20240523/api.json +3 -3
- tccli/services/vod/v20180717/api.json +5 -5
- tccli/services/vod/v20180717/examples.json +9 -9
- tccli/services/vpc/v20170312/api.json +1 -1
- tccli/services/vrs/v20200824/api.json +1 -1
- {tccli-3.0.1347.1.dist-info → tccli-3.0.1349.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1347.1.dist-info → tccli-3.0.1349.1.dist-info}/RECORD +73 -171
- tccli/services/cis/__init__.py +0 -4
- tccli/services/cis/cis_client.py +0 -525
- tccli/services/cis/v20180408/api.json +0 -737
- tccli/services/cis/v20180408/examples.json +0 -93
- tccli/services/dataintegration/__init__.py +0 -4
- tccli/services/dataintegration/dataintegration_client.py +0 -207
- tccli/services/dataintegration/v20220613/api.json +0 -87
- tccli/services/dataintegration/v20220613/examples.json +0 -13
- tccli/services/dtf/__init__.py +0 -4
- tccli/services/dtf/dtf_client.py +0 -207
- tccli/services/dtf/v20200506/api.json +0 -274
- tccli/services/dtf/v20200506/examples.json +0 -13
- tccli/services/gpm/__init__.py +0 -4
- tccli/services/gpm/gpm_client.py +0 -1108
- tccli/services/gpm/v20200820/api.json +0 -1959
- tccli/services/gpm/v20200820/examples.json +0 -149
- tccli/services/gse/__init__.py +0 -4
- tccli/services/gse/gse_client.py +0 -4076
- tccli/services/gse/v20191112/api.json +0 -7095
- tccli/services/gse/v20191112/examples.json +0 -615
- tccli/services/iecp/__init__.py +0 -4
- tccli/services/iecp/iecp_client.py +0 -4500
- tccli/services/iecp/v20210914/api.json +0 -9770
- tccli/services/iecp/v20210914/examples.json +0 -691
- tccli/services/iir/__init__.py +0 -4
- tccli/services/iir/iir_client.py +0 -207
- tccli/services/iir/v20200417/api.json +0 -204
- tccli/services/iir/v20200417/examples.json +0 -13
- tccli/services/iottid/__init__.py +0 -4
- tccli/services/iottid/iottid_client.py +0 -631
- tccli/services/iottid/v20190411/api.json +0 -553
- tccli/services/iottid/v20190411/examples.json +0 -95
- tccli/services/mgobe/__init__.py +0 -4
- tccli/services/mgobe/mgobe_client.py +0 -530
- tccli/services/mgobe/v20190929/api.json +0 -52
- tccli/services/mgobe/v20190929/examples.json +0 -13
- tccli/services/mgobe/v20201014/api.json +0 -671
- tccli/services/mgobe/v20201014/examples.json +0 -61
- tccli/services/mvj/__init__.py +0 -4
- tccli/services/mvj/mvj_client.py +0 -207
- tccli/services/mvj/v20190926/api.json +0 -123
- tccli/services/mvj/v20190926/examples.json +0 -19
- tccli/services/pds/__init__.py +0 -4
- tccli/services/pds/pds_client.py +0 -260
- tccli/services/pds/v20210701/api.json +0 -193
- tccli/services/pds/v20210701/examples.json +0 -21
- tccli/services/smpn/__init__.py +0 -4
- tccli/services/smpn/v20190822/api.json +0 -191
- tccli/services/smpn/v20190822/examples.json +0 -21
- tccli/services/solar/__init__.py +0 -4
- tccli/services/solar/solar_client.py +0 -1055
- tccli/services/solar/v20181011/api.json +0 -1760
- tccli/services/solar/v20181011/examples.json +0 -125
- tccli/services/tan/__init__.py +0 -4
- tccli/services/tan/tan_client.py +0 -207
- tccli/services/tan/v20220420/api.json +0 -65
- tccli/services/tan/v20220420/examples.json +0 -19
- tccli/services/tav/__init__.py +0 -4
- tccli/services/tav/tav_client.py +0 -366
- tccli/services/tav/v20190118/api.json +0 -262
- tccli/services/tav/v20190118/examples.json +0 -37
- tccli/services/tbm/__init__.py +0 -4
- tccli/services/tbm/tbm_client.py +0 -631
- tccli/services/tbm/v20180129/api.json +0 -1037
- tccli/services/tbm/v20180129/examples.json +0 -77
- tccli/services/tcex/__init__.py +0 -4
- tccli/services/tcex/tcex_client.py +0 -260
- tccli/services/tcex/v20200727/api.json +0 -158
- tccli/services/tcex/v20200727/examples.json +0 -21
- tccli/services/tci/__init__.py +0 -4
- tccli/services/tci/tci_client.py +0 -2327
- tccli/services/tci/v20190318/api.json +0 -4958
- tccli/services/tci/v20190318/examples.json +0 -333
- tccli/services/tic/__init__.py +0 -4
- tccli/services/tic/tic_client.py +0 -843
- tccli/services/tic/v20201117/api.json +0 -1067
- tccli/services/tic/v20201117/examples.json +0 -121
- tccli/services/ticm/__init__.py +0 -4
- tccli/services/ticm/ticm_client.py +0 -313
- tccli/services/ticm/v20181127/api.json +0 -1391
- tccli/services/ticm/v20181127/examples.json +0 -53
- tccli/services/tics/__init__.py +0 -4
- tccli/services/tics/tics_client.py +0 -366
- tccli/services/tics/v20181115/api.json +0 -694
- tccli/services/tics/v20181115/examples.json +0 -37
- tccli/services/tiems/__init__.py +0 -4
- tccli/services/tiems/tiems_client.py +0 -1479
- tccli/services/tiems/v20190416/api.json +0 -3144
- tccli/services/tiems/v20190416/examples.json +0 -217
- tccli/services/trdp/__init__.py +0 -4
- tccli/services/trdp/trdp_client.py +0 -207
- tccli/services/trdp/v20220726/api.json +0 -843
- tccli/services/trdp/v20220726/examples.json +0 -13
- tccli/services/ump/__init__.py +0 -4
- tccli/services/ump/ump_client.py +0 -1055
- tccli/services/ump/v20200918/api.json +0 -2168
- tccli/services/ump/v20200918/examples.json +0 -141
- tccli/services/youmall/__init__.py +0 -4
- tccli/services/youmall/v20180228/api.json +0 -3572
- tccli/services/youmall/v20180228/examples.json +0 -313
- tccli/services/youmall/youmall_client.py +0 -1797
- {tccli-3.0.1347.1.dist-info → tccli-3.0.1349.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1347.1.dist-info → tccli-3.0.1349.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1347.1.dist-info → tccli-3.0.1349.1.dist-info}/license_files/LICENSE +0 -0
@@ -1,615 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"actions": {
|
3
|
-
"AttachCcnInstances": [
|
4
|
-
{
|
5
|
-
"document": "",
|
6
|
-
"input": "https://gse.tencentcloudapi.com/?Action=AttachCcnInstances\n&FleetId=fleet-qp3g3caa-ax4fq2wi\n&AccountId=1234567\n&CcnId=ccn-2dsbtmo3\n&<公共请求参数>",
|
7
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"s1591756282499823050\"\n }\n}",
|
8
|
-
"title": "关联云联网实例"
|
9
|
-
}
|
10
|
-
],
|
11
|
-
"CopyFleet": [
|
12
|
-
{
|
13
|
-
"document": "",
|
14
|
-
"input": "https://gse.tencentcloudapi.com/?Action=CopyFleet\n&FleetId=fleet-qp3g3caa-2m6pzf4g\n&AssetId=asset-qrdiw1a9\n&Description=Human description\n&InstanceType=S5.LARGE8\n&FleetType=ON_DEMAND\n&Name=testfleet\n&NewGameServerSessionProtectionPolicy=TimeLimitProtection\n&ResourceCreationLimitPolicy.NewGameServerSessionsPerCreator=2\n&ResourceCreationLimitPolicy.PolicyPeriodInMinutes=0\n&RuntimeConfiguration.GameServerSessionActivationTimeoutSeconds=5\n&RuntimeConfiguration.MaxConcurrentGameServerSessionActivations=5\n&RuntimeConfiguration.ServerProcesses.0.ConcurrentExecutions=10\n&RuntimeConfiguration.ServerProcesses.0.LaunchPath=/local/game/GameLiftLinuxServer\n&InboundPermissions.0.FromPort=1900\n&InboundPermissions.0.IpRange=0.0.0.0/0\n&InboundPermissions.0.Protocol=TCP\n&InboundPermissions.0.ToPort=2900\n&SelectedScalingType=SCALING_UNSELECTED\n&SelectedCcnType=CCN_UNSELECTED\n&SelectedTimerType=TIMER_UNSELECTED\n&CopyNumber=1\n&DataDiskInfo.0.DiskType=CLOUD_PREMIUM\n&DataDiskInfo.0.DiskSize=50\n&SystemDiskInfo.DiskType=CLOUD_PREMIUM\n&SystemDiskInfo.DiskSize=50\n&<公共请求参数>",
|
15
|
-
"output": "{\n \"Response\": {\n \"FleetAttributes\": [\n {\n \"AssetId\": \"asset-qrdiw1a9\",\n \"BillingStatus\": \"BILLING_ACTIVATED\",\n \"CreationTime\": \"2020-11-18T04:01:03Z\",\n \"Description\": \"Human description test update\",\n \"FleetArn\": \"qcs::gse:ap-shanghai:uin/838831829:fleet/fleet-qp3g3caa-95z2gimq\",\n \"FleetId\": \"fleet-qp3g3caa-95z2gimq\",\n \"FleetType\": \"ON_DEMAND\",\n \"GameServerSessionProtectionTimeLimit\": 60,\n \"InstanceType\": \"S5.LARGE8\",\n \"Name\": \"frederickli-test-fleet\",\n \"NewGameServerSessionProtectionPolicy\": \"TimeLimitProtection\",\n \"OperatingSystem\": \"CentOS 7.16 64位\",\n \"ResourceCreationLimitPolicy\": {\n \"NewGameServerSessionsPerCreator\": 2,\n \"PolicyPeriodInMinutes\": 3\n },\n \"Status\": \"NEW\",\n \"StoppedActions\": [],\n \"TerminationTime\": null,\n \"DataDiskInfo\": [\n {\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskSize\": 50\n }\n ],\n \"SystemDiskInfo\": {\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskSize\": 50\n }\n }\n ],\n \"RequestId\": \"s1605672063311364390\",\n \"TotalCount\": 1\n }\n}",
|
16
|
-
"title": "复制服务器舰队"
|
17
|
-
}
|
18
|
-
],
|
19
|
-
"CreateAlias": [
|
20
|
-
{
|
21
|
-
"document": "",
|
22
|
-
"input": "https://gse.tencentcloudapi.com/?Action=CreateAlias\n&Name=aliastest\n&RoutingStrategy.Type=TERMINAL\n&RoutingStrategy.Message=thisisatest\n&RoutingStrategy.FleetId=fleet-xxxx-xxxx-xxxxx\n&Description=aliastest\n&<公共请求参数>",
|
23
|
-
"output": "{\n \"Response\": {\n \"Alias\": {\n \"AliasArn\": \"aliasArn-alias-1\",\n \"AliasId\": \"alias-1\",\n \"CreationTime\": \"2019-11-27T04:54:20Z\",\n \"Description\": \"aliastest\",\n \"LastUpdatedTime\": \"2019-11-27T04:54:20Z\",\n \"Name\": \"aliastest\",\n \"RoutingStrategy\": {\n \"FleetId\": \"fleet-xxxx-xxxx-xxxxx\",\n \"Message\": \"this is a test\",\n \"Type\": \"TERMINAL\"\n }\n },\n \"RequestId\": \"3084cdf3-6b74-4f8d-8f57-b3abb2b47bdd\"\n }\n}",
|
24
|
-
"title": "创建别名"
|
25
|
-
}
|
26
|
-
],
|
27
|
-
"CreateAsset": [
|
28
|
-
{
|
29
|
-
"document": "创建生成包",
|
30
|
-
"input": "https://gse.tencentcloudapi.com/?Action=CreateAsset\n&BucketKey=GseLinuxServer.zip\n&AssetName=asset-demo\n&AssetVersion=1.0\n&AssetRegion=ap-shanghai\n&OperateSystem=CentOS7.16\n&<公共请求参数>",
|
31
|
-
"output": "{\n \"Response\": {\n \"AssetId\": \"asset-xxx\",\n \"AssetArn\": \"xx\",\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad8\"\n }\n}",
|
32
|
-
"title": "创建生成包"
|
33
|
-
}
|
34
|
-
],
|
35
|
-
"CreateAssetWithImage": [
|
36
|
-
{
|
37
|
-
"document": "",
|
38
|
-
"input": "https://gse.tencentcloudapi.com/?Action=CreateAssetWithImage\n&AssetName=asset-demo\n&AssetVersion=1.0\n&AssetRegion=ap-shanghai\n&ImageId=img-pj8r89ch\n&ImageSize=40GB\n&ImageOs=CentOS 6.5 64bit\n&OsType=CentOS\n&ImageType=SHARED_IMAGE\n&OsBit=64\n&<公共请求参数>",
|
39
|
-
"output": "{\n \"Response\": {\n \"AssetArn\": \"qcs::gse:ap-shanghai:uin/838831829:asset/asset-mds6425j\",\n \"AssetId\": \"asset-mds6425j\",\n \"RequestId\": \"s1604054956874940891\"\n }\n}",
|
40
|
-
"title": "创建生成包镜像信息"
|
41
|
-
}
|
42
|
-
],
|
43
|
-
"CreateFleet": [
|
44
|
-
{
|
45
|
-
"document": "创建服务器舰队",
|
46
|
-
"input": "https://gse.tencentcloudapi.com/?Action=CreateFleet\n&AssetId=asset-eugdyx0g\n&Description=Humandecription\n&InstanceType=S5.LARGE8\n&FleetType=ON_DEMAND\n&Name=testfleet\n&NewGameServerSessionProtectionPolicy=FullProtection\n&PeerVpcId=null\n&ResourceCreationLimitPolicy.NewGameServerSessionsPerCreator=0\n&ResourceCreationLimitPolicy.PolicyPeriodInMinutes=1\n&RuntimeConfiguration.GameServerSessionActivationTimeoutSeconds=5\n&RuntimeConfiguration.MaxConcurrentGameServerSessionActivations=4\n&RuntimeConfiguration.ServerProcesses.0.ConcurrentExecutions=10\n&RuntimeConfiguration.ServerProcesses.0.LaunchPath=/local/game/GameLiftLinuxServer\n&RuntimeConfiguration.ServerProcesses.0.Parameters=-cconf/config.toml\n&InboundPermissions.0.FromPort=1900\n&InboundPermissions.0.IpRange=0.0.0.0/0\n&InboundPermissions.0.Protocol=TCP\n&InboundPermissions.0.ToPort=2900\n&DataDiskInfo.0.DiskType=CLOUD_PREMIUM\n&DataDiskInfo.0.DiskSize=50\n&SystemDiskInfo.DiskType=CLOUD_PREMIUM\n&SystemDiskInfo.DiskSize=50\n&<公共请求参数>",
|
47
|
-
"output": "{\n \"Response\": {\n \"FleetAttributes\": {\n \"AssetId\": \"build-xifjw-fiist-2019\",\n \"CreationTime\": \"2019-12-09T13:37:01Z\",\n \"Description\": \"Human decription\",\n \"FleetArn\": \"qcs::gse:ap-beijing:uin/20548499:fleet/fleet-pro4eunl-0l1exqxf\",\n \"FleetId\": \"fleet-pro4eunl-0l1exqxf\",\n \"FleetType\": \"ON_DEMAND\",\n \"GameServerSessionProtectionTimeLimit\": 5,\n \"InstanceType\": \"S5.LARGE8\",\n \"Name\": \"test fleet\",\n \"NewGameServerSessionProtectionPolicy\": \"TimeLimitProtection\",\n \"OperatingSystem\": \"centos\",\n \"ResourceCreationLimitPolicy\": {\n \"NewGameServerSessionsPerCreator\": 0,\n \"PolicyPeriodInMinutes\": 1\n },\n \"Status\": \"NEW\",\n \"StoppedActions\": [],\n \"TerminationTime\": null,\n \"DataDiskInfo\": [\n {\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskSize\": 50\n }\n ],\n \"SystemDiskInfo\": {\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskSize\": 50\n }\n },\n \"RequestId\": \"4520ba54-982e-46e2-9a0b-63c963c34fc6\"\n }\n}",
|
48
|
-
"title": "创建服务器舰队"
|
49
|
-
}
|
50
|
-
],
|
51
|
-
"CreateGameServerSession": [
|
52
|
-
{
|
53
|
-
"document": "创建游戏服务会话",
|
54
|
-
"input": "https://gse.tencentcloudapi.com/?Action=CreateGameServerSession\n&AliasId=alias-aatest-66bb\n&MaximumPlayerSessionCount=10\n&<公共请求参数>",
|
55
|
-
"output": "{\n \"Response\": {\n \"GameServerSession\": {\n \"AvailabilityStatus\": \"Enable\",\n \"CreationTime\": \"2020-07-30T03:55:43Z\",\n \"CreatorId\": \"\",\n \"CurrentCustomCount\": 0,\n \"CurrentPlayerSessionCount\": 0,\n \"DnsName\": \"\",\n \"FleetId\": \"fleet-qp33caaa-35555\",\n \"GameProperties\": [],\n \"GameServerSessionData\": \"\",\n \"GameServerSessionId\": \"qcs::gse:ap-shanghai:uin/100000010000:gameserversession/fleet-qp33caaa-35555/gssess-qtk2222-uuu\",\n \"InstanceType\": \"S5.LARGE8\",\n \"IpAddress\": \"127.0.0.1\",\n \"MatchmakerData\": \"\",\n \"MaxCustomCount\": 0,\n \"MaximumPlayerSessionCount\": 100,\n \"Name\": \"\",\n \"PlayerSessionCreationPolicy\": \"ACCEPT_ALL\",\n \"Port\": 6000,\n \"Status\": \"ACTIVATING\",\n \"StatusReason\": \"\",\n \"TerminationTime\": null,\n \"Weight\": 5\n },\n \"RequestId\": \"s15960816666663333\"\n }\n}",
|
56
|
-
"title": "创建游戏服务会话"
|
57
|
-
}
|
58
|
-
],
|
59
|
-
"CreateGameServerSessionQueue": [
|
60
|
-
{
|
61
|
-
"document": "",
|
62
|
-
"input": "https://gse.tencentcloudapi.com/?Action=CreateGameServerSessionQueue\n&Name=test\n&<公共请求参数>",
|
63
|
-
"output": "{\n \"Response\": {\n \"GameServerSessionQueue\": {\n \"Destinations\": [],\n \"GameServerSessionQueueArn\": \"qcs::gse:ap-shanghai:uin/20534889:queue/test\",\n \"Name\": \"test\",\n \"PlayerLatencyPolicies\": [],\n \"TimeoutInSeconds\": 600,\n \"Tags\": [\n {\n \"Value\": \"xx\",\n \"Key\": \"xx\"\n }\n ]\n },\n \"RequestId\": \"08f383c1-2694-4236-ba64-e7d3e3453d96c\"\n }\n}",
|
64
|
-
"title": "创建游戏服务器会话队列"
|
65
|
-
}
|
66
|
-
],
|
67
|
-
"DeleteAlias": [
|
68
|
-
{
|
69
|
-
"document": "",
|
70
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DeleteAlias\n&AliasId=alias-123\n&<公共请求参数>",
|
71
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"980f94c6-b2f9-4d39-a46b-5402789258cd\"\n }\n}",
|
72
|
-
"title": "删除别名"
|
73
|
-
}
|
74
|
-
],
|
75
|
-
"DeleteAsset": [
|
76
|
-
{
|
77
|
-
"document": "删除生成包",
|
78
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DeleteAsset\n&AssetId=asset-i5gtz5l9\n&<公共请求参数>",
|
79
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad8\"\n }\n}",
|
80
|
-
"title": "删除生成包"
|
81
|
-
}
|
82
|
-
],
|
83
|
-
"DeleteFleet": [
|
84
|
-
{
|
85
|
-
"document": "删除服务器舰队",
|
86
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DeleteFleet\n&FleetId=fleet-qp3g3caa-nkeekxw6\n&<公共请求参数>",
|
87
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"16f29370-828e-4acc-a836-9a542abfb650\"\n }\n}",
|
88
|
-
"title": "删除服务器舰队"
|
89
|
-
}
|
90
|
-
],
|
91
|
-
"DeleteGameServerSessionQueue": [
|
92
|
-
{
|
93
|
-
"document": "",
|
94
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DeleteGameServerSessionQueue\n&Name=queue2\n&<公共请求参数>",
|
95
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"3118ddfd-1fb0-4560-adf4-1da1216sdsdfedb\"\n }\n}",
|
96
|
-
"title": "游戏服务器会话队列"
|
97
|
-
}
|
98
|
-
],
|
99
|
-
"DeleteScalingPolicy": [
|
100
|
-
{
|
101
|
-
"document": "删除Fleet扩缩容策略配置,删除请求服务器舰队fleet-qp3g3caa-ay03mhdm的所有扩缩容策略。",
|
102
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DeleteScalingPolicy\n&FleetId=fleet-qp3g3caa-ay03mhdm\n&<公共请求参数>",
|
103
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"88017b64-f190-4882-9d9c-e995ac565014\"\n }\n}",
|
104
|
-
"title": "删除Fleet扩缩容策略配置"
|
105
|
-
}
|
106
|
-
],
|
107
|
-
"DeleteTimerScalingPolicy": [
|
108
|
-
{
|
109
|
-
"document": "",
|
110
|
-
"input": "POST / HTTP/1.1\nHost: gse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteTimerScalingPolicy\n<公共请求参数>\n\n{\n \"TimerId\": \"timerId-oc80v5zp\",\n \"FleetId\": \"fleet-qp3g3caa-mg4w88ho\",\n \"TimerName\": \"testDay\"\n}",
|
111
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"s1611558706853891353\"\n }\n}",
|
112
|
-
"title": "删除定时器"
|
113
|
-
}
|
114
|
-
],
|
115
|
-
"DescribeAlias": [
|
116
|
-
{
|
117
|
-
"document": "",
|
118
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeAlias\n&AliasId=alias-123-test\n&<公共请求参数>",
|
119
|
-
"output": "{\n \"Response\": {\n \"Alias\": {\n \"AliasArn\": \"qcs::gse:ap-shanghai:uin/20548499:alias/alias-123-test\",\n \"AliasId\": \"alias-123-test\",\n \"CreationTime\": \"2019-12-11T13:51:05Z\",\n \"Description\": \"\",\n \"LastUpdatedTime\": \"2019-12-11T13:51:05Z\",\n \"Name\": \"\",\n \"RoutingStrategy\": {\n \"FleetId\": \"fleet-qp3gsffn6-ob9lsbfa\",\n \"Message\": \"\",\n \"Type\": \"SIMPLE\"\n }\n },\n \"RequestId\": \"5d7aef5a-8950-4530-b89d-9c84347d13f6\"\n }\n}",
|
120
|
-
"title": "获取别名信息"
|
121
|
-
}
|
122
|
-
],
|
123
|
-
"DescribeAsset": [
|
124
|
-
{
|
125
|
-
"document": "获取生成包信息",
|
126
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeAsset\n&AssetId=asset-i5gtz5l9\n&<公共请求参数>",
|
127
|
-
"output": "{\n \"Response\": {\n \"Asset\": {\n \"AssetId\": \"build-xxxxx\",\n \"AssetName\": \"test\",\n \"AssetVersion\": \"test\",\n \"OperateSystem\": \"centos\",\n \"Stauts\": 1,\n \"Size\": \"11M\",\n \"CreateTime\": \"2019-11-28 20:04:32\",\n \"BindFleetNum\": 2,\n \"OsType\": \"xx\",\n \"ResourceType\": \"IMAGE\",\n \"SharingStatus\": \"SHARED\",\n \"AssetArn\": \"xx\",\n \"ImageId\": \"xx\"\n },\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad8\"\n }\n}",
|
128
|
-
"title": "获取生成包信息"
|
129
|
-
}
|
130
|
-
],
|
131
|
-
"DescribeAssetSystems": [
|
132
|
-
{
|
133
|
-
"document": "获取生成包支持的操作系统列表",
|
134
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeAssetSystems\n&OsType=Windows\n&OsBit=64\n&<公共请求参数>",
|
135
|
-
"output": "{\n \"Response\": {\n \"AssetSupportSys\": [\n {\n \"ImageId\": \"img-xxx\",\n \"OsBit\": \"64\",\n \"OsType\": \"Windows\",\n \"OsVersion\": \"Windows Server 2012 R2 数据中心版 64位英文版\"\n }\n ],\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad8\"\n }\n}",
|
136
|
-
"title": "获取生成包支持的操作系统列表"
|
137
|
-
}
|
138
|
-
],
|
139
|
-
"DescribeAssets": [
|
140
|
-
{
|
141
|
-
"document": "拉取生成包列表",
|
142
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeAssets\n&AssetRegion=ap-shanghai\n&Limit=1\n&Offset=2\n&Filter=xxx\n&<公共请求参数>",
|
143
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Assets\": [\n {\n \"AssetId\": \"asset-xxxxx\",\n \"AssetName\": \"test\",\n \"AssetVersion\": \"test\",\n \"OperateSystem\": \"centos\",\n \"Stauts\": 1,\n \"Size\": \"11M\",\n \"CreateTime\": \"2019-11-28 20:04:32\",\n \"BindFleetNum\": 2,\n \"AssetArn\": \"xx\",\n \"OsType\": \"CentOS\",\n \"ResourceType\": \"IMAGE\",\n \"SharingStatus\": \"SHARED\",\n \"ImageId\": \"xx\"\n }\n ],\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad8\"\n }\n}",
|
144
|
-
"title": "拉取生成包列表"
|
145
|
-
}
|
146
|
-
],
|
147
|
-
"DescribeCcnInstances": [
|
148
|
-
{
|
149
|
-
"document": "",
|
150
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeCcnInstances\n&FleetId=fleet-qp3g3caa-ax4fq2wi\n&<公共请求参数>",
|
151
|
-
"output": "{\n \"Response\": {\n \"CcnInstanceSets\": [\n {\n \"AccountId\": \"838831829\",\n \"CcnId\": \"ccn-2dsbtmo3\",\n \"CreateTime\": \"2020-06-10T10:36:05Z\",\n \"InstanceName\": \"fleet-qp3g3caa-ax4fq2wi\",\n \"State\": \"PENDING\"\n }\n ],\n \"RequestId\": \"s1591771152224988588\",\n \"TotalCount\": 1\n }\n}",
|
152
|
-
"title": "查询云联网实例"
|
153
|
-
}
|
154
|
-
],
|
155
|
-
"DescribeFleetAttributes": [
|
156
|
-
{
|
157
|
-
"document": "用于查询服务器舰队属性",
|
158
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeFleetAttributes\n&FleetIds.0=fleet-qp3g3caa-nkeekxw6\n&<公共请求参数>",
|
159
|
-
"output": "{\n \"Response\": {\n \"FleetAttributes\": [\n {\n \"AssetId\": \"asset-97n7z87d\",\n \"BillingStatus\": \"UNKNOWN\",\n \"CreationTime\": \"2020-01-06T09:55:34Z\",\n \"Description\": \"范德萨范德萨发\",\n \"FleetArn\": \"qcs::gse:ap-shanghai:uin/:fleet/fleet-qp3g3caa-hxcv60fw\",\n \"FleetId\": \"fleet-qp3g3caa-hxcv60fw\",\n \"FleetType\": \"ON_DEMAND\",\n \"GameServerSessionProtectionTimeLimit\": 0,\n \"InstanceType\": \"S5.SMALL2\",\n \"Name\": \"tedt01\",\n \"NewGameServerSessionProtectionPolicy\": \"FullProtection\",\n \"OperatingSystem\": \"\",\n \"ResourceCreationLimitPolicy\": {\n \"NewGameServerSessionsPerCreator\": 2,\n \"PolicyPeriodInMinutes\": 3\n },\n \"Status\": \"ACTIVE\",\n \"StoppedActions\": [],\n \"TerminationTime\": null,\n \"DataDiskInfo\": [\n {\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskSize\": 50\n }\n ],\n \"SystemDiskInfo\": {\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskSize\": 50\n }\n }\n ],\n \"RequestId\": \"s1602557884795276136\",\n \"TotalCount\": 1\n }\n}",
|
160
|
-
"title": "用于查询服务器舰队属性"
|
161
|
-
}
|
162
|
-
],
|
163
|
-
"DescribeFleetCapacity": [
|
164
|
-
{
|
165
|
-
"document": "",
|
166
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeFleetCapacity\n&FleetIds.0=fleet-qp3g3caa-ay03mhdm\n&Offset=0\n&Limit=10\n&<公共请求参数>",
|
167
|
-
"output": "{\n \"Response\": {\n \"FleetCapacity\": [\n {\n \"FleetId\": \"fleet-qp3g3caa-19tzbzao\",\n \"ScalingInterval\": 3,\n \"InstanceCounts\": {\n \"Active\": 1,\n \"Desired\": 1,\n \"Idle\": 1,\n \"MaxiNum\": 1,\n \"MiniNum\": 0,\n \"Pending\": 0,\n \"Terminating\": 0\n },\n \"InstanceType\": \"S5.SMALL2\"\n }\n ],\n \"RequestId\": \"fb8ac83f-fefa-4b5d-ba12-d1dc88785e6b\",\n \"TotalCount\": 1\n }\n}",
|
168
|
-
"title": "查询Fleet的容量信息列表"
|
169
|
-
}
|
170
|
-
],
|
171
|
-
"DescribeFleetEvents": [
|
172
|
-
{
|
173
|
-
"document": "本示例用于查看服务器舰队的事件列表",
|
174
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeFleetEvents\n&FleetId=fleet-pro4extc-kej8s8z4\n&Offset=0\n&Limit=10\n&<公共请求参数>",
|
175
|
-
"output": "{\n \"Response\": {\n \"Events\": [\n {\n \"EventCode\": \"FLEET_STATE_VALIDATING\",\n \"EventId\": \"event-qyylnmcz-cic9i6f3\",\n \"EventTime\": \"2019-12-09T06:10:29Z\",\n \"Message\": \"Fleet changed state to VALIDATING\",\n \"PreSignedLogUrl\": \"\",\n \"ResourceId\": \"fleet-pro4extc-kej8s8z4\"\n },\n {\n \"EventCode\": \"FLEET_CREATION_RUNNING_INSTALLER\",\n \"EventId\": \"event-qyylnmcz-2nweakep\",\n \"EventTime\": \"2019-12-09T06:08:29Z\",\n \"Message\": \"Running installer at /local/game/install.sh\",\n \"PreSignedLogUrl\": \"\",\n \"ResourceId\": \"fleet-pro4extc-kej8s8z4\"\n },\n {\n \"EventCode\": \"FLEET_CREATION_VALIDATING_RUNTIME_CONFIG\",\n \"EventId\": \"event-qyylnmcz-g8qtc5wd\",\n \"EventTime\": \"2019-12-09T06:08:29Z\",\n \"Message\": \"Searching for runtime path.\",\n \"PreSignedLogUrl\": \"\",\n \"ResourceId\": \"fleet-pro4extc-kej8s8z4\"\n },\n {\n \"EventCode\": \"FLEET_STATE_DOWNLOADING\",\n \"EventId\": \"event-qyylnmcz-npk9jmjb\",\n \"EventTime\": \"2019-12-09T06:05:29Z\",\n \"Message\": \"Fleet changed state to DOWNLOADING\",\n \"PreSignedLogUrl\": \"\",\n \"ResourceId\": \"fleet-pro4extc-kej8s8z4\"\n },\n {\n \"EventCode\": \"FLEET_CREATED\",\n \"EventId\": \"event-qyylnmcz-ibwl3703\",\n \"EventTime\": \"2019-12-09T06:01:29Z\",\n \"Message\": \"Fleet has been created with state NEW.\",\n \"PreSignedLogUrl\": \"\",\n \"ResourceId\": \"fleet-pro4extc-kej8s8z4\"\n },\n {\n \"EventCode\": \"FLEET_CREATION_EXTRACTING_BUILD\",\n \"EventId\": \"event-qyylnmcz-1gwrgqmr\",\n \"EventTime\": \"2019-12-09T06:01:29Z\",\n \"Message\": \"Extracting Build.\",\n \"PreSignedLogUrl\": \"\",\n \"ResourceId\": \"fleet-pro4extc-kej8s8z4\"\n }\n ],\n \"RequestId\": \"s1575880419614511725\",\n \"TotalCount\": 6\n }\n}",
|
176
|
-
"title": "查询服务器舰队的事件列表"
|
177
|
-
}
|
178
|
-
],
|
179
|
-
"DescribeFleetPortSettings": [
|
180
|
-
{
|
181
|
-
"document": "服务器舰队安全组信息查询",
|
182
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeFleetPortSettings\n&FleetId=fleet-qp3g3caa-nkeekxw6\n&<公共请求参数>",
|
183
|
-
"output": "{\n \"Response\": {\n \"InboundPermissions\": [\n {\n \"FromPort\": 1900,\n \"IpRange\": \"0.0.0.0/0\",\n \"Protocol\": \"TCP\",\n \"ToPort\": 2900\n }\n ],\n \"RequestId\": \"16f29370-828e-4acc-a836-9a542abfb650\"\n }\n}",
|
184
|
-
"title": "服务器舰队安全组信息查询"
|
185
|
-
}
|
186
|
-
],
|
187
|
-
"DescribeFleetRelatedResources": [
|
188
|
-
{
|
189
|
-
"document": "删除服务器舰队时,可先访问该接口获取与服务器舰队关联的资源",
|
190
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeFleetRelatedResources\n&FleetId=fleet-qp3g3caa-nkeekxw6\n&<公共请求参数>",
|
191
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"2140e503-13cc-4249-af0f-b6ae0682ca18\",\n \"Resources\": [\n {\n \"ResourceId\": \"alias-qh85lwj6-k4bfes0u\",\n \"ResourceRegion\": \"ap-shanghai\",\n \"Type\": \"ALIAS\"\n },\n {\n \"ResourceId\": \"kongtest\",\n \"ResourceRegion\": \"ap-shanghai\",\n \"Type\": \"QUEUE\"\n },\n {\n \"ResourceId\": \"kongtest\",\n \"ResourceRegion\": \"na-siliconvalley\",\n \"Type\": \"QUEUE\"\n }\n ]\n }\n}",
|
192
|
-
"title": "获取服务器舰队关联的资源"
|
193
|
-
}
|
194
|
-
],
|
195
|
-
"DescribeFleetStatisticDetails": [
|
196
|
-
{
|
197
|
-
"document": "",
|
198
|
-
"input": "POST / HTTP/1.1\nHost: gse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFleetStatisticDetails\n<公共请求参数>\n\n{\n \"EndTime\": \"2020-09-22 00:00:00\",\n \"FleetId\": \"fleet-qp3g3caa-nkeekxw6\",\n \"BeginTime\": \"2020-09-22 00:00:00\"\n}",
|
199
|
-
"output": "{\n \"Response\": {\n \"DetailList\": [\n {\n \"FleetId\": \"fleet-qp3g3caa-nkeekxw6\",\n \"InstanceId\": \"ins-abd1122\",\n \"InstanceIP\": \"1.1.1.2\",\n \"TotalUsedTimeSeconds\": 60,\n \"TotalUsedFlowMegaBytes\": 1024,\n \"BeginTime\": \"2020-05-13T01:00:00Z\",\n \"EndTime\": \"2020-05-13T02:00:00Z\"\n }\n ],\n \"TotalCount\": 10,\n \"TimeType\": \"DAY\",\n \"RequestId\": \"4520ba54-982e-46e2-9a0b-63c963c34fc6\"\n }\n}",
|
200
|
-
"title": "查询舰队统计详情信息"
|
201
|
-
}
|
202
|
-
],
|
203
|
-
"DescribeFleetStatisticFlows": [
|
204
|
-
{
|
205
|
-
"document": "",
|
206
|
-
"input": "POST / HTTP/1.1\nHost: gse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFleetStatisticFlows\n<公共请求参数>\n\n{\n \"Limit\": 10,\n \"EndTime\": \"2020-09-22 00:00:00\",\n \"FleetId\": \"fleet-qp3g3caa-nkeekxw6\",\n \"BeginTime\": \"2020-09-22 00:00:00\",\n \"Offset\": 0\n}",
|
207
|
-
"output": "{\n \"Response\": {\n \"UsedFlowList\": [\n {\n \"TotalUsedFlowMegaBytes\": 1024,\n \"BeginTime\": \"2020-05-13T01:02:03Z\"\n }\n ],\n \"UsedTimeList\": [\n {\n \"TotalUsedTimeSeconds\": 60,\n \"BeginTime\": \"2020-05-13T01:02:03Z\"\n }\n ],\n \"TotalCount\": 10,\n \"TimeType\": \"DAY\",\n \"RequestId\": \"4520ba54-982e-46e2-9a0b-63c963c34fc6\"\n }\n}",
|
208
|
-
"title": "查询舰队统计用量"
|
209
|
-
}
|
210
|
-
],
|
211
|
-
"DescribeFleetStatisticSummary": [
|
212
|
-
{
|
213
|
-
"document": "",
|
214
|
-
"input": "POST / HTTP/1.1\nHost: gse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFleetStatisticSummary\n<公共请求参数>\n\n{\n \"EndTime\": \"2020-09-22 00:00:00\",\n \"FleetId\": \"fleet-qp3g3caa-nkeekxw6\",\n \"BeginTime\": \"2020-09-22 00:00:00\"\n}",
|
215
|
-
"output": "{\n \"Response\": {\n \"TotalUsedTimeSeconds\": \"60\",\n \"TotalUsedFlowMegaBytes\": \"1024\",\n \"RequestId\": \"4520ba54-982e-46e2-9a0b-63c963c34fc6\"\n }\n}",
|
216
|
-
"title": "查询舰队统计汇总信息"
|
217
|
-
}
|
218
|
-
],
|
219
|
-
"DescribeFleetUtilization": [
|
220
|
-
{
|
221
|
-
"document": "查询服务器舰队的利用率信息",
|
222
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeFleetUtilization\n&FleetIds.0=fleet-qp3g3caa-nkeekxw6\n&<公共请求参数>",
|
223
|
-
"output": "{\n \"Response\": {\n \"FleetUtilization\": [\n {\n \"ActiveGameServerSessionCount\": 0,\n \"ActiveServerProcessCount\": 49,\n \"CurrentPlayerSessionCount\": 0,\n \"FleetId\": \"fleet-qp3g3caa-8yh5e7kg\",\n \"MaximumPlayerSessionCount\": 0\n }\n ],\n \"RequestId\": \"d485c777-e1f6-4bfd-9e03-c4968f097692\",\n \"TotalCount\": 1\n }\n}",
|
224
|
-
"title": "查询服务器舰队的利用率信息"
|
225
|
-
}
|
226
|
-
],
|
227
|
-
"DescribeGameServerSessionDetails": [
|
228
|
-
{
|
229
|
-
"document": "获取游戏会话详情列表",
|
230
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeGameServerSessionDetails\n&FleetId=fleet-test00-1223\n&Limit=5\n&NextToken=nextToken-test01-tt\n&<公共请求参数>",
|
231
|
-
"output": "{\n \"Response\": {\n \"GameServerSessionDetails\": [\n {\n \"GameServerSession\": {\n \"AvailabilityStatus\": \"Enable\",\n \"CreationTime\": \"2020-07-30T03:55:43Z\",\n \"CreatorId\": \"\",\n \"CurrentCustomCount\": 0,\n \"CurrentPlayerSessionCount\": 0,\n \"DnsName\": \"\",\n \"FleetId\": \"fleet-qp33caaa-35555\",\n \"GameProperties\": [],\n \"GameServerSessionData\": \"\",\n \"GameServerSessionId\": \"qcs::gse:ap-shanghai:uin/100000010000:gameserversession/fleet-qp33caaa-35555/gssess-qtk2222-uuu\",\n \"InstanceType\": \"S5.LARGE8\",\n \"IpAddress\": \"127.0.0.1\",\n \"MatchmakerData\": \"\",\n \"MaxCustomCount\": 0,\n \"MaximumPlayerSessionCount\": 100,\n \"Name\": \"\",\n \"PlayerSessionCreationPolicy\": \"ACCEPT_ALL\",\n \"Port\": 6000,\n \"Status\": \"ACTIVATING\",\n \"StatusReason\": \"\",\n \"TerminationTime\": null,\n \"Weight\": 5\n },\n \"ProtectionPolicy\": \"TimeLimitProtection\"\n }\n ],\n \"NextToken\": \"\",\n \"RequestId\": \"0a6ce70b-ffc8-4b9a-9255-d1915test\"\n }\n}",
|
232
|
-
"title": "获取游戏会话详情列表"
|
233
|
-
}
|
234
|
-
],
|
235
|
-
"DescribeGameServerSessionPlacement": [
|
236
|
-
{
|
237
|
-
"document": "",
|
238
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeGameServerSessionPlacement\n&PlacementId=PlacementId-3a7d34cd-5240-11ea-b02a-3464sdf513fe\n&<公共请求参数>",
|
239
|
-
"output": "{\n \"Response\": {\n \"GameServerSessionPlacement\": {\n \"DnsName\": \"\",\n \"EndTime\": \"2020-02-18T11:27:23Z\",\n \"GameProperties\": [\n {\n \"Key\": \"Key-3a7d34d0-5240-11ea-a3b0-3464afff13fe\",\n \"Value\": \"Value-3a7d34d1-5240-11ea-9466-344654391513fe\"\n }\n ],\n \"GameServerSessionData\": \"GameServerSessionData-3a7d34d2-5240-11ea-8dd4-3464afdf1513fe\",\n \"GameServerSessionId\": \"\",\n \"GameServerSessionName\": \"GameServerSessionName-3a7d34d3-5240-11ea-8564-3464sd1513fe\",\n \"GameServerSessionQueueName\": \"PlacementTwo\",\n \"GameServerSessionRegion\": \"\",\n \"IpAddress\": \"\",\n \"MatchmakerData\": \"\",\n \"MaximumPlayerSessionCount\": 100,\n \"PlacedPlayerSessions\": [],\n \"PlacementId\": \"PlacementId-3a7d34cd-5240-11ea-b02a-3464sdf513fe\",\n \"PlayerLatencies\": [\n {\n \"LatencyInMilliseconds\": 10000,\n \"PlayerId\": \"Player-3a7d34d4-5240-11ea-a2ee-3464a91513fe\",\n \"RegionIdentifier\": \"ap-shanghai\"\n }\n ],\n \"Port\": 0,\n \"StartTime\": \"2020-02-18T11:17:23Z\",\n \"Status\": \"TIMED_OUT\"\n }\n }\n}",
|
240
|
-
"title": "查询游戏服务器会话的放置"
|
241
|
-
}
|
242
|
-
],
|
243
|
-
"DescribeGameServerSessionQueues": [
|
244
|
-
{
|
245
|
-
"document": "",
|
246
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeGameServerSessionQueues\n&Names.0=queue2\n&<公共请求参数>",
|
247
|
-
"output": "{\n \"Response\": {\n \"GameServerSessionQueues\": [\n {\n \"Destinations\": [\n {\n \"DestinationArn\": \"qcs::gse:ap-shanghai:uin/100045346943:alias/alias-8whoa55z-reu7dfdfphl\"\n }\n ],\n \"GameServerSessionQueueArn\": \"qcs::gse:ap-shanghai:uin/24353458499:queue/t2\",\n \"Name\": \"queue2\",\n \"PlayerLatencyPolicies\": [\n {\n \"MaximumIndividualPlayerLatencyMilliseconds\": 56,\n \"PolicyDurationSeconds\": 20\n }\n ],\n \"TimeoutInSeconds\": 20\n }\n ],\n \"RequestId\": \"3832851f-2b09-47dc-85db-27c33946456549\",\n \"TotalCount\": 1\n }\n}",
|
248
|
-
"title": "查询游戏服务器会话队列"
|
249
|
-
}
|
250
|
-
],
|
251
|
-
"DescribeGameServerSessions": [
|
252
|
-
{
|
253
|
-
"document": "查询游戏会话列表",
|
254
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeGameServerSessions\n&AliasId=a\n&GameServerSessionId=qcs::gse:ap-shanghai:uin/1112222:gameserversession/fleet-qp3ga-p70zzzz/gssess-aaaa-ilqsssu/PlacementId-124ddda-4e28-1111-222b-111222\n&Limit=1\n&NextToken=nextToken-4hpp445-niuu789\n&StatusFilter=ACTIVATING\n&<公共请求参数>",
|
255
|
-
"output": "{\n \"Response\": {\n \"GameServerSessions\": [\n {\n \"AvailabilityStatus\": \"Enable\",\n \"CreationTime\": \"2020-07-30T03:55:43Z\",\n \"CreatorId\": \"\",\n \"CurrentCustomCount\": 0,\n \"CurrentPlayerSessionCount\": 0,\n \"DnsName\": \"\",\n \"FleetId\": \"fleet-qp33caaa-35555\",\n \"GameProperties\": [],\n \"GameServerSessionData\": \"\",\n \"GameServerSessionId\": \"qcs::gse:ap-shanghai:uin/100000010000:gameserversession/fleet-qp33caaa-35555/gssess-qtk2222-uuu\",\n \"InstanceType\": \"S5.LARGE8\",\n \"IpAddress\": \"127.0.0.1\",\n \"MatchmakerData\": \"\",\n \"MaxCustomCount\": 0,\n \"MaximumPlayerSessionCount\": 100,\n \"Name\": \"\",\n \"PlayerSessionCreationPolicy\": \"ACCEPT_ALL\",\n \"Port\": 6000,\n \"Status\": \"ACTIVATING\",\n \"StatusReason\": \"\",\n \"TerminationTime\": null,\n \"Weight\": 5\n }\n ],\n \"NextToken\": \"\",\n \"RequestId\": \"0fffff4-oooo-43333d-9222-testaaa\"\n }\n}",
|
256
|
-
"title": "查询游戏会话列表"
|
257
|
-
}
|
258
|
-
],
|
259
|
-
"DescribeInstanceLimit": [
|
260
|
-
{
|
261
|
-
"document": "查询用户实例数限额",
|
262
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeInstanceLimit\n&<公共请求参数>",
|
263
|
-
"output": "{\n \"Response\": {\n \"Limit\": 0,\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad8\",\n \"ExtraInfos\": [\n {\n \"TotalInstances\": 1,\n \"InstanceType\": \"inst-sjifew\"\n }\n ]\n }\n}",
|
264
|
-
"title": "查询用户实例数限额"
|
265
|
-
}
|
266
|
-
],
|
267
|
-
"DescribeInstanceTypes": [
|
268
|
-
{
|
269
|
-
"document": "获取服务器实例类型列表",
|
270
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeInstanceTypes\n&<公共请求参数>",
|
271
|
-
"output": "{\n \"Response\": {\n \"InstanceTypeList\": [\n {\n \"TypeName\": \"标准型S3\",\n \"InstanceType\": \"S3.LARGE8\",\n \"Cpu\": 4,\n \"Memory\": 8,\n \"NetworkCard\": 45\n }\n ],\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad8\"\n }\n}",
|
272
|
-
"title": "获取服务器实例类型列表"
|
273
|
-
}
|
274
|
-
],
|
275
|
-
"DescribeInstances": [
|
276
|
-
{
|
277
|
-
"document": "",
|
278
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeInstances\n&FleetId=fleet-qp3g3caa-ay03mhdm\n&IpAddress=1.1.1.1\n&Offset=0\n&Limit=10\n&<公共请求参数>",
|
279
|
-
"output": "{\n \"Response\": {\n \"Instances\": [\n {\n \"CreateTime\": \"2020-04-09T11:30:03Z\",\n \"DnsName\": \"\",\n \"FleetId\": \"fleet-qp3g3caa-dglymksw\",\n \"InstanceId\": \"ins-1d6i1mzp\",\n \"IpAddress\": \"1.1.1.1\",\n \"OperatingSystem\": \"CentOS7.16\",\n \"Status\": \"RUNNING\",\n \"Type\": \"S5.SMALL2\"\n },\n {\n \"CreateTime\": \"2020-04-09T11:20:20Z\",\n \"DnsName\": \"\",\n \"FleetId\": \"fleet-qp3g3caa-ckyp9do4\",\n \"InstanceId\": \"ins-gsua7xs9\",\n \"IpAddress\": \"1.1.1.2\",\n \"OperatingSystem\": \"CentOS7.16\",\n \"Status\": \"RUNNING\",\n \"Type\": \"S5.SMALL2\"\n }\n ],\n \"RequestId\": \"e8ab591f-9a69-466d-a27b-a587556856bc\",\n \"TotalCount\": 2\n }\n}",
|
280
|
-
"title": "查询实例列表"
|
281
|
-
}
|
282
|
-
],
|
283
|
-
"DescribeInstancesExtend": [
|
284
|
-
{
|
285
|
-
"document": "",
|
286
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeInstancesExtend\n&FleetId=fleet-qp3g3caa-ay03mhdm\n&IpAddress=1.1.1.1\n&Offset=0\n&Limit=10\n&<公共请求参数>",
|
287
|
-
"output": "{\n \"Response\": {\n \"Instances\": [\n {\n \"ActiveProcessCnt\": 1,\n \"GameSessionCnt\": 0,\n \"HealthyProcessCnt\": 1,\n \"Instance\": {\n \"CreateTime\": \"2020-02-26T03:31:17Z\",\n \"DnsName\": \"\",\n \"FleetId\": \"fleet-qp3g3caa-19tzbzao\",\n \"InstanceId\": \"ins-242yfav7\",\n \"IpAddress\": \"129.211.106.166\",\n \"OperatingSystem\": \"CentOS7.16\",\n \"Status\": \"RUNNING\",\n \"Type\": \"S5.SMALL2\"\n },\n \"MaxGameSessionCnt\": 0,\n \"MaxPlayerSessionCnt\": 0,\n \"PlayerSessionCnt\": 0,\n \"State\": \"Active\"\n }\n ],\n \"RequestId\": \"d47e19b5-12b7-43e9-b25f-a48344efb199\",\n \"TotalCount\": 1\n }\n}",
|
288
|
-
"title": "查询实例及其扩展信息"
|
289
|
-
}
|
290
|
-
],
|
291
|
-
"DescribePlayerSessions": [
|
292
|
-
{
|
293
|
-
"document": "查询玩家会话列表",
|
294
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribePlayerSessions\n&GameServerSessionId=qcs::gse:ap-shanghai:uin/1112222:gameserversession/fleet-qp3ga-p70zzzz/gssess-aaaa-ilqsssu/PlacementId-124ddda-4e28-1111-222b-abcde\n&Limit=5\n&NextToken=nextToken-abc78-1122bc\n&<公共请求参数>",
|
295
|
-
"output": "{\n \"Response\": {\n \"NextToken\": \"nextToken-4hpp445-niuu789\",\n \"PlayerSessions\": [\n {\n \"CreationTime\": \"2019-12-06T11:33:19Z\",\n \"DnsName\": \"\",\n \"FleetId\": \"fleet-00test-a5testzz\",\n \"GameServerSessionId\": \"qcs::gse:ap-shanghai:uin/1112222:gameserversession/fleet-qp3ga-p70zzzz/gssess-aaaa-ilqsssu/PlacementId-124ddda-4e28-1111-222b-abcde\",\n \"IpAddress\": \"0000.0.0.0\",\n \"PlayerData\": \"TestPlayerData\",\n \"PlayerId\": \"\",\n \"PlayerSessionId\": \"psess-d44990-test5\",\n \"Port\": 8000,\n \"Status\": \"COMPLETED\",\n \"TerminationTime\": \"2019-12-06T11:33:18Z\"\n }\n ],\n \"RequestId\": \"0fffff4-oooo-43333d-9222-testaaa\"\n }\n}",
|
296
|
-
"title": "查询玩家会话列表"
|
297
|
-
}
|
298
|
-
],
|
299
|
-
"DescribeRuntimeConfiguration": [
|
300
|
-
{
|
301
|
-
"document": "获取服务器舰队运行配置",
|
302
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeRuntimeConfiguration\n&FleetId=fleet-qp3g3fn6-p6l46gnu\n&<公共请求参数>",
|
303
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"s1582189364373611676\",\n \"RuntimeConfiguration\": {\n \"GameServerSessionActivationTimeoutSeconds\": 600,\n \"MaxConcurrentGameServerSessionActivations\": 0,\n \"ServerProcesses\": [\n {\n \"ConcurrentExecutions\": 10,\n \"LaunchPath\": \"/local/game/GameLiftLinuxServer\",\n \"Parameters\": \"\"\n }\n ]\n }\n }\n}",
|
304
|
-
"title": "获取服务器舰队运行配置"
|
305
|
-
}
|
306
|
-
],
|
307
|
-
"DescribeScalingPolicies": [
|
308
|
-
{
|
309
|
-
"document": "",
|
310
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeScalingPolicies\n&FleetId=fleet-qp3g3caa-ay03mhdm\n&Offset=0\n&Limit=10\n&<公共请求参数>",
|
311
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"ed36d5af-7db8-4bd8-9c4d-ee33c0ca330d\",\n \"ScalingPolicies\": [\n {\n \"ComparisonOperator\": \"\",\n \"EvaluationPeriods\": \"\",\n \"FleetId\": \"fleet-qp3g3caa-19tzbzao\",\n \"MetricName\": \"\",\n \"Name\": \"\",\n \"PolicyType\": \"\",\n \"ScalingAdjustment\": \"\",\n \"ScalingAdjustmentType\": \"\",\n \"Status\": \"\",\n \"TargetConfiguration\": {\n \"TargetValue\": 30\n },\n \"Threshold\": \"\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
312
|
-
"title": "查询Fleet的扩缩容配置"
|
313
|
-
}
|
314
|
-
],
|
315
|
-
"DescribeTimerScalingPolicies": [
|
316
|
-
{
|
317
|
-
"document": "",
|
318
|
-
"input": "POST / HTTP/1.1\nHost: gse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimerScalingPolicies\n<公共请求参数>\n\n{\n \"FleetId\": \"fleet-qp3g3caa-mg4w88ho\",\n \"Limit\": 10,\n \"Offset\": 0\n}",
|
319
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"s1611556817860590511\",\n \"TimerScalingPolicies\": [\n {\n \"TimerId\": \"\",\n \"TimerStatus\": 1,\n \"TimerName\": \"11111111\",\n \"TimerFleetCapacity\": {\n \"FleetId\": \"fleet-qp3g3caa-mkurlvoa\",\n \"DesiredInstances\": 1,\n \"MinSize\": 0,\n \"MaxSize\": 1,\n \"ScalingInterval\": 10,\n \"ScalingType\": \"ScalingTypeAuto\",\n \"TargetConfiguration\": {\n \"TargetValue\": 23\n }\n },\n \"TimerConfiguration\": {\n \"TimerType\": \"TimerTypeDay\",\n \"TimerValue\": {\n \"Day\": 1,\n \"WeekDays\": [],\n \"FromDay\": 0,\n \"ToDay\": 0\n },\n \"BeginTime\": \"2021-01-14T14:04:29.496Z\",\n \"EndTime\": \"2022-01-14T14:04:29.496Z\"\n }\n }\n ],\n \"TotalCount\": 0\n }\n}",
|
320
|
-
"title": "查询定时器列表"
|
321
|
-
}
|
322
|
-
],
|
323
|
-
"DescribeUserQuota": [
|
324
|
-
{
|
325
|
-
"document": "",
|
326
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeUserQuota\n&<公共请求参数>",
|
327
|
-
"output": "{\n \"Response\": {\n \"QuotaResource\": {\n \"ExtraInfo\": \"\",\n \"HardLimit\": 20,\n \"Remaining\": 10,\n \"ResourceType\": 1\n },\n \"RequestId\": \"s1585794616012158675\"\n }\n}",
|
328
|
-
"title": "获取用户单个模块配额示例"
|
329
|
-
}
|
330
|
-
],
|
331
|
-
"DescribeUserQuotas": [
|
332
|
-
{
|
333
|
-
"document": "",
|
334
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DescribeUserQuotas\n&<公共请求参数>",
|
335
|
-
"output": "{\n \"Response\": {\n \"QuotaResource\": [\n {\n \"ExtraInfo\": \"\",\n \"HardLimit\": 20,\n \"Remaining\": 4,\n \"ResourceType\": 2\n },\n {\n \"ExtraInfo\": \"\",\n \"HardLimit\": 20,\n \"Remaining\": 2,\n \"ResourceType\": 3\n },\n {\n \"ExtraInfo\": \"{\\\"AssertCapacityQuota\\\":\\\"100GB\\\",\\\"AssertCapacitySurplus\\\":\\\"80GB\\\"}\",\n \"HardLimit\": 20,\n \"Remaining\": 10,\n \"ResourceType\": 1\n },\n {\n \"ExtraInfo\": \"\",\n \"HardLimit\": 20,\n \"Remaining\": 10,\n \"ResourceType\": 5\n }\n ],\n \"RequestId\": \"s1585793458903733954\",\n \"Total\": 4\n }\n}",
|
336
|
-
"title": "获取用户配额示例"
|
337
|
-
}
|
338
|
-
],
|
339
|
-
"DetachCcnInstances": [
|
340
|
-
{
|
341
|
-
"document": "",
|
342
|
-
"input": "https://gse.tencentcloudapi.com/?Action=DetachCcnInstances\n&FleetId=fleet-qp3g3caa-ax4fq2wi\n&<公共请求参数>",
|
343
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"s1591756528815085354\"\n }\n}",
|
344
|
-
"title": "解关联云联网实例"
|
345
|
-
}
|
346
|
-
],
|
347
|
-
"EndGameServerSessionAndProcess": [
|
348
|
-
{
|
349
|
-
"document": "",
|
350
|
-
"input": "https://gse.tencentcloudapi.com/?Action=EndGameServerSessionAndProcess\n&GameServerSessionId=qcs::gse:ap-shanghai:uin/1112222:gameserversession/fleet-qp3ga-pxxx/xxx\n&IpAddress=0.0.0.0\n&Port=8888\n&<公共请求参数>",
|
351
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"84708eb1-0247-43f8-834e-c7edfdsfdgd53\"\n }\n}",
|
352
|
-
"title": "终止游戏服务器会话的进程"
|
353
|
-
}
|
354
|
-
],
|
355
|
-
"GetGameServerInstanceLogUrl": [
|
356
|
-
{
|
357
|
-
"document": "获取游戏实例日志URL",
|
358
|
-
"input": "https://gse.tencentcloudapi.com/?Action=GetGameServerInstanceLogUrl\n&FleetId=fleet-qp3g3ffn-rwh0v05d\n&InstanceId=ins-93lqcfq0\n&ServerIp=21.3.65.11\n&Offset=0\n&Size=10\n&<公共请求参数>",
|
359
|
-
"output": "{\n \"Response\": {\n \"HasNext\": true,\n \"Total\": 11,\n \"PresignedUrls\": [\n \"http://test/url-001\",\n \"http://test/url-002\",\n \"http://test/url-003\"\n ],\n \"RequestId\": \"xx\"\n }\n}",
|
360
|
-
"title": "获取游戏实例日志URL"
|
361
|
-
}
|
362
|
-
],
|
363
|
-
"GetGameServerSessionLogUrl": [
|
364
|
-
{
|
365
|
-
"document": "获取游戏会话日志URL",
|
366
|
-
"input": "https://gse.tencentcloudapi.com/?Action=GetGameServerSessionLogUrl\n&GameServerSessionId=qcs::gse:ap-shanghai:uin/1112222:gameserversession/fleet-qp3ga-p70zzzz/gssess-aaaa-ilqsssu/PlacementId-124ddda-4e28-1111-222b-abcde\n&<公共请求参数>",
|
367
|
-
"output": "{\n \"Response\": {\n \"PreSignedUrl\": \"http://test/url-001\",\n \"RequestId\": \"s1596161996478632139\"\n }\n}",
|
368
|
-
"title": "获取游戏会话日志URL"
|
369
|
-
}
|
370
|
-
],
|
371
|
-
"GetInstanceAccess": [
|
372
|
-
{
|
373
|
-
"document": "获取实例登录所需要的凭据",
|
374
|
-
"input": "https://gse.tencentcloudapi.com/?Action=GetInstanceAccess\n&FleetId=fleet-qp3g3caa-iectl8nb\n&InstanceId=ins-gi2lxw\n&<公共请求参数>",
|
375
|
-
"output": "{\n \"Response\": {\n \"InstanceAccess\": {\n \"Credentials\": {\n \"Secret\": \"w4bksrwe3gdbqwernmlvjioqeniovmlni3289t0123n42lfn892sjdfqwionv823bnvh2ljkvs\",\n \"UserName\": \"root\"\n },\n \"FleetId\": \"fleet-qp3g3caa-iectl8nb\",\n \"InstanceId\": \"ins-gi2lxw\",\n \"IpAddress\": \"9.12.5.87\",\n \"OperatingSystem\": \"centos6.7\"\n },\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad8\"\n }\n}",
|
376
|
-
"title": "获取实例登录所需要的凭据"
|
377
|
-
}
|
378
|
-
],
|
379
|
-
"GetUploadCredentials": [
|
380
|
-
{
|
381
|
-
"document": "下面是请求返回的授权信息:\n\n```\n{\n \"Response\": {\n \t\"BucketAuth\": \"q-sign-algorithm=sha1&q-ak=AKID0ndxGAMVRNGyKXulw5ilRyyxWwBKtEQa&q-sign-time=1571902453;1571902813&q-key-time=1571902453;1571902813&q-header-list=host&q-url-param-list=&q-signature=93dbff22e6b80fb5907fe5f4e31a491p7f146cee\",\n \"BucketName\": \"xxxx\",\n \"AssetRegion\": \"ap-shanghai\",\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad81\"\n }\n}\n```\n上传 Bucket ,请求 HOST 地址为:`https://<BucketName>.cos.<AssetRegion>.myqcloud.com`,具体使用方式参考[COS API 文档](https://cloud.tencent.com/document/product/436/7749),[COS SDK集成](https://cloud.tencent.com/document/product/436/6474) 进行调用。",
|
382
|
-
"input": "https://gse.tencentcloudapi.com/?Action=GetUploadCredentials\n&AssetRegion=ap-shanghai\n&BucketKey=server.zip\n&<公共请求参数>",
|
383
|
-
"output": "{\n \"Response\": {\n \"BucketAuth\": \"q-sign-algorithm=sha1&q-ak=AKID0ndxGAMVRNGyKXulw5ilRyyxWwBKtEQa&q-sign-time=1571902453;1571902813&q-key-time=1571902453;1571902813&q-header-list=host&q-url-param-list=&q-signature=93dbff22e6b80fb5907fe5f4e31a491p7f146cee\",\n \"BucketName\": \"xxxx\",\n \"AssetRegion\": \"ap-shanghai\",\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad81\"\n }\n}",
|
384
|
-
"title": "获取上传文件授权信息,并根据信息进行文件的上传"
|
385
|
-
}
|
386
|
-
],
|
387
|
-
"GetUploadFederationToken": [
|
388
|
-
{
|
389
|
-
"document": "使用临时密钥进行文件上传的场景如下:\n\n1. 准备好上传所需要的 Bucket (这里会初始化相关的 Bucket,只需要用户调用一次,后续直接使用临时密钥上传即可),参见 GetUploadCredentials API 描述。\n2. 获取临时密钥请求,参考下面的 GetUploadFederationToken API 示例\n3. 调用 COS API 或者集成 COS SDK 进行文件上传,其中大文件,请使用分块上传方式,其中 COS SDK 提供了高级接口上传对象即可,具体细节参考 [COS 文档](https://cloud.tencent.com/document/product/436/14112)。\n4. 根据上传成功的 BucketKey 创建 Asset。",
|
390
|
-
"input": "https://gse.tencentcloudapi.com/?Action=GetUploadFederationToken\n&<公共请求参数>",
|
391
|
-
"output": "{\n \"Response\": {\n \"AssetCredentials\": {\n \"TmpSecretId\": \"xxxx\",\n \"TmpSecretKey\": \"yyyy\",\n \"Token\": \"jAlJicYVxHStLs34mTFfnSxJ7YpYx2UFae79befda56accd665e0c14b6ea2a8a9qM30cu5FtylTrH9U6Dm89Vl-uZ3vkcIRHS1jA8I9JaMJnAkGDFr-dtMt8v0vO3XSsF_T_RTIQHfqgXpYyyf-mLywmF3kZ07Ub7xIDfQSjGPg9yQXs-nqv2cpnsOLCDTRR598VYgkgExE31vIn6Ca-lNruZhxDwKS1fvi7g75yyLzX0Ambr6sB-ULEF6ubycmuMXyjXM4lsuRCuswkrHxSZXlsYtNF-hLlzcQjU6R4qXO8ncqDxfcVhadCMso_U73RxVcqcH21aG9IlnrLDpYRVGAXpQ1tvsgvOOJBh1mcQV6ef5MVTJFePIUsS7E2Sm1Ivv3-dP1lfHbs-Igu1IyF2hT8-zzs8mFlLt3yfdzwtbBGqZMTW9b-4Y5kdMY-cOqoTxbqjdJKTPEtLwi6160CRaabqSaRKsAI6dhgTsbc2vR4piNvdQZgL8I3vVrRtfAC5a0yZFfmd1EXnJjuYl_ZV78fNBC1VqVWDvWMyckJRZ2TepIItZR26FMkCsbFSTA7m5HN-nvRpo96WVsHy6QeJC9dpZbkHOePDRzZrXLRV_CHjiKn1wozZiNQ2kdDt_j\"\n },\n \"ExpiredTime\": 1597058405,\n \"RequestId\": \"a2b2a551-1551-4625-8ae9-086328d366b7\"\n }\n}",
|
392
|
-
"title": "获取生成包上传所需要的临时密钥,根据信息进行文件的上传"
|
393
|
-
},
|
394
|
-
{
|
395
|
-
"document": "为了方便快速地进行文件上传,我们也提供了 Python 脚本(目前只是支持 Linux 和 Mac 系统),您可以[下载](https://uploadasset-1301007756.cos.ap-guangzhou.myqcloud.com/uploadasset.zip)使用\n\n脚本中有详细说明,具体如下:\n```\n# 该脚本依赖安装如下包:\n# 1. tencentcloud-sdk-python\n# 2. cos-python-sdk-v5\n#\n# 如何安装 tencentcloud-sdk-python:\n# pip install tencentcloud-sdk-python\n#\n# 如何安装 cos-python-sdk-v5:\n# pip install -U cos-python-sdk-v5\n#\n# 参考信息:\n# 腾讯云云API SDK:Python 2.7至3.6版本 \n# 安装文档参考:https://cloud.tencent.com/document/sdk/Python\n#\n# 腾讯云COSV5Python SDK, 目前可以支持Python2.6与Python2.7以及Python3.x\n# 安装文档参考: https://cloud.tencent.com/document/product/436/12269\n#\n# 运行例子:\n# python uploadasset.py --local_path ./game_folder/\n\n其中脚本中需要配置用户的认证信息,下面两个信息:\n\nsecret_id = 'xxxx' # 替换为用户的secret_id\nsecret_key = 'yyyy' # 替换为用户的secret_key\n```\n\n其中内部实际上调用了如下的请求,只不过是是以腾讯云SDK的方式进行的调用",
|
396
|
-
"input": "https://gse.tencentcloudapi.com/?Action=GetUploadFederationToken\n&<公共请求参数>",
|
397
|
-
"output": "{\n \"Response\": {\n \"AssetCredentials\": {\n \"TmpSecretId\": \"xxxx\",\n \"TmpSecretKey\": \"yyyy\",\n \"Token\": \"jAlJicYVxHStLs34mTFfnSxJ7YpYx2UFae79befda56accd665e0c14b6ea2a8a9qM30cu5FtylTrH9U6Dm89Vl-uZ3vkcIRHS1jA8I9JaMJnAkGDFr-dtMt8v0vO3XSsF_T_RTIQHfqgXpYyyf-mLywmF3kZ07Ub7xIDfQSjGPg9yQXs-nqv2cpnsOLCDTRR598VYgkgExE31vIn6Ca-lNruZhxDwKS1fvi7g75yyLzX0Ambr6sB-ULEF6ubycmuMXyjXM4lsuRCuswkrHxSZXlsYtNF-hLlzcQjU6R4qXO8ncqDxfcVhadCMso_U73RxVcqcH21aG9IlnrLDpYRVGAXpQ1tvsgvOOJBh1mcQV6ef5MVTJFePIUsS7E2Sm1Ivv3-dP1lfHbs-Igu1IyF2hT8-zzs8mFlLt3yfdzwtbBGqZMTW9b-4Y5kdMY-cOqoTxbqjdJKTPEtLwi6160CRaabqSaRKsAI6dhgTsbc2vR4piNvdQZgL8I3vVrRtfAC5a0yZFfmd1EXnJjuYl_ZV78fNBC1VqVWDvWMyckJRZ2TepIItZR26FMkCsbFSTA7m5HN-nvRpo96WVsHy6QeJC9dpZbkHOePDRzZrXLRV_CHjiKn1wozZiNQ2kdDt_j\"\n },\n \"ExpiredTime\": 1597058405,\n \"RequestId\": \"a2b2a551-1551-4625-8ae9-086328d366b7\"\n }\n}",
|
398
|
-
"title": "使用脚本方式快捷上传并且创建 Asset"
|
399
|
-
}
|
400
|
-
],
|
401
|
-
"JoinGameServerSession": [
|
402
|
-
{
|
403
|
-
"document": "创建单个玩家会话",
|
404
|
-
"input": "https://gse.tencentcloudapi.com/?Action=JoinGameServerSession\n&GameServerSessionId=qcs::gse:ap-shanghai:uin/1112222:gameserversession/fleet-qp3ga-p70zzzz/gssess-aaaa-ilqsssu/PlacementId-124ddda-4e28-1111-222b-abcde\n&PlayerData=testData\n&PlayerId=testPlayer\n&<公共请求参数>",
|
405
|
-
"output": "{\n \"Response\": {\n \"PlayerSession\": {\n \"CreationTime\": \"2019-12-05T15:15:33Z\",\n \"DnsName\": \"\",\n \"FleetId\": \"fleet-sss-test01\",\n \"GameServerSessionId\": \"qcs::gse:ap-shanghai:uin/1112222:gameserversession/fleet-qp3ga-p70zzzz/gssess-aaaa-ilqsssu/PlacementId-124ddda-4e28-1111-222b-abcde\",\n \"IpAddress\": \"0000.0.0.0\",\n \"PlayerData\": \"imangozhang\",\n \"PlayerId\": \"100\",\n \"PlayerSessionId\": \"psess-d44990-test5\",\n \"Port\": \"8000\",\n \"Status\": \"RESERVED\",\n \"TerminationTime\": null\n },\n \"RequestId\": \"0fffff4-oooo-43333d-9222-testaaa\"\n }\n}",
|
406
|
-
"title": "创建单个玩家会话"
|
407
|
-
}
|
408
|
-
],
|
409
|
-
"JoinGameServerSessionBatch": [
|
410
|
-
{
|
411
|
-
"document": "创建一组玩家会话",
|
412
|
-
"input": "POST / HTTP/1.1\nHost: gse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: JoinGameServerSessionBatch\n<公共请求参数>\n\n{\n \"PlayerIds\": [\n \"xx\"\n ],\n \"GameServerSessionId\": \"qcs::gse:ap-shanghai:uin/1112222:gameserversession/fleet-qp3ga-p70zzzz/gssess-aaaa-ilqsssu/PlacementId-124ddda-4e28-1111-222b-abcde\",\n \"PlayerDataMap\": {\n \"Value\": \"xx\",\n \"Key\": \"xx\"\n }\n}",
|
413
|
-
"output": "{\n \"Response\": {\n \"PlayerSessions\": [\n {\n \"CreationTime\": \"2019-12-06T11:33:19Z\",\n \"DnsName\": \"\",\n \"FleetId\": \"fleet-ptest40-f001\",\n \"GameServerSessionId\": \"qcs::gse:ap-shanghai:uin/1112222:gameserversession/fleet-qp3ga-p70zzzz/gssess-aaaa-ilqsssu/PlacementId-124ddda-4e28-1111-222b-abcde\",\n \"IpAddress\": \"0000.0.0.0\",\n \"PlayerData\": \"TestPlayerData\",\n \"PlayerId\": \"\",\n \"PlayerSessionId\": \"psess-d44990-test5\",\n \"Port\": 8000,\n \"Status\": \"COMPLETED\",\n \"TerminationTime\": \"2019-12-06T11:33:18Z\"\n }\n ],\n \"RequestId\": \"0fffff4-oooo-43333d-9222-testaaa\"\n }\n}",
|
414
|
-
"title": "创建一组玩家会话"
|
415
|
-
}
|
416
|
-
],
|
417
|
-
"ListAliases": [
|
418
|
-
{
|
419
|
-
"document": "本示例用于查询alias列表",
|
420
|
-
"input": "https://gse.tencentcloudapi.com/?Action=ListAliases\n&<公共请求参数>",
|
421
|
-
"output": "{\n \"Response\": {\n \"Aliases\": [\n {\n \"AliasArn\": \"qcs::gse:ap-shanghai:uin/20548675699:alias/alias-123-test\",\n \"AliasId\": \"alias-123-test\",\n \"CreationTime\": \"2019-12-11T13:51:05Z\",\n \"Description\": \"\",\n \"LastUpdatedTime\": \"2019-12-11T13:51:05Z\",\n \"Name\": \"\",\n \"RoutingStrategy\": {\n \"FleetId\": \"fleet-qp3gsffn6-ob9lsbfa\",\n \"Message\": \"\",\n \"Type\": \"SIMPLE\"\n }\n }\n ],\n \"RequestId\": \"95a408d2-9194-4bf0-97f6-972f645457756b8\",\n \"TotalCount\": 1\n }\n}",
|
422
|
-
"title": "查询alias列表"
|
423
|
-
}
|
424
|
-
],
|
425
|
-
"ListFleets": [
|
426
|
-
{
|
427
|
-
"document": "用于获取服务器舰队列表",
|
428
|
-
"input": "https://gse.tencentcloudapi.com/?Action=ListFleets\n&AssetId=asset-eugdyx0g\n&<公共请求参数>",
|
429
|
-
"output": "{\n \"Response\": {\n \"FleetIds\": [\n \"fleet-qp3g3chf-jwoblkv3\"\n ],\n \"RequestId\": \"s1582187331291590006\",\n \"TotalCount\": 1\n }\n}",
|
430
|
-
"title": "用于获取服务器舰队列表"
|
431
|
-
}
|
432
|
-
],
|
433
|
-
"PutScalingPolicy": [
|
434
|
-
{
|
435
|
-
"document": "",
|
436
|
-
"input": "https://gse.tencentcloudapi.com/?Action=PutScalingPolicy\n&FleetId=fleet-qp3g3caa-ay03mhdm\n&Name=scaling1\n&PolicyType=TargetBased\n&MetricName=PercentAvailableGameServerSessions\n&TargetConfiguration.TargetValue=30\n&<公共请求参数>",
|
437
|
-
"output": "{\n \"Response\": {\n \"Name\": \"\",\n \"RequestId\": \"a6b88256-7dc4-4682-99ed-9e10dfb66044\"\n }\n}",
|
438
|
-
"title": "设置扩缩容缓冲值"
|
439
|
-
}
|
440
|
-
],
|
441
|
-
"PutTimerScalingPolicy": [
|
442
|
-
{
|
443
|
-
"document": "",
|
444
|
-
"input": "POST / HTTP/1.1\nHost: gse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PutTimerScalingPolicy\n<公共请求参数>\n\n{\n \"TimerScalingPolicy\": {\n \"TimerId\": \"\",\n \"TimerStatus\": 1,\n \"TimerName\": \"11111111\",\n \"TimerFleetCapacity\": {\n \"FleetId\": \"fleet-qp3g3caa-mkurlvoa\",\n \"DesiredInstances\": 1,\n \"MinSize\": 0,\n \"MaxSize\": 1,\n \"ScalingInterval\": 10,\n \"ScalingType\": \"ScalingTypeAuto\",\n \"TargetConfiguration\": {\n \"TargetValue\": 23\n }\n },\n \"TimerConfiguration\": {\n \"TimerType\": \"TimerTypeDay\",\n \"TimerValue\": {\n \"Day\": 1,\n \"WeekDays\": [],\n \"FromDay\": 0,\n \"ToDay\": 0\n },\n \"BeginTime\": \"2021-01-14T14:04:29.496Z\",\n \"EndTime\": \"2022-01-14T14:04:29.496Z\"\n }\n }\n}",
|
445
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"s1610633051302940772\"\n }\n}",
|
446
|
-
"title": "创建或更新定时器"
|
447
|
-
}
|
448
|
-
],
|
449
|
-
"ResolveAlias": [
|
450
|
-
{
|
451
|
-
"document": "",
|
452
|
-
"input": "https://gse.tencentcloudapi.com/?Action=ResolveAlias\n&AliasId=alias-qp3gs99n6-ob9l35fa\n&<公共请求参数>",
|
453
|
-
"output": "{\n \"Response\": {\n \"FleetId\": \"fleet-qp3grthn6-ob9l1223a\",\n \"RequestId\": \"c1565064-3e4f-4129-8aca-4815efb45641\"\n }\n}",
|
454
|
-
"title": "获取别名当前指向的fleetId"
|
455
|
-
}
|
456
|
-
],
|
457
|
-
"SearchGameServerSessions": [
|
458
|
-
{
|
459
|
-
"document": "搜索指定时间创建的游戏会话\ncreationTimeMillis=1575518668000,时间为创建游戏会话的UTC时间,单位:毫秒。\n条件表达式:\nFilterExpression: creationTimeMillis=1575518668000",
|
460
|
-
"input": "https://gse.tencentcloudapi.com/?Action=SearchGameServerSessions\n&FleetId=fleet-qp3g3caa-b1adh8hq\n&Limit=1\n&NextToken=nextToken-4hpp445-niuu789\n&FilterExpression=creationTimeMillis%3d1575518668000\n&SortExpression=creationTimeMillis+ASC\n&<公共请求参数>",
|
461
|
-
"output": "{\n \"Response\": {\n \"GameServerSessions\": [\n {\n \"CreationTime\": \"2019-12-05T12:04:28Z\",\n \"CreatorId\": \"c2\",\n \"CurrentPlayerSessionCount\": \"0\",\n \"DnsName\": \"\",\n \"FleetId\": \"fleet-00test-a5testzz\",\n \"GameProperties\": [\n {\n \"Key\": \"Key-2aa06131-7d54-11ea-b3e7-3464a91513fe\",\n \"Value\": \"Value-2aa06132-7d54-11ea-8199-3464a91513fe\"\n },\n {\n \"Key\": \"Key-2aa06133-7d54-11ea-aaac-3464a91513fe\",\n \"Value\": \"Value-2aa06134-7d54-11ea-8fa2-3464a91513fe\"\n },\n {\n \"Key\": \"Key-2aa06135-7d54-11ea-a9c1-3464a91513fe\",\n \"Value\": \"Value-2aa06136-7d54-11ea-b30b-3464a91513fe\"\n }\n ],\n \"GameServerSessionData\": \"\",\n \"GameServerSessionId\": \"qcs::gse:ap-shanghai:uin/1112222:gameserversession/fleet-qp3ga-p70zzzz/gssess-aaaa-ilqsssu/PlacementId-124ddda-4e28-1111-222b-111222\",\n \"AvailabilityStatus\": \"ENABLE\",\n \"InstanceType\": \"S5.SMALL2\",\n \"IpAddress\": \"0000.0.0.0\",\n \"MatchmakerData\": \"\",\n \"MaximumPlayerSessionCount\": \"10\",\n \"Name\": \"game-session-name\",\n \"PlayerSessionCreationPolicy\": \"ACCEPT_ALL\",\n \"Port\": \"8000\",\n \"Status\": \"ACTIVE\",\n \"StatusReason\": \"\",\n \"TerminationTime\": \"2019-12-05T04:04:28Z\",\n \"CurrentCustomCount\": 0,\n \"MaxCustomCount\": 10,\n \"Weight\": 5\n }\n ],\n \"NextToken\": \"\",\n \"RequestId\": \"0fffff4-oooo-43333d-9222-testaaa\"\n }\n}",
|
462
|
-
"title": "搜索游戏会话列表-creationTimeMillis条件"
|
463
|
-
},
|
464
|
-
{
|
465
|
-
"document": "查询游戏属性Key-2aa06135-7d54-11ea-a9c1-3464a91513的值是Value-2aa06136-7d54-11ea-b30b-3464a91513fe游戏会话列表\n条件表达式:\nFilterExpression: gameServerSessionProperties.Key-2aa06135-7d54-11ea-a9c1-3464a91513fe=Value-2aa06136-7d54-11ea-b30b-3464a91513fe",
|
466
|
-
"input": "https://gse.tencentcloudapi.com/?Action=SearchGameServerSessions\n&FleetId=fleet-qp3g3caa-b1adh8hq\n&Limit=1\n&NextToken=nextToken-4hpp445-niuu789\n&FilterExpression=gameServerSessionProperties.Key-2aa06135-7d54-11ea-a9c1-3464a91513fe%3dValue-2aa06136-7d54-11ea-b30b-3464a91513fe\n&SortExpression=creationTimeMillis+ASC\n&<公共请求参数>",
|
467
|
-
"output": "{\n \"Response\": {\n \"GameServerSessions\": [\n {\n \"AvailabilityStatus\": \"Unknown\",\n \"CreationTime\": \"2020-04-13T06:58:27Z\",\n \"CreatorId\": \"\",\n \"CurrentCustomCount\": 0,\n \"CurrentPlayerSessionCount\": 0,\n \"DnsName\": \"\",\n \"FleetId\": \"fleet-qp3g3caa-b1adh8hq\",\n \"GameProperties\": [\n {\n \"Key\": \"Key-2aa06131-7d54-11ea-b3e7-3464a91513fe\",\n \"Value\": \"Value-2aa06132-7d54-11ea-8199-3464a91513fe\"\n },\n {\n \"Key\": \"Key-2aa06133-7d54-11ea-aaac-3464a91513fe\",\n \"Value\": \"Value-2aa06134-7d54-11ea-8fa2-3464a91513fe\"\n },\n {\n \"Key\": \"Key-2aa06135-7d54-11ea-a9c1-3464a91513fe\",\n \"Value\": \"Value-2aa06136-7d54-11ea-b30b-3464a91513fe\"\n }\n ],\n \"GameServerSessionData\": \"\",\n \"GameServerSessionId\": \"qcs::gse:ap-shanghai:uin/0:gameserversession/fleet-qp3g3caa-b1adh8hq/gssess-k17ia36c-omi2numy\",\n \"InstanceType\": \"S5.SMALL2\",\n \"IpAddress\": \"200.0.0.1\",\n \"MatchmakerData\": \"\",\n \"MaxCustomCount\": 0,\n \"MaximumPlayerSessionCount\": 78,\n \"Name\": \"GameServerSessionName-2aa06130-7d54-11ea-9263-3464a91513fe\",\n \"PlayerSessionCreationPolicy\": \"ACCEPT_ALL\",\n \"Port\": 59920,\n \"Status\": \"ACTIVE\",\n \"StatusReason\": \"\",\n \"TerminationTime\": null,\n \"Weight\": 0\n }\n ],\n \"NextToken\": \"ntoken-bldnitiu-4cnjt4c0\",\n \"RequestId\": \"s1587465032390722054\"\n }\n}",
|
468
|
-
"title": "搜索游戏会话列表-游戏属性"
|
469
|
-
},
|
470
|
-
{
|
471
|
-
"document": "条件表达式:\nFilterExpression:\n(maximumSessions>=10 OR playerSessionCount=0) OR NOT (creationTimeMillis>1575518668000) OR (maximumSessions>=10 AND hasAvailablePlayerSessions=true)",
|
472
|
-
"input": "https://gse.tencentcloudapi.com/?Action=SearchGameServerSessions\n&FleetId=fleet-qp3g3caa-b1adh8hq\n&Limit=1\n&NextToken=nextToken-4hpp445-niuu789\n&FilterExpression=(maximumSessions%3e%3d10+OR+playerSessionCount%3d0)+OR+NOT+(creationTimeMillis%3e1575518668000)+OR+(maximumSessions%3e%3d10+AND+hasAvailablePlayerSessions%3dtrue)\n&SortExpression=creationTimeMillis+ASC\n&<公共请求参数>",
|
473
|
-
"output": "{\n \"Response\": {\n \"GameServerSessions\": [\n {\n \"AvailabilityStatus\": \"Unknown\",\n \"CreationTime\": \"2020-04-13T06:58:07Z\",\n \"CreatorId\": \"\",\n \"MaxCustomCount\": 0,\n \"CurrentCustomCount\": 0,\n \"CurrentPlayerSessionCount\": 0,\n \"DnsName\": \"\",\n \"FleetId\": \"fleet-qp3g3caa-b1adh8hq\",\n \"GameProperties\": [\n {\n \"Key\": \"Key-1ea66e9e-7d54-11ea-a4aa-3464a91513fe\",\n \"Value\": \"Value-1ea66e9f-7d54-11ea-a71e-3464a91513fe\"\n },\n {\n \"Key\": \"Key-1ea66ea0-7d54-11ea-9afd-3464a91513fe\",\n \"Value\": \"Value-1ea66ea1-7d54-11ea-a5f2-3464a91513fe\"\n },\n {\n \"Key\": \"Key-1ea66ea2-7d54-11ea-b184-3464a91513fe\",\n \"Value\": \"Value-1ea66ea3-7d54-11ea-b355-3464a91513fe\"\n }\n ],\n \"GameServerSessionData\": \"\",\n \"GameServerSessionId\": \"qcs::gse:ap-shanghai:uin/0:gameserversession/fleet-qp3g3caa-b1adh8hq/gssess-k17ia36c-2hs38yc0\",\n \"InstanceType\": \"S5.SMALL2\",\n \"IpAddress\": \"200.0.0.2\",\n \"MatchmakerData\": \"\",\n \"MaximumPlayerSessionCount\": 181,\n \"Name\": \"GameServerSessionName-1ea66e9d-7d54-11ea-b041-3464a91513fe\",\n \"PlayerSessionCreationPolicy\": \"ACCEPT_ALL\",\n \"Port\": 59106,\n \"Status\": \"ACTIVE\",\n \"StatusReason\": \"\",\n \"TerminationTime\": null,\n \"Weight\": 0\n },\n {\n \"AvailabilityStatus\": \"Unknown\",\n \"CreationTime\": \"2020-04-13T07:49:16Z\",\n \"CreatorId\": \"\",\n \"CurrentCustomCount\": 0,\n \"CurrentPlayerSessionCount\": 0,\n \"DnsName\": \"\",\n \"FleetId\": \"fleet-qp3g3caa-b1adh8hq\",\n \"GameProperties\": [],\n \"GameServerSessionData\": \"\",\n \"GameServerSessionId\": \"qcs::gse:ap-shanghai:uin/0:gameserversession/fleet-qp3g3caa-b1adh8hq/gssess-k17ia36c-oik1x49i\",\n \"InstanceType\": \"S5.SMALL2\",\n \"IpAddress\": \"200.0.0.1\",\n \"MatchmakerData\": \"\",\n \"MaxCustomCount\": 0,\n \"MaximumPlayerSessionCount\": 200,\n \"Name\": \"GameServerSessionName-45bd031c-7d5b-11ea-acf8-52540024df83\",\n \"PlayerSessionCreationPolicy\": \"ACCEPT_ALL\",\n \"Port\": 59110,\n \"Status\": \"ACTIVE\",\n \"StatusReason\": \"\",\n \"TerminationTime\": null,\n \"Weight\": 0\n }\n ],\n \"NextToken\": \"ntoken-bldnitiu-4cnjt4c0\",\n \"RequestId\": \"s1587466067806554523\"\n }\n}",
|
474
|
-
"title": "搜索游戏会话列表-复杂条件表达式"
|
475
|
-
}
|
476
|
-
],
|
477
|
-
"SetServerReserved": [
|
478
|
-
{
|
479
|
-
"document": "",
|
480
|
-
"input": "POST / HTTP/1.1\nHost: gse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetServerReserved\n<公共请求参数>\n\n{\n \"FleetId\": \"fleet-qp3g3caa-mg4w88ho\",\n \"InstanceId\": \"ins-3g57621x\",\n \"ReserveValue\": 1\n}",
|
481
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"s1611068228708726332\"\n }\n}",
|
482
|
-
"title": "设置实例保留-用于问题排查"
|
483
|
-
}
|
484
|
-
],
|
485
|
-
"SetServerWeight": [
|
486
|
-
{
|
487
|
-
"document": "设置服务器权重",
|
488
|
-
"input": "https://gse.tencentcloudapi.com/?Action=SetServerWeight\n&FleetId=fleet-qp3g3caa-ay03mhdm\n&InstanceId=ins-xxxxx\n&Weight=10\n&<公共请求参数>",
|
489
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"a6b88256-7dc4-4682-99ed-9e10dfb66044\"\n }\n}",
|
490
|
-
"title": "设置服务器权重"
|
491
|
-
}
|
492
|
-
],
|
493
|
-
"StartFleetActions": [
|
494
|
-
{
|
495
|
-
"document": "启用服务器舰队自动扩缩容",
|
496
|
-
"input": "https://gse.tencentcloudapi.com/?Action=StartFleetActions\n&FleetId=fleet-qp3g3fn6-p6l46gnu\n&Actions.0=AUTO_SCALING\n&<公共请求参数>",
|
497
|
-
"output": "{\n \"Response\": {\n \"FleetId\": \"fleet-qp3g3fn6-p6l46gnu\",\n \"RequestId\": \"e23dc127-80b8-481b-b85d-1d802546c738\"\n }\n}",
|
498
|
-
"title": "启用服务器舰队自动扩缩容"
|
499
|
-
}
|
500
|
-
],
|
501
|
-
"StartGameServerSessionPlacement": [
|
502
|
-
{
|
503
|
-
"document": "",
|
504
|
-
"input": "https://gse.tencentcloudapi.com/?Action=StartGameServerSessionPlacement\n&PlacementId=PlacementId-3a7d34cd-5240-11ea-b02a-3464a91513fe\n&GameServerSessionQueueName=PlacementTwo\n&MaximumPlayerSessionCount=100\n&<公共请求参数>",
|
505
|
-
"output": "{\n \"Response\": {\n \"GameServerSessionPlacement\": {\n \"DnsName\": \"\",\n \"EndTime\": null,\n \"GameProperties\": [],\n \"GameServerSessionData\": \"\",\n \"GameServerSessionId\": \"\",\n \"GameServerSessionName\": \"\",\n \"GameServerSessionQueueName\": \"PlacementTwo\",\n \"GameServerSessionRegion\": \"\",\n \"IpAddress\": \"\",\n \"MatchmakerData\": \"\",\n \"MaximumPlayerSessionCount\": 100,\n \"PlacedPlayerSessions\": [],\n \"PlacementId\": \"PlacementId-3a7d34cd-5240-11ea-b02a-3464a91513fe\",\n \"PlayerLatencies\": [],\n \"Port\": 0,\n \"StartTime\": \"2020-02-18T11:17:23Z\",\n \"Status\": \"PENDING\"\n },\n \"RequestId\": \"84708eb1-0247-43f8-834e-c7edfdsfdgd53\"\n }\n}",
|
506
|
-
"title": "开始放置游戏服务器会话"
|
507
|
-
}
|
508
|
-
],
|
509
|
-
"StopFleetActions": [
|
510
|
-
{
|
511
|
-
"document": "停止服务器舰队自动扩缩容",
|
512
|
-
"input": "https://gse.tencentcloudapi.com/?Action=StopFleetActions\n&FleetId=fleet-qp3g3fn6-p6l46gnu\n&Actions.0=AUTO_SCALING\n&<公共请求参数>",
|
513
|
-
"output": "{\n \"Response\": {\n \"FleetId\": \"fleet-qp3g3fn6-p6l46gnu\",\n \"RequestId\": \"e23dc127-80b8-481b-b85d-1d802546c738\"\n }\n}",
|
514
|
-
"title": "停止服务器舰队自动扩缩容"
|
515
|
-
}
|
516
|
-
],
|
517
|
-
"StopGameServerSessionPlacement": [
|
518
|
-
{
|
519
|
-
"document": "",
|
520
|
-
"input": "https://gse.tencentcloudapi.com/?Action=StopGameServerSessionPlacement\n&PlacementId=PlacementId-3a7d34cd-5240-11ea-b02a-3464sdfsfsdf13fe\n&<公共请求参数>",
|
521
|
-
"output": "{\n \"Response\": {\n \"GameServerSessionPlacement\": {\n \"DnsName\": \"\",\n \"EndTime\": \"2020-02-18T11:33:49Z\",\n \"GameProperties\": [\n {\n \"Key\": \"Key-8658b11f-5242-11ea-9c67-3464a435513fe\",\n \"Value\": \"Value-8658b120-5242-11ea-8527-34t4a91513fe\"\n }\n ],\n \"GameServerSessionData\": \"GameServerSessionData-8658b121-5242-11ea-af53-34644351513fe\",\n \"GameServerSessionId\": \"\",\n \"GameServerSessionName\": \"GameServerSessionName-8658b122-5242-11ea-9f8f-3464491513fe\",\n \"GameServerSessionQueueName\": \"PlacementTwo\",\n \"GameServerSessionRegion\": \"\",\n \"IpAddress\": \"\",\n \"MatchmakerData\": \"\",\n \"MaximumPlayerSessionCount\": 100,\n \"PlacedPlayerSessions\": [],\n \"PlacementId\": \"PlacementId-3a7d34cd-5240-11ea-b02a-3464sdfsfsdf13fe\",\n \"PlayerLatencies\": [\n {\n \"LatencyInMilliseconds\": 10000,\n \"PlayerId\": \"Player-8658b123-5242-11ea-9e2f-3464sf91513fe\",\n \"RegionIdentifier\": \"ap-shanghai\"\n }\n ],\n \"Port\": 0,\n \"StartTime\": \"2020-02-18T11:33:49Z\",\n \"Status\": \"CANCELLED\"\n },\n \"RequestId\": \"2f631834-4c91-4c9b-a13a-2d5757582eb5f\"\n }\n}",
|
522
|
-
"title": "停止放置游戏服务器会话"
|
523
|
-
}
|
524
|
-
],
|
525
|
-
"UpdateAlias": [
|
526
|
-
{
|
527
|
-
"document": "",
|
528
|
-
"input": "https://gse.tencentcloudapi.com/?Action=UpdateAlias\n&AliasId=alias-123-test\n&Name=test\n&<公共请求参数>",
|
529
|
-
"output": "{\n \"Response\": {\n \"Alias\": {\n \"AliasArn\": \"qcs::gse:ap-shanghai:uin/20548499:alias/alias-123-test\",\n \"AliasId\": \"alias-123-test\",\n \"CreationTime\": \"2019-12-11T13:51:05Z\",\n \"Description\": \"\",\n \"LastUpdatedTime\": \"2019-12-11T13:51:05Z\",\n \"Name\": \"test\",\n \"RoutingStrategy\": {\n \"FleetId\": \"fleet-qp3gsffn6-ob9lsbfa\",\n \"Message\": \"\",\n \"Type\": \"SIMPLE\"\n }\n },\n \"RequestId\": \"5d7aef5a-8950-4530-b89d-9c84347d13f6\"\n }\n}",
|
530
|
-
"title": "修改别名信息"
|
531
|
-
}
|
532
|
-
],
|
533
|
-
"UpdateAsset": [
|
534
|
-
{
|
535
|
-
"document": "修改生成包信息",
|
536
|
-
"input": "https://gse.tencentcloudapi.com/?Action=UpdateAsset\n&AssetId=asset-i5gtz5l9\n&AssetName=test-demo\n&AssetVersion=1.0\n&<公共请求参数>",
|
537
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad8\"\n }\n}",
|
538
|
-
"title": "修改生成包信息"
|
539
|
-
}
|
540
|
-
],
|
541
|
-
"UpdateBucketAccelerateOpt": [
|
542
|
-
{
|
543
|
-
"document": "设置cos全球加速",
|
544
|
-
"input": "https://gse.tencentcloudapi.com/?Action=UpdateBucketAccelerateOpt\n&Allowed=true\n&<公共请求参数>",
|
545
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"s1609299213222354000\"\n }\n}",
|
546
|
-
"title": "设置cos全球加速"
|
547
|
-
}
|
548
|
-
],
|
549
|
-
"UpdateBucketCORSOpt": [
|
550
|
-
{
|
551
|
-
"document": "设置cos跨域请求",
|
552
|
-
"input": "https://gse.tencentcloudapi.com/?Action=UpdateBucketCORSOpt\n&AllowedOrigins.0=*\n&AllowedMethods.0=GET\n&AllowedHeaders.0=x-cos-meta-test\n&<公共请求参数>",
|
553
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"s1609831145190946000\"\n }\n}",
|
554
|
-
"title": "设置cos跨域请求"
|
555
|
-
}
|
556
|
-
],
|
557
|
-
"UpdateFleetAttributes": [
|
558
|
-
{
|
559
|
-
"document": "更新服务器舰队属性",
|
560
|
-
"input": "https://gse.tencentcloudapi.com/?Action=UpdateFleetAttributes\n&FleetId=fleet-pro4eunl-lmpa6tud\n&Description=Modifyfleetattr1\n&Name=mod1\n&NewGameSessionProtectionPolicy=FullProtection\n&ResourceCreationLimitPolicy.NewGameServerSessionsPerCreator=9\n&ResourceCreationLimitPolicy.PolicyPeriodInMinutes=9\n&<公共请求参数>",
|
561
|
-
"output": "{\n \"Response\": {\n \"FleetId\": \"fleet-pro4eunl-lmpa6tud\",\n \"RequestId\": \"accaa150-cd32-4919-8283-da31817e6363\"\n }\n}",
|
562
|
-
"title": "更新服务器舰队属性"
|
563
|
-
}
|
564
|
-
],
|
565
|
-
"UpdateFleetCapacity": [
|
566
|
-
{
|
567
|
-
"document": "",
|
568
|
-
"input": "https://gse.tencentcloudapi.com/?Action=UpdateFleetCapacity\n&FleetId=fleet-qp3g3caa-ay03mhdm\n&DesiredInstances=30\n&MinSize=0\n&MaxSize=40\n&<公共请求参数>",
|
569
|
-
"output": "{\n \"Response\": {\n \"FleetId\": \"fleet-qp3g3caa-19tzbzao\",\n \"RequestId\": \"ada0f201-91c7-4100-bbb4-a29e7399e776\"\n }\n}",
|
570
|
-
"title": "设置Fleet扩缩容的容量配置"
|
571
|
-
}
|
572
|
-
],
|
573
|
-
"UpdateFleetName": [
|
574
|
-
{
|
575
|
-
"document": "更新服务器舰队名称",
|
576
|
-
"input": "https://gse.tencentcloudapi.com/?Action=UpdateFleetName\n&FleetId=fleet-pro4eunl-lmpa6tud\n&Name=mod1\n&<公共请求参数>",
|
577
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"accaa150-cd32-4919-8283-da31817e6363\"\n }\n}",
|
578
|
-
"title": "更新服务器舰队名称"
|
579
|
-
}
|
580
|
-
],
|
581
|
-
"UpdateFleetPortSettings": [
|
582
|
-
{
|
583
|
-
"document": "更新服务器舰队安全组",
|
584
|
-
"input": "https://gse.tencentcloudapi.com/?Action=UpdateFleetPortSettings\n&FleetId=fleet-pro4eunl-lmpa6tud\n&InboundPermissionAuthorizations.0.FromPort=1900\n&InboundPermissionAuthorizations.0.IpRange=0.0.0.1/0\n&InboundPermissionAuthorizations.0.Protocol=UDP\n&InboundPermissionAuthorizations.0.ToPort=2900\n&InboundPermissionRevocations.0.FromPort=19000\n&InboundPermissionRevocations.0.IpRange=0.0.0.0/0\n&InboundPermissionRevocations.0.Protocol=TCP\n&InboundPermissionRevocations.0.ToPort=24000\n&<公共请求参数>",
|
585
|
-
"output": "{\n \"Response\": {\n \"FleetId\": \"fleet-pro4eunl-lmpa6tud\",\n \"RequestId\": \"2f564325-03c0-4fdb-a099-25376c20723f\"\n }\n}",
|
586
|
-
"title": "更新服务器舰队安全组"
|
587
|
-
}
|
588
|
-
],
|
589
|
-
"UpdateGameServerSession": [
|
590
|
-
{
|
591
|
-
"document": "更新游戏会话属性",
|
592
|
-
"input": "https://gse.tencentcloudapi.com/?Action=UpdateGameServerSession\n&GameServerSessionId=qcs::gse:ap-shanghai:uin/1112222:gameserversession/fleet-qp3ga-p70zzzz/gssess-aaaa-ilqsssu/PlacementId-124ddda-4e28-1111-222b-abcde\n&<公共请求参数>",
|
593
|
-
"output": "{\n \"Response\": {\n \"GameServerSession\": {\n \"AvailabilityStatus\": \"Enable\",\n \"CreationTime\": \"2020-07-30T03:55:43Z\",\n \"CreatorId\": \"\",\n \"CurrentCustomCount\": 0,\n \"CurrentPlayerSessionCount\": 0,\n \"DnsName\": \"\",\n \"FleetId\": \"fleet-qp33caaa-35555\",\n \"GameProperties\": [],\n \"GameServerSessionData\": \"\",\n \"GameServerSessionId\": \"qcs::gse:ap-shanghai:uin/100000010000:gameserversession/fleet-qp33caaa-35555/gssess-qtk2222-uuu\",\n \"InstanceType\": \"S5.LARGE8\",\n \"IpAddress\": \"127.0.0.1\",\n \"MatchmakerData\": \"\",\n \"MaxCustomCount\": 0,\n \"MaximumPlayerSessionCount\": 100,\n \"Name\": \"\",\n \"PlayerSessionCreationPolicy\": \"ACCEPT_ALL\",\n \"Port\": 6000,\n \"Status\": \"ACTIVATING\",\n \"StatusReason\": \"\",\n \"TerminationTime\": null,\n \"Weight\": 5\n },\n \"RequestId\": \"s15960816666663333\"\n }\n}",
|
594
|
-
"title": "更新游戏会话属性"
|
595
|
-
}
|
596
|
-
],
|
597
|
-
"UpdateGameServerSessionQueue": [
|
598
|
-
{
|
599
|
-
"document": "",
|
600
|
-
"input": "https://gse.tencentcloudapi.com/?Action=UpdateGameServerSessionQueue\n&Name=queue2\n&<公共请求参数>",
|
601
|
-
"output": "{\n \"Response\": {\n \"GameServerSessionQueue\": {\n \"Destinations\": [],\n \"GameServerSessionQueueArn\": \"qcs::gse:ap-shanghai:uin/20555599:queue/queue2\",\n \"Name\": \"queue2\",\n \"PlayerLatencyPolicies\": [],\n \"TimeoutInSeconds\": 600\n },\n \"RequestId\": \"4e958efc-79af-47e4-9521-7744af034534c6a\"\n }\n}",
|
602
|
-
"title": "修改游戏服务器会话队列"
|
603
|
-
}
|
604
|
-
],
|
605
|
-
"UpdateRuntimeConfiguration": [
|
606
|
-
{
|
607
|
-
"document": "更新服务器舰队配置",
|
608
|
-
"input": "https://gse.tencentcloudapi.com/?Action=UpdateRuntimeConfiguration\n&FleetId=fleet-pro4eunl-lmpa6tud\n&RuntimeConfiguration.GameServerSessionActivationTimeoutSeconds=9\n&RuntimeConfiguration.MaxConcurrentGameServerSessionActivations=9\n&RuntimeConfiguration.ServerProcesses.0.ConcurrentExecutions=9\n&RuntimeConfiguration.ServerProcesses.0.LaunchPath=/local/game/GameLiftLinuxServer\n&RuntimeConfiguration.ServerProcesses.0.Parameters=-cconf\n&<公共请求参数>",
|
609
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"90b59a79-9868-4145-8ff3-2053de2d785e\",\n \"RuntimeConfiguration\": {\n \"GameServerSessionActivationTimeoutSeconds\": 9,\n \"MaxConcurrentGameServerSessionActivations\": 9,\n \"ServerProcesses\": [\n {\n \"ConcurrentExecutions\": 9,\n \"LaunchPath\": \"/local/game/GameLiftLinuxServer\",\n \"Parameters\": \"-c conf\"\n }\n ]\n }\n }\n}",
|
610
|
-
"title": "更新服务器舰队配置"
|
611
|
-
}
|
612
|
-
]
|
613
|
-
},
|
614
|
-
"version": "1.0"
|
615
|
-
}
|