|
| 1 | +# Copyright 2023 Google Inc. |
| 2 | +# Licensed under the Apache License, Version 2.0 (the 'License'); |
| 3 | +# you may not use this file except in compliance with the License. |
| 4 | +# You may obtain a copy of the License at |
| 5 | +# |
| 6 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 7 | +# |
| 8 | +# Unless required by applicable law or agreed to in writing, software |
| 9 | +# distributed under the License is distributed on an 'AS IS' BASIS, |
| 10 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 11 | +# See the License for the specific language governing permissions and |
| 12 | +# limitations under the License. |
| 13 | + |
| 14 | +--- !ruby/object:Api::Resource |
| 15 | +name: 'EnvironmentKeyvaluemapsEntries' |
| 16 | +description: | |
| 17 | + Creates key value entries in a key value map scoped to an environment. |
| 18 | +references: !ruby/object:Api::Resource::ReferenceLinks |
| 19 | + guides: |
| 20 | + 'Using key value maps': 'https://cloud.google.com/apigee/docs/api-platform/cache/key-value-maps' |
| 21 | + api: 'https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.keyvaluemaps.entries/create' |
| 22 | + |
| 23 | +base_url: '{{env_keyvaluemap_id}}/entries' |
| 24 | +create_url: '{{env_keyvaluemap_id}}/entries' |
| 25 | +delete_url: '{{env_keyvaluemap_id}}/entries/{{name}}' |
| 26 | +self_link: '{{env_keyvaluemap_id}}/entries/{{name}}' |
| 27 | +import_format: |
| 28 | + ['{{env_keyvaluemap_id}}/entries/{{name}}', '{{env_keyvaluemap_id}}/{{name}}'] |
| 29 | +skip_sweeper: true |
| 30 | +examples: |
| 31 | + - !ruby/object:Provider::Terraform::Examples |
| 32 | + name: 'apigee_environment_keyvaluemaps_entries_basic' |
| 33 | + primary_resource_id: 'apigee_environment_keyvaluemaps_entries' |
| 34 | + test_env_vars: |
| 35 | + org_id: :ORG_ID |
| 36 | + billing_account: :BILLING_ACCT |
| 37 | + skip_test: true |
| 38 | + - !ruby/object:Provider::Terraform::Examples |
| 39 | + name: 'apigee_environment_keyvaluemaps_entries_test' |
| 40 | + primary_resource_id: 'apigee_environment_keyvaluemaps_entries' |
| 41 | + test_env_vars: |
| 42 | + org_id: :ORG_ID |
| 43 | + billing_account: :BILLING_ACCT |
| 44 | + skip_docs: true |
| 45 | + - !ruby/object:Provider::Terraform::Examples |
| 46 | + name: 'apigee_environment_keyvaluemaps_entries_beta_test' |
| 47 | + primary_resource_id: 'apigee_environment_keyvaluemaps_entries' |
| 48 | + test_env_vars: |
| 49 | + org_id: :ORG_ID |
| 50 | + billing_account: :BILLING_ACCT |
| 51 | + skip_docs: true |
| 52 | + min_version: beta |
| 53 | +timeouts: !ruby/object:Api::Timeouts |
| 54 | + insert_minutes: 1 |
| 55 | + delete_minutes: 1 |
| 56 | +immutable: true |
| 57 | +autogen_async: true |
| 58 | +custom_code: !ruby/object:Provider::Terraform::CustomCode |
| 59 | + custom_import: templates/terraform/custom_import/apigee_environment_keyvaluemaps_entries.go.erb |
| 60 | +parameters: |
| 61 | + - !ruby/object:Api::Type::String |
| 62 | + name: 'env_keyvaluemap_id' |
| 63 | + description: | |
| 64 | + The Apigee environment keyvalumaps Id associated with the Apigee environment, |
| 65 | + in the format `organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}`. |
| 66 | + required: true |
| 67 | + immutable: true |
| 68 | + url_param_only: true |
| 69 | +properties: |
| 70 | + - !ruby/object:Api::Type::String |
| 71 | + name: 'name' |
| 72 | + description: | |
| 73 | + Required. Resource URI that can be used to identify the scope of the key value map entries. |
| 74 | + required: true |
| 75 | + immutable: true |
| 76 | + - !ruby/object:Api::Type::String |
| 77 | + name: 'value' |
| 78 | + description: | |
| 79 | + Required. Data or payload that is being retrieved and associated with the unique key. |
| 80 | + required: true |
| 81 | + immutable: true |
0 commit comments