зеркало из https://github.com/Azure/azapi-lsp.git
new data source: `azapi_resource_list` (#80)
This commit is contained in:
Родитель
ee4b03c416
Коммит
2a7da83864
|
@ -1,3 +1,7 @@
|
|||
## v1.9.0 (unreleased)
|
||||
FEATURES:
|
||||
- **New Data Source**: azapi_resource_list
|
||||
|
||||
## v1.8.0
|
||||
ENHANCEMENTS:
|
||||
- Update bicep types to https://github.com/ms-henglu/bicep-types-az/commit/c616eb1ad4980f63c0d6b436a63701e175a62224
|
||||
|
|
|
@ -362,6 +362,35 @@ func init() {
|
|||
GenericCandidatesFunc: bodyCandidates,
|
||||
},
|
||||
|
||||
{
|
||||
Name: "response_export_values",
|
||||
Modifier: "Optional",
|
||||
Type: "list<string>",
|
||||
Description: "A list of path that needs to be exported from response body.",
|
||||
CompletionNewText: `response_export_values = [$0]`,
|
||||
},
|
||||
},
|
||||
},
|
||||
Resource{
|
||||
Name: "data.azapi_resource_list",
|
||||
Properties: []Property{
|
||||
{
|
||||
Name: "type",
|
||||
Modifier: "Required",
|
||||
Type: "string <resource-type>@<api-version>",
|
||||
Description: "Azure Resource Manager type.",
|
||||
CompletionNewText: `type = "$0"`,
|
||||
ValueCandidatesFunc: dataSourceTypeCandidates,
|
||||
},
|
||||
|
||||
{
|
||||
Name: "parent_id",
|
||||
Modifier: "Required",
|
||||
Type: "string",
|
||||
Description: "The parent resource ID to list resources under.",
|
||||
CompletionNewText: `parent_id = $0`,
|
||||
},
|
||||
|
||||
{
|
||||
Name: "response_export_values",
|
||||
Modifier: "Optional",
|
||||
|
|
Загрузка…
Ссылка в новой задаче