|
| 1 | +--- |
| 2 | +# generated by https://github.com/hashicorp/terraform-plugin-docs |
| 3 | +page_title: "scc_subaccount_abap_service_channel List Resource - SAP Cloud Connector" |
| 4 | +subcategory: "" |
| 5 | +description: |- |
| 6 | + SAP Cloud Connector Subaccount ABAP service channel list resource. |
| 7 | + This list resource retrieves Subaccount ABAP service channel for a specific region host and subaccount. |
| 8 | +--- |
| 9 | + |
| 10 | +# scc_subaccount_abap_service_channel (List Resource) |
| 11 | + |
| 12 | +SAP Cloud Connector **Subaccount ABAP service channel** list resource. |
| 13 | + |
| 14 | +This list resource retrieves Subaccount ABAP service channel for a specific region host and subaccount. |
| 15 | + |
| 16 | +## Example Usage |
| 17 | + |
| 18 | +```terraform |
| 19 | +# This feature requires Terraform v1.14.0 or later (Stable as of 2026) |
| 20 | +# List resources must be defined in .tfquery.hcl files. |
| 21 | +
|
| 22 | +# Generic template for a list block |
| 23 | +list "scc_subaccount_abap_service_channel" "<label_name>" { |
| 24 | + # (Required) Provider instance to use |
| 25 | + provider = provider_name |
| 26 | +
|
| 27 | + # Filter configuration defined by the provider |
| 28 | + config { |
| 29 | + # Provider-specific filter arguments... |
| 30 | + } |
| 31 | +} |
| 32 | +
|
| 33 | +# List block to discover all scc subaccount abap service channel |
| 34 | +# Returns only the resource identities (IDs/Labels) by default. |
| 35 | +list "scc_subaccount_abap_service_channel" "all" { |
| 36 | + provider = scc |
| 37 | +
|
| 38 | + # (Required) |
| 39 | + config { |
| 40 | + region_host = "cf.us10.hana.ondemand.com" |
| 41 | + subaccount = "3ecb7280-c7d4-4db6-b7da-7af3cdb13505" |
| 42 | + } |
| 43 | +} |
| 44 | +
|
| 45 | +# List block to discover scc subaccount abap service channel with full resource details |
| 46 | +# Setting include_resource = true returns full resource objects |
| 47 | +list "scc_subaccount_abap_service_channel" "with_resource" { |
| 48 | + provider = scc |
| 49 | + include_resource = true |
| 50 | +
|
| 51 | + # (Required) |
| 52 | + config { |
| 53 | + region_host = "cf.us10.hana.ondemand.com" |
| 54 | + subaccount = "3ecb7280-c7d4-4db6-b7da-7af3cdb13505" |
| 55 | + } |
| 56 | +} |
| 57 | +``` |
| 58 | + |
| 59 | +<!-- schema generated by tfplugindocs --> |
| 60 | +## Schema |
| 61 | + |
| 62 | +### Required |
| 63 | + |
| 64 | +- `region_host` (String) The host URL of the region (e.g., `cf.eu12.hana.ondemand.com`). |
| 65 | +- `subaccount` (String) The GUID of the SAP subaccount. |
0 commit comments