scenario:
  id: 773176b575ae4782aa1b09b26e165f11
  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: serverless_billing_service.console.403
steps:
- operation_id: PredictCost
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/cost/predict",
      "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 PredictCost with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_predictcost_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 773176b575ae4782aa1b09b26e165f11
  order: 1
  case_id: 773176b575ae4782aa1b09b26e165f11_1
  case_type: typical_negative
  step_type: generated
- operation_id: GetResourceLimitMode
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/clusters/10179628114637936298/resource_limit",
      "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 GetResourceLimitMode with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getresourcelimitmode_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 773176b575ae4782aa1b09b26e165f11
  order: 2
  case_id: 773176b575ae4782aa1b09b26e165f11_2
  case_type: typical_negative
  step_type: generated
- operation_id: GetSpendLimit
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/clusters/10179628114637936298/spend_limits",
      "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 GetSpendLimit with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getspendlimit_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 773176b575ae4782aa1b09b26e165f11
  order: 3
  case_id: 773176b575ae4782aa1b09b26e165f11_3
  case_type: typical_negative
  step_type: generated
- operation_id: DeleteSpendLimit
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "DELETE",
      "path": "/api/v1/serverless/orgs/1369847559692509562/clusters/10179628114637936298/spend_limits",
      "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 DeleteSpendLimit with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_deletespendlimit_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 773176b575ae4782aa1b09b26e165f11
  order: 4
  case_id: 773176b575ae4782aa1b09b26e165f11_4
  case_type: typical_negative
  step_type: generated
- operation_id: SetSpendLimit
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/serverless/orgs/1369847559692509562/clusters/10179628114637936298/spend_limits",
      "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 SetSpendLimit with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_setspendlimit_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 773176b575ae4782aa1b09b26e165f11
  order: 5
  case_id: 773176b575ae4782aa1b09b26e165f11_5
  case_type: typical_negative
  step_type: generated
- operation_id: ModifySpendLimit
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "PUT",
      "path": "/api/v1/serverless/orgs/1369847559692509562/clusters/10179628114637936298/spend_limits",
      "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 ModifySpendLimit with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_modifyspendlimit_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 773176b575ae4782aa1b09b26e165f11
  order: 6
  case_id: 773176b575ae4782aa1b09b26e165f11_6
  case_type: typical_negative
  step_type: generated
- operation_id: GetSpendLimitDetails
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/clusters/10179628114637936298/spend_limits/details",
      "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 GetSpendLimitDetails with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getspendlimitdetails_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 773176b575ae4782aa1b09b26e165f11
  order: 7
  case_id: 773176b575ae4782aa1b09b26e165f11_7
  case_type: typical_negative
  step_type: generated
- operation_id: PredictClusterSpendLimit
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/clusters/10179628114637936298/spend_limits/predict",
      "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 PredictClusterSpendLimit with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_predictclusterspendlimit_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 773176b575ae4782aa1b09b26e165f11
  order: 8
  case_id: 773176b575ae4782aa1b09b26e165f11_8
  case_type: typical_negative
  step_type: generated
- operation_id: GetAllSpendLimits
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/spend_limits",
      "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 GetAllSpendLimits with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getallspendlimits_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 773176b575ae4782aa1b09b26e165f11
  order: 9
  case_id: 773176b575ae4782aa1b09b26e165f11_9
  case_type: typical_negative
  step_type: generated
- operation_id: PredictSpendLimit
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/spend_limits/predict",
      "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 PredictSpendLimit with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_predictspendlimit_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 773176b575ae4782aa1b09b26e165f11
  order: 10
  case_id: 773176b575ae4782aa1b09b26e165f11_10
  case_type: typical_negative
  step_type: generated
- operation_id: GetPricingDetails
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/pricing/details",
      "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 GetPricingDetails with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getpricingdetails_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 773176b575ae4782aa1b09b26e165f11
  order: 11
  case_id: 773176b575ae4782aa1b09b26e165f11_11
  case_type: typical_negative
  step_type: generated
