Documentation ¶
Index ¶
- type BackSourceAddress
- type BackSourceHeaderRule
- type BackSourceRule
- type BackSourceRuleCondition
- type BucketBackSourceConfiguration
- type BucketCapacityCondition
- type BucketCapacityQueryResult
- type BucketCapacityStatistic
- type BucketMonitorStatistic
- type BucketMonitorStatisticQueryResult
- type BucketSpaceStatistic
- type BucketSpaceStatisticQueryResult
- type CName
- type CNameInfo
- type CNameQueryResult
- type ICP
- type ImageExtensions
- type SignatureInfo
- type SignatureResult
- type SingleBucketCapacityRequestCondition
- type UserBillCode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackSourceAddress ¶
type BackSourceAddress struct { /* 地址协议, 如http (Optional) */ Protocol *string `json:"protocol"` /* 域名 (Optional) */ HostName *string `json:"hostName"` /* 将前缀替换为指定的内容 (Optional) */ ReplaceKeyPrefixWith *string `json:"replaceKeyPrefixWith"` /* 将key替换为指定内容 (Optional) */ ReplaceKeyWith *string `json:"replaceKeyWith"` /* 将后缀替换为指定的内容 (Optional) */ ReplaceKeySuffixWith *string `json:"replaceKeySuffixWith"` }
type BackSourceHeaderRule ¶
type BackSourceHeaderRule struct { /* 是否允许所有的Http header (Optional) */ AllowAllHeaders *bool `json:"allowAllHeaders"` /* 允许的http header列表 (Optional) */ AllowHeaders []string `json:"allowHeaders"` /* 禁止的http header列表 (Optional) */ NotAllowHeaders []string `json:"notAllowHeaders"` /* 设置指定http header参数,类型为Map\<String, String> (Optional) */ SetHeaders *interface{} `json:"setHeaders"` }
type BackSourceRule ¶
type BackSourceRule struct { /* 回源类型 (Optional) */ BackSourceType *string `json:"backSourceType"` /* (Optional) */ Condition *BackSourceRuleCondition `json:"condition"` /* (Optional) */ Address *BackSourceAddress `json:"address"` /* 是否允许query String (Optional) */ AllowQueryString *bool `json:"allowQueryString"` /* 是否跟随重定向 (Optional) */ FollowRedirects *bool `json:"followRedirects"` /* (Optional) */ HeaderRule *BackSourceHeaderRule `json:"headerRule"` }
type BackSourceRuleCondition ¶
type BucketBackSourceConfiguration ¶
type BucketBackSourceConfiguration struct { /* 回源配置规则 (Optional) */ BackSourceRules []BackSourceRule `json:"backSourceRules"` }
type BucketCapacityCondition ¶ added in v1.11.0
type BucketCapacityCondition struct { /* <p>查询用量数据类型:</p><br><code>1000040</code>:标准存储<br><code>1000041</code>:低冗余存储<br><code>1000042</code>:归档存储<br><code>1000043</code>归档overHead存储:<br><code>1000044</code>低频存储:<br><code>1000045</code>低频overHead存储:<br><code>1</code>:内网GET流量<br><code>2</code>:内网HEAD流量<br><code>3</code>:内网PUT流量<br><code>4</code>:内网POST流量<br><code>5</code>:内网DELETE流量<br><code>6</code>:内网OPTIONS流量<br><code>7</code>:内网TRACE流量<br><code>11</code>:外网GET流量<br><code>12</code>:外网HEAD流量<br><code>13</code>:外网PUT流量<br><code>14</code>:外网POST流量<br><code>15</code>:外网DELETE流量<br><code>16</code>:外网OPTIONS流量<br><code>17</code>:外网TRACE流量<br><code>21</code>:CDN GET流量<br><code>22</code>:CDN HEAD流量<br><code>23</code>:CDN PUT流量<br><code>24</code>:CDN POST流量<br><code>25</code>:CDN DELETE流量<br><code>26</code>:CDN OPTIONS流量<br><code>27</code>:CDN TRACE流量<br><code>31</code>:内网GET数<br><code>32</code>:内网HEAD数<br><code>33</code>:内网PUT数<br><code>34</code>:内网POST数<br><code>35</code>:内网DELETE数<br><code>36</code>:内网OPTIONS数<br><code>37</code>:内网TRACE数<br><code>51</code>:外网GET数<br><code>52</code>:外网HEAD数<br><code>53</code>:外网PUT数<br><code>54</code>:外网POST数<br><code>55</code>:外网DELETE数<br><code>56</code>:外网OPTIONS数<br><code>57</code>:外网TRACE数<br><code>61</code>:CDN GET数<br><code>62</code>:CDN HEAD数<br><code>63</code>:CDN PUT数<br><code>64</code>:CDN POST数<br><code>65</code>:CDN DELETE数<br><code>66</code>:CDN OPTIONS数<br><code>67</code>:CDN TRACE数<br><code>71</code>:归档提前删除<br><code>72</code>:低频提前删除<br><code>81</code>:归档取回Bulk<br><code>82</code>:归档取回Std<br><code>83</code>:归档取回Exp<br><code>84</code>:低频数据取回 */ CapacityTypes []int `json:"capacityTypes"` /* 开始时间,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ss'Z' (Optional) */ BeginTime string `json:"beginTime"` /* 结束时间,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ss'Z' (Optional) */ EndTime string `json:"endTime"` /* 查询数据的聚合方式:<br><code>0</code>:all, 最大查询区间365天 <br><code>1</code>:hour,最大查询区间31天。默认1<br><code>2</code>:day, 最大查询区间365天。 (Optional) */ PeriodType int `json:"periodType"` /* 返回数据的方式: <code>1</code>:recent(区间值), <code>2</code>:current(当前值。method = 2 时如果查询当前值时传入beginTime,则按照beginTime时间来进行查询;如果不传beginTime,则按照后端系统时间查询。) */ Method int `json:"method"` /* 查询的bucket Names。如果查询用户全部Bucket,则不传 (Optional) */ BucketNames []string `json:"bucketNames"` }
type BucketCapacityQueryResult ¶ added in v1.11.0
type BucketCapacityQueryResult struct { /* bucket 用量统计列表 (Optional) */ ResultList []BucketCapacityStatistic `json:"resultList"` }
type BucketCapacityStatistic ¶ added in v1.11.0
type BucketMonitorStatistic ¶
type BucketMonitorStatisticQueryResult ¶
type BucketMonitorStatisticQueryResult struct { /* 查询结果总数 (Optional) */ TotalCount int `json:"totalCount"` /* bucket 统计列表 (Optional) */ QueryList []BucketMonitorStatistic `json:"queryList"` }
type BucketSpaceStatistic ¶
type BucketSpaceStatisticQueryResult ¶
type BucketSpaceStatisticQueryResult struct { /* 查询结果总数 (Optional) */ TotalCount int `json:"totalCount"` /* bucket 统计列表 (Optional) */ QueryList []BucketSpaceStatistic `json:"queryList"` }
type CName ¶
type CName struct { /* 自定义域名id (Optional) */ Id int `json:"id"` /* 用户pin (Optional) */ Pin string `json:"pin"` /* 源站域名 (Optional) */ OriginDomain string `json:"originDomain"` /* 自定义域名 (Optional) */ Cname string `json:"cname"` /* 自定义域名状态 (Optional) */ Status int `json:"status"` /* bucket name (Optional) */ BucketName string `json:"bucketName"` /* cname是否成功,1:已解析;0:未解析 (Optional) */ IsCName int `json:"isCName"` /* 创建时间 (Optional) */ CreateTime string `json:"createTime"` /* http版本,0:http,1:https (Optional) */ ProtoType int `json:"protoType"` }
type CNameQueryResult ¶
type ImageExtensions ¶
type ImageExtensions struct { /* 原图保护图像格式列表,符合固定XML格式,例如\<?xml version="1.0" encoding="UTF-8"?>\<Condition>\<Extension>jpg\</Extension>\</Condition> */ ImageExtensions string `json:"imageExtensions"` }
type SignatureInfo ¶ added in v1.11.0
type SignatureInfo struct { /* 签名的endpoint, 例如 http://s3.cn-east-1.jcloudcs.com */ Endpoint string `json:"endpoint"` /* http method */ HttpMethod string `json:"httpMethod"` /* 资源路径,不包含query string */ ResourcePath string `json:"resourcePath"` /* 上传文件的sha256 */ XAmzContentSha256 string `json:"xAmzContentSha256"` /* 附加的签名header (Optional) */ AdditionalSignatureHeaders interface{} `json:"additionalSignatureHeaders"` /* 签名的参数,query string (Optional) */ SignatureParameters interface{} `json:"signatureParameters"` }
type SignatureResult ¶ added in v1.11.0
type SignatureResult struct { /* 签名的endpoint, 例如 http://s3.cn-east-1.jcloudcs.com (Optional) */ Endpoint string `json:"endpoint"` /* http method (Optional) */ HttpMethod string `json:"httpMethod"` /* 资源路径 (Optional) */ ResourcePath string `json:"resourcePath"` /* 时间, 由openapi返回 (Optional) */ XAmzDate string `json:"xAmzDate"` /* content hash (Optional) */ XAmzContentSha256 string `json:"xAmzContentSha256"` /* 用户pin (Optional) */ XAmzMetaRequesterPin string `json:"xAmzMetaRequesterPin"` /* 用户userId (Optional) */ XAmzMetaRequesterId string `json:"xAmzMetaRequesterId"` /* 附加的签名header (Optional) */ AdditionalSignatureHeaders interface{} `json:"additionalSignatureHeaders"` /* 签名的参数,query string (Optional) */ SignatureParameters interface{} `json:"signatureParameters"` /* authorization信息, 由openapi计算返回 (Optional) */ Authorization string `json:"authorization"` }
type SingleBucketCapacityRequestCondition ¶ added in v1.11.0
type SingleBucketCapacityRequestCondition struct { /* <p>查询用量数据类型:</p><br><code>1000040</code>:标准存储<br><code>1000041</code>:低冗余存储<br><code>1000042</code>:归档存储<br><code>1000043</code>归档overHead存储:<br><code>1000044</code>低频存储:<br><code>1000045</code>低频overHead存储:<br><code>1</code>:内网GET流量<br><code>2</code>:内网HEAD流量<br><code>3</code>:内网PUT流量<br><code>4</code>:内网POST流量<br><code>5</code>:内网DELETE流量<br><code>6</code>:内网OPTIONS流量<br><code>7</code>:内网TRACE流量<br><code>11</code>:外网GET流量<br><code>12</code>:外网HEAD流量<br><code>13</code>:外网PUT流量<br><code>14</code>:外网POST流量<br><code>15</code>:外网DELETE流量<br><code>16</code>:外网OPTIONS流量<br><code>17</code>:外网TRACE流量<br><code>21</code>:CDN GET流量<br><code>22</code>:CDN HEAD流量<br><code>23</code>:CDN PUT流量<br><code>24</code>:CDN POST流量<br><code>25</code>:CDN DELETE流量<br><code>26</code>:CDN OPTIONS流量<br><code>27</code>:CDN TRACE流量<br><code>31</code>:内网GET数<br><code>32</code>:内网HEAD数<br><code>33</code>:内网PUT数<br><code>34</code>:内网POST数<br><code>35</code>:内网DELETE数<br><code>36</code>:内网OPTIONS数<br><code>37</code>:内网TRACE数<br><code>51</code>:外网GET数<br><code>52</code>:外网HEAD数<br><code>53</code>:外网PUT数<br><code>54</code>:外网POST数<br><code>55</code>:外网DELETE数<br><code>56</code>:外网OPTIONS数<br><code>57</code>:外网TRACE数<br><code>61</code>:CDN GET数<br><code>62</code>:CDN HEAD数<br><code>63</code>:CDN PUT数<br><code>64</code>:CDN POST数<br><code>65</code>:CDN DELETE数<br><code>66</code>:CDN OPTIONS数<br><code>67</code>:CDN TRACE数<br><code>71</code>:归档提前删除<br><code>72</code>:低频提前删除<br><code>81</code>:归档取回Bulk<br><code>82</code>:归档取回Std<br><code>83</code>:归档取回Exp<br><code>84</code>:低频数据取回 */ CapacityTypes []int `json:"capacityTypes"` /* 开始时间,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ss'Z' (Optional) */ BeginTime string `json:"beginTime"` /* 结束时间,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ss'Z' (Optional) */ EndTime string `json:"endTime"` /* 查询数据的聚合方式:<br><code>0</code>:all, 最大查询区间365天 <br><code>1</code>:hour,最大查询区间31天。默认1<br><code>2</code>:day, 最大查询区间365天。 (Optional) */ PeriodType int `json:"periodType"` /* 返回数据的方式: <code>1</code>:recent(区间值), <code>2</code>:current(当前值。method = 2 时如果查询当前值时传入beginTime,则按照beginTime时间来进行查询;如果不传beginTime,则按照后端系统时间查询。) */ Method int `json:"method"` }
type UserBillCode ¶ added in v1.11.0
type UserBillCode struct { /* 用户的AppCode (Optional) */ AppCode string `json:"appCode"` /* 用户的ServiceCode (Optional) */ ServiceCode string `json:"serviceCode"` /* 用户的StorageResourceType (Optional) */ StorageResourceType string `json:"storageResourceType"` /* 用户的ProcessResourceType (Optional) */ ProcessResourceType string `json:"processResourceType"` }
Source Files ¶
- BackSourceAddress.go
- BackSourceHeaderRule.go
- BackSourceRule.go
- BackSourceRuleCondition.go
- BucketBackSourceConfiguration.go
- BucketCapacityCondition.go
- BucketCapacityQueryResult.go
- BucketCapacityStatistic.go
- BucketMonitorStatistic.go
- BucketMonitorStatisticQueryResult.go
- BucketSpaceStatistic.go
- BucketSpaceStatisticQueryResult.go
- CName.go
- CNameInfo.go
- CNameQueryResult.go
- ICP.go
- ImageExtensions.go
- SignatureInfo.go
- SignatureResult.go
- SingleBucketCapacityRequestCondition.go
- UserBillCode.go
Click to show internal directories.
Click to hide internal directories.