限定条件下载

其中If-Modified-Since与If-Unmodified-Since可以同时使用,If-Match与If-None-Match也可以同时使用。参数 描述 设置方法 If-Modified-Since 如果实际修改时间晚于指定的时间,则正常传输文件,否则返回错误(304 Not modified)。...

alicloud_ecd_desktop_types

ForceNew)The Memory size.Unit:MiB.output_file-(Optional)File name where to save data source results(after running terraform plan).status-(Optional,ForceNew)The status of the resource.Valid values:SUFFICIENT.Argument ...

出错提示“Minimum memory requirements are not met...

问题原因 待迁移的源服务器系统的可用内存不足600 MiB。解决方案 删除不需要的文件或者停止不需要的应用。对源服务器实例进行规格配置变配,以保证实例可用内存不小于600 MiB。具体操作,请参见 包年包月实例升配规格 或 按量付费实例变配...

鉴权代码示例

s-%s-%s-%s"%(path,exp,rand,uid,key)hashvalue=md5sum(sstring)auth_key="%s-%s-%s-%s"%(exp,rand,uid,hashvalue)if args:return"%s%s%s%s&auth_key=s"%(scheme,host,path,args,auth_key)else:return"%s%s%s%s?auth_key=s"%(scheme,host,...

鉴权代码示例

s-%s-%s-%s"%(path,exp,rand,uid,key)hashvalue=md5sum(sstring)auth_key="%s-%s-%s-%s"%(exp,rand,uid,hashvalue)if args:return"%s%s%s%s&auth_key=s"%(scheme,host,path,args,auth_key)else:return"%s%s%s%s?auth_key=s"%(scheme,host,...

列举文件

for_,object:=range lsRes.Objects { fmt.Println("Object Name:",object.Key)} if lsRes.IsTruncated { marker=lsRes.NextMarker } else { break } } } 通过GetBucketV2(ListObjectsV2)方法列举 通过GetBucketV2(ListObjectsV2)方法列举...

快速入门

fmt.Println("Updating service")updateServiceInput:=fc.NewUpdateServiceInput(serviceName).WithDescription("new description")updateServiceOutput,err:=client.UpdateService(updateServiceInput)if err!nil { fmt.Fprintln(os....

关闭对应用的GPU隔离能力

Usage/Cap|Memory-Usage|GPU-Util Compute M.|=|0 Tesla V100-SXM2.Off|00000000:00:07.0 Off|0|N/A 33C P0 55W/300W|15453MiB/16130MiB|1%Default|+-+-+-+-+|Processes:GPU Memory|GPU PID Type Process name Usage|=|+-+从输出信息中可以...

限定条件下载

限定条件 OSS支持的限定条件如下:说明 If-Modified-Since和If-Unmodified-Since可以同时存在。If-Match和If-None-Match也可以同时存在。您可以通过ossClient.getObjectMeta方法获取ETag。参数 描述 If-Modified-Since 如果指定的时间早于...

蓝牙 Mesh OTA SDK

if(deviceArray){ for(ALSBluetoothDevice*bleDevice in deviceArray){ if([bleDevice.macAddress isEqualToString:mac]){ if![bleDevice isKindOfClass:[ALSBLEDevice class]]){[self startScan:timeOut];return;} IMSOTALogInfo(@...

AScript场景示例

对应的AScript规则:if eq(substr($uri,-3,-1),'.ts'){ if or(not($arg_t),not($arg_key)){ add_rsp_header('X-AUTH-MSG','auth failed-missing necessary arg')exit(403)} t=tonumber($arg_t)if not(t){ add_rsp_header('X-AUTH-MSG','...

CreateOrUpdateNotificationPolicy-新增及修改通知...

{"robotContent":"{{if.commonLabels.clustername }}>集群名称:{{.commonLabels.clustername }} {{ end }}{{if eq"app".commonLabels._aliyun_arms_involvedObject_kind }}>应用名称:{{.commonLabels._aliyun_arms_involvedObject_name }...

单链接限速

nil { fmt.Println("Error:",err)os.Exit(-1)} defer fd2.Close()var nextPos int64 objectName:="exampledir/exampleobject.txt"nextPos,err=bucket.AppendObject(objectName,fd1,nextPos,oss.TrafficLimitHeader(traffic))if err!...

分区和列操作

alter table sale_detail add if not exists partition(sale_date='201910')partition(sale_date='201911')partition(sale_date='201912')partition(sale_date='202001')partition(sale_date='202002')partition(sale_date='202003')...

COUNT_IF

创建表emp,并添加数据,命令示例如下:create table if not exists emp(empno bigint,ename string,job string,mgr bigint,hiredate datetime,sal bigint,comm bigint,deptno bigint);tunnel upload emp.txt emp;emp.txt中的数据如下:...

iOS

while(true){ if([self.yuvInputThread isCancelled]){ break;} size_t read=fread(yuv_read_data,dataSize,1,_yuvInputFile);if(read>dataSize){ break;} if(read=0){ fseek(_yuvInputFile,0,SEEK_SET);if(self.yuvInputThread){ continue...

使用Lua插件

value in pairs(headers)do if key="content-type"then contentType=value end headersStr=headersStr.key."=".value.","end request_handle:streamInfo():dynamicMetadata():set("envoy.lua","request_headers",headersStr)local ...

ALIYUN:DDoSPro:PremiumInstance

150,200,250,or 300.If you set ProductPlan to 1,you can set NormalBandwidth to 100,150,200,250,or 300.If you set ProductPlan to 2,you can set NormalBandwidth to 10,20,30,40,50,60,70,80,90,or 100.If you set ProductPlan to 3,...

HBase HBCK2

HBCK2 assigns 1588230740 de00010733901a05f5a2a3a382e2*Returns the pid(s)of the created AssignProcedure(s)or-1 if none.If-i or-inputFiles is specified,pass one or more input file names.Each file contains encoded region ...

ALIYUN:MSE:ServiceSource

String"},"Name":{"Description":"The name.If Source=K8s,this parameter specifies the name of the ACK cluster.If Source=MSE,this parameter specifies the ID of the Nacos instance.If Source=MSE_ZK,this parameter specifies the...

ListNotificationPolicies-查询通知策略信息

{{if.commonLabels.clustername }}>集群名称:{{.commonLabels.clustername }} {{ end }}{{if eq"app".commonLabels._aliyun_arms_involvedObject_kind }}>应用名称:{{.commonLabels._aliyun_arms_involvedObject_name }} {{ end }}{{ for...

限定条件下载

时间格式:GMT,例如 Fri,13 Nov 2015 14:47:53 GMT If-Modified-Since 和 If-Unmodified-Since 可以同时使用。默认值:无 If-Match 如果传入的ETag和Object的ETag匹配,则正常传输Object,并返回200 OK;如果传入的ETag和Object的ETag不...

QueryIncidentIconList-获取溯源图标列表

}#end#if($p_procname),{"name"quot;{sas.trace2.property.procname}"quot;value"quot;{p_procname}"}#end#if($p_proc_path),{"name"quot;{sas.trace2.property.proc_path}"quot;value"quot;...

断点续传下载

OSS Server针对GetObject目前已支持 Range、If-Match、If-None-Match、If-Modified-Since、If-Unmodified-Since,因此您可以在移动端实践OSS资源的断点续传下载功能。示例代码 重要 以下代码仅供参考了解下载流程,不建议在生产项目中使用...

智能合约Go开发指南

function,args:=stub.GetFunctionAndParameters()if function="invoke"{/将A的资产转移X个单位给B return t.invoke(stub,args)} else if function="delete"{/从状态中删除实体 return t.delete(stub,args)} else if function="query"{/老的...

LiveChannel管理

provider,err:=oss.NewEnvironmentVariableCredentialsProvider()if err!nil { fmt.Println("Error:",err)os.Exit(-1)}/创建OSSClient实例。yourEndpoint填写Bucket对应的Endpoint,以华东1(杭州)为例,填写为...

快速入门

provider,err:=oss.NewEnvironmentVariableCredentialsProvider()if err!nil { fmt.Println("Error:",err)os.Exit(-1)}/创建OSSClient实例。yourEndpoint填写Bucket对应的Endpoint,以华东1(杭州)为例,填写为...

流程控制函数

e_if(e_has("a"),e_output("target-a"),e_has("b"),e_output("target-b"),)例如,该加工规则相当于以下Python代码结构:if e_has("a"):e_output("target-a")if e_has("b"):e_output("target-b")支持和其他函数组合使用。相关示例,请参见 ...

作业调试

单位建议使用GiB或MiB,例如,1024 MiB或1.5 GiB。JobManager推荐配置包含JobManager资源以及心跳相关参数。具体内容如下:由于JobManager上承载TaskManager心跳、作业Task序列化和资源调度等功能。因此建议JobManager资源不小于默认配置,...

EdgeScript场景示例

对应的EdgeScript规则 if match_re($uri,'^/image'){ set_cache_ttl('code','301=10,302=5')} if eq(substr($uri,-4,-1),'.mp4'){ set_cache_ttl('path',5)} if match_re($uri,'^/201801/mp4/'){ set_cache_ttl('path',50)} if match_re($...

iOS和Mac

} if(videoSample.type=AliRtcBufferType_Raw_Data){ if(videoSample.dataYPtr&videoSample.dataUPtr&videoSample.dataVPtr){ memcpy(outputData,(uint8_t*)videoSample.dataYPtr,w*h*3/2);memcpy(outputData+w*h,(uint8_t*)videoSample....

简单上传

err=bucket.PutObjectFromFile("exampledir/exampleobject.txt","D:\\localpath\\examplefile.txt")if err!nil { fmt.Println("Error:",err)os.Exit(-1)} } 上传字符串 以下代码用于将字符串上传到目标存储空间examplebucket中exampledir...

控制结构

IF-THEN-ELSE 语句对 IF-THEN 进行了增加,它让你能够指定一组在条件不为真时应该被执行的语句(这也包括条件为 NULL 的情况)。例子:IF parentid IS NULL OR parentid='' THEN RETURN fullname;ELSE RETURN hp_true_filename(parentid)|'...

自动化工具说明

initial AcsClient failed")and sys.exit(1)if Envariable.TASK_TYPE:if Envariable.TASK_TYPE='push':if self.lines>int(quotaResp['PreloadRemain']):sys.exit("[error]:PreloadRemain is not enough {0}".format(quotaResp['...

EdgeScript场景示例

对应的EdgeScript规则 if match_re($uri,'^/image'){ set_cache_ttl('code','301=10,302=5')} if eq(substr($uri,-4,-1),'.mp4'){ set_cache_ttl('path',5)} if match_re($uri,'^/201801/mp4/'){ set_cache_ttl('path',50)} if match_re($...

EdgeScript场景示例

对应的EdgeScript规则 if match_re($uri,'^/image'){ set_cache_ttl('code','301=10,302=5')} if eq(substr($uri,-4,-1),'.mp4'){ set_cache_ttl('path',5)} if match_re($uri,'^/201801/mp4/'){ set_cache_ttl('path',50)} if match_re($...

ALIYUN:AMQP:Instance

200 MaxValue:2800 QueueCapacity:Type:Number Description:|-The queue capacity.If instance type is professional,the valid value is[50,1000]with the step size 5.If instance type is enterprise,the valid value is[200,6000]with ...

删除文件

nil { fmt.Println("Error:",err)os.Exit(-1)} if len(delRes.DeletedObjectsDetail)>0 { fmt.Println("these objects deleted failure,",delRes.DeletedObjectsDetail)os.Exit(-1)} prefix=oss.Prefix(lor.Prefix)marker=oss.KeyMarker...

初始化

func InitMtsClient()(client*mts.Client,err error){ credential,err:=credentials.NewCredential(nil)if err!nil { return } accessKey,err:=credential.GetAccessKeyId()if err!nil { return } accessKeySecret,err:=credential....

CapacityPlan

type String Body 否 hot 磁盘数据类型,可选值:hot:热数据 warm:冷数据 unit String Body 否 MiB 数据单位或时间单位,可选值:数据单位:MiB、GiB、TB、PB 时间单位:DAYS、WEEKS、MONTHS、YEARS totalCount Integer Body 否 10000 ...
共有172条 < 1 2 3 4 ... 172 >
跳转至: GO
产品推荐
云服务器 安全管家服务 安全中心
这些文档可能帮助您
弹性公网IP 短信服务 人工智能平台 PAI 金融分布式架构 对象存储 物联网平台
新人特惠 爆款特惠 最新活动 免费试用