scenario:
  id: 12d75e5901224b60a82fb1ab5fbee31d
  context:
    auth:
      type: customized
    base_path: null
    host: us-west-2.staging.shared.aws.tidbcloud.com
  description: need continue_on_unexpected and export unmatched case
  name: fang
steps:
- operation_id: ListBackupExports
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/backups/exports",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "bearer"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for ListBackupExports with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_listbackupexports_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 12d75e5901224b60a82fb1ab5fbee31d
  order: 1
  case_id: 12d75e5901224b60a82fb1ab5fbee31d_1
  case_type: typical_negative
  step_type: generated
- operation_id: QueryBackupSettingV2
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/backups/setting",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "bearer"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for QueryBackupSettingV2 with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_querybackupsettingv2_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 12d75e5901224b60a82fb1ab5fbee31d
  order: 2
  case_id: 12d75e5901224b60a82fb1ab5fbee31d_2
  case_type: typical_negative
  step_type: generated
- operation_id: ModifyBackupSettingV2
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v2/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/backups/setting",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "bearer"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for ModifyBackupSettingV2 with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_modifybackupsettingv2_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 12d75e5901224b60a82fb1ab5fbee31d
  order: 3
  case_id: 12d75e5901224b60a82fb1ab5fbee31d_3
  case_type: typical_negative
  step_type: generated
- operation_id: GetBackupExportProfile
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/backups/123/export-profile",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "bearer"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for GetBackupExportProfile with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getbackupexportprofile_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 12d75e5901224b60a82fb1ab5fbee31d
  order: 4
  case_id: 12d75e5901224b60a82fb1ab5fbee31d_4
  case_type: typical_negative
  step_type: generated
- operation_id: CreateBackupExport
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v2/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/backups/123/exports",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "bearer"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for CreateBackupExport with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_createbackupexport_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 12d75e5901224b60a82fb1ab5fbee31d
  order: 5
  case_id: 12d75e5901224b60a82fb1ab5fbee31d_5
  case_type: typical_negative
  step_type: generated
- operation_id: CancelBackupExport
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v2/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/backups/123/exports/123:cancel",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "bearer"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for CancelBackupExport with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_cancelbackupexport_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 12d75e5901224b60a82fb1ab5fbee31d
  order: 6
  case_id: 12d75e5901224b60a82fb1ab5fbee31d_6
  case_type: typical_negative
  step_type: generated
- operation_id: ListRestoresV2
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/restores",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "bearer"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for ListRestoresV2 with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_listrestoresv2_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 12d75e5901224b60a82fb1ab5fbee31d
  order: 7
  case_id: 12d75e5901224b60a82fb1ab5fbee31d_7
  case_type: typical_negative
  step_type: generated
