models

package
v1.49.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 0 Imported by: 11 modules, 10 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 BackSourceRuleCondition struct {

	/* 当前缀为指定的前缀时开启回源 (Optional) */
	KeyPrefixEquals *string `json:"keyPrefixEquals"`

	/* 当http错误码为指定错误码时开启回源 (Optional) */
	HttpErrorCodeReturnedEquals *int `json:"httpErrorCodeReturnedEquals"`
}

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 BucketCapacityStatistic struct {

	/* Bucket Name  */
	BucketName string `json:"bucketName"`

	/* 用量数值,单位Byte  */
	Value int64 `json:"value"`

	/* 时间  */
	Time string `json:"time"`

	/* 用量类型  */
	CapacityType int `json:"capacityType"`
}

type BucketMonitorStatistic

type BucketMonitorStatistic struct {

	/* bucket name  */
	BucketName string `json:"bucketName"`

	/* 统计数值  */
	Count int64 `json:"count"`

	/* 时间  */
	Time string `json:"time"`
}

type BucketMonitorStatisticQueryResult

type BucketMonitorStatisticQueryResult struct {

	/* 查询结果总数 (Optional) */
	TotalCount int `json:"totalCount"`

	/* bucket 统计列表 (Optional) */
	QueryList []BucketMonitorStatistic `json:"queryList"`
}

type BucketSpaceStatistic

type BucketSpaceStatistic struct {

	/* bucket name  */
	BucketName string `json:"bucketName"`

	/* bucket 存储空间  */
	Space int64 `json:"space"`
}

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 CNameInfo

type CNameInfo struct {

	/* 自定义域名  */
	Cname string `json:"cname"`

	/* http版本,0:http,1:https (Optional) */
	ProtoType int `json:"protoType"`

	/* 域名  */
	EndPoint string `json:"endPoint"`

	/* 是否拦截内部域名添,任意值跳过拦截 (Optional) */
	Internal string `json:"internal"`
}

type CNameQueryResult

type CNameQueryResult struct {

	/* 查询结果总数 (Optional) */
	TotalCount int `json:"totalCount"`

	/*  (Optional) */
	ResultList []CName `json:"resultList"`
}

type ICP

type ICP struct {

	/* true为备案,false为未备案 (Optional) */
	Icp bool `json:"icp"`
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL