vendor/aliyuncs/oss-sdk-php/samplesBucketLogging.php

Functions

putBucketLogging()

putBucketLogging(\OSS\OssClient  $ossClient, string  $bucket) : null

设置bucket的Logging配置

Parameters

\OSS\OssClient $ossClient

OssClient实例

string $bucket

存储空间名称

Returns

null

getBucketLogging()

getBucketLogging(\OSS\OssClient  $ossClient, string  $bucket) : null

获取bucket的Logging配置

Parameters

\OSS\OssClient $ossClient

OssClient实例

string $bucket

存储空间名称

Returns

null

deleteBucketLogging()

deleteBucketLogging(\OSS\OssClient  $ossClient, string  $bucket) : null

删除bucket的Logging配置

Parameters

\OSS\OssClient $ossClient

OssClient实例

string $bucket

存储空间名称

Returns

null