467b083ee8dcadb9de9207e5a77bd6452148e02aee0abf5ef0ddc1d13dcc8734.json 9.2 KB

1
  1. {"ast":null,"code":"/**\n * Copyright 2019 Huawei Technologies Co.,Ltd.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use\n * this file except in compliance with the License. You may obtain a copy of the\n * License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed\n * under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR\n * CONDITIONS OF ANY KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations under the License.\n *\n */\n\nexport const CreateSfsBucket = {\n 'httpMethod': 'PUT',\n 'data': {\n 'xmlRoot': 'CreateBucketConfiguration'\n },\n 'parameters': {\n 'ApiPath': {\n 'location': 'uri'\n },\n 'ACL': {\n 'location': 'header',\n 'sentAs': 'acl',\n 'withPrefix': true\n },\n 'StorageType': {\n 'location': 'header',\n 'sentAs': 'storage-class',\n 'withPrefix': true\n },\n 'ObjectLockEnabeld': {\n 'location': 'header',\n 'sentAs': 'bucket-object-lock-enabled',\n 'withPrefix': true\n },\n 'IESLocation': {\n 'location': 'header',\n 'sentAs': 'ies-location',\n 'withPrefix': true\n },\n 'FileInterface': {\n 'location': 'header',\n 'sentAs': 'fs-file-interface',\n 'withPrefix': true\n },\n 'Type': {\n 'location': 'header',\n 'sentAs': 'bucket-type',\n 'withPrefix': true\n },\n 'MultiAz': {\n 'location': 'header',\n 'sentAs': 'az-redundancy',\n 'withPrefix': true\n },\n 'Redundancy': {\n 'location': 'header',\n 'sentAs': 'bucket-redundancy',\n 'withPrefix': true\n },\n 'IsFusionAllowUpgrade': {\n 'location': 'header',\n 'sentAs': 'fusion-allow-upgrade',\n 'withPrefix': true\n },\n 'IsFusionAllowAlternative': {\n 'location': 'header',\n 'sentAs': 'fusion-allow-alternative',\n 'withPrefix': true\n },\n 'Cluster': {\n 'location': 'header',\n 'sentAs': 'location-clustergroup-id',\n 'withPrefix': true\n },\n 'GrantFullControl': {\n 'location': 'header',\n 'sentAs': 'grant-full-control',\n 'withPrefix': true\n },\n 'GrantRead': {\n 'location': 'header',\n 'sentAs': 'grant-read',\n 'withPrefix': true\n },\n 'GrantReadACP': {\n 'location': 'header',\n 'sentAs': 'grant-read-acp',\n 'withPrefix': true\n },\n 'GrantWrite': {\n 'location': 'header',\n 'sentAs': 'grant-write',\n 'withPrefix': true\n },\n 'GrantWriteACP': {\n 'location': 'header',\n 'sentAs': 'grant-write-acp',\n 'withPrefix': true\n },\n 'ClusterType': {\n 'location': 'header',\n 'sentAs': 'cluster-type',\n 'withPrefix': true\n },\n \"MultiEnterprise\": {\n \"location\": \"header\",\n 'sentAs': \"epid\",\n 'withPrefix': true\n },\n \"Location\": {\n \"location\": \"xml\",\n \"sentAs\": \"Location\"\n }\n }\n};\nexport const DeleteSfsBucket = {\n 'httpMethod': 'DELETE',\n 'parameters': {\n 'ApiPath': {\n 'location': 'uri'\n }\n }\n};","map":{"version":3,"names":["CreateSfsBucket","DeleteSfsBucket"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/esdk-obs-browserjs/src/obsSfsBucketOperationModel.js"],"sourcesContent":["/**\n * Copyright 2019 Huawei Technologies Co.,Ltd.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use\n * this file except in compliance with the License. You may obtain a copy of the\n * License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed\n * under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR\n * CONDITIONS OF ANY KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations under the License.\n *\n */\n\nexport const CreateSfsBucket = {\n 'httpMethod' : 'PUT',\n 'data' : {\n 'xmlRoot' : 'CreateBucketConfiguration'\n },\n 'parameters' : {\n 'ApiPath': {\n 'location': 'uri',\n },\n 'ACL' : {\n 'location' : 'header',\n 'sentAs' : 'acl',\n 'withPrefix': true\n },\n 'StorageType':{\n 'location' : 'header',\n 'sentAs' : 'storage-class',\n 'withPrefix': true\n },\n 'ObjectLockEnabeld': {\n 'location' : 'header',\n 'sentAs' : 'bucket-object-lock-enabled',\n 'withPrefix': true\n },\n 'IESLocation':{\n 'location' : 'header',\n 'sentAs' : 'ies-location',\n 'withPrefix': true\n },\n 'FileInterface':{\n 'location' : 'header',\n 'sentAs' : 'fs-file-interface',\n 'withPrefix': true\n },\n 'Type':{\n 'location' : 'header',\n 'sentAs': 'bucket-type',\n 'withPrefix': true\n },\n 'MultiAz':{\n 'location' : 'header',\n 'sentAs' : 'az-redundancy',\n 'withPrefix': true\n },\n 'Redundancy':{\n 'location' : 'header',\n 'sentAs' : 'bucket-redundancy',\n 'withPrefix': true\n },\n 'IsFusionAllowUpgrade':{\n 'location' : 'header',\n 'sentAs' : 'fusion-allow-upgrade',\n 'withPrefix': true\n },\n 'IsFusionAllowAlternative':{\n 'location' : 'header',\n 'sentAs' : 'fusion-allow-alternative',\n 'withPrefix': true\n },\n 'Cluster': {\n 'location' : 'header',\n 'sentAs' : 'location-clustergroup-id',\n 'withPrefix': true\n },\n 'GrantFullControl':{\n 'location' : 'header',\n 'sentAs' : 'grant-full-control',\n 'withPrefix': true\n },\n 'GrantRead':{\n 'location' : 'header',\n 'sentAs' : 'grant-read',\n 'withPrefix': true\n },\n 'GrantReadACP':{\n 'location' : 'header',\n 'sentAs' : 'grant-read-acp',\n 'withPrefix': true\n },\n 'GrantWrite':{\n 'location' : 'header',\n 'sentAs' : 'grant-write',\n 'withPrefix': true\n },\n 'GrantWriteACP':{\n 'location' : 'header',\n 'sentAs' : 'grant-write-acp',\n 'withPrefix': true\n },\n 'ClusterType': {\n 'location' : 'header',\n 'sentAs' : 'cluster-type',\n 'withPrefix': true\n },\n \"MultiEnterprise\": {\"location\": \"header\", 'sentAs': \"epid\", 'withPrefix': true},\n \"Location\": {\n \"location\": \"xml\",\n \"sentAs\": \"Location\"\n }\n }\n};\nexport const DeleteSfsBucket = {\n 'httpMethod' : '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