|
1 | 1 | --- |
2 | | -# generated by https://github.com/hashicorp/terraform-plugin-docs |
3 | 2 | page_title: "spectrocloud_cloudaccount_azure Data Source - terraform-provider-spectrocloud" |
4 | 3 | subcategory: "" |
5 | 4 | description: |- |
6 | | - |
| 5 | + A data source for retrieving information about an Azure cloud account registered in Palette. |
7 | 6 | --- |
8 | 7 |
|
9 | 8 | # spectrocloud_cloudaccount_azure (Data Source) |
10 | 9 |
|
| 10 | + A data source for retrieving information about an Azure cloud account registered in Palette. |
11 | 11 |
|
| 12 | +## Example Usage |
12 | 13 |
|
13 | 14 |
|
| 15 | +You can retrieve the details of an Azure cloud registered in Palette by specifying the ID of the cloud account. |
| 16 | + |
| 17 | +```hcl |
| 18 | +data "spectrocloud_cloudaccount_azure" "azure_account" { |
| 19 | + id = "45bddf48b8fc3ea6c1774886" |
| 20 | +} |
| 21 | +``` |
| 22 | + |
| 23 | +Alternatively, you specify the ID of the cloud account to retrieve the details of the Azure cloud account. |
| 24 | + |
| 25 | +```hcl |
| 26 | +data "spectrocloud_cloudaccount_azure" "azure_account" { |
| 27 | + name = "primary-azure-account" |
| 28 | +} |
| 29 | +``` |
14 | 30 |
|
15 | 31 | <!-- schema generated by tfplugindocs --> |
16 | 32 | ## Schema |
17 | 33 |
|
18 | 34 | ### Optional |
19 | 35 |
|
20 | | -- `name` (String) |
| 36 | +- `id` (String) ID of the Azure cloud account registered in Palette. |
| 37 | +- `name` (String) Name of the Azure cloud account registered in Palette. |
21 | 38 |
|
22 | 39 | ### Read-Only |
23 | 40 |
|
24 | | -- `azure_client_id` (String) |
25 | | -- `azure_tenant_id` (String) |
26 | | -- `disable_properties_request` (Boolean) |
27 | | -- `id` (String) The ID of this resource. |
28 | | -- `tenant_name` (String) |
| 41 | +- `azure_client_id` (String) The unique client ID from Azure Management Portal. |
| 42 | +- `azure_tenant_id` (String) The tenant ID of the Azure cloud account registered in Palette. |
| 43 | +- `disable_properties_request` (Boolean) The status of the disable properties option. |
| 44 | +- `tenant_name` (String) The name of the Azure tenant. |
0 commit comments