diff --git a/3.x/_gen/data/main.libsonnet b/3.x/_gen/data/main.libsonnet index 374c9113..0158a119 100644 --- a/3.x/_gen/data/main.libsonnet +++ b/3.x/_gen/data/main.libsonnet @@ -289,6 +289,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); sql_managed_instance: (import 'sql_managed_instance.libsonnet'), sql_server: (import 'sql_server.libsonnet'), ssh_public_key: (import 'ssh_public_key.libsonnet'), + stack_hci_cluster: (import 'stack_hci_cluster.libsonnet'), storage_account: (import 'storage_account.libsonnet'), storage_account_blob_container_sas: (import 'storage_account_blob_container_sas.libsonnet'), storage_account_sas: (import 'storage_account_sas.libsonnet'), diff --git a/3.x/_gen/data/stack_hci_cluster.libsonnet b/3.x/_gen/data/stack_hci_cluster.libsonnet new file mode 100644 index 00000000..b856aeb4 --- /dev/null +++ b/3.x/_gen/data/stack_hci_cluster.libsonnet @@ -0,0 +1,76 @@ +local tf = (import 'github.com/tf-libsonnet/core/main.libsonnet'); +local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); +{ + '#':: d.pkg(name='stack_hci_cluster', url='', help='`stack_hci_cluster` represents the `azurerm_stack_hci_cluster` Terraform data source.\n\n\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'), + '#new':: d.fn(help="\n`azurerm.data.stack_hci_cluster.new` injects a new `data_azurerm_stack_hci_cluster` Terraform `data source`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.data.stack_hci_cluster.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.stack_hci_cluster` using the reference:\n\n $._ref.data_azurerm_stack_hci_cluster.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_stack_hci_cluster.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block.\n - `name` (`string`): Set the `name` field on the resulting data source block.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting data source block.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.stack_hci_cluster.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]), + new( + dataSrcLabel, + name, + resource_group_name, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_stack_hci_cluster', + label=dataSrcLabel, + attrs=self.newAttrs(name=name, resource_group_name=resource_group_name, timeouts=timeouts), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.stack_hci_cluster.newAttrs` constructs a new object with attributes and blocks configured for the `stack_hci_cluster`\nTerraform data source.\n\nUnlike [azurerm.data.stack_hci_cluster.new](#fn-new), this function will not inject the `data source`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `name` (`string`): Set the `name` field on the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.stack_hci_cluster.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `stack_hci_cluster` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + name, + resource_group_name, + timeouts=null + ):: std.prune(a={ + name: name, + resource_group_name: resource_group_name, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.stack_hci_cluster.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts`\nTerraform sub block.\n\n\n\n**Args**:\n - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `timeouts` sub block.\n', args=[]), + new( + read=null + ):: std.prune(a={ + read: read, + }), + }, + '#withName':: d.fn(help='`azurerm.string.withName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the name field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `name` field.\n', args=[]), + withName(dataSrcLabel, value): { + data+: { + azurerm_stack_hci_cluster+: { + [dataSrcLabel]+: { + name: value, + }, + }, + }, + }, + '#withResourceGroupName':: d.fn(help='`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the resource_group_name field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `resource_group_name` field.\n', args=[]), + withResourceGroupName(dataSrcLabel, value): { + data+: { + azurerm_stack_hci_cluster+: { + [dataSrcLabel]+: { + resource_group_name: value, + }, + }, + }, + }, + '#withTimeouts':: d.fn(help='`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform data source block to set or update the timeouts field.\n\nThis function will replace the map with the passed in `value`. If you wish to instead merge the\npassed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(dataSrcLabel, value): { + data+: { + azurerm_stack_hci_cluster+: { + [dataSrcLabel]+: { + timeouts: value, + }, + }, + }, + }, + '#withTimeoutsMixin':: d.fn(help='`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj`\nTerraform data source block to set or update the timeouts field.\n\nThis function will merge the passed in value to the existing map. If you wish\nto instead replace the entire map with the passed in `value`, use the [azurerm.obj.withTimeouts](TODO)\nfunction.\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeoutsMixin(dataSrcLabel, value): { + data+: { + azurerm_stack_hci_cluster+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/dashboard_grafana.libsonnet b/3.x/_gen/resources/dashboard_grafana.libsonnet index d55c6231..7712a127 100644 --- a/3.x/_gen/resources/dashboard_grafana.libsonnet +++ b/3.x/_gen/resources/dashboard_grafana.libsonnet @@ -20,7 +20,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); type: type, }), }, - '#new':: d.fn(help="\n`azurerm.dashboard_grafana.new` injects a new `azurerm_dashboard_grafana` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.dashboard_grafana.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.dashboard_grafana` using the reference:\n\n $._ref.azurerm_dashboard_grafana.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_dashboard_grafana.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `api_key_enabled` (`bool`): Set the `api_key_enabled` field on the resulting resource block. When `null`, the `api_key_enabled` field will be omitted from the resulting object.\n - `auto_generated_domain_name_label_scope` (`string`): Set the `auto_generated_domain_name_label_scope` field on the resulting resource block. When `null`, the `auto_generated_domain_name_label_scope` field will be omitted from the resulting object.\n - `deterministic_outbound_ip_enabled` (`bool`): Set the `deterministic_outbound_ip_enabled` field on the resulting resource block. When `null`, the `deterministic_outbound_ip_enabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `sku` (`string`): Set the `sku` field on the resulting resource block. When `null`, the `sku` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `zone_redundancy_enabled` (`bool`): Set the `zone_redundancy_enabled` field on the resulting resource block. When `null`, the `zone_redundancy_enabled` field will be omitted from the resulting object.\n - `azure_monitor_workspace_integrations` (`list[obj]`): Set the `azure_monitor_workspace_integrations` field on the resulting resource block. When `null`, the `azure_monitor_workspace_integrations` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.azure_monitor_workspace_integrations.new](#fn-azure_monitor_workspace_integrationsnew) constructor.\n - `identity` (`list[obj]`): Set the `identity` field on the resulting resource block. When `null`, the `identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.identity.new](#fn-identitynew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`azurerm.dashboard_grafana.new` injects a new `azurerm_dashboard_grafana` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.dashboard_grafana.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.dashboard_grafana` using the reference:\n\n $._ref.azurerm_dashboard_grafana.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_dashboard_grafana.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `api_key_enabled` (`bool`): Set the `api_key_enabled` field on the resulting resource block. When `null`, the `api_key_enabled` field will be omitted from the resulting object.\n - `auto_generated_domain_name_label_scope` (`string`): Set the `auto_generated_domain_name_label_scope` field on the resulting resource block. When `null`, the `auto_generated_domain_name_label_scope` field will be omitted from the resulting object.\n - `deterministic_outbound_ip_enabled` (`bool`): Set the `deterministic_outbound_ip_enabled` field on the resulting resource block. When `null`, the `deterministic_outbound_ip_enabled` field will be omitted from the resulting object.\n - `grafana_major_version` (`string`): Set the `grafana_major_version` field on the resulting resource block. When `null`, the `grafana_major_version` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `sku` (`string`): Set the `sku` field on the resulting resource block. When `null`, the `sku` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `zone_redundancy_enabled` (`bool`): Set the `zone_redundancy_enabled` field on the resulting resource block. When `null`, the `zone_redundancy_enabled` field will be omitted from the resulting object.\n - `azure_monitor_workspace_integrations` (`list[obj]`): Set the `azure_monitor_workspace_integrations` field on the resulting resource block. When `null`, the `azure_monitor_workspace_integrations` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.azure_monitor_workspace_integrations.new](#fn-azure_monitor_workspace_integrationsnew) constructor.\n - `identity` (`list[obj]`): Set the `identity` field on the resulting resource block. When `null`, the `identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.identity.new](#fn-identitynew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, location, @@ -30,6 +30,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); auto_generated_domain_name_label_scope=null, azure_monitor_workspace_integrations=null, deterministic_outbound_ip_enabled=null, + grafana_major_version=null, identity=null, public_network_access_enabled=null, sku=null, @@ -45,6 +46,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); auto_generated_domain_name_label_scope=auto_generated_domain_name_label_scope, azure_monitor_workspace_integrations=azure_monitor_workspace_integrations, deterministic_outbound_ip_enabled=deterministic_outbound_ip_enabled, + grafana_major_version=grafana_major_version, identity=identity, location=location, name=name, @@ -57,7 +59,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.dashboard_grafana.newAttrs` constructs a new object with attributes and blocks configured for the `dashboard_grafana`\nTerraform resource.\n\nUnlike [azurerm.dashboard_grafana.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `api_key_enabled` (`bool`): Set the `api_key_enabled` field on the resulting object. When `null`, the `api_key_enabled` field will be omitted from the resulting object.\n - `auto_generated_domain_name_label_scope` (`string`): Set the `auto_generated_domain_name_label_scope` field on the resulting object. When `null`, the `auto_generated_domain_name_label_scope` field will be omitted from the resulting object.\n - `deterministic_outbound_ip_enabled` (`bool`): Set the `deterministic_outbound_ip_enabled` field on the resulting object. When `null`, the `deterministic_outbound_ip_enabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting object. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `sku` (`string`): Set the `sku` field on the resulting object. When `null`, the `sku` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n - `zone_redundancy_enabled` (`bool`): Set the `zone_redundancy_enabled` field on the resulting object. When `null`, the `zone_redundancy_enabled` field will be omitted from the resulting object.\n - `azure_monitor_workspace_integrations` (`list[obj]`): Set the `azure_monitor_workspace_integrations` field on the resulting object. When `null`, the `azure_monitor_workspace_integrations` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.azure_monitor_workspace_integrations.new](#fn-azure_monitor_workspace_integrationsnew) constructor.\n - `identity` (`list[obj]`): Set the `identity` field on the resulting object. When `null`, the `identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.identity.new](#fn-identitynew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `dashboard_grafana` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.dashboard_grafana.newAttrs` constructs a new object with attributes and blocks configured for the `dashboard_grafana`\nTerraform resource.\n\nUnlike [azurerm.dashboard_grafana.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `api_key_enabled` (`bool`): Set the `api_key_enabled` field on the resulting object. When `null`, the `api_key_enabled` field will be omitted from the resulting object.\n - `auto_generated_domain_name_label_scope` (`string`): Set the `auto_generated_domain_name_label_scope` field on the resulting object. When `null`, the `auto_generated_domain_name_label_scope` field will be omitted from the resulting object.\n - `deterministic_outbound_ip_enabled` (`bool`): Set the `deterministic_outbound_ip_enabled` field on the resulting object. When `null`, the `deterministic_outbound_ip_enabled` field will be omitted from the resulting object.\n - `grafana_major_version` (`string`): Set the `grafana_major_version` field on the resulting object. When `null`, the `grafana_major_version` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting object. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `sku` (`string`): Set the `sku` field on the resulting object. When `null`, the `sku` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n - `zone_redundancy_enabled` (`bool`): Set the `zone_redundancy_enabled` field on the resulting object. When `null`, the `zone_redundancy_enabled` field will be omitted from the resulting object.\n - `azure_monitor_workspace_integrations` (`list[obj]`): Set the `azure_monitor_workspace_integrations` field on the resulting object. When `null`, the `azure_monitor_workspace_integrations` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.azure_monitor_workspace_integrations.new](#fn-azure_monitor_workspace_integrationsnew) constructor.\n - `identity` (`list[obj]`): Set the `identity` field on the resulting object. When `null`, the `identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.identity.new](#fn-identitynew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `dashboard_grafana` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, @@ -66,6 +68,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); auto_generated_domain_name_label_scope=null, azure_monitor_workspace_integrations=null, deterministic_outbound_ip_enabled=null, + grafana_major_version=null, identity=null, public_network_access_enabled=null, sku=null, @@ -77,6 +80,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); auto_generated_domain_name_label_scope: auto_generated_domain_name_label_scope, azure_monitor_workspace_integrations: azure_monitor_workspace_integrations, deterministic_outbound_ip_enabled: deterministic_outbound_ip_enabled, + grafana_major_version: grafana_major_version, identity: identity, location: location, name: name, @@ -151,6 +155,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withGrafanaMajorVersion':: d.fn(help='`azurerm.string.withGrafanaMajorVersion` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the grafana_major_version field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `grafana_major_version` field.\n', args=[]), + withGrafanaMajorVersion(resourceLabel, value): { + resource+: { + azurerm_dashboard_grafana+: { + [resourceLabel]+: { + grafana_major_version: value, + }, + }, + }, + }, '#withIdentity':: d.fn(help='`azurerm.list[obj].withIdentity` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the identity field.\n\nThis function will replace the array with the passed in `value`. If you wish to instead append the\npassed in value to the existing array, use the [azurerm.list[obj].withIdentityMixin](TODO) function.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `identity` field.\n', args=[]), withIdentity(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/redis_cache.libsonnet b/3.x/_gen/resources/redis_cache.libsonnet index 7e32e75b..06358904 100644 --- a/3.x/_gen/resources/redis_cache.libsonnet +++ b/3.x/_gen/resources/redis_cache.libsonnet @@ -128,8 +128,9 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, redis_configuration:: { - '#new':: d.fn(help='\n`azurerm.redis_cache.redis_configuration.new` constructs a new object with attributes and blocks configured for the `redis_configuration`\nTerraform sub block.\n\n\n\n**Args**:\n - `aof_backup_enabled` (`bool`): Set the `aof_backup_enabled` field on the resulting object. When `null`, the `aof_backup_enabled` field will be omitted from the resulting object.\n - `aof_storage_connection_string_0` (`string`): Set the `aof_storage_connection_string_0` field on the resulting object. When `null`, the `aof_storage_connection_string_0` field will be omitted from the resulting object.\n - `aof_storage_connection_string_1` (`string`): Set the `aof_storage_connection_string_1` field on the resulting object. When `null`, the `aof_storage_connection_string_1` field will be omitted from the resulting object.\n - `enable_authentication` (`bool`): Set the `enable_authentication` field on the resulting object. When `null`, the `enable_authentication` field will be omitted from the resulting object.\n - `maxfragmentationmemory_reserved` (`number`): Set the `maxfragmentationmemory_reserved` field on the resulting object. When `null`, the `maxfragmentationmemory_reserved` field will be omitted from the resulting object.\n - `maxmemory_delta` (`number`): Set the `maxmemory_delta` field on the resulting object. When `null`, the `maxmemory_delta` field will be omitted from the resulting object.\n - `maxmemory_policy` (`string`): Set the `maxmemory_policy` field on the resulting object. When `null`, the `maxmemory_policy` field will be omitted from the resulting object.\n - `maxmemory_reserved` (`number`): Set the `maxmemory_reserved` field on the resulting object. When `null`, the `maxmemory_reserved` field will be omitted from the resulting object.\n - `notify_keyspace_events` (`string`): Set the `notify_keyspace_events` field on the resulting object. When `null`, the `notify_keyspace_events` field will be omitted from the resulting object.\n - `rdb_backup_enabled` (`bool`): Set the `rdb_backup_enabled` field on the resulting object. When `null`, the `rdb_backup_enabled` field will be omitted from the resulting object.\n - `rdb_backup_frequency` (`number`): Set the `rdb_backup_frequency` field on the resulting object. When `null`, the `rdb_backup_frequency` field will be omitted from the resulting object.\n - `rdb_backup_max_snapshot_count` (`number`): Set the `rdb_backup_max_snapshot_count` field on the resulting object. When `null`, the `rdb_backup_max_snapshot_count` field will be omitted from the resulting object.\n - `rdb_storage_connection_string` (`string`): Set the `rdb_storage_connection_string` field on the resulting object. When `null`, the `rdb_storage_connection_string` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `redis_configuration` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.redis_cache.redis_configuration.new` constructs a new object with attributes and blocks configured for the `redis_configuration`\nTerraform sub block.\n\n\n\n**Args**:\n - `active_directory_authentication_enabled` (`bool`): Set the `active_directory_authentication_enabled` field on the resulting object. When `null`, the `active_directory_authentication_enabled` field will be omitted from the resulting object.\n - `aof_backup_enabled` (`bool`): Set the `aof_backup_enabled` field on the resulting object. When `null`, the `aof_backup_enabled` field will be omitted from the resulting object.\n - `aof_storage_connection_string_0` (`string`): Set the `aof_storage_connection_string_0` field on the resulting object. When `null`, the `aof_storage_connection_string_0` field will be omitted from the resulting object.\n - `aof_storage_connection_string_1` (`string`): Set the `aof_storage_connection_string_1` field on the resulting object. When `null`, the `aof_storage_connection_string_1` field will be omitted from the resulting object.\n - `enable_authentication` (`bool`): Set the `enable_authentication` field on the resulting object. When `null`, the `enable_authentication` field will be omitted from the resulting object.\n - `maxfragmentationmemory_reserved` (`number`): Set the `maxfragmentationmemory_reserved` field on the resulting object. When `null`, the `maxfragmentationmemory_reserved` field will be omitted from the resulting object.\n - `maxmemory_delta` (`number`): Set the `maxmemory_delta` field on the resulting object. When `null`, the `maxmemory_delta` field will be omitted from the resulting object.\n - `maxmemory_policy` (`string`): Set the `maxmemory_policy` field on the resulting object. When `null`, the `maxmemory_policy` field will be omitted from the resulting object.\n - `maxmemory_reserved` (`number`): Set the `maxmemory_reserved` field on the resulting object. When `null`, the `maxmemory_reserved` field will be omitted from the resulting object.\n - `notify_keyspace_events` (`string`): Set the `notify_keyspace_events` field on the resulting object. When `null`, the `notify_keyspace_events` field will be omitted from the resulting object.\n - `rdb_backup_enabled` (`bool`): Set the `rdb_backup_enabled` field on the resulting object. When `null`, the `rdb_backup_enabled` field will be omitted from the resulting object.\n - `rdb_backup_frequency` (`number`): Set the `rdb_backup_frequency` field on the resulting object. When `null`, the `rdb_backup_frequency` field will be omitted from the resulting object.\n - `rdb_backup_max_snapshot_count` (`number`): Set the `rdb_backup_max_snapshot_count` field on the resulting object. When `null`, the `rdb_backup_max_snapshot_count` field will be omitted from the resulting object.\n - `rdb_storage_connection_string` (`string`): Set the `rdb_storage_connection_string` field on the resulting object. When `null`, the `rdb_storage_connection_string` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `redis_configuration` sub block.\n', args=[]), new( + active_directory_authentication_enabled=null, aof_backup_enabled=null, aof_storage_connection_string_0=null, aof_storage_connection_string_1=null, @@ -144,6 +145,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); rdb_backup_max_snapshot_count=null, rdb_storage_connection_string=null ):: std.prune(a={ + active_directory_authentication_enabled: active_directory_authentication_enabled, aof_backup_enabled: aof_backup_enabled, aof_storage_connection_string_0: aof_storage_connection_string_0, aof_storage_connection_string_1: aof_storage_connection_string_1, diff --git a/docs/3.x/dashboard_grafana.md b/docs/3.x/dashboard_grafana.md index 4263e7c9..023f02c4 100644 --- a/docs/3.x/dashboard_grafana.md +++ b/docs/3.x/dashboard_grafana.md @@ -20,6 +20,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withAzureMonitorWorkspaceIntegrations()`](#fn-withazuremonitorworkspaceintegrations) * [`fn withAzureMonitorWorkspaceIntegrationsMixin()`](#fn-withazuremonitorworkspaceintegrationsmixin) * [`fn withDeterministicOutboundIpEnabled()`](#fn-withdeterministicoutboundipenabled) +* [`fn withGrafanaMajorVersion()`](#fn-withgrafanamajorversion) * [`fn withIdentity()`](#fn-withidentity) * [`fn withIdentityMixin()`](#fn-withidentitymixin) * [`fn withLocation()`](#fn-withlocation) @@ -70,6 +71,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `api_key_enabled` (`bool`): Set the `api_key_enabled` field on the resulting resource block. When `null`, the `api_key_enabled` field will be omitted from the resulting object. - `auto_generated_domain_name_label_scope` (`string`): Set the `auto_generated_domain_name_label_scope` field on the resulting resource block. When `null`, the `auto_generated_domain_name_label_scope` field will be omitted from the resulting object. - `deterministic_outbound_ip_enabled` (`bool`): Set the `deterministic_outbound_ip_enabled` field on the resulting resource block. When `null`, the `deterministic_outbound_ip_enabled` field will be omitted from the resulting object. + - `grafana_major_version` (`string`): Set the `grafana_major_version` field on the resulting resource block. When `null`, the `grafana_major_version` field will be omitted from the resulting object. - `location` (`string`): Set the `location` field on the resulting resource block. - `name` (`string`): Set the `name` field on the resulting resource block. - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object. @@ -106,6 +108,7 @@ injecting into a complete block. - `api_key_enabled` (`bool`): Set the `api_key_enabled` field on the resulting object. When `null`, the `api_key_enabled` field will be omitted from the resulting object. - `auto_generated_domain_name_label_scope` (`string`): Set the `auto_generated_domain_name_label_scope` field on the resulting object. When `null`, the `auto_generated_domain_name_label_scope` field will be omitted from the resulting object. - `deterministic_outbound_ip_enabled` (`bool`): Set the `deterministic_outbound_ip_enabled` field on the resulting object. When `null`, the `deterministic_outbound_ip_enabled` field will be omitted from the resulting object. + - `grafana_major_version` (`string`): Set the `grafana_major_version` field on the resulting object. When `null`, the `grafana_major_version` field will be omitted from the resulting object. - `location` (`string`): Set the `location` field on the resulting object. - `name` (`string`): Set the `name` field on the resulting object. - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting object. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object. @@ -206,6 +209,22 @@ Terraform resource block to set or update the deterministic_outbound_ip_enabled - `value` (`bool`): The value to set for the `deterministic_outbound_ip_enabled` field. +### fn withGrafanaMajorVersion + +```ts +withGrafanaMajorVersion() +``` + +`azurerm.string.withGrafanaMajorVersion` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the grafana_major_version field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `grafana_major_version` field. + + ### fn withIdentity ```ts diff --git a/docs/3.x/data/index.md b/docs/3.x/data/index.md index a5f94090..1a2ba80e 100644 --- a/docs/3.x/data/index.md +++ b/docs/3.x/data/index.md @@ -294,6 +294,7 @@ permalink: /data/ * [sql_managed_instance](sql_managed_instance.md) * [sql_server](sql_server.md) * [ssh_public_key](ssh_public_key.md) +* [stack_hci_cluster](stack_hci_cluster.md) * [storage_account](storage_account.md) * [storage_account_blob_container_sas](storage_account_blob_container_sas.md) * [storage_account_sas](storage_account_sas.md) diff --git a/docs/3.x/data/stack_hci_cluster.md b/docs/3.x/data/stack_hci_cluster.md new file mode 100644 index 00000000..bf25da57 --- /dev/null +++ b/docs/3.x/data/stack_hci_cluster.md @@ -0,0 +1,176 @@ +--- +permalink: /data/stack_hci_cluster/ +--- + +# data.stack_hci_cluster + +`stack_hci_cluster` represents the `azurerm_stack_hci_cluster` Terraform data source. + + + +This package contains functions and utilities for setting up the data source using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withName()`](#fn-withname) +* [`fn withResourceGroupName()`](#fn-withresourcegroupname) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.stack_hci_cluster.new` injects a new `data_azurerm_stack_hci_cluster` Terraform `data source` +block into the root module document. + +Additionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the +resource. For example, if you added a new instance to the root using: + + # arguments omitted for brevity + azurerm.data.stack_hci_cluster.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.stack_hci_cluster` using the reference: + + $._ref.data_azurerm_stack_hci_cluster.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_stack_hci_cluster.some_id.id }"` as the value. + +NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`, +or `$` to refer to the root object. Instead, make an explicit outer object using `local`. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block. + - `name` (`string`): Set the `name` field on the resulting data source block. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting data source block. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.stack_hci_cluster.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new data source into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.data.stack_hci_cluster.newAttrs` constructs a new object with attributes and blocks configured for the `stack_hci_cluster` +Terraform data source. + +Unlike [azurerm.data.stack_hci_cluster.new](#fn-new), this function will not inject the `data source` +block into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the +[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block. + +This is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to +injecting into a complete block. + +**Args**: + - `name` (`string`): Set the `name` field on the resulting object. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.stack_hci_cluster.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: + - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `stack_hci_cluster` data source into the root Terraform configuration. + + +### fn withName + +```ts +withName() +``` + +`azurerm.string.withName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `name` field. + + +### fn withResourceGroupName + +```ts +withResourceGroupName() +``` + +`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the resource_group_name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `resource_group_name` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will replace the map with the passed in `value`. If you wish to instead merge the +passed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withTimeoutsMixin + +```ts +withTimeoutsMixin() +``` + +`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will merge the passed in value to the existing map. If you wish +to instead replace the entire map with the passed in `value`, use the [azurerm.obj.withTimeouts](TODO) +function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.stack_hci_cluster.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts` +Terraform sub block. + + + +**Args**: + - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/redis_cache.md b/docs/3.x/redis_cache.md index f6931ff0..e3e58cda 100644 --- a/docs/3.x/redis_cache.md +++ b/docs/3.x/redis_cache.md @@ -652,6 +652,7 @@ Terraform sub block. **Args**: + - `active_directory_authentication_enabled` (`bool`): Set the `active_directory_authentication_enabled` field on the resulting object. When `null`, the `active_directory_authentication_enabled` field will be omitted from the resulting object. - `aof_backup_enabled` (`bool`): Set the `aof_backup_enabled` field on the resulting object. When `null`, the `aof_backup_enabled` field will be omitted from the resulting object. - `aof_storage_connection_string_0` (`string`): Set the `aof_storage_connection_string_0` field on the resulting object. When `null`, the `aof_storage_connection_string_0` field will be omitted from the resulting object. - `aof_storage_connection_string_1` (`string`): Set the `aof_storage_connection_string_1` field on the resulting object. When `null`, the `aof_storage_connection_string_1` field will be omitted from the resulting object.