Files
doc-exports/docs/obs_3rd_party/dotnet_sdk/ALL_META.TXT.json
weihongmin1 b2353339c3 OBS .NET SDK 0120 Version
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com>
Co-authored-by: weihongmin1 <weihongmin1@huawei.com>
Co-committed-by: weihongmin1 <weihongmin1@huawei.com>
2026-01-21 15:47:52 +00:00

2003 lines
61 KiB
JSON

[
{
"dockw":"Developer Guide (.NET SDK)"
},
{
"uri":"obs_25_0000.html",
"node_id":"obs_25_0000.xml",
"product_code":"obs",
"code":"1",
"des":"This section describes version compatibility and important notes about Object Storage Service (OBS) SDK for .NET.Recommended .NET versions: .NET Framework 3.5, 4.0, or 4.",
"doc_type":"sdk-dotnet-devg",
"kw":"Before You Start,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Before You Start",
"githuburl":""
},
{
"uri":"obs_25_0001.html",
"node_id":"obs_25_0001.xml",
"product_code":"obs",
"code":"2",
"des":"Latest version of OBS .NET SDK source code: Download",
"doc_type":"sdk-dotnet-devg",
"kw":"SDK Download Links,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"SDK Download Links",
"githuburl":""
},
{
"uri":"obs_25_0100.html",
"node_id":"obs_25_0100.xml",
"product_code":"obs",
"code":"3",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"sdk-dotnet-devg",
"kw":"Quick Start",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Quick Start",
"githuburl":""
},
{
"uri":"obs_25_0103.html",
"node_id":"obs_25_0103.xml",
"product_code":"obs",
"code":"4",
"des":"Access keys consist of two parts: an access key ID (AK) and a secret access key (SK). OBS uses access keys to sign requests to make sure that only authorized accounts can",
"doc_type":"sdk-dotnet-devg",
"kw":"Creating an AK and SK,Quick Start,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Creating an AK and SK",
"githuburl":""
},
{
"uri":"obs_25_0105.html",
"node_id":"obs_25_0105.xml",
"product_code":"obs",
"code":"5",
"des":"Installing the OBS .NET SDK. The example here uses the latest version.",
"doc_type":"sdk-dotnet-devg",
"kw":"Installing the SDK,Quick Start,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Installing the SDK",
"githuburl":""
},
{
"uri":"obs_25_0106.html",
"node_id":"obs_25_0106.xml",
"product_code":"obs",
"code":"6",
"des":"You can click here to view the endpoints and regions enabled for OBS.The SDK allows you to pass endpoints with or without the protocol name. Suppose the endpoint you obta",
"doc_type":"sdk-dotnet-devg",
"kw":"Obtaining Endpoints,Quick Start,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Obtaining Endpoints",
"githuburl":""
},
{
"uri":"obs_25_0107.html",
"node_id":"obs_25_0107.xml",
"product_code":"obs",
"code":"7",
"des":"Each time you want to send an HTTP/HTTPS request to OBS, you must create an instance of ObsClient. Sample code is as follows:For more information, see chapter \"Initializa",
"doc_type":"sdk-dotnet-devg",
"kw":"Initializing an Instance of ObsClient,Quick Start,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Initializing an Instance of ObsClient",
"githuburl":""
},
{
"uri":"obs_25_0108.html",
"node_id":"obs_25_0108.xml",
"product_code":"obs",
"code":"8",
"des":"A bucket is a global namespace of OBS and is a data container. It functions as a root directory of a file system and can store objects. The following code shows how to cr",
"doc_type":"sdk-dotnet-devg",
"kw":"Creating a Bucket,Quick Start,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Creating a Bucket",
"githuburl":""
},
{
"uri":"obs_25_0109.html",
"node_id":"obs_25_0109.xml",
"product_code":"obs",
"code":"9",
"des":"This example uploads string Hello OBS to bucket bucketname as object objectname.The example code is as follows:For more information, see Object Upload Overview.",
"doc_type":"sdk-dotnet-devg",
"kw":"Uploading an Object,Quick Start,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Uploading an Object",
"githuburl":""
},
{
"uri":"obs_25_0110.html",
"node_id":"obs_25_0110.xml",
"product_code":"obs",
"code":"10",
"des":"This example downloads object objectname from bucket bucketname.The example code is as follows:For more information, see Object Download Overview.",
"doc_type":"sdk-dotnet-devg",
"kw":"Downloading an Object,Quick Start,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Downloading an Object",
"githuburl":""
},
{
"uri":"obs_25_0111.html",
"node_id":"obs_25_0111.xml",
"product_code":"obs",
"code":"11",
"des":"After objects are uploaded, you may want to view the objects contained in a bucket. Sample code is as follows:You can call ListObjectsResponse.ObsObjects to obtain the de",
"doc_type":"sdk-dotnet-devg",
"kw":"Listing Objects,Quick Start,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Listing Objects",
"githuburl":""
},
{
"uri":"obs_25_0112.html",
"node_id":"obs_25_0112.xml",
"product_code":"obs",
"code":"12",
"des":"This example deletes object objectname from bucket bucketname.The example code is as follows:This example only deletes a single object. To delete objects in a batch, trav",
"doc_type":"sdk-dotnet-devg",
"kw":"Deleting an Object,Quick Start,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Deleting an Object",
"githuburl":""
},
{
"uri":"obs_25_0113.html",
"node_id":"obs_25_0113.xml",
"product_code":"obs",
"code":"13",
"des":"When you call an API using an instance of ObsClient, if no exception is thrown, the return value is valid, and a sub-class instance of ObsWebServiceResponse (SDK common r",
"doc_type":"sdk-dotnet-devg",
"kw":"General Examples of ObsClient,Quick Start,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"General Examples of ObsClient",
"githuburl":""
},
{
"uri":"obs_25_0200.html",
"node_id":"obs_25_0200.xml",
"product_code":"obs",
"code":"14",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"sdk-dotnet-devg",
"kw":"Initialization",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Initialization",
"githuburl":""
},
{
"uri":"obs_25_0201.html",
"node_id":"obs_25_0201.xml",
"product_code":"obs",
"code":"15",
"des":"To use OBS, you need a valid pair of AK and SK for signature authentication.For details, see Creating an AK and SK.After obtaining the AK/SK pair, you can start initializ",
"doc_type":"sdk-dotnet-devg",
"kw":"Configuring the AK/SK,Initialization,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Configuring the AK/SK",
"githuburl":""
},
{
"uri":"obs_25_0202.html",
"node_id":"obs_25_0202.xml",
"product_code":"obs",
"code":"16",
"des":"ObsClient functions as the .NET client for accessing OBS. It offers callers a series of APIs for interaction with OBS and is used for managing and operating resources, su",
"doc_type":"sdk-dotnet-devg",
"kw":"Creating an Instance of ObsClient,Initialization,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Creating an Instance of ObsClient",
"githuburl":""
},
{
"uri":"obs_25_0203.html",
"node_id":"obs_25_0203.xml",
"product_code":"obs",
"code":"17",
"des":"When you call the ObsConfig configuration class to create an instance of ObsClient, you can configure the agent, timeout duration, maximum allowed number of connections, ",
"doc_type":"sdk-dotnet-devg",
"kw":"Configuring an Instance of ObsClient,Initialization,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Configuring an Instance of ObsClient",
"githuburl":""
},
{
"uri":"obs_25_0204.html",
"node_id":"obs_25_0204.xml",
"product_code":"obs",
"code":"18",
"des":"OBS .NET SDK provides the logging function, based on the Apache Log4net open library. You can add log configuration files to enable the logging function. The procedure is",
"doc_type":"sdk-dotnet-devg",
"kw":"Configuring SDK Logging,Initialization,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Configuring SDK Logging",
"githuburl":""
},
{
"uri":"obs_25_0300.html",
"node_id":"obs_25_0300.xml",
"product_code":"obs",
"code":"19",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"sdk-dotnet-devg",
"kw":"Bucket Management",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Bucket Management",
"githuburl":""
},
{
"uri":"obs_25_0301.html",
"node_id":"obs_25_0301.xml",
"product_code":"obs",
"code":"20",
"des":"You can call ObsClient.CreateBucket to create a bucket.When creating a bucket, you can specify the ACL, storage class, and location for the bucket. OBS provides three sto",
"doc_type":"sdk-dotnet-devg",
"kw":"Creating a Bucket,Bucket Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Creating a Bucket",
"githuburl":""
},
{
"uri":"obs_25_0302.html",
"node_id":"obs_25_0302.xml",
"product_code":"obs",
"code":"21",
"des":"You can call ObsClient.ListBuckets to list buckets. Sample code is as follows:Obtained bucket names are listed in the lexicographical order.Set ListBucketsRequest.IsQuery",
"doc_type":"sdk-dotnet-devg",
"kw":"Listing Buckets,Bucket Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Listing Buckets",
"githuburl":""
},
{
"uri":"obs_25_0303.html",
"node_id":"obs_25_0303.xml",
"product_code":"obs",
"code":"22",
"des":"You can call ObsClient.DeleteBucket to delete a bucket. Sample code is as follows:Only empty buckets (without objects and part fragments) can be deleted.Bucket deletion i",
"doc_type":"sdk-dotnet-devg",
"kw":"Deleting a Bucket,Bucket Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Deleting a Bucket",
"githuburl":""
},
{
"uri":"obs_25_0304.html",
"node_id":"obs_25_0304.xml",
"product_code":"obs",
"code":"23",
"des":"You can call ObsClient.HeadBucket to identify whether a bucket exists.This example checks whether bucket bucketname exists.The example code is as follows:If an exception ",
"doc_type":"sdk-dotnet-devg",
"kw":"Identifying Whether a Bucket Exists,Bucket Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Identifying Whether a Bucket Exists",
"githuburl":""
},
{
"uri":"obs_25_0305.html",
"node_id":"obs_25_0305.xml",
"product_code":"obs",
"code":"24",
"des":"You can call ObsClient.GetBucketMetadata to obtain the metadata of a bucket.This example returns the metadata of bucket bucketname.The example code is as follows:To handl",
"doc_type":"sdk-dotnet-devg",
"kw":"Obtaining Bucket Metadata,Bucket Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Obtaining Bucket Metadata",
"githuburl":""
},
{
"uri":"obs_25_0306.html",
"node_id":"obs_25_0306.xml",
"product_code":"obs",
"code":"25",
"des":"Access control lists (ACLs) allow resource owners to grant other accounts the permissions to access resources. By default, only the resource owner has full control over r",
"doc_type":"sdk-dotnet-devg",
"kw":"Managing Bucket ACLs,Bucket Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Managing Bucket ACLs",
"githuburl":""
},
{
"uri":"obs_25_0307.html",
"node_id":"obs_25_0307.xml",
"product_code":"obs",
"code":"26",
"des":"Besides bucket ACLs, bucket owners can use bucket policies to centrally control access to buckets and objects in buckets.For more information, see Bucket Policies.You can",
"doc_type":"sdk-dotnet-devg",
"kw":"Management Bucket Policies,Bucket Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Management Bucket Policies",
"githuburl":""
},
{
"uri":"obs_25_0308.html",
"node_id":"obs_25_0308.xml",
"product_code":"obs",
"code":"27",
"des":"You can call ObsClient.GetBucketLocation to obtain the location of a bucket.This example returns the region of bucket bucketname.The example code is as follows:When creat",
"doc_type":"sdk-dotnet-devg",
"kw":"Obtaining a Bucket Location,Bucket Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Obtaining a Bucket Location",
"githuburl":""
},
{
"uri":"obs_25_0309.html",
"node_id":"obs_25_0309.xml",
"product_code":"obs",
"code":"28",
"des":"The storage information about a bucket includes the used capacity of and the number of objects in the bucket.You can call ObsClient.GetBucketStorageInfo to obtain the buc",
"doc_type":"sdk-dotnet-devg",
"kw":"Obtaining Storage Information About a Bucket,Bucket Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Obtaining Storage Information About a Bucket",
"githuburl":""
},
{
"uri":"obs_25_0310.html",
"node_id":"obs_25_0310.xml",
"product_code":"obs",
"code":"29",
"des":"You can call ObsClient.SetBucketQuota to set the bucket quota. Sample code is as follows:A bucket quota must be a non-negative integer expressed in bytes. The maximum val",
"doc_type":"sdk-dotnet-devg",
"kw":"Setting or Obtaining a Bucket Quota,Bucket Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Setting or Obtaining a Bucket Quota",
"githuburl":""
},
{
"uri":"obs_25_0311.html",
"node_id":"obs_25_0311.xml",
"product_code":"obs",
"code":"30",
"des":"OBS allows you to set storage classes for buckets. The storage class of an object defaults to be that of its residing bucket. Different storage classes meet different nee",
"doc_type":"sdk-dotnet-devg",
"kw":"Setting or Obtaining the Storage Class of a Bucket,Bucket Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Setting or Obtaining the Storage Class of a Bucket",
"githuburl":""
},
{
"uri":"obs_25_0400.html",
"node_id":"obs_25_0400.xml",
"product_code":"obs",
"code":"31",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"sdk-dotnet-devg",
"kw":"Object Upload",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Object Upload",
"githuburl":""
},
{
"uri":"obs_25_0401.html",
"node_id":"obs_25_0401.xml",
"product_code":"obs",
"code":"32",
"des":"In OBS, objects are basic data units that users can perform operations on. OBS .NET SDK provides abundant APIs for object upload in the following methods:Performing a Str",
"doc_type":"sdk-dotnet-devg",
"kw":"Object Upload Overview,Object Upload,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Object Upload Overview",
"githuburl":""
},
{
"uri":"obs_25_0402.html",
"node_id":"obs_25_0402.xml",
"product_code":"obs",
"code":"33",
"des":"Streaming upload uses System.IO.Stream as the data source of an object. You can call ObsClient.PutObject to upload the data streams to OBS. Sample code is as follows:To u",
"doc_type":"sdk-dotnet-devg",
"kw":"Performing a Streaming Upload,Object Upload,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Performing a Streaming Upload",
"githuburl":""
},
{
"uri":"obs_25_0403.html",
"node_id":"obs_25_0403.xml",
"product_code":"obs",
"code":"34",
"des":"File-based upload uses local files as the data source of objects.This example uploads local file localfile to bucket bucketname as object objectname.The example code is a",
"doc_type":"sdk-dotnet-devg",
"kw":"Performing a File-Based Upload,Object Upload,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Performing a File-Based Upload",
"githuburl":""
},
{
"uri":"obs_25_0404.html",
"node_id":"obs_25_0404.xml",
"product_code":"obs",
"code":"35",
"des":"You can call ObsClient.BeginPutObject and ObsClient.EndPutObject to upload an object asynchronously.This example asynchronously uploads local file localfile to bucket buc",
"doc_type":"sdk-dotnet-devg",
"kw":"Performing an Asynchronous Upload,Object Upload,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Performing an Asynchronous Upload",
"githuburl":""
},
{
"uri":"obs_25_0405.html",
"node_id":"obs_25_0405.xml",
"product_code":"obs",
"code":"36",
"des":"You can call PutObjectRequest.UploadProgress to register a System.EventHandler callback function to obtain upload progress.This example uploads local file localfile to bu",
"doc_type":"sdk-dotnet-devg",
"kw":"Obtaining Upload Progress,Object Upload,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Obtaining Upload Progress",
"githuburl":""
},
{
"uri":"obs_25_0406.html",
"node_id":"obs_25_0406.xml",
"product_code":"obs",
"code":"37",
"des":"There is no folder concept in OBS. All elements in buckets are objects. To create a folder in OBS is essentially to create an object whose size is 0 and whose name ends w",
"doc_type":"sdk-dotnet-devg",
"kw":"Creating a Folder,Object Upload,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Creating a Folder",
"githuburl":""
},
{
"uri":"obs_25_0407.html",
"node_id":"obs_25_0407.xml",
"product_code":"obs",
"code":"38",
"des":"You can set properties for an object when uploading it. Object properties include the MIME type, MD5 value (for verification), storage class, and customized metadata. You",
"doc_type":"sdk-dotnet-devg",
"kw":"Setting Object Properties,Object Upload,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Setting Object Properties",
"githuburl":""
},
{
"uri":"obs_25_0408.html",
"node_id":"obs_25_0408.xml",
"product_code":"obs",
"code":"39",
"des":"To upload a large file, multipart upload is recommended. Multipart upload is applicable to many scenarios, including:Files to be uploaded are larger than 100 MB.The netwo",
"doc_type":"sdk-dotnet-devg",
"kw":"Performing a Multipart Upload,Object Upload,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Performing a Multipart Upload",
"githuburl":""
},
{
"uri":"obs_25_0409.html",
"node_id":"obs_25_0409.xml",
"product_code":"obs",
"code":"40",
"des":"When uploading an object or initializing a multipart upload, you can directly set the expiration time for the object. Sample code is as follows:The previous mode specifie",
"doc_type":"sdk-dotnet-devg",
"kw":"Configuring Lifecycle Management,Object Upload,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Configuring Lifecycle Management",
"githuburl":""
},
{
"uri":"obs_25_0410.html",
"node_id":"obs_25_0410.xml",
"product_code":"obs",
"code":"41",
"des":"Appendable upload allows you to upload an object in appendable mode and then append data to the object. You can call ObsClient.AppendObject to perform an appendable uploa",
"doc_type":"sdk-dotnet-devg",
"kw":"Performing an Appendable Upload,Object Upload,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Performing an Appendable Upload",
"githuburl":""
},
{
"uri":"obs_25_0411.html",
"node_id":"obs_25_0411.xml",
"product_code":"obs",
"code":"42",
"des":"As a special case of multipart upload, multipart copy implements multipart upload by copying the whole or part of an object in a bucket. You can call ObsClient.CopyPart t",
"doc_type":"sdk-dotnet-devg",
"kw":"Performing a Multipart Copy,Object Upload,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Performing a Multipart Copy",
"githuburl":""
},
{
"uri":"obs_25_0412.html",
"node_id":"obs_25_0412.xml",
"product_code":"obs",
"code":"43",
"des":"Uploading large files often fails due to poor network conditions or program breakdowns. It is a waste of resources to restart the upload process upon an upload failure, a",
"doc_type":"sdk-dotnet-devg",
"kw":"Performing a Resumable Upload,Object Upload,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Performing a Resumable Upload",
"githuburl":""
},
{
"uri":"obs_25_0500.html",
"node_id":"obs_25_0500.xml",
"product_code":"obs",
"code":"44",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"sdk-dotnet-devg",
"kw":"Object Download",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Object Download",
"githuburl":""
},
{
"uri":"obs_25_0501.html",
"node_id":"obs_25_0501.xml",
"product_code":"obs",
"code":"45",
"des":"OBS .NET SDK provides abundant APIs for downloading objects in the following modes:Performing a Streaming DownloadPerforming a Partial DownloadPerforming an Asynchronous ",
"doc_type":"sdk-dotnet-devg",
"kw":"Object Download Overview,Object Download,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Object Download Overview",
"githuburl":""
},
{
"uri":"obs_25_0502.html",
"node_id":"obs_25_0502.xml",
"product_code":"obs",
"code":"46",
"des":"Sample code:GetObjectResponse.OutputStream (System.IO.Stream type) is the response stream in GetObjectResponse. You can obtain the object content to a local file or memor",
"doc_type":"sdk-dotnet-devg",
"kw":"Performing a Streaming Download,Object Download,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Performing a Streaming Download",
"githuburl":""
},
{
"uri":"obs_25_0503.html",
"node_id":"obs_25_0503.xml",
"product_code":"obs",
"code":"47",
"des":"When only partial data of an object is required, you can download data falling within a specific range.If the specified range is from 0 to 1,000, data from byte 0 to byte",
"doc_type":"sdk-dotnet-devg",
"kw":"Performing a Partial Download,Object Download,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Performing a Partial Download",
"githuburl":""
},
{
"uri":"obs_25_0504.html",
"node_id":"obs_25_0504.xml",
"product_code":"obs",
"code":"48",
"des":"You can call ObsClient.BeginGetObject and ObsClient.EndGetObject to download an object asynchronously.This example downloads object objectname from bucket bucketname asyn",
"doc_type":"sdk-dotnet-devg",
"kw":"Performing an Asynchronous Download,Object Download,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Performing an Asynchronous Download",
"githuburl":""
},
{
"uri":"obs_25_0505.html",
"node_id":"obs_25_0505.xml",
"product_code":"obs",
"code":"49",
"des":"You can call GetObjectRequest.DownloadProgress to register the System.EventHandler callback function to obtain download progress.This example downloads objectname from bu",
"doc_type":"sdk-dotnet-devg",
"kw":"Obtaining Download Progress,Object Download,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Obtaining Download Progress",
"githuburl":""
},
{
"uri":"obs_25_0506.html",
"node_id":"obs_25_0506.xml",
"product_code":"obs",
"code":"50",
"des":"When downloading an object, you can specify one or more conditions. Only when the conditions are met, the object will be downloaded. Otherwise, an exception indicating a ",
"doc_type":"sdk-dotnet-devg",
"kw":"Performing a Conditioned Download,Object Download,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Performing a Conditioned Download",
"githuburl":""
},
{
"uri":"obs_25_0507.html",
"node_id":"obs_25_0507.xml",
"product_code":"obs",
"code":"51",
"des":"When downloading an object, you can rewrite some HTTP/HTTPS response headers. The following table lists rewritable response headers.Sample code:// Initialize configuratio",
"doc_type":"sdk-dotnet-devg",
"kw":"Rewriting Response Headers,Object Download,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Rewriting Response Headers",
"githuburl":""
},
{
"uri":"obs_25_0508.html",
"node_id":"obs_25_0508.xml",
"product_code":"obs",
"code":"52",
"des":"After an object is successfully downloaded, its custom data is returned.This example obtains the custom metadata of objectname in bucketname.The example code is as follow",
"doc_type":"sdk-dotnet-devg",
"kw":"Obtaining Custom Metadata,Object Download,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Obtaining Custom Metadata",
"githuburl":""
},
{
"uri":"obs_25_0509.html",
"node_id":"obs_25_0509.xml",
"product_code":"obs",
"code":"53",
"des":"Before you can download a Cold object, you must restore it. Cold objects can be restored in either of the following ways.To prolong the validity period of the Cold data r",
"doc_type":"sdk-dotnet-devg",
"kw":"Downloading a Cold Object,Object Download,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Downloading a Cold Object",
"githuburl":""
},
{
"uri":"obs_25_0510.html",
"node_id":"obs_25_0510.xml",
"product_code":"obs",
"code":"54",
"des":"Downloading large files often fails due to poor network conditions or program breakdowns. It is a waste of resources to restart the download process upon a download failu",
"doc_type":"sdk-dotnet-devg",
"kw":"Performing a Resumable Download,Object Download,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Performing a Resumable Download",
"githuburl":""
},
{
"uri":"obs_25_0600.html",
"node_id":"obs_25_0600.xml",
"product_code":"obs",
"code":"55",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"sdk-dotnet-devg",
"kw":"Object Management",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Object Management",
"githuburl":""
},
{
"uri":"obs_25_0601.html",
"node_id":"obs_25_0601.xml",
"product_code":"obs",
"code":"56",
"des":"You can call ObsClient.GetObjectMetadata to obtain object properties, including the last modification time, version ID, and customized metadata. Sample code is as follows",
"doc_type":"sdk-dotnet-devg",
"kw":"Obtaining Object Properties,Object Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Obtaining Object Properties",
"githuburl":""
},
{
"uri":"obs_25_0602.html",
"node_id":"obs_25_0602.xml",
"product_code":"obs",
"code":"57",
"des":"Access control lists (ACLs) allow resource owners to grant other accounts the permissions to access resources. By default, only the resource owner has full control over r",
"doc_type":"sdk-dotnet-devg",
"kw":"Managing Object ACLs,Object Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Managing Object ACLs",
"githuburl":""
},
{
"uri":"obs_25_0603.html",
"node_id":"obs_25_0603.xml",
"product_code":"obs",
"code":"58",
"des":"You can call ObsClient.ListObjects to list objects in a bucket.The following table describes the parameters involved in this API.The following sample code shows how to li",
"doc_type":"sdk-dotnet-devg",
"kw":"Listing Objects,Object Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Listing Objects",
"githuburl":""
},
{
"uri":"obs_25_0604.html",
"node_id":"obs_25_0604.xml",
"product_code":"obs",
"code":"59",
"des":"Exercise caution when performing this operation. If the versioning function is disabled for the bucket where the object is located, the object cannot be restored after be",
"doc_type":"sdk-dotnet-devg",
"kw":"Deleting Objects,Object Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Deleting Objects",
"githuburl":""
},
{
"uri":"obs_25_0605.html",
"node_id":"obs_25_0605.xml",
"product_code":"obs",
"code":"60",
"des":"The object copy operation can create a copy for an existing object in OBS.You can call ObsClient.CopyObject to copy an object. When copying an object, you can specify pro",
"doc_type":"sdk-dotnet-devg",
"kw":"Copying an Object,Object Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Copying an Object",
"githuburl":""
},
{
"uri":"obs_25_0606.html",
"node_id":"obs_25_0606.xml",
"product_code":"obs",
"code":"61",
"des":"You can call ObsClient.HeadObject to check whether a specified object exists.The example code is as follows:If an exception is thrown and the returned HTTP status code is",
"doc_type":"sdk-dotnet-devg",
"kw":"HEAD Object,Object Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"HEAD Object",
"githuburl":""
},
{
"uri":"obs_25_0700.html",
"node_id":"obs_25_0700.xml",
"product_code":"obs",
"code":"62",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"sdk-dotnet-devg",
"kw":"Temporarily Authorized Access",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Temporarily Authorized Access",
"githuburl":""
},
{
"uri":"obs_25_0701.html",
"node_id":"obs_25_0701.xml",
"product_code":"obs",
"code":"63",
"des":"ObsClient allows you to create a URL whose Query parameters are carried with authentication information by specifying the AK and SK, HTTP method, and request parameters. ",
"doc_type":"sdk-dotnet-devg",
"kw":"Using a Temporary URL for Authorized Access,Temporarily Authorized Access,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Using a Temporary URL for Authorized Access",
"githuburl":""
},
{
"uri":"obs_25_0800.html",
"node_id":"obs_25_0800.xml",
"product_code":"obs",
"code":"64",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"sdk-dotnet-devg",
"kw":"Versioning Management",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Versioning Management",
"githuburl":""
},
{
"uri":"obs_25_0801.html",
"node_id":"obs_25_0801.xml",
"product_code":"obs",
"code":"65",
"des":"You can use versioning to store multiple versions of an object in a bucket.When versioning is enabled for a bucket, OBS keeps multiple versions of an object in the bucket",
"doc_type":"sdk-dotnet-devg",
"kw":"Versioning Overview,Versioning Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Versioning Overview",
"githuburl":""
},
{
"uri":"obs_25_0802.html",
"node_id":"obs_25_0802.xml",
"product_code":"obs",
"code":"66",
"des":"You can call ObsClient.SetBucketVersioning to set the versioning status for a bucket. OBS supports two versioning statuses.Sample code:",
"doc_type":"sdk-dotnet-devg",
"kw":"Setting Versioning Status for a Bucket,Versioning Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Setting Versioning Status for a Bucket",
"githuburl":""
},
{
"uri":"obs_25_0803.html",
"node_id":"obs_25_0803.xml",
"product_code":"obs",
"code":"67",
"des":"You can call ObsClient.GetBucketVersioning to view the versioning status of a bucket.This example obtains the versioning status of bucket bucketname.The example code is a",
"doc_type":"sdk-dotnet-devg",
"kw":"Viewing Versioning Status of a Bucket,Versioning Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Viewing Versioning Status of a Bucket",
"githuburl":""
},
{
"uri":"obs_25_0804.html",
"node_id":"obs_25_0804.xml",
"product_code":"obs",
"code":"68",
"des":"You can call ObsClient.GetObject to obtain an object version by specifying the version ID (VersionId).This example downloads object objectname from bucket bucketname by s",
"doc_type":"sdk-dotnet-devg",
"kw":"Obtaining a Versioning Object,Versioning Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Obtaining a Versioning Object",
"githuburl":""
},
{
"uri":"obs_25_0805.html",
"node_id":"obs_25_0805.xml",
"product_code":"obs",
"code":"69",
"des":"You can call ObsClient.CopyObject to copy an object version by specifying the version ID (SourceVersionId).This example specifies SourceVersionId to copy sourceobjectname",
"doc_type":"sdk-dotnet-devg",
"kw":"Copying a Versioning Object,Versioning Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Copying a Versioning Object",
"githuburl":""
},
{
"uri":"obs_25_0806.html",
"node_id":"obs_25_0806.xml",
"product_code":"obs",
"code":"70",
"des":"You can call ObsClient.RestoreObject to restore a Cold object version by specifying VersionId.This example specifies versionId to restore Cold object destobjectname in de",
"doc_type":"sdk-dotnet-devg",
"kw":"Restoring a Specific Cold Object Version,Versioning Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Restoring a Specific Cold Object Version",
"githuburl":""
},
{
"uri":"obs_25_0807.html",
"node_id":"obs_25_0807.xml",
"product_code":"obs",
"code":"71",
"des":"You can call ObsClient.ListVersions to list versioning objects.The following table describes the parameters involved in this API.If the value of VersionIdMarker is not a ",
"doc_type":"sdk-dotnet-devg",
"kw":"Listing Versioning Objects,Versioning Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Listing Versioning Objects",
"githuburl":""
},
{
"uri":"obs_25_0808.html",
"node_id":"obs_25_0808.xml",
"product_code":"obs",
"code":"72",
"des":"You can call ObsClient.SetObjectAcl to pass the version ID (VersionId) to set an ACL for an object version. Sample code is as follows:The owner or grantee ID needed in th",
"doc_type":"sdk-dotnet-devg",
"kw":"Setting or Obtaining a Versioning Object ACL,Versioning Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Setting or Obtaining a Versioning Object ACL",
"githuburl":""
},
{
"uri":"obs_25_0809.html",
"node_id":"obs_25_0809.xml",
"product_code":"obs",
"code":"73",
"des":"You can call ObsClient.DeleteObject to pass a version ID (VersionId) to delete an object version.This example deletes object objectname from bucket bucketname by specifyi",
"doc_type":"sdk-dotnet-devg",
"kw":"Deleting Versioning Objects,Versioning Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Deleting Versioning Objects",
"githuburl":""
},
{
"uri":"obs_25_0900.html",
"node_id":"obs_25_0900.xml",
"product_code":"obs",
"code":"74",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"sdk-dotnet-devg",
"kw":"Lifecycle Management",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Lifecycle Management",
"githuburl":""
},
{
"uri":"obs_25_0901.html",
"node_id":"obs_25_0901.xml",
"product_code":"obs",
"code":"75",
"des":"OBS allows you to set lifecycle rules for buckets to automatically transition the storage class of an object and delete expired objects, to effectively use storage featur",
"doc_type":"sdk-dotnet-devg",
"kw":"Lifecycle Management Overview,Lifecycle Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Lifecycle Management Overview",
"githuburl":""
},
{
"uri":"obs_25_0902.html",
"node_id":"obs_25_0902.xml",
"product_code":"obs",
"code":"76",
"des":"You can call ObsClient.SetBucketLifecycle to set lifecycle rules.Sample code:// Initialize configuration parameters.\nObsConfig config = new ObsConfig();\nconfig.Endpoint =",
"doc_type":"sdk-dotnet-devg",
"kw":"Setting Lifecycle Rules,Lifecycle Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Setting Lifecycle Rules",
"githuburl":""
},
{
"uri":"obs_25_0903.html",
"node_id":"obs_25_0903.xml",
"product_code":"obs",
"code":"77",
"des":"You can call ObsClient.GetBucketLifecycle to view lifecycle rules.This example views the lifecycle configuration of bucket bucketname.The example code is as follows:To ha",
"doc_type":"sdk-dotnet-devg",
"kw":"Viewing Lifecycle Rules,Lifecycle Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Viewing Lifecycle Rules",
"githuburl":""
},
{
"uri":"obs_25_0904.html",
"node_id":"obs_25_0904.xml",
"product_code":"obs",
"code":"78",
"des":"You can call ObsClient.DeleteBucketLifecycle to delete lifecycle rules.This example deletes the lifecycle configuration of bucket bucketname.The example code is as follow",
"doc_type":"sdk-dotnet-devg",
"kw":"Deleting Lifecycle Rules,Lifecycle Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Deleting Lifecycle Rules",
"githuburl":""
},
{
"uri":"obs_25_1000.html",
"node_id":"obs_25_1000.xml",
"product_code":"obs",
"code":"79",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"sdk-dotnet-devg",
"kw":"CORS",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"CORS",
"githuburl":""
},
{
"uri":"obs_25_1001.html",
"node_id":"obs_25_1001.xml",
"product_code":"obs",
"code":"80",
"des":"Cross-origin access refers to access between different domains. Restricting cross-origin access is a browser policy for security purposes, that is, the same-origin policy",
"doc_type":"sdk-dotnet-devg",
"kw":"CORS Overview,CORS,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"CORS Overview",
"githuburl":""
},
{
"uri":"obs_25_1002.html",
"node_id":"obs_25_1002.xml",
"product_code":"obs",
"code":"81",
"des":"You can call ObsClient.SetBucketCors to set CORS rules for a bucket. If the bucket is configured with CORS rules, the newly set ones will overwrite the existing ones.This",
"doc_type":"sdk-dotnet-devg",
"kw":"Setting CORS Rules,CORS,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Setting CORS Rules",
"githuburl":""
},
{
"uri":"obs_25_1003.html",
"node_id":"obs_25_1003.xml",
"product_code":"obs",
"code":"82",
"des":"You can call ObsClient.GetBucketCors to view CORS rules of a bucket.This example views the CORS rule of bucket bucketname.The example code is as follows:To handle the err",
"doc_type":"sdk-dotnet-devg",
"kw":"Viewing CORS Rules,CORS,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Viewing CORS Rules",
"githuburl":""
},
{
"uri":"obs_25_1004.html",
"node_id":"obs_25_1004.xml",
"product_code":"obs",
"code":"83",
"des":"You can call ObsClient.DeleteBucketCors to delete CORS rules of a bucket.This example deletes the CORS rule of bucket bucketname.The example code is as follows:To handle ",
"doc_type":"sdk-dotnet-devg",
"kw":"Deleting CORS Rules,CORS,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Deleting CORS Rules",
"githuburl":""
},
{
"uri":"obs_25_1100.html",
"node_id":"obs_25_1100.xml",
"product_code":"obs",
"code":"84",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"sdk-dotnet-devg",
"kw":"Access Logging",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Access Logging",
"githuburl":""
},
{
"uri":"obs_25_1101.html",
"node_id":"obs_25_1101.xml",
"product_code":"obs",
"code":"85",
"des":"OBS allows you to configure access logging for buckets. After the configuration, access to buckets will be recorded in the format of logs. These logs will be saved in spe",
"doc_type":"sdk-dotnet-devg",
"kw":"Logging Overview,Access Logging,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Logging Overview",
"githuburl":""
},
{
"uri":"obs_25_1102.html",
"node_id":"obs_25_1102.xml",
"product_code":"obs",
"code":"86",
"des":"You can call ObsClient.SetBucketLogging to enable bucket loggingThe source bucket and target bucket of logging must be in the same region.If the bucket is in the OBS Warm",
"doc_type":"sdk-dotnet-devg",
"kw":"Enabling Bucket Logging,Access Logging,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Enabling Bucket Logging",
"githuburl":""
},
{
"uri":"obs_25_1103.html",
"node_id":"obs_25_1103.xml",
"product_code":"obs",
"code":"87",
"des":"You can call ObsClient.GetBucketLogging to view the logging configuration of a bucket.This example views the logging configuration of bucket bucketname.The example code i",
"doc_type":"sdk-dotnet-devg",
"kw":"Viewing Bucket Logging,Access Logging,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Viewing Bucket Logging",
"githuburl":""
},
{
"uri":"obs_25_1104.html",
"node_id":"obs_25_1104.xml",
"product_code":"obs",
"code":"88",
"des":"To disable logging for a bucket is to call ObsClient.SetBucketLogging to delete the logging configuration.This example disables logging for bucket bucketname.The example ",
"doc_type":"sdk-dotnet-devg",
"kw":"Disabling Bucket Logging,Access Logging,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Disabling Bucket Logging",
"githuburl":""
},
{
"uri":"obs_25_1200.html",
"node_id":"obs_25_1200.xml",
"product_code":"obs",
"code":"89",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"sdk-dotnet-devg",
"kw":"Static Website Hosting",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Static Website Hosting",
"githuburl":""
},
{
"uri":"obs_25_1201.html",
"node_id":"obs_25_1201.xml",
"product_code":"obs",
"code":"90",
"des":"Static websites typically only contain static web pages and some scripts that can run on clients (such as JavaScript and Flash). In contrast, dynamic websites depend on s",
"doc_type":"sdk-dotnet-devg",
"kw":"Static Website Hosting Overview,Static Website Hosting,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Static Website Hosting Overview",
"githuburl":""
},
{
"uri":"obs_25_1202.html",
"node_id":"obs_25_1202.xml",
"product_code":"obs",
"code":"91",
"des":"You can perform the following to implement website file hosting:Sample code:You can use https://bucketname.your-endpoint/test.html in a browser to access files hosted usi",
"doc_type":"sdk-dotnet-devg",
"kw":"Website File Hosting,Static Website Hosting,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Website File Hosting",
"githuburl":""
},
{
"uri":"obs_25_1203.html",
"node_id":"obs_25_1203.xml",
"product_code":"obs",
"code":"92",
"des":"You can call ObsClient.SetBucketWebsite to set website hosting on a bucket.Sample code:Sample code:Sample code:",
"doc_type":"sdk-dotnet-devg",
"kw":"Setting Website Hosting,Static Website Hosting,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Setting Website Hosting",
"githuburl":""
},
{
"uri":"obs_25_1204.html",
"node_id":"obs_25_1204.xml",
"product_code":"obs",
"code":"93",
"des":"You can call ObsClient.GetBucketWebsite to view the hosting settings of a bucket.This example views the hosting configuration of bucket bucketname.The example code is as ",
"doc_type":"sdk-dotnet-devg",
"kw":"Viewing Website Hosting Settings,Static Website Hosting,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Viewing Website Hosting Settings",
"githuburl":""
},
{
"uri":"obs_25_1205.html",
"node_id":"obs_25_1205.xml",
"product_code":"obs",
"code":"94",
"des":"You can call ObsClient.DeleteBucketWebsite to delete the hosting settings of a bucket.This example deletes the hosting configuration of bucket bucketname.The example code",
"doc_type":"sdk-dotnet-devg",
"kw":"Deleting Website Hosting Settings,Static Website Hosting,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Deleting Website Hosting Settings",
"githuburl":""
},
{
"uri":"obs_25_1300.html",
"node_id":"obs_25_1300.xml",
"product_code":"obs",
"code":"95",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"sdk-dotnet-devg",
"kw":"Tag Management",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Tag Management",
"githuburl":""
},
{
"uri":"obs_25_1301.html",
"node_id":"obs_25_1301.xml",
"product_code":"obs",
"code":"96",
"des":"Tags are used to identify and classify OBS buckets.",
"doc_type":"sdk-dotnet-devg",
"kw":"Tagging Overview,Tag Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Tagging Overview",
"githuburl":""
},
{
"uri":"obs_25_1302.html",
"node_id":"obs_25_1302.xml",
"product_code":"obs",
"code":"97",
"des":"You can call ObsClient.SetBucketTagging to set bucket tags. Sample code is as follows:A bucket can have up to 10 tags.The key and value pair of a tag can be composed of U",
"doc_type":"sdk-dotnet-devg",
"kw":"Setting Bucket Tags,Tag Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Setting Bucket Tags",
"githuburl":""
},
{
"uri":"obs_25_1303.html",
"node_id":"obs_25_1303.xml",
"product_code":"obs",
"code":"98",
"des":"You can call ObsClient.GetBucketTagging to view bucket tags. The following code shows how to view bucket tags.",
"doc_type":"sdk-dotnet-devg",
"kw":"Viewing Bucket Tags,Tag Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Viewing Bucket Tags",
"githuburl":""
},
{
"uri":"obs_25_1304.html",
"node_id":"obs_25_1304.xml",
"product_code":"obs",
"code":"99",
"des":"You can call ObsClient.DeleteBucketTagging to delete bucket tags. Sample code is as follows:",
"doc_type":"sdk-dotnet-devg",
"kw":"Deleting Bucket Tags,Tag Management,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Deleting Bucket Tags",
"githuburl":""
},
{
"uri":"obs_25_1500.html",
"node_id":"obs_25_1500.xml",
"product_code":"obs",
"code":"100",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"sdk-dotnet-devg",
"kw":"Server-Side Encryption",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Server-Side Encryption",
"githuburl":""
},
{
"uri":"obs_25_1501.html",
"node_id":"obs_25_1501.xml",
"product_code":"obs",
"code":"101",
"des":"OBS supports server-side encryption.",
"doc_type":"sdk-dotnet-devg",
"kw":"Server-Side Encryption Overview,Server-Side Encryption,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Server-Side Encryption Overview",
"githuburl":""
},
{
"uri":"obs_25_1502.html",
"node_id":"obs_25_1502.xml",
"product_code":"obs",
"code":"102",
"des":"The following table lists APIs related to server-side encryption:",
"doc_type":"sdk-dotnet-devg",
"kw":"Encryption Description,Server-Side Encryption,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Encryption Description",
"githuburl":""
},
{
"uri":"obs_25_1503.html",
"node_id":"obs_25_1503.xml",
"product_code":"obs",
"code":"103",
"des":"Sample code:Sample code:",
"doc_type":"sdk-dotnet-devg",
"kw":"Example of Encryption,Server-Side Encryption,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Example of Encryption",
"githuburl":""
},
{
"uri":"obs_25_1600.html",
"node_id":"obs_25_1600.xml",
"product_code":"obs",
"code":"104",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"sdk-dotnet-devg",
"kw":"Troubleshooting",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Troubleshooting",
"githuburl":""
},
{
"uri":"obs_25_1601.html",
"node_id":"obs_25_1601.xml",
"product_code":"obs",
"code":"105",
"des":"If the OBS server encounters an error when processing a request, a response containing the error code and error description is returned. The following table lists details",
"doc_type":"sdk-dotnet-devg",
"kw":"OBS Server-Side Error Codes,Troubleshooting,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"OBS Server-Side Error Codes",
"githuburl":""
},
{
"uri":"obs_25_1602.html",
"node_id":"obs_25_1602.xml",
"product_code":"obs",
"code":"106",
"des":"Log files of OBS .NET SDK are saved in the path, usually the save directory of executable files of the project, specified in configuration file Log4Net.config.When curren",
"doc_type":"sdk-dotnet-devg",
"kw":"Log Analysis,Troubleshooting,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Log Analysis",
"githuburl":""
},
{
"uri":"obs_25_1606.html",
"node_id":"obs_25_1606.xml",
"product_code":"obs",
"code":"107",
"des":"SDK custom exceptions (ObsException) are thrown by ObsClient. Exceptions are usually OBS server-side errors, including OBS error codes and error information and aim to he",
"doc_type":"sdk-dotnet-devg",
"kw":"SDK Custom Exceptions,Troubleshooting,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"SDK Custom Exceptions",
"githuburl":""
},
{
"uri":"obs_25_1605.html",
"node_id":"obs_25_1605.xml",
"product_code":"obs",
"code":"108",
"des":"After you call an API in an instance of ObsClient, a sub-class of ObsWebServiceResponse will be returned.It includes HTTP/HTTPS response headers.This example obtains requ",
"doc_type":"sdk-dotnet-devg",
"kw":"SDK Common Response Headers,Troubleshooting,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"SDK Common Response Headers",
"githuburl":""
},
{
"uri":"obs_25_1700.html",
"node_id":"obs_25_1700.xml",
"product_code":"obs",
"code":"109",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"sdk-dotnet-devg",
"kw":"FAQ",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"FAQ",
"githuburl":""
},
{
"uri":"en-us_topic_0000001831623237.html",
"node_id":"en-us_topic_0000001831623237.xml",
"product_code":"obs",
"code":"110",
"des":"Symptom: The process occasionally hangs when you invoke .NET SDK methods.Solution: Add \"using\" before the method.See the example below.",
"doc_type":"sdk-dotnet-devg",
"kw":"What Do I Do If the Process Hangs Occasionally?,FAQ,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"What Do I Do If the Process Hangs Occasionally?",
"githuburl":""
},
{
"uri":"obs_25_1802.html",
"node_id":"obs_25_1802.xml",
"product_code":"obs",
"code":"111",
"des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"doc_type":"sdk-dotnet-devg",
"kw":"Change History,Developer Guide (.NET SDK)",
"search_title":"",
"metedata":[
{
"prodname":"obs",
"documenttype":"sdk-dotnet-devg"
}
],
"title":"Change History",
"githuburl":""
}
]