diff --git a/3.x/_gen/data/main.libsonnet b/3.x/_gen/data/main.libsonnet index be8aef09..50ba38c6 100644 --- a/3.x/_gen/data/main.libsonnet +++ b/3.x/_gen/data/main.libsonnet @@ -200,6 +200,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); netapp_volume_group_sap_hana: (import 'netapp_volume_group_sap_hana.libsonnet'), network_ddos_protection_plan: (import 'network_ddos_protection_plan.libsonnet'), network_interface: (import 'network_interface.libsonnet'), + network_manager_network_group: (import 'network_manager_network_group.libsonnet'), network_security_group: (import 'network_security_group.libsonnet'), network_service_tags: (import 'network_service_tags.libsonnet'), network_watcher: (import 'network_watcher.libsonnet'), diff --git a/3.x/_gen/data/network_manager_network_group.libsonnet b/3.x/_gen/data/network_manager_network_group.libsonnet new file mode 100644 index 00000000..e9a72095 --- /dev/null +++ b/3.x/_gen/data/network_manager_network_group.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='network_manager_network_group', url='', help='`network_manager_network_group` represents the `azurerm_network_manager_network_group` 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.network_manager_network_group.new` injects a new `data_azurerm_network_manager_network_group` 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.network_manager_network_group.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.network_manager_network_group` using the reference:\n\n $._ref.data_azurerm_network_manager_network_group.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_network_manager_network_group.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 - `network_manager_id` (`string`): Set the `network_manager_id` 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.network_manager_network_group.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, + network_manager_id, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_network_manager_network_group', + label=dataSrcLabel, + attrs=self.newAttrs(name=name, network_manager_id=network_manager_id, timeouts=timeouts), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.network_manager_network_group.newAttrs` constructs a new object with attributes and blocks configured for the `network_manager_network_group`\nTerraform data source.\n\nUnlike [azurerm.data.network_manager_network_group.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 - `network_manager_id` (`string`): Set the `network_manager_id` 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.network_manager_network_group.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 `network_manager_network_group` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + name, + network_manager_id, + timeouts=null + ):: std.prune(a={ + name: name, + network_manager_id: network_manager_id, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.network_manager_network_group.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_network_manager_network_group+: { + [dataSrcLabel]+: { + name: value, + }, + }, + }, + }, + '#withNetworkManagerId':: d.fn(help='`azurerm.string.withNetworkManagerId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the network_manager_id 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 `network_manager_id` field.\n', args=[]), + withNetworkManagerId(dataSrcLabel, value): { + data+: { + azurerm_network_manager_network_group+: { + [dataSrcLabel]+: { + network_manager_id: 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_network_manager_network_group+: { + [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_network_manager_network_group+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/automation_software_update_configuration.libsonnet b/3.x/_gen/resources/automation_software_update_configuration.libsonnet index af9dbd4c..3479ed44 100644 --- a/3.x/_gen/resources/automation_software_update_configuration.libsonnet +++ b/3.x/_gen/resources/automation_software_update_configuration.libsonnet @@ -3,28 +3,30 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); { '#':: d.pkg(name='automation_software_update_configuration', url='', help='`automation_software_update_configuration` represents the `azurerm_automation_software_update_configuration` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), linux:: { - '#new':: d.fn(help='\n`azurerm.automation_software_update_configuration.linux.new` constructs a new object with attributes and blocks configured for the `linux`\nTerraform sub block.\n\n\n\n**Args**:\n - `classification_included` (`string`): Set the `classification_included` field on the resulting object. When `null`, the `classification_included` field will be omitted from the resulting object.\n - `excluded_packages` (`list`): Set the `excluded_packages` field on the resulting object. When `null`, the `excluded_packages` field will be omitted from the resulting object.\n - `included_packages` (`list`): Set the `included_packages` field on the resulting object. When `null`, the `included_packages` field will be omitted from the resulting object.\n - `reboot` (`string`): Set the `reboot` field on the resulting object. When `null`, the `reboot` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `linux` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.automation_software_update_configuration.linux.new` constructs a new object with attributes and blocks configured for the `linux`\nTerraform sub block.\n\n\n\n**Args**:\n - `classification_included` (`string`): Set the `classification_included` field on the resulting object. When `null`, the `classification_included` field will be omitted from the resulting object.\n - `classifications_included` (`list`): Set the `classifications_included` field on the resulting object. When `null`, the `classifications_included` field will be omitted from the resulting object.\n - `excluded_packages` (`list`): Set the `excluded_packages` field on the resulting object. When `null`, the `excluded_packages` field will be omitted from the resulting object.\n - `included_packages` (`list`): Set the `included_packages` field on the resulting object. When `null`, the `included_packages` field will be omitted from the resulting object.\n - `reboot` (`string`): Set the `reboot` field on the resulting object. When `null`, the `reboot` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `linux` sub block.\n', args=[]), new( classification_included=null, + classifications_included=null, excluded_packages=null, included_packages=null, reboot=null ):: std.prune(a={ classification_included: classification_included, + classifications_included: classifications_included, excluded_packages: excluded_packages, included_packages: included_packages, reboot: reboot, }), }, - '#new':: d.fn(help="\n`azurerm.automation_software_update_configuration.new` injects a new `azurerm_automation_software_update_configuration` 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.automation_software_update_configuration.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.automation_software_update_configuration` using the reference:\n\n $._ref.azurerm_automation_software_update_configuration.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_automation_software_update_configuration.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 - `automation_account_id` (`string`): Set the `automation_account_id` field on the resulting resource block.\n - `duration` (`string`): Set the `duration` field on the resulting resource block. When `null`, the `duration` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `non_azure_computer_names` (`list`): Set the `non_azure_computer_names` field on the resulting resource block. When `null`, the `non_azure_computer_names` field will be omitted from the resulting object.\n - `operating_system` (`string`): Set the `operating_system` field on the resulting resource block.\n - `virtual_machine_ids` (`list`): Set the `virtual_machine_ids` field on the resulting resource block. When `null`, the `virtual_machine_ids` field will be omitted from the resulting object.\n - `linux` (`list[obj]`): Set the `linux` field on the resulting resource block. When `null`, the `linux` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.linux.new](#fn-linuxnew) constructor.\n - `post_task` (`list[obj]`): Set the `post_task` field on the resulting resource block. When `null`, the `post_task` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.post_task.new](#fn-post_tasknew) constructor.\n - `pre_task` (`list[obj]`): Set the `pre_task` field on the resulting resource block. When `null`, the `pre_task` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.pre_task.new](#fn-pre_tasknew) constructor.\n - `schedule` (`list[obj]`): Set the `schedule` field on the resulting resource block. When `null`, the `schedule` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.schedule.new](#fn-schedulenew) constructor.\n - `target` (`list[obj]`): Set the `target` field on the resulting resource block. When `null`, the `target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.target.new](#fn-targetnew) 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.automation_software_update_configuration.timeouts.new](#fn-timeoutsnew) constructor.\n - `windows` (`list[obj]`): Set the `windows` field on the resulting resource block. When `null`, the `windows` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.windows.new](#fn-windowsnew) 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.automation_software_update_configuration.new` injects a new `azurerm_automation_software_update_configuration` 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.automation_software_update_configuration.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.automation_software_update_configuration` using the reference:\n\n $._ref.azurerm_automation_software_update_configuration.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_automation_software_update_configuration.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 - `automation_account_id` (`string`): Set the `automation_account_id` field on the resulting resource block.\n - `duration` (`string`): Set the `duration` field on the resulting resource block. When `null`, the `duration` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `non_azure_computer_names` (`list`): Set the `non_azure_computer_names` field on the resulting resource block. When `null`, the `non_azure_computer_names` field will be omitted from the resulting object.\n - `operating_system` (`string`): Set the `operating_system` field on the resulting resource block. When `null`, the `operating_system` field will be omitted from the resulting object.\n - `virtual_machine_ids` (`list`): Set the `virtual_machine_ids` field on the resulting resource block. When `null`, the `virtual_machine_ids` field will be omitted from the resulting object.\n - `linux` (`list[obj]`): Set the `linux` field on the resulting resource block. When `null`, the `linux` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.linux.new](#fn-linuxnew) constructor.\n - `post_task` (`list[obj]`): Set the `post_task` field on the resulting resource block. When `null`, the `post_task` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.post_task.new](#fn-post_tasknew) constructor.\n - `pre_task` (`list[obj]`): Set the `pre_task` field on the resulting resource block. When `null`, the `pre_task` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.pre_task.new](#fn-pre_tasknew) constructor.\n - `schedule` (`list[obj]`): Set the `schedule` field on the resulting resource block. When `null`, the `schedule` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.schedule.new](#fn-schedulenew) constructor.\n - `target` (`list[obj]`): Set the `target` field on the resulting resource block. When `null`, the `target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.target.new](#fn-targetnew) 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.automation_software_update_configuration.timeouts.new](#fn-timeoutsnew) constructor.\n - `windows` (`list[obj]`): Set the `windows` field on the resulting resource block. When `null`, the `windows` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.windows.new](#fn-windowsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, automation_account_id, name, - operating_system, duration=null, linux=null, non_azure_computer_names=null, + operating_system=null, post_task=null, pre_task=null, schedule=null, @@ -53,14 +55,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.automation_software_update_configuration.newAttrs` constructs a new object with attributes and blocks configured for the `automation_software_update_configuration`\nTerraform resource.\n\nUnlike [azurerm.automation_software_update_configuration.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 - `automation_account_id` (`string`): Set the `automation_account_id` field on the resulting object.\n - `duration` (`string`): Set the `duration` field on the resulting object. When `null`, the `duration` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `non_azure_computer_names` (`list`): Set the `non_azure_computer_names` field on the resulting object. When `null`, the `non_azure_computer_names` field will be omitted from the resulting object.\n - `operating_system` (`string`): Set the `operating_system` field on the resulting object.\n - `virtual_machine_ids` (`list`): Set the `virtual_machine_ids` field on the resulting object. When `null`, the `virtual_machine_ids` field will be omitted from the resulting object.\n - `linux` (`list[obj]`): Set the `linux` field on the resulting object. When `null`, the `linux` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.linux.new](#fn-linuxnew) constructor.\n - `post_task` (`list[obj]`): Set the `post_task` field on the resulting object. When `null`, the `post_task` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.post_task.new](#fn-post_tasknew) constructor.\n - `pre_task` (`list[obj]`): Set the `pre_task` field on the resulting object. When `null`, the `pre_task` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.pre_task.new](#fn-pre_tasknew) constructor.\n - `schedule` (`list[obj]`): Set the `schedule` field on the resulting object. When `null`, the `schedule` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.schedule.new](#fn-schedulenew) constructor.\n - `target` (`list[obj]`): Set the `target` field on the resulting object. When `null`, the `target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.target.new](#fn-targetnew) 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.automation_software_update_configuration.timeouts.new](#fn-timeoutsnew) constructor.\n - `windows` (`list[obj]`): Set the `windows` field on the resulting object. When `null`, the `windows` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.windows.new](#fn-windowsnew) 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 `automation_software_update_configuration` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.automation_software_update_configuration.newAttrs` constructs a new object with attributes and blocks configured for the `automation_software_update_configuration`\nTerraform resource.\n\nUnlike [azurerm.automation_software_update_configuration.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 - `automation_account_id` (`string`): Set the `automation_account_id` field on the resulting object.\n - `duration` (`string`): Set the `duration` field on the resulting object. When `null`, the `duration` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `non_azure_computer_names` (`list`): Set the `non_azure_computer_names` field on the resulting object. When `null`, the `non_azure_computer_names` field will be omitted from the resulting object.\n - `operating_system` (`string`): Set the `operating_system` field on the resulting object. When `null`, the `operating_system` field will be omitted from the resulting object.\n - `virtual_machine_ids` (`list`): Set the `virtual_machine_ids` field on the resulting object. When `null`, the `virtual_machine_ids` field will be omitted from the resulting object.\n - `linux` (`list[obj]`): Set the `linux` field on the resulting object. When `null`, the `linux` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.linux.new](#fn-linuxnew) constructor.\n - `post_task` (`list[obj]`): Set the `post_task` field on the resulting object. When `null`, the `post_task` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.post_task.new](#fn-post_tasknew) constructor.\n - `pre_task` (`list[obj]`): Set the `pre_task` field on the resulting object. When `null`, the `pre_task` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.pre_task.new](#fn-pre_tasknew) constructor.\n - `schedule` (`list[obj]`): Set the `schedule` field on the resulting object. When `null`, the `schedule` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.schedule.new](#fn-schedulenew) constructor.\n - `target` (`list[obj]`): Set the `target` field on the resulting object. When `null`, the `target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.target.new](#fn-targetnew) 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.automation_software_update_configuration.timeouts.new](#fn-timeoutsnew) constructor.\n - `windows` (`list[obj]`): Set the `windows` field on the resulting object. When `null`, the `windows` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.windows.new](#fn-windowsnew) 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 `automation_software_update_configuration` resource into the root Terraform configuration.\n', args=[]), newAttrs( automation_account_id, name, - operating_system, duration=null, linux=null, non_azure_computer_names=null, + operating_system=null, post_task=null, pre_task=null, schedule=null, @@ -114,14 +116,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); occurrence: occurrence, }), }, - '#new':: d.fn(help='\n`azurerm.automation_software_update_configuration.schedule.new` constructs a new object with attributes and blocks configured for the `schedule`\nTerraform sub block.\n\n\n\n**Args**:\n - `advanced_month_days` (`list`): Set the `advanced_month_days` field on the resulting object. When `null`, the `advanced_month_days` field will be omitted from the resulting object.\n - `advanced_week_days` (`list`): Set the `advanced_week_days` field on the resulting object. When `null`, the `advanced_week_days` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `expiry_time` (`string`): Set the `expiry_time` field on the resulting object. When `null`, the `expiry_time` field will be omitted from the resulting object.\n - `expiry_time_offset_minutes` (`number`): Set the `expiry_time_offset_minutes` field on the resulting object. When `null`, the `expiry_time_offset_minutes` field will be omitted from the resulting object.\n - `frequency` (`string`): Set the `frequency` field on the resulting object. When `null`, the `frequency` field will be omitted from the resulting object.\n - `interval` (`number`): Set the `interval` field on the resulting object. When `null`, the `interval` field will be omitted from the resulting object.\n - `is_enabled` (`bool`): Set the `is_enabled` field on the resulting object. When `null`, the `is_enabled` field will be omitted from the resulting object.\n - `next_run` (`string`): Set the `next_run` field on the resulting object. When `null`, the `next_run` field will be omitted from the resulting object.\n - `next_run_offset_minutes` (`number`): Set the `next_run_offset_minutes` field on the resulting object. When `null`, the `next_run_offset_minutes` field will be omitted from the resulting object.\n - `start_time` (`string`): Set the `start_time` field on the resulting object. When `null`, the `start_time` field will be omitted from the resulting object.\n - `start_time_offset_minutes` (`number`): Set the `start_time_offset_minutes` field on the resulting object. When `null`, the `start_time_offset_minutes` field will be omitted from the resulting object.\n - `time_zone` (`string`): Set the `time_zone` field on the resulting object. When `null`, the `time_zone` field will be omitted from the resulting object.\n - `monthly_occurrence` (`list[obj]`): Set the `monthly_occurrence` field on the resulting object. When `null`, the `monthly_occurrence` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.schedule.monthly_occurrence.new](#fn-schedulemonthly_occurrencenew) constructor.\n\n**Returns**:\n - An attribute object that represents the `schedule` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.automation_software_update_configuration.schedule.new` constructs a new object with attributes and blocks configured for the `schedule`\nTerraform sub block.\n\n\n\n**Args**:\n - `advanced_month_days` (`list`): Set the `advanced_month_days` field on the resulting object. When `null`, the `advanced_month_days` field will be omitted from the resulting object.\n - `advanced_week_days` (`list`): Set the `advanced_week_days` field on the resulting object. When `null`, the `advanced_week_days` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `expiry_time` (`string`): Set the `expiry_time` field on the resulting object. When `null`, the `expiry_time` field will be omitted from the resulting object.\n - `expiry_time_offset_minutes` (`number`): Set the `expiry_time_offset_minutes` field on the resulting object. When `null`, the `expiry_time_offset_minutes` field will be omitted from the resulting object.\n - `frequency` (`string`): Set the `frequency` field on the resulting object.\n - `interval` (`number`): Set the `interval` field on the resulting object. When `null`, the `interval` field will be omitted from the resulting object.\n - `is_enabled` (`bool`): Set the `is_enabled` field on the resulting object. When `null`, the `is_enabled` field will be omitted from the resulting object.\n - `next_run` (`string`): Set the `next_run` field on the resulting object. When `null`, the `next_run` field will be omitted from the resulting object.\n - `next_run_offset_minutes` (`number`): Set the `next_run_offset_minutes` field on the resulting object. When `null`, the `next_run_offset_minutes` field will be omitted from the resulting object.\n - `start_time` (`string`): Set the `start_time` field on the resulting object. When `null`, the `start_time` field will be omitted from the resulting object.\n - `start_time_offset_minutes` (`number`): Set the `start_time_offset_minutes` field on the resulting object. When `null`, the `start_time_offset_minutes` field will be omitted from the resulting object.\n - `time_zone` (`string`): Set the `time_zone` field on the resulting object. When `null`, the `time_zone` field will be omitted from the resulting object.\n - `monthly_occurrence` (`list[obj]`): Set the `monthly_occurrence` field on the resulting object. When `null`, the `monthly_occurrence` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.schedule.monthly_occurrence.new](#fn-schedulemonthly_occurrencenew) constructor.\n\n**Returns**:\n - An attribute object that represents the `schedule` sub block.\n', args=[]), new( + frequency, advanced_month_days=null, advanced_week_days=null, description=null, expiry_time=null, expiry_time_offset_minutes=null, - frequency=null, interval=null, is_enabled=null, monthly_occurrence=null, diff --git a/3.x/_gen/resources/key_vault_managed_hardware_security_module.libsonnet b/3.x/_gen/resources/key_vault_managed_hardware_security_module.libsonnet index 726f43a5..acbfc273 100644 --- a/3.x/_gen/resources/key_vault_managed_hardware_security_module.libsonnet +++ b/3.x/_gen/resources/key_vault_managed_hardware_security_module.libsonnet @@ -12,7 +12,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); default_action: default_action, }), }, - '#new':: d.fn(help="\n`azurerm.key_vault_managed_hardware_security_module.new` injects a new `azurerm_key_vault_managed_hardware_security_module` 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.key_vault_managed_hardware_security_module.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.key_vault_managed_hardware_security_module` using the reference:\n\n $._ref.azurerm_key_vault_managed_hardware_security_module.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_key_vault_managed_hardware_security_module.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 - `admin_object_ids` (`list`): Set the `admin_object_ids` field on the resulting resource block.\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 - `purge_protection_enabled` (`bool`): Set the `purge_protection_enabled` field on the resulting resource block. When `null`, the `purge_protection_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_name` (`string`): Set the `sku_name` field on the resulting resource block.\n - `soft_delete_retention_days` (`number`): Set the `soft_delete_retention_days` field on the resulting resource block. When `null`, the `soft_delete_retention_days` 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 - `tenant_id` (`string`): Set the `tenant_id` field on the resulting resource block.\n - `network_acls` (`list[obj]`): Set the `network_acls` field on the resulting resource block. When `null`, the `network_acls` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.key_vault_managed_hardware_security_module.network_acls.new](#fn-network_aclsnew) 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.key_vault_managed_hardware_security_module.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.key_vault_managed_hardware_security_module.new` injects a new `azurerm_key_vault_managed_hardware_security_module` 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.key_vault_managed_hardware_security_module.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.key_vault_managed_hardware_security_module` using the reference:\n\n $._ref.azurerm_key_vault_managed_hardware_security_module.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_key_vault_managed_hardware_security_module.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 - `admin_object_ids` (`list`): Set the `admin_object_ids` field on the resulting resource block.\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 - `purge_protection_enabled` (`bool`): Set the `purge_protection_enabled` field on the resulting resource block. When `null`, the `purge_protection_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 - `security_domain_key_vault_certificate_ids` (`list`): Set the `security_domain_key_vault_certificate_ids` field on the resulting resource block. When `null`, the `security_domain_key_vault_certificate_ids` field will be omitted from the resulting object.\n - `security_domain_quorum` (`number`): Set the `security_domain_quorum` field on the resulting resource block. When `null`, the `security_domain_quorum` field will be omitted from the resulting object.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting resource block.\n - `soft_delete_retention_days` (`number`): Set the `soft_delete_retention_days` field on the resulting resource block. When `null`, the `soft_delete_retention_days` 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 - `tenant_id` (`string`): Set the `tenant_id` field on the resulting resource block.\n - `network_acls` (`list[obj]`): Set the `network_acls` field on the resulting resource block. When `null`, the `network_acls` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.key_vault_managed_hardware_security_module.network_acls.new](#fn-network_aclsnew) 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.key_vault_managed_hardware_security_module.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, admin_object_ids, @@ -24,6 +24,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); network_acls=null, public_network_access_enabled=null, purge_protection_enabled=null, + security_domain_key_vault_certificate_ids=null, + security_domain_quorum=null, soft_delete_retention_days=null, tags=null, timeouts=null, @@ -39,6 +41,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); public_network_access_enabled=public_network_access_enabled, purge_protection_enabled=purge_protection_enabled, resource_group_name=resource_group_name, + security_domain_key_vault_certificate_ids=security_domain_key_vault_certificate_ids, + security_domain_quorum=security_domain_quorum, sku_name=sku_name, soft_delete_retention_days=soft_delete_retention_days, tags=tags, @@ -47,7 +51,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.key_vault_managed_hardware_security_module.newAttrs` constructs a new object with attributes and blocks configured for the `key_vault_managed_hardware_security_module`\nTerraform resource.\n\nUnlike [azurerm.key_vault_managed_hardware_security_module.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 - `admin_object_ids` (`list`): Set the `admin_object_ids` field on 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 - `purge_protection_enabled` (`bool`): Set the `purge_protection_enabled` field on the resulting object. When `null`, the `purge_protection_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_name` (`string`): Set the `sku_name` field on the resulting object.\n - `soft_delete_retention_days` (`number`): Set the `soft_delete_retention_days` field on the resulting object. When `null`, the `soft_delete_retention_days` 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 - `tenant_id` (`string`): Set the `tenant_id` field on the resulting object.\n - `network_acls` (`list[obj]`): Set the `network_acls` field on the resulting object. When `null`, the `network_acls` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.key_vault_managed_hardware_security_module.network_acls.new](#fn-network_aclsnew) 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.key_vault_managed_hardware_security_module.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 `key_vault_managed_hardware_security_module` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.key_vault_managed_hardware_security_module.newAttrs` constructs a new object with attributes and blocks configured for the `key_vault_managed_hardware_security_module`\nTerraform resource.\n\nUnlike [azurerm.key_vault_managed_hardware_security_module.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 - `admin_object_ids` (`list`): Set the `admin_object_ids` field on 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 - `purge_protection_enabled` (`bool`): Set the `purge_protection_enabled` field on the resulting object. When `null`, the `purge_protection_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 - `security_domain_key_vault_certificate_ids` (`list`): Set the `security_domain_key_vault_certificate_ids` field on the resulting object. When `null`, the `security_domain_key_vault_certificate_ids` field will be omitted from the resulting object.\n - `security_domain_quorum` (`number`): Set the `security_domain_quorum` field on the resulting object. When `null`, the `security_domain_quorum` field will be omitted from the resulting object.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting object.\n - `soft_delete_retention_days` (`number`): Set the `soft_delete_retention_days` field on the resulting object. When `null`, the `soft_delete_retention_days` 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 - `tenant_id` (`string`): Set the `tenant_id` field on the resulting object.\n - `network_acls` (`list[obj]`): Set the `network_acls` field on the resulting object. When `null`, the `network_acls` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.key_vault_managed_hardware_security_module.network_acls.new](#fn-network_aclsnew) 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.key_vault_managed_hardware_security_module.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 `key_vault_managed_hardware_security_module` resource into the root Terraform configuration.\n', args=[]), newAttrs( admin_object_ids, location, @@ -58,6 +62,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); network_acls=null, public_network_access_enabled=null, purge_protection_enabled=null, + security_domain_key_vault_certificate_ids=null, + security_domain_quorum=null, soft_delete_retention_days=null, tags=null, timeouts=null @@ -69,6 +75,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); public_network_access_enabled: public_network_access_enabled, purge_protection_enabled: purge_protection_enabled, resource_group_name: resource_group_name, + security_domain_key_vault_certificate_ids: security_domain_key_vault_certificate_ids, + security_domain_quorum: security_domain_quorum, sku_name: sku_name, soft_delete_retention_days: soft_delete_retention_days, tags: tags, @@ -76,15 +84,17 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.key_vault_managed_hardware_security_module.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts`\nTerraform sub block.\n\n\n\n**Args**:\n - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object.\n - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object.\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':: d.fn(help='\n`azurerm.key_vault_managed_hardware_security_module.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts`\nTerraform sub block.\n\n\n\n**Args**:\n - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object.\n - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object.\n - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object.\n - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `timeouts` sub block.\n', args=[]), new( create=null, delete=null, - read=null + read=null, + update=null ):: std.prune(a={ create: create, delete: delete, read: read, + update: update, }), }, '#withAdminObjectIds':: d.fn(help='`azurerm.list.withAdminObjectIds` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the admin_object_ids field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list`): The value to set for the `admin_object_ids` field.\n', args=[]), @@ -167,6 +177,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withSecurityDomainKeyVaultCertificateIds':: d.fn(help='`azurerm.list.withSecurityDomainKeyVaultCertificateIds` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the security_domain_key_vault_certificate_ids field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list`): The value to set for the `security_domain_key_vault_certificate_ids` field.\n', args=[]), + withSecurityDomainKeyVaultCertificateIds(resourceLabel, value): { + resource+: { + azurerm_key_vault_managed_hardware_security_module+: { + [resourceLabel]+: { + security_domain_key_vault_certificate_ids: value, + }, + }, + }, + }, + '#withSecurityDomainQuorum':: d.fn(help='`azurerm.number.withSecurityDomainQuorum` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the security_domain_quorum field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`number`): The value to set for the `security_domain_quorum` field.\n', args=[]), + withSecurityDomainQuorum(resourceLabel, value): { + resource+: { + azurerm_key_vault_managed_hardware_security_module+: { + [resourceLabel]+: { + security_domain_quorum: value, + }, + }, + }, + }, '#withSkuName':: d.fn(help='`azurerm.string.withSkuName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the sku_name 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 `sku_name` field.\n', args=[]), withSkuName(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/kubernetes_cluster.libsonnet b/3.x/_gen/resources/kubernetes_cluster.libsonnet index f2e58356..a84bf187 100644 --- a/3.x/_gen/resources/kubernetes_cluster.libsonnet +++ b/3.x/_gen/resources/kubernetes_cluster.libsonnet @@ -408,6 +408,78 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, }, + maintenance_window_auto_upgrade:: { + '#new':: d.fn(help='\n`azurerm.kubernetes_cluster.maintenance_window_auto_upgrade.new` constructs a new object with attributes and blocks configured for the `maintenance_window_auto_upgrade`\nTerraform sub block.\n\n\n\n**Args**:\n - `day_of_month` (`number`): Set the `day_of_month` field on the resulting object. When `null`, the `day_of_month` field will be omitted from the resulting object.\n - `day_of_week` (`string`): Set the `day_of_week` field on the resulting object. When `null`, the `day_of_week` field will be omitted from the resulting object.\n - `duration` (`number`): Set the `duration` field on the resulting object.\n - `frequency` (`string`): Set the `frequency` field on the resulting object.\n - `interval` (`number`): Set the `interval` field on the resulting object.\n - `start_date` (`string`): Set the `start_date` field on the resulting object. When `null`, the `start_date` field will be omitted from the resulting object.\n - `start_time` (`string`): Set the `start_time` field on the resulting object. When `null`, the `start_time` field will be omitted from the resulting object.\n - `utc_offset` (`string`): Set the `utc_offset` field on the resulting object. When `null`, the `utc_offset` field will be omitted from the resulting object.\n - `week_index` (`string`): Set the `week_index` field on the resulting object. When `null`, the `week_index` field will be omitted from the resulting object.\n - `not_allowed` (`list[obj]`): Set the `not_allowed` field on the resulting object. When `null`, the `not_allowed` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_auto_upgrade.not_allowed.new](#fn-maintenance_window_auto_upgradenot_allowednew) constructor.\n\n**Returns**:\n - An attribute object that represents the `maintenance_window_auto_upgrade` sub block.\n', args=[]), + new( + duration, + frequency, + interval, + day_of_month=null, + day_of_week=null, + not_allowed=null, + start_date=null, + start_time=null, + utc_offset=null, + week_index=null + ):: std.prune(a={ + day_of_month: day_of_month, + day_of_week: day_of_week, + duration: duration, + frequency: frequency, + interval: interval, + not_allowed: not_allowed, + start_date: start_date, + start_time: start_time, + utc_offset: utc_offset, + week_index: week_index, + }), + not_allowed:: { + '#new':: d.fn(help='\n`azurerm.kubernetes_cluster.maintenance_window_auto_upgrade.not_allowed.new` constructs a new object with attributes and blocks configured for the `not_allowed`\nTerraform sub block.\n\n\n\n**Args**:\n - `end` (`string`): Set the `end` field on the resulting object.\n - `start` (`string`): Set the `start` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `not_allowed` sub block.\n', args=[]), + new( + end, + start + ):: std.prune(a={ + end: end, + start: start, + }), + }, + }, + maintenance_window_node_os:: { + '#new':: d.fn(help='\n`azurerm.kubernetes_cluster.maintenance_window_node_os.new` constructs a new object with attributes and blocks configured for the `maintenance_window_node_os`\nTerraform sub block.\n\n\n\n**Args**:\n - `day_of_month` (`number`): Set the `day_of_month` field on the resulting object. When `null`, the `day_of_month` field will be omitted from the resulting object.\n - `day_of_week` (`string`): Set the `day_of_week` field on the resulting object. When `null`, the `day_of_week` field will be omitted from the resulting object.\n - `duration` (`number`): Set the `duration` field on the resulting object.\n - `frequency` (`string`): Set the `frequency` field on the resulting object.\n - `interval` (`number`): Set the `interval` field on the resulting object.\n - `start_date` (`string`): Set the `start_date` field on the resulting object. When `null`, the `start_date` field will be omitted from the resulting object.\n - `start_time` (`string`): Set the `start_time` field on the resulting object. When `null`, the `start_time` field will be omitted from the resulting object.\n - `utc_offset` (`string`): Set the `utc_offset` field on the resulting object. When `null`, the `utc_offset` field will be omitted from the resulting object.\n - `week_index` (`string`): Set the `week_index` field on the resulting object. When `null`, the `week_index` field will be omitted from the resulting object.\n - `not_allowed` (`list[obj]`): Set the `not_allowed` field on the resulting object. When `null`, the `not_allowed` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_node_os.not_allowed.new](#fn-maintenance_window_node_osnot_allowednew) constructor.\n\n**Returns**:\n - An attribute object that represents the `maintenance_window_node_os` sub block.\n', args=[]), + new( + duration, + frequency, + interval, + day_of_month=null, + day_of_week=null, + not_allowed=null, + start_date=null, + start_time=null, + utc_offset=null, + week_index=null + ):: std.prune(a={ + day_of_month: day_of_month, + day_of_week: day_of_week, + duration: duration, + frequency: frequency, + interval: interval, + not_allowed: not_allowed, + start_date: start_date, + start_time: start_time, + utc_offset: utc_offset, + week_index: week_index, + }), + not_allowed:: { + '#new':: d.fn(help='\n`azurerm.kubernetes_cluster.maintenance_window_node_os.not_allowed.new` constructs a new object with attributes and blocks configured for the `not_allowed`\nTerraform sub block.\n\n\n\n**Args**:\n - `end` (`string`): Set the `end` field on the resulting object.\n - `start` (`string`): Set the `start` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `not_allowed` sub block.\n', args=[]), + new( + end, + start + ):: std.prune(a={ + end: end, + start: start, + }), + }, + }, microsoft_defender:: { '#new':: d.fn(help='\n`azurerm.kubernetes_cluster.microsoft_defender.new` constructs a new object with attributes and blocks configured for the `microsoft_defender`\nTerraform sub block.\n\n\n\n**Args**:\n - `log_analytics_workspace_id` (`string`): Set the `log_analytics_workspace_id` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `microsoft_defender` sub block.\n', args=[]), new( @@ -492,7 +564,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); service_cidrs: service_cidrs, }), }, - '#new':: d.fn(help="\n`azurerm.kubernetes_cluster.new` injects a new `azurerm_kubernetes_cluster` 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.kubernetes_cluster.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.kubernetes_cluster` using the reference:\n\n $._ref.azurerm_kubernetes_cluster.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_kubernetes_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 - `resourceLabel` (`string`): The name label of the block.\n - `api_server_authorized_ip_ranges` (`list`): Set the `api_server_authorized_ip_ranges` field on the resulting resource block. When `null`, the `api_server_authorized_ip_ranges` field will be omitted from the resulting object.\n - `automatic_channel_upgrade` (`string`): Set the `automatic_channel_upgrade` field on the resulting resource block. When `null`, the `automatic_channel_upgrade` field will be omitted from the resulting object.\n - `azure_policy_enabled` (`bool`): Set the `azure_policy_enabled` field on the resulting resource block. When `null`, the `azure_policy_enabled` field will be omitted from the resulting object.\n - `disk_encryption_set_id` (`string`): Set the `disk_encryption_set_id` field on the resulting resource block. When `null`, the `disk_encryption_set_id` field will be omitted from the resulting object.\n - `dns_prefix` (`string`): Set the `dns_prefix` field on the resulting resource block. When `null`, the `dns_prefix` field will be omitted from the resulting object.\n - `dns_prefix_private_cluster` (`string`): Set the `dns_prefix_private_cluster` field on the resulting resource block. When `null`, the `dns_prefix_private_cluster` field will be omitted from the resulting object.\n - `edge_zone` (`string`): Set the `edge_zone` field on the resulting resource block. When `null`, the `edge_zone` field will be omitted from the resulting object.\n - `enable_pod_security_policy` (`bool`): Set the `enable_pod_security_policy` field on the resulting resource block. When `null`, the `enable_pod_security_policy` field will be omitted from the resulting object.\n - `http_application_routing_enabled` (`bool`): Set the `http_application_routing_enabled` field on the resulting resource block. When `null`, the `http_application_routing_enabled` field will be omitted from the resulting object.\n - `image_cleaner_enabled` (`bool`): Set the `image_cleaner_enabled` field on the resulting resource block. When `null`, the `image_cleaner_enabled` field will be omitted from the resulting object.\n - `image_cleaner_interval_hours` (`number`): Set the `image_cleaner_interval_hours` field on the resulting resource block. When `null`, the `image_cleaner_interval_hours` field will be omitted from the resulting object.\n - `kubernetes_version` (`string`): Set the `kubernetes_version` field on the resulting resource block. When `null`, the `kubernetes_version` field will be omitted from the resulting object.\n - `local_account_disabled` (`bool`): Set the `local_account_disabled` field on the resulting resource block. When `null`, the `local_account_disabled` 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 - `node_os_channel_upgrade` (`string`): Set the `node_os_channel_upgrade` field on the resulting resource block. When `null`, the `node_os_channel_upgrade` field will be omitted from the resulting object.\n - `node_resource_group` (`string`): Set the `node_resource_group` field on the resulting resource block. When `null`, the `node_resource_group` field will be omitted from the resulting object.\n - `oidc_issuer_enabled` (`bool`): Set the `oidc_issuer_enabled` field on the resulting resource block. When `null`, the `oidc_issuer_enabled` field will be omitted from the resulting object.\n - `open_service_mesh_enabled` (`bool`): Set the `open_service_mesh_enabled` field on the resulting resource block. When `null`, the `open_service_mesh_enabled` field will be omitted from the resulting object.\n - `private_cluster_enabled` (`bool`): Set the `private_cluster_enabled` field on the resulting resource block. When `null`, the `private_cluster_enabled` field will be omitted from the resulting object.\n - `private_cluster_public_fqdn_enabled` (`bool`): Set the `private_cluster_public_fqdn_enabled` field on the resulting resource block. When `null`, the `private_cluster_public_fqdn_enabled` field will be omitted from the resulting object.\n - `private_dns_zone_id` (`string`): Set the `private_dns_zone_id` field on the resulting resource block. When `null`, the `private_dns_zone_id` field will be omitted from the resulting object.\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 - `role_based_access_control_enabled` (`bool`): Set the `role_based_access_control_enabled` field on the resulting resource block. When `null`, the `role_based_access_control_enabled` field will be omitted from the resulting object.\n - `run_command_enabled` (`bool`): Set the `run_command_enabled` field on the resulting resource block. When `null`, the `run_command_enabled` field will be omitted from the resulting object.\n - `sku_tier` (`string`): Set the `sku_tier` field on the resulting resource block. When `null`, the `sku_tier` 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 - `workload_identity_enabled` (`bool`): Set the `workload_identity_enabled` field on the resulting resource block. When `null`, the `workload_identity_enabled` field will be omitted from the resulting object.\n - `aci_connector_linux` (`list[obj]`): Set the `aci_connector_linux` field on the resulting resource block. When `null`, the `aci_connector_linux` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.aci_connector_linux.new](#fn-aci_connector_linuxnew) constructor.\n - `api_server_access_profile` (`list[obj]`): Set the `api_server_access_profile` field on the resulting resource block. When `null`, the `api_server_access_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.api_server_access_profile.new](#fn-api_server_access_profilenew) constructor.\n - `auto_scaler_profile` (`list[obj]`): Set the `auto_scaler_profile` field on the resulting resource block. When `null`, the `auto_scaler_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.auto_scaler_profile.new](#fn-auto_scaler_profilenew) constructor.\n - `azure_active_directory_role_based_access_control` (`list[obj]`): Set the `azure_active_directory_role_based_access_control` field on the resulting resource block. When `null`, the `azure_active_directory_role_based_access_control` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.azure_active_directory_role_based_access_control.new](#fn-azure_active_directory_role_based_access_controlnew) constructor.\n - `confidential_computing` (`list[obj]`): Set the `confidential_computing` field on the resulting resource block. When `null`, the `confidential_computing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.confidential_computing.new](#fn-confidential_computingnew) constructor.\n - `default_node_pool` (`list[obj]`): Set the `default_node_pool` field on the resulting resource block. When `null`, the `default_node_pool` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.default_node_pool.new](#fn-default_node_poolnew) constructor.\n - `http_proxy_config` (`list[obj]`): Set the `http_proxy_config` field on the resulting resource block. When `null`, the `http_proxy_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.http_proxy_config.new](#fn-http_proxy_confignew) 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.kubernetes_cluster.identity.new](#fn-identitynew) constructor.\n - `ingress_application_gateway` (`list[obj]`): Set the `ingress_application_gateway` field on the resulting resource block. When `null`, the `ingress_application_gateway` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.ingress_application_gateway.new](#fn-ingress_application_gatewaynew) constructor.\n - `key_management_service` (`list[obj]`): Set the `key_management_service` field on the resulting resource block. When `null`, the `key_management_service` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.key_management_service.new](#fn-key_management_servicenew) constructor.\n - `key_vault_secrets_provider` (`list[obj]`): Set the `key_vault_secrets_provider` field on the resulting resource block. When `null`, the `key_vault_secrets_provider` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.key_vault_secrets_provider.new](#fn-key_vault_secrets_providernew) constructor.\n - `kubelet_identity` (`list[obj]`): Set the `kubelet_identity` field on the resulting resource block. When `null`, the `kubelet_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.kubernetes_cluster.kubelet_identity.new](#fn-kubelet_identitynew) constructor.\n - `linux_profile` (`list[obj]`): Set the `linux_profile` field on the resulting resource block. When `null`, the `linux_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.linux_profile.new](#fn-linux_profilenew) constructor.\n - `maintenance_window` (`list[obj]`): Set the `maintenance_window` field on the resulting resource block. When `null`, the `maintenance_window` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window.new](#fn-maintenance_windownew) constructor.\n - `microsoft_defender` (`list[obj]`): Set the `microsoft_defender` field on the resulting resource block. When `null`, the `microsoft_defender` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.microsoft_defender.new](#fn-microsoft_defendernew) constructor.\n - `monitor_metrics` (`list[obj]`): Set the `monitor_metrics` field on the resulting resource block. When `null`, the `monitor_metrics` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.monitor_metrics.new](#fn-monitor_metricsnew) constructor.\n - `network_profile` (`list[obj]`): Set the `network_profile` field on the resulting resource block. When `null`, the `network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.network_profile.new](#fn-network_profilenew) constructor.\n - `oms_agent` (`list[obj]`): Set the `oms_agent` field on the resulting resource block. When `null`, the `oms_agent` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.oms_agent.new](#fn-oms_agentnew) constructor.\n - `service_mesh_profile` (`list[obj]`): Set the `service_mesh_profile` field on the resulting resource block. When `null`, the `service_mesh_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.service_mesh_profile.new](#fn-service_mesh_profilenew) constructor.\n - `service_principal` (`list[obj]`): Set the `service_principal` field on the resulting resource block. When `null`, the `service_principal` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.service_principal.new](#fn-service_principalnew) constructor.\n - `storage_profile` (`list[obj]`): Set the `storage_profile` field on the resulting resource block. When `null`, the `storage_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.storage_profile.new](#fn-storage_profilenew) 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.kubernetes_cluster.timeouts.new](#fn-timeoutsnew) constructor.\n - `web_app_routing` (`list[obj]`): Set the `web_app_routing` field on the resulting resource block. When `null`, the `web_app_routing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.web_app_routing.new](#fn-web_app_routingnew) constructor.\n - `windows_profile` (`list[obj]`): Set the `windows_profile` field on the resulting resource block. When `null`, the `windows_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.windows_profile.new](#fn-windows_profilenew) constructor.\n - `workload_autoscaler_profile` (`list[obj]`): Set the `workload_autoscaler_profile` field on the resulting resource block. When `null`, the `workload_autoscaler_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.workload_autoscaler_profile.new](#fn-workload_autoscaler_profilenew) 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.kubernetes_cluster.new` injects a new `azurerm_kubernetes_cluster` 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.kubernetes_cluster.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.kubernetes_cluster` using the reference:\n\n $._ref.azurerm_kubernetes_cluster.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_kubernetes_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 - `resourceLabel` (`string`): The name label of the block.\n - `api_server_authorized_ip_ranges` (`list`): Set the `api_server_authorized_ip_ranges` field on the resulting resource block. When `null`, the `api_server_authorized_ip_ranges` field will be omitted from the resulting object.\n - `automatic_channel_upgrade` (`string`): Set the `automatic_channel_upgrade` field on the resulting resource block. When `null`, the `automatic_channel_upgrade` field will be omitted from the resulting object.\n - `azure_policy_enabled` (`bool`): Set the `azure_policy_enabled` field on the resulting resource block. When `null`, the `azure_policy_enabled` field will be omitted from the resulting object.\n - `custom_ca_trust_certificates_base64` (`list`): Set the `custom_ca_trust_certificates_base64` field on the resulting resource block. When `null`, the `custom_ca_trust_certificates_base64` field will be omitted from the resulting object.\n - `disk_encryption_set_id` (`string`): Set the `disk_encryption_set_id` field on the resulting resource block. When `null`, the `disk_encryption_set_id` field will be omitted from the resulting object.\n - `dns_prefix` (`string`): Set the `dns_prefix` field on the resulting resource block. When `null`, the `dns_prefix` field will be omitted from the resulting object.\n - `dns_prefix_private_cluster` (`string`): Set the `dns_prefix_private_cluster` field on the resulting resource block. When `null`, the `dns_prefix_private_cluster` field will be omitted from the resulting object.\n - `edge_zone` (`string`): Set the `edge_zone` field on the resulting resource block. When `null`, the `edge_zone` field will be omitted from the resulting object.\n - `enable_pod_security_policy` (`bool`): Set the `enable_pod_security_policy` field on the resulting resource block. When `null`, the `enable_pod_security_policy` field will be omitted from the resulting object.\n - `http_application_routing_enabled` (`bool`): Set the `http_application_routing_enabled` field on the resulting resource block. When `null`, the `http_application_routing_enabled` field will be omitted from the resulting object.\n - `image_cleaner_enabled` (`bool`): Set the `image_cleaner_enabled` field on the resulting resource block. When `null`, the `image_cleaner_enabled` field will be omitted from the resulting object.\n - `image_cleaner_interval_hours` (`number`): Set the `image_cleaner_interval_hours` field on the resulting resource block. When `null`, the `image_cleaner_interval_hours` field will be omitted from the resulting object.\n - `kubernetes_version` (`string`): Set the `kubernetes_version` field on the resulting resource block. When `null`, the `kubernetes_version` field will be omitted from the resulting object.\n - `local_account_disabled` (`bool`): Set the `local_account_disabled` field on the resulting resource block. When `null`, the `local_account_disabled` 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 - `node_os_channel_upgrade` (`string`): Set the `node_os_channel_upgrade` field on the resulting resource block. When `null`, the `node_os_channel_upgrade` field will be omitted from the resulting object.\n - `node_resource_group` (`string`): Set the `node_resource_group` field on the resulting resource block. When `null`, the `node_resource_group` field will be omitted from the resulting object.\n - `oidc_issuer_enabled` (`bool`): Set the `oidc_issuer_enabled` field on the resulting resource block. When `null`, the `oidc_issuer_enabled` field will be omitted from the resulting object.\n - `open_service_mesh_enabled` (`bool`): Set the `open_service_mesh_enabled` field on the resulting resource block. When `null`, the `open_service_mesh_enabled` field will be omitted from the resulting object.\n - `private_cluster_enabled` (`bool`): Set the `private_cluster_enabled` field on the resulting resource block. When `null`, the `private_cluster_enabled` field will be omitted from the resulting object.\n - `private_cluster_public_fqdn_enabled` (`bool`): Set the `private_cluster_public_fqdn_enabled` field on the resulting resource block. When `null`, the `private_cluster_public_fqdn_enabled` field will be omitted from the resulting object.\n - `private_dns_zone_id` (`string`): Set the `private_dns_zone_id` field on the resulting resource block. When `null`, the `private_dns_zone_id` field will be omitted from the resulting object.\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 - `role_based_access_control_enabled` (`bool`): Set the `role_based_access_control_enabled` field on the resulting resource block. When `null`, the `role_based_access_control_enabled` field will be omitted from the resulting object.\n - `run_command_enabled` (`bool`): Set the `run_command_enabled` field on the resulting resource block. When `null`, the `run_command_enabled` field will be omitted from the resulting object.\n - `sku_tier` (`string`): Set the `sku_tier` field on the resulting resource block. When `null`, the `sku_tier` 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 - `workload_identity_enabled` (`bool`): Set the `workload_identity_enabled` field on the resulting resource block. When `null`, the `workload_identity_enabled` field will be omitted from the resulting object.\n - `aci_connector_linux` (`list[obj]`): Set the `aci_connector_linux` field on the resulting resource block. When `null`, the `aci_connector_linux` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.aci_connector_linux.new](#fn-aci_connector_linuxnew) constructor.\n - `api_server_access_profile` (`list[obj]`): Set the `api_server_access_profile` field on the resulting resource block. When `null`, the `api_server_access_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.api_server_access_profile.new](#fn-api_server_access_profilenew) constructor.\n - `auto_scaler_profile` (`list[obj]`): Set the `auto_scaler_profile` field on the resulting resource block. When `null`, the `auto_scaler_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.auto_scaler_profile.new](#fn-auto_scaler_profilenew) constructor.\n - `azure_active_directory_role_based_access_control` (`list[obj]`): Set the `azure_active_directory_role_based_access_control` field on the resulting resource block. When `null`, the `azure_active_directory_role_based_access_control` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.azure_active_directory_role_based_access_control.new](#fn-azure_active_directory_role_based_access_controlnew) constructor.\n - `confidential_computing` (`list[obj]`): Set the `confidential_computing` field on the resulting resource block. When `null`, the `confidential_computing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.confidential_computing.new](#fn-confidential_computingnew) constructor.\n - `default_node_pool` (`list[obj]`): Set the `default_node_pool` field on the resulting resource block. When `null`, the `default_node_pool` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.default_node_pool.new](#fn-default_node_poolnew) constructor.\n - `http_proxy_config` (`list[obj]`): Set the `http_proxy_config` field on the resulting resource block. When `null`, the `http_proxy_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.http_proxy_config.new](#fn-http_proxy_confignew) 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.kubernetes_cluster.identity.new](#fn-identitynew) constructor.\n - `ingress_application_gateway` (`list[obj]`): Set the `ingress_application_gateway` field on the resulting resource block. When `null`, the `ingress_application_gateway` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.ingress_application_gateway.new](#fn-ingress_application_gatewaynew) constructor.\n - `key_management_service` (`list[obj]`): Set the `key_management_service` field on the resulting resource block. When `null`, the `key_management_service` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.key_management_service.new](#fn-key_management_servicenew) constructor.\n - `key_vault_secrets_provider` (`list[obj]`): Set the `key_vault_secrets_provider` field on the resulting resource block. When `null`, the `key_vault_secrets_provider` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.key_vault_secrets_provider.new](#fn-key_vault_secrets_providernew) constructor.\n - `kubelet_identity` (`list[obj]`): Set the `kubelet_identity` field on the resulting resource block. When `null`, the `kubelet_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.kubernetes_cluster.kubelet_identity.new](#fn-kubelet_identitynew) constructor.\n - `linux_profile` (`list[obj]`): Set the `linux_profile` field on the resulting resource block. When `null`, the `linux_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.linux_profile.new](#fn-linux_profilenew) constructor.\n - `maintenance_window` (`list[obj]`): Set the `maintenance_window` field on the resulting resource block. When `null`, the `maintenance_window` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window.new](#fn-maintenance_windownew) constructor.\n - `maintenance_window_auto_upgrade` (`list[obj]`): Set the `maintenance_window_auto_upgrade` field on the resulting resource block. When `null`, the `maintenance_window_auto_upgrade` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_auto_upgrade.new](#fn-maintenance_window_auto_upgradenew) constructor.\n - `maintenance_window_node_os` (`list[obj]`): Set the `maintenance_window_node_os` field on the resulting resource block. When `null`, the `maintenance_window_node_os` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_node_os.new](#fn-maintenance_window_node_osnew) constructor.\n - `microsoft_defender` (`list[obj]`): Set the `microsoft_defender` field on the resulting resource block. When `null`, the `microsoft_defender` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.microsoft_defender.new](#fn-microsoft_defendernew) constructor.\n - `monitor_metrics` (`list[obj]`): Set the `monitor_metrics` field on the resulting resource block. When `null`, the `monitor_metrics` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.monitor_metrics.new](#fn-monitor_metricsnew) constructor.\n - `network_profile` (`list[obj]`): Set the `network_profile` field on the resulting resource block. When `null`, the `network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.network_profile.new](#fn-network_profilenew) constructor.\n - `oms_agent` (`list[obj]`): Set the `oms_agent` field on the resulting resource block. When `null`, the `oms_agent` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.oms_agent.new](#fn-oms_agentnew) constructor.\n - `service_mesh_profile` (`list[obj]`): Set the `service_mesh_profile` field on the resulting resource block. When `null`, the `service_mesh_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.service_mesh_profile.new](#fn-service_mesh_profilenew) constructor.\n - `service_principal` (`list[obj]`): Set the `service_principal` field on the resulting resource block. When `null`, the `service_principal` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.service_principal.new](#fn-service_principalnew) constructor.\n - `storage_profile` (`list[obj]`): Set the `storage_profile` field on the resulting resource block. When `null`, the `storage_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.storage_profile.new](#fn-storage_profilenew) 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.kubernetes_cluster.timeouts.new](#fn-timeoutsnew) constructor.\n - `web_app_routing` (`list[obj]`): Set the `web_app_routing` field on the resulting resource block. When `null`, the `web_app_routing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.web_app_routing.new](#fn-web_app_routingnew) constructor.\n - `windows_profile` (`list[obj]`): Set the `windows_profile` field on the resulting resource block. When `null`, the `windows_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.windows_profile.new](#fn-windows_profilenew) constructor.\n - `workload_autoscaler_profile` (`list[obj]`): Set the `workload_autoscaler_profile` field on the resulting resource block. When `null`, the `workload_autoscaler_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.workload_autoscaler_profile.new](#fn-workload_autoscaler_profilenew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, location, @@ -506,6 +578,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); azure_active_directory_role_based_access_control=null, azure_policy_enabled=null, confidential_computing=null, + custom_ca_trust_certificates_base64=null, default_node_pool=null, disk_encryption_set_id=null, dns_prefix=null, @@ -525,6 +598,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); linux_profile=null, local_account_disabled=null, maintenance_window=null, + maintenance_window_auto_upgrade=null, + maintenance_window_node_os=null, microsoft_defender=null, monitor_metrics=null, network_profile=null, @@ -562,6 +637,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); azure_active_directory_role_based_access_control=azure_active_directory_role_based_access_control, azure_policy_enabled=azure_policy_enabled, confidential_computing=confidential_computing, + custom_ca_trust_certificates_base64=custom_ca_trust_certificates_base64, default_node_pool=default_node_pool, disk_encryption_set_id=disk_encryption_set_id, dns_prefix=dns_prefix, @@ -582,6 +658,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); local_account_disabled=local_account_disabled, location=location, maintenance_window=maintenance_window, + maintenance_window_auto_upgrade=maintenance_window_auto_upgrade, + maintenance_window_node_os=maintenance_window_node_os, microsoft_defender=microsoft_defender, monitor_metrics=monitor_metrics, name=name, @@ -611,7 +689,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.kubernetes_cluster.newAttrs` constructs a new object with attributes and blocks configured for the `kubernetes_cluster`\nTerraform resource.\n\nUnlike [azurerm.kubernetes_cluster.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_server_authorized_ip_ranges` (`list`): Set the `api_server_authorized_ip_ranges` field on the resulting object. When `null`, the `api_server_authorized_ip_ranges` field will be omitted from the resulting object.\n - `automatic_channel_upgrade` (`string`): Set the `automatic_channel_upgrade` field on the resulting object. When `null`, the `automatic_channel_upgrade` field will be omitted from the resulting object.\n - `azure_policy_enabled` (`bool`): Set the `azure_policy_enabled` field on the resulting object. When `null`, the `azure_policy_enabled` field will be omitted from the resulting object.\n - `disk_encryption_set_id` (`string`): Set the `disk_encryption_set_id` field on the resulting object. When `null`, the `disk_encryption_set_id` field will be omitted from the resulting object.\n - `dns_prefix` (`string`): Set the `dns_prefix` field on the resulting object. When `null`, the `dns_prefix` field will be omitted from the resulting object.\n - `dns_prefix_private_cluster` (`string`): Set the `dns_prefix_private_cluster` field on the resulting object. When `null`, the `dns_prefix_private_cluster` field will be omitted from the resulting object.\n - `edge_zone` (`string`): Set the `edge_zone` field on the resulting object. When `null`, the `edge_zone` field will be omitted from the resulting object.\n - `enable_pod_security_policy` (`bool`): Set the `enable_pod_security_policy` field on the resulting object. When `null`, the `enable_pod_security_policy` field will be omitted from the resulting object.\n - `http_application_routing_enabled` (`bool`): Set the `http_application_routing_enabled` field on the resulting object. When `null`, the `http_application_routing_enabled` field will be omitted from the resulting object.\n - `image_cleaner_enabled` (`bool`): Set the `image_cleaner_enabled` field on the resulting object. When `null`, the `image_cleaner_enabled` field will be omitted from the resulting object.\n - `image_cleaner_interval_hours` (`number`): Set the `image_cleaner_interval_hours` field on the resulting object. When `null`, the `image_cleaner_interval_hours` field will be omitted from the resulting object.\n - `kubernetes_version` (`string`): Set the `kubernetes_version` field on the resulting object. When `null`, the `kubernetes_version` field will be omitted from the resulting object.\n - `local_account_disabled` (`bool`): Set the `local_account_disabled` field on the resulting object. When `null`, the `local_account_disabled` 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 - `node_os_channel_upgrade` (`string`): Set the `node_os_channel_upgrade` field on the resulting object. When `null`, the `node_os_channel_upgrade` field will be omitted from the resulting object.\n - `node_resource_group` (`string`): Set the `node_resource_group` field on the resulting object. When `null`, the `node_resource_group` field will be omitted from the resulting object.\n - `oidc_issuer_enabled` (`bool`): Set the `oidc_issuer_enabled` field on the resulting object. When `null`, the `oidc_issuer_enabled` field will be omitted from the resulting object.\n - `open_service_mesh_enabled` (`bool`): Set the `open_service_mesh_enabled` field on the resulting object. When `null`, the `open_service_mesh_enabled` field will be omitted from the resulting object.\n - `private_cluster_enabled` (`bool`): Set the `private_cluster_enabled` field on the resulting object. When `null`, the `private_cluster_enabled` field will be omitted from the resulting object.\n - `private_cluster_public_fqdn_enabled` (`bool`): Set the `private_cluster_public_fqdn_enabled` field on the resulting object. When `null`, the `private_cluster_public_fqdn_enabled` field will be omitted from the resulting object.\n - `private_dns_zone_id` (`string`): Set the `private_dns_zone_id` field on the resulting object. When `null`, the `private_dns_zone_id` field will be omitted from 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 - `role_based_access_control_enabled` (`bool`): Set the `role_based_access_control_enabled` field on the resulting object. When `null`, the `role_based_access_control_enabled` field will be omitted from the resulting object.\n - `run_command_enabled` (`bool`): Set the `run_command_enabled` field on the resulting object. When `null`, the `run_command_enabled` field will be omitted from the resulting object.\n - `sku_tier` (`string`): Set the `sku_tier` field on the resulting object. When `null`, the `sku_tier` 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 - `workload_identity_enabled` (`bool`): Set the `workload_identity_enabled` field on the resulting object. When `null`, the `workload_identity_enabled` field will be omitted from the resulting object.\n - `aci_connector_linux` (`list[obj]`): Set the `aci_connector_linux` field on the resulting object. When `null`, the `aci_connector_linux` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.aci_connector_linux.new](#fn-aci_connector_linuxnew) constructor.\n - `api_server_access_profile` (`list[obj]`): Set the `api_server_access_profile` field on the resulting object. When `null`, the `api_server_access_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.api_server_access_profile.new](#fn-api_server_access_profilenew) constructor.\n - `auto_scaler_profile` (`list[obj]`): Set the `auto_scaler_profile` field on the resulting object. When `null`, the `auto_scaler_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.auto_scaler_profile.new](#fn-auto_scaler_profilenew) constructor.\n - `azure_active_directory_role_based_access_control` (`list[obj]`): Set the `azure_active_directory_role_based_access_control` field on the resulting object. When `null`, the `azure_active_directory_role_based_access_control` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.azure_active_directory_role_based_access_control.new](#fn-azure_active_directory_role_based_access_controlnew) constructor.\n - `confidential_computing` (`list[obj]`): Set the `confidential_computing` field on the resulting object. When `null`, the `confidential_computing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.confidential_computing.new](#fn-confidential_computingnew) constructor.\n - `default_node_pool` (`list[obj]`): Set the `default_node_pool` field on the resulting object. When `null`, the `default_node_pool` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.default_node_pool.new](#fn-default_node_poolnew) constructor.\n - `http_proxy_config` (`list[obj]`): Set the `http_proxy_config` field on the resulting object. When `null`, the `http_proxy_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.http_proxy_config.new](#fn-http_proxy_confignew) 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.kubernetes_cluster.identity.new](#fn-identitynew) constructor.\n - `ingress_application_gateway` (`list[obj]`): Set the `ingress_application_gateway` field on the resulting object. When `null`, the `ingress_application_gateway` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.ingress_application_gateway.new](#fn-ingress_application_gatewaynew) constructor.\n - `key_management_service` (`list[obj]`): Set the `key_management_service` field on the resulting object. When `null`, the `key_management_service` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.key_management_service.new](#fn-key_management_servicenew) constructor.\n - `key_vault_secrets_provider` (`list[obj]`): Set the `key_vault_secrets_provider` field on the resulting object. When `null`, the `key_vault_secrets_provider` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.key_vault_secrets_provider.new](#fn-key_vault_secrets_providernew) constructor.\n - `kubelet_identity` (`list[obj]`): Set the `kubelet_identity` field on the resulting object. When `null`, the `kubelet_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.kubernetes_cluster.kubelet_identity.new](#fn-kubelet_identitynew) constructor.\n - `linux_profile` (`list[obj]`): Set the `linux_profile` field on the resulting object. When `null`, the `linux_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.linux_profile.new](#fn-linux_profilenew) constructor.\n - `maintenance_window` (`list[obj]`): Set the `maintenance_window` field on the resulting object. When `null`, the `maintenance_window` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window.new](#fn-maintenance_windownew) constructor.\n - `microsoft_defender` (`list[obj]`): Set the `microsoft_defender` field on the resulting object. When `null`, the `microsoft_defender` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.microsoft_defender.new](#fn-microsoft_defendernew) constructor.\n - `monitor_metrics` (`list[obj]`): Set the `monitor_metrics` field on the resulting object. When `null`, the `monitor_metrics` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.monitor_metrics.new](#fn-monitor_metricsnew) constructor.\n - `network_profile` (`list[obj]`): Set the `network_profile` field on the resulting object. When `null`, the `network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.network_profile.new](#fn-network_profilenew) constructor.\n - `oms_agent` (`list[obj]`): Set the `oms_agent` field on the resulting object. When `null`, the `oms_agent` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.oms_agent.new](#fn-oms_agentnew) constructor.\n - `service_mesh_profile` (`list[obj]`): Set the `service_mesh_profile` field on the resulting object. When `null`, the `service_mesh_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.service_mesh_profile.new](#fn-service_mesh_profilenew) constructor.\n - `service_principal` (`list[obj]`): Set the `service_principal` field on the resulting object. When `null`, the `service_principal` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.service_principal.new](#fn-service_principalnew) constructor.\n - `storage_profile` (`list[obj]`): Set the `storage_profile` field on the resulting object. When `null`, the `storage_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.storage_profile.new](#fn-storage_profilenew) 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.kubernetes_cluster.timeouts.new](#fn-timeoutsnew) constructor.\n - `web_app_routing` (`list[obj]`): Set the `web_app_routing` field on the resulting object. When `null`, the `web_app_routing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.web_app_routing.new](#fn-web_app_routingnew) constructor.\n - `windows_profile` (`list[obj]`): Set the `windows_profile` field on the resulting object. When `null`, the `windows_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.windows_profile.new](#fn-windows_profilenew) constructor.\n - `workload_autoscaler_profile` (`list[obj]`): Set the `workload_autoscaler_profile` field on the resulting object. When `null`, the `workload_autoscaler_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.workload_autoscaler_profile.new](#fn-workload_autoscaler_profilenew) 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 `kubernetes_cluster` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.kubernetes_cluster.newAttrs` constructs a new object with attributes and blocks configured for the `kubernetes_cluster`\nTerraform resource.\n\nUnlike [azurerm.kubernetes_cluster.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_server_authorized_ip_ranges` (`list`): Set the `api_server_authorized_ip_ranges` field on the resulting object. When `null`, the `api_server_authorized_ip_ranges` field will be omitted from the resulting object.\n - `automatic_channel_upgrade` (`string`): Set the `automatic_channel_upgrade` field on the resulting object. When `null`, the `automatic_channel_upgrade` field will be omitted from the resulting object.\n - `azure_policy_enabled` (`bool`): Set the `azure_policy_enabled` field on the resulting object. When `null`, the `azure_policy_enabled` field will be omitted from the resulting object.\n - `custom_ca_trust_certificates_base64` (`list`): Set the `custom_ca_trust_certificates_base64` field on the resulting object. When `null`, the `custom_ca_trust_certificates_base64` field will be omitted from the resulting object.\n - `disk_encryption_set_id` (`string`): Set the `disk_encryption_set_id` field on the resulting object. When `null`, the `disk_encryption_set_id` field will be omitted from the resulting object.\n - `dns_prefix` (`string`): Set the `dns_prefix` field on the resulting object. When `null`, the `dns_prefix` field will be omitted from the resulting object.\n - `dns_prefix_private_cluster` (`string`): Set the `dns_prefix_private_cluster` field on the resulting object. When `null`, the `dns_prefix_private_cluster` field will be omitted from the resulting object.\n - `edge_zone` (`string`): Set the `edge_zone` field on the resulting object. When `null`, the `edge_zone` field will be omitted from the resulting object.\n - `enable_pod_security_policy` (`bool`): Set the `enable_pod_security_policy` field on the resulting object. When `null`, the `enable_pod_security_policy` field will be omitted from the resulting object.\n - `http_application_routing_enabled` (`bool`): Set the `http_application_routing_enabled` field on the resulting object. When `null`, the `http_application_routing_enabled` field will be omitted from the resulting object.\n - `image_cleaner_enabled` (`bool`): Set the `image_cleaner_enabled` field on the resulting object. When `null`, the `image_cleaner_enabled` field will be omitted from the resulting object.\n - `image_cleaner_interval_hours` (`number`): Set the `image_cleaner_interval_hours` field on the resulting object. When `null`, the `image_cleaner_interval_hours` field will be omitted from the resulting object.\n - `kubernetes_version` (`string`): Set the `kubernetes_version` field on the resulting object. When `null`, the `kubernetes_version` field will be omitted from the resulting object.\n - `local_account_disabled` (`bool`): Set the `local_account_disabled` field on the resulting object. When `null`, the `local_account_disabled` 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 - `node_os_channel_upgrade` (`string`): Set the `node_os_channel_upgrade` field on the resulting object. When `null`, the `node_os_channel_upgrade` field will be omitted from the resulting object.\n - `node_resource_group` (`string`): Set the `node_resource_group` field on the resulting object. When `null`, the `node_resource_group` field will be omitted from the resulting object.\n - `oidc_issuer_enabled` (`bool`): Set the `oidc_issuer_enabled` field on the resulting object. When `null`, the `oidc_issuer_enabled` field will be omitted from the resulting object.\n - `open_service_mesh_enabled` (`bool`): Set the `open_service_mesh_enabled` field on the resulting object. When `null`, the `open_service_mesh_enabled` field will be omitted from the resulting object.\n - `private_cluster_enabled` (`bool`): Set the `private_cluster_enabled` field on the resulting object. When `null`, the `private_cluster_enabled` field will be omitted from the resulting object.\n - `private_cluster_public_fqdn_enabled` (`bool`): Set the `private_cluster_public_fqdn_enabled` field on the resulting object. When `null`, the `private_cluster_public_fqdn_enabled` field will be omitted from the resulting object.\n - `private_dns_zone_id` (`string`): Set the `private_dns_zone_id` field on the resulting object. When `null`, the `private_dns_zone_id` field will be omitted from 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 - `role_based_access_control_enabled` (`bool`): Set the `role_based_access_control_enabled` field on the resulting object. When `null`, the `role_based_access_control_enabled` field will be omitted from the resulting object.\n - `run_command_enabled` (`bool`): Set the `run_command_enabled` field on the resulting object. When `null`, the `run_command_enabled` field will be omitted from the resulting object.\n - `sku_tier` (`string`): Set the `sku_tier` field on the resulting object. When `null`, the `sku_tier` 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 - `workload_identity_enabled` (`bool`): Set the `workload_identity_enabled` field on the resulting object. When `null`, the `workload_identity_enabled` field will be omitted from the resulting object.\n - `aci_connector_linux` (`list[obj]`): Set the `aci_connector_linux` field on the resulting object. When `null`, the `aci_connector_linux` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.aci_connector_linux.new](#fn-aci_connector_linuxnew) constructor.\n - `api_server_access_profile` (`list[obj]`): Set the `api_server_access_profile` field on the resulting object. When `null`, the `api_server_access_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.api_server_access_profile.new](#fn-api_server_access_profilenew) constructor.\n - `auto_scaler_profile` (`list[obj]`): Set the `auto_scaler_profile` field on the resulting object. When `null`, the `auto_scaler_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.auto_scaler_profile.new](#fn-auto_scaler_profilenew) constructor.\n - `azure_active_directory_role_based_access_control` (`list[obj]`): Set the `azure_active_directory_role_based_access_control` field on the resulting object. When `null`, the `azure_active_directory_role_based_access_control` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.azure_active_directory_role_based_access_control.new](#fn-azure_active_directory_role_based_access_controlnew) constructor.\n - `confidential_computing` (`list[obj]`): Set the `confidential_computing` field on the resulting object. When `null`, the `confidential_computing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.confidential_computing.new](#fn-confidential_computingnew) constructor.\n - `default_node_pool` (`list[obj]`): Set the `default_node_pool` field on the resulting object. When `null`, the `default_node_pool` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.default_node_pool.new](#fn-default_node_poolnew) constructor.\n - `http_proxy_config` (`list[obj]`): Set the `http_proxy_config` field on the resulting object. When `null`, the `http_proxy_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.http_proxy_config.new](#fn-http_proxy_confignew) 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.kubernetes_cluster.identity.new](#fn-identitynew) constructor.\n - `ingress_application_gateway` (`list[obj]`): Set the `ingress_application_gateway` field on the resulting object. When `null`, the `ingress_application_gateway` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.ingress_application_gateway.new](#fn-ingress_application_gatewaynew) constructor.\n - `key_management_service` (`list[obj]`): Set the `key_management_service` field on the resulting object. When `null`, the `key_management_service` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.key_management_service.new](#fn-key_management_servicenew) constructor.\n - `key_vault_secrets_provider` (`list[obj]`): Set the `key_vault_secrets_provider` field on the resulting object. When `null`, the `key_vault_secrets_provider` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.key_vault_secrets_provider.new](#fn-key_vault_secrets_providernew) constructor.\n - `kubelet_identity` (`list[obj]`): Set the `kubelet_identity` field on the resulting object. When `null`, the `kubelet_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.kubernetes_cluster.kubelet_identity.new](#fn-kubelet_identitynew) constructor.\n - `linux_profile` (`list[obj]`): Set the `linux_profile` field on the resulting object. When `null`, the `linux_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.linux_profile.new](#fn-linux_profilenew) constructor.\n - `maintenance_window` (`list[obj]`): Set the `maintenance_window` field on the resulting object. When `null`, the `maintenance_window` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window.new](#fn-maintenance_windownew) constructor.\n - `maintenance_window_auto_upgrade` (`list[obj]`): Set the `maintenance_window_auto_upgrade` field on the resulting object. When `null`, the `maintenance_window_auto_upgrade` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_auto_upgrade.new](#fn-maintenance_window_auto_upgradenew) constructor.\n - `maintenance_window_node_os` (`list[obj]`): Set the `maintenance_window_node_os` field on the resulting object. When `null`, the `maintenance_window_node_os` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_node_os.new](#fn-maintenance_window_node_osnew) constructor.\n - `microsoft_defender` (`list[obj]`): Set the `microsoft_defender` field on the resulting object. When `null`, the `microsoft_defender` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.microsoft_defender.new](#fn-microsoft_defendernew) constructor.\n - `monitor_metrics` (`list[obj]`): Set the `monitor_metrics` field on the resulting object. When `null`, the `monitor_metrics` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.monitor_metrics.new](#fn-monitor_metricsnew) constructor.\n - `network_profile` (`list[obj]`): Set the `network_profile` field on the resulting object. When `null`, the `network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.network_profile.new](#fn-network_profilenew) constructor.\n - `oms_agent` (`list[obj]`): Set the `oms_agent` field on the resulting object. When `null`, the `oms_agent` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.oms_agent.new](#fn-oms_agentnew) constructor.\n - `service_mesh_profile` (`list[obj]`): Set the `service_mesh_profile` field on the resulting object. When `null`, the `service_mesh_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.service_mesh_profile.new](#fn-service_mesh_profilenew) constructor.\n - `service_principal` (`list[obj]`): Set the `service_principal` field on the resulting object. When `null`, the `service_principal` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.service_principal.new](#fn-service_principalnew) constructor.\n - `storage_profile` (`list[obj]`): Set the `storage_profile` field on the resulting object. When `null`, the `storage_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.storage_profile.new](#fn-storage_profilenew) 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.kubernetes_cluster.timeouts.new](#fn-timeoutsnew) constructor.\n - `web_app_routing` (`list[obj]`): Set the `web_app_routing` field on the resulting object. When `null`, the `web_app_routing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.web_app_routing.new](#fn-web_app_routingnew) constructor.\n - `windows_profile` (`list[obj]`): Set the `windows_profile` field on the resulting object. When `null`, the `windows_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.windows_profile.new](#fn-windows_profilenew) constructor.\n - `workload_autoscaler_profile` (`list[obj]`): Set the `workload_autoscaler_profile` field on the resulting object. When `null`, the `workload_autoscaler_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.workload_autoscaler_profile.new](#fn-workload_autoscaler_profilenew) 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 `kubernetes_cluster` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, @@ -624,6 +702,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); azure_active_directory_role_based_access_control=null, azure_policy_enabled=null, confidential_computing=null, + custom_ca_trust_certificates_base64=null, default_node_pool=null, disk_encryption_set_id=null, dns_prefix=null, @@ -643,6 +722,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); linux_profile=null, local_account_disabled=null, maintenance_window=null, + maintenance_window_auto_upgrade=null, + maintenance_window_node_os=null, microsoft_defender=null, monitor_metrics=null, network_profile=null, @@ -676,6 +757,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); azure_active_directory_role_based_access_control: azure_active_directory_role_based_access_control, azure_policy_enabled: azure_policy_enabled, confidential_computing: confidential_computing, + custom_ca_trust_certificates_base64: custom_ca_trust_certificates_base64, default_node_pool: default_node_pool, disk_encryption_set_id: disk_encryption_set_id, dns_prefix: dns_prefix, @@ -696,6 +778,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); local_account_disabled: local_account_disabled, location: location, maintenance_window: maintenance_window, + maintenance_window_auto_upgrade: maintenance_window_auto_upgrade, + maintenance_window_node_os: maintenance_window_node_os, microsoft_defender: microsoft_defender, monitor_metrics: monitor_metrics, name: name, @@ -943,6 +1027,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withCustomCaTrustCertificatesBase64':: d.fn(help='`azurerm.list.withCustomCaTrustCertificatesBase64` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the custom_ca_trust_certificates_base64 field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list`): The value to set for the `custom_ca_trust_certificates_base64` field.\n', args=[]), + withCustomCaTrustCertificatesBase64(resourceLabel, value): { + resource+: { + azurerm_kubernetes_cluster+: { + [resourceLabel]+: { + custom_ca_trust_certificates_base64: value, + }, + }, + }, + }, '#withDefaultNodePool':: d.fn(help='`azurerm.list[obj].withDefaultNodePool` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the default_node_pool 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].withDefaultNodePoolMixin](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 `default_node_pool` field.\n', args=[]), withDefaultNodePool(resourceLabel, value): { resource+: { @@ -1223,6 +1317,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withMaintenanceWindowAutoUpgrade':: d.fn(help='`azurerm.list[obj].withMaintenanceWindowAutoUpgrade` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the maintenance_window_auto_upgrade 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].withMaintenanceWindowAutoUpgradeMixin](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 `maintenance_window_auto_upgrade` field.\n', args=[]), + withMaintenanceWindowAutoUpgrade(resourceLabel, value): { + resource+: { + azurerm_kubernetes_cluster+: { + [resourceLabel]+: { + maintenance_window_auto_upgrade: value, + }, + }, + }, + }, + '#withMaintenanceWindowAutoUpgradeMixin':: d.fn(help='`azurerm.list[obj].withMaintenanceWindowAutoUpgradeMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the maintenance_window_auto_upgrade field.\n\nThis function will append the passed in array or object to the existing array. If you wish\nto instead replace the array with the passed in `value`, use the [azurerm.list[obj].withMaintenanceWindowAutoUpgrade](TODO)\nfunction.\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 `maintenance_window_auto_upgrade` field.\n', args=[]), + withMaintenanceWindowAutoUpgradeMixin(resourceLabel, value): { + resource+: { + azurerm_kubernetes_cluster+: { + [resourceLabel]+: { + maintenance_window_auto_upgrade+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, '#withMaintenanceWindowMixin':: d.fn(help='`azurerm.list[obj].withMaintenanceWindowMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the maintenance_window field.\n\nThis function will append the passed in array or object to the existing array. If you wish\nto instead replace the array with the passed in `value`, use the [azurerm.list[obj].withMaintenanceWindow](TODO)\nfunction.\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 `maintenance_window` field.\n', args=[]), withMaintenanceWindowMixin(resourceLabel, value): { resource+: { @@ -1233,6 +1347,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withMaintenanceWindowNodeOs':: d.fn(help='`azurerm.list[obj].withMaintenanceWindowNodeOs` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the maintenance_window_node_os 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].withMaintenanceWindowNodeOsMixin](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 `maintenance_window_node_os` field.\n', args=[]), + withMaintenanceWindowNodeOs(resourceLabel, value): { + resource+: { + azurerm_kubernetes_cluster+: { + [resourceLabel]+: { + maintenance_window_node_os: value, + }, + }, + }, + }, + '#withMaintenanceWindowNodeOsMixin':: d.fn(help='`azurerm.list[obj].withMaintenanceWindowNodeOsMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the maintenance_window_node_os field.\n\nThis function will append the passed in array or object to the existing array. If you wish\nto instead replace the array with the passed in `value`, use the [azurerm.list[obj].withMaintenanceWindowNodeOs](TODO)\nfunction.\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 `maintenance_window_node_os` field.\n', args=[]), + withMaintenanceWindowNodeOsMixin(resourceLabel, value): { + resource+: { + azurerm_kubernetes_cluster+: { + [resourceLabel]+: { + maintenance_window_node_os+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, '#withMicrosoftDefender':: d.fn(help='`azurerm.list[obj].withMicrosoftDefender` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the microsoft_defender 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].withMicrosoftDefenderMixin](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 `microsoft_defender` field.\n', args=[]), withMicrosoftDefender(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/linux_web_app.libsonnet b/3.x/_gen/resources/linux_web_app.libsonnet index cfed949e..936b2646 100644 --- a/3.x/_gen/resources/linux_web_app.libsonnet +++ b/3.x/_gen/resources/linux_web_app.libsonnet @@ -561,10 +561,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), site_config:: { application_stack:: { - '#new':: d.fn(help='\n`azurerm.linux_web_app.site_config.application_stack.new` constructs a new object with attributes and blocks configured for the `application_stack`\nTerraform sub block.\n\n\n\n**Args**:\n - `docker_image` (`string`): Set the `docker_image` field on the resulting object. When `null`, the `docker_image` field will be omitted from the resulting object.\n - `docker_image_tag` (`string`): Set the `docker_image_tag` field on the resulting object. When `null`, the `docker_image_tag` field will be omitted from the resulting object.\n - `dotnet_version` (`string`): Set the `dotnet_version` field on the resulting object. When `null`, the `dotnet_version` field will be omitted from the resulting object.\n - `go_version` (`string`): Set the `go_version` field on the resulting object. When `null`, the `go_version` field will be omitted from the resulting object.\n - `java_server` (`string`): Set the `java_server` field on the resulting object. When `null`, the `java_server` field will be omitted from the resulting object.\n - `java_server_version` (`string`): Set the `java_server_version` field on the resulting object. When `null`, the `java_server_version` field will be omitted from the resulting object.\n - `java_version` (`string`): Set the `java_version` field on the resulting object. When `null`, the `java_version` field will be omitted from the resulting object.\n - `node_version` (`string`): Set the `node_version` field on the resulting object. When `null`, the `node_version` field will be omitted from the resulting object.\n - `php_version` (`string`): Set the `php_version` field on the resulting object. When `null`, the `php_version` field will be omitted from the resulting object.\n - `python_version` (`string`): Set the `python_version` field on the resulting object. When `null`, the `python_version` field will be omitted from the resulting object.\n - `ruby_version` (`string`): Set the `ruby_version` field on the resulting object. When `null`, the `ruby_version` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `application_stack` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.linux_web_app.site_config.application_stack.new` constructs a new object with attributes and blocks configured for the `application_stack`\nTerraform sub block.\n\n\n\n**Args**:\n - `docker_image` (`string`): Set the `docker_image` field on the resulting object. When `null`, the `docker_image` field will be omitted from the resulting object.\n - `docker_image_name` (`string`): Set the `docker_image_name` field on the resulting object. When `null`, the `docker_image_name` field will be omitted from the resulting object.\n - `docker_image_tag` (`string`): Set the `docker_image_tag` field on the resulting object. When `null`, the `docker_image_tag` field will be omitted from the resulting object.\n - `docker_registry_password` (`string`): Set the `docker_registry_password` field on the resulting object. When `null`, the `docker_registry_password` field will be omitted from the resulting object.\n - `docker_registry_url` (`string`): Set the `docker_registry_url` field on the resulting object. When `null`, the `docker_registry_url` field will be omitted from the resulting object.\n - `docker_registry_username` (`string`): Set the `docker_registry_username` field on the resulting object. When `null`, the `docker_registry_username` field will be omitted from the resulting object.\n - `dotnet_version` (`string`): Set the `dotnet_version` field on the resulting object. When `null`, the `dotnet_version` field will be omitted from the resulting object.\n - `go_version` (`string`): Set the `go_version` field on the resulting object. When `null`, the `go_version` field will be omitted from the resulting object.\n - `java_server` (`string`): Set the `java_server` field on the resulting object. When `null`, the `java_server` field will be omitted from the resulting object.\n - `java_server_version` (`string`): Set the `java_server_version` field on the resulting object. When `null`, the `java_server_version` field will be omitted from the resulting object.\n - `java_version` (`string`): Set the `java_version` field on the resulting object. When `null`, the `java_version` field will be omitted from the resulting object.\n - `node_version` (`string`): Set the `node_version` field on the resulting object. When `null`, the `node_version` field will be omitted from the resulting object.\n - `php_version` (`string`): Set the `php_version` field on the resulting object. When `null`, the `php_version` field will be omitted from the resulting object.\n - `python_version` (`string`): Set the `python_version` field on the resulting object. When `null`, the `python_version` field will be omitted from the resulting object.\n - `ruby_version` (`string`): Set the `ruby_version` field on the resulting object. When `null`, the `ruby_version` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `application_stack` sub block.\n', args=[]), new( docker_image=null, + docker_image_name=null, docker_image_tag=null, + docker_registry_password=null, + docker_registry_url=null, + docker_registry_username=null, dotnet_version=null, go_version=null, java_server=null, @@ -576,7 +580,11 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ruby_version=null ):: std.prune(a={ docker_image: docker_image, + docker_image_name: docker_image_name, docker_image_tag: docker_image_tag, + docker_registry_password: docker_registry_password, + docker_registry_url: docker_registry_url, + docker_registry_username: docker_registry_username, dotnet_version: dotnet_version, go_version: go_version, java_server: java_server, @@ -643,7 +651,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, status_code:: { - '#new':: d.fn(help='\n`azurerm.linux_web_app.site_config.auto_heal_setting.trigger.status_code.new` constructs a new object with attributes and blocks configured for the `status_code`\nTerraform sub block.\n\n\n\n**Args**:\n - `count` (`number`): Set the `count` field on the resulting object.\n - `interval` (`string`): Set the `interval` field on the resulting object.\n - `path` (`string`): Set the `path` field on the resulting object. When `null`, the `path` field will be omitted from the resulting object.\n - `status_code_range` (`string`): Set the `status_code_range` field on the resulting object.\n - `sub_status` (`number`): Set the `sub_status` field on the resulting object. When `null`, the `sub_status` field will be omitted from the resulting object.\n - `win32_status` (`string`): Set the `win32_status` field on the resulting object. When `null`, the `win32_status` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `status_code` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.linux_web_app.site_config.auto_heal_setting.trigger.status_code.new` constructs a new object with attributes and blocks configured for the `status_code`\nTerraform sub block.\n\n\n\n**Args**:\n - `count` (`number`): Set the `count` field on the resulting object.\n - `interval` (`string`): Set the `interval` field on the resulting object.\n - `path` (`string`): Set the `path` field on the resulting object. When `null`, the `path` field will be omitted from the resulting object.\n - `status_code_range` (`string`): Set the `status_code_range` field on the resulting object.\n - `sub_status` (`number`): Set the `sub_status` field on the resulting object. When `null`, the `sub_status` field will be omitted from the resulting object.\n - `win32_status` (`number`): Set the `win32_status` field on the resulting object. When `null`, the `win32_status` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `status_code` sub block.\n', args=[]), new( count, interval, diff --git a/3.x/_gen/resources/linux_web_app_slot.libsonnet b/3.x/_gen/resources/linux_web_app_slot.libsonnet index 183f93a4..1f058975 100644 --- a/3.x/_gen/resources/linux_web_app_slot.libsonnet +++ b/3.x/_gen/resources/linux_web_app_slot.libsonnet @@ -553,10 +553,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), site_config:: { application_stack:: { - '#new':: d.fn(help='\n`azurerm.linux_web_app_slot.site_config.application_stack.new` constructs a new object with attributes and blocks configured for the `application_stack`\nTerraform sub block.\n\n\n\n**Args**:\n - `docker_image` (`string`): Set the `docker_image` field on the resulting object. When `null`, the `docker_image` field will be omitted from the resulting object.\n - `docker_image_tag` (`string`): Set the `docker_image_tag` field on the resulting object. When `null`, the `docker_image_tag` field will be omitted from the resulting object.\n - `dotnet_version` (`string`): Set the `dotnet_version` field on the resulting object. When `null`, the `dotnet_version` field will be omitted from the resulting object.\n - `go_version` (`string`): Set the `go_version` field on the resulting object. When `null`, the `go_version` field will be omitted from the resulting object.\n - `java_server` (`string`): Set the `java_server` field on the resulting object. When `null`, the `java_server` field will be omitted from the resulting object.\n - `java_server_version` (`string`): Set the `java_server_version` field on the resulting object. When `null`, the `java_server_version` field will be omitted from the resulting object.\n - `java_version` (`string`): Set the `java_version` field on the resulting object. When `null`, the `java_version` field will be omitted from the resulting object.\n - `node_version` (`string`): Set the `node_version` field on the resulting object. When `null`, the `node_version` field will be omitted from the resulting object.\n - `php_version` (`string`): Set the `php_version` field on the resulting object. When `null`, the `php_version` field will be omitted from the resulting object.\n - `python_version` (`string`): Set the `python_version` field on the resulting object. When `null`, the `python_version` field will be omitted from the resulting object.\n - `ruby_version` (`string`): Set the `ruby_version` field on the resulting object. When `null`, the `ruby_version` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `application_stack` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.linux_web_app_slot.site_config.application_stack.new` constructs a new object with attributes and blocks configured for the `application_stack`\nTerraform sub block.\n\n\n\n**Args**:\n - `docker_image` (`string`): Set the `docker_image` field on the resulting object. When `null`, the `docker_image` field will be omitted from the resulting object.\n - `docker_image_name` (`string`): Set the `docker_image_name` field on the resulting object. When `null`, the `docker_image_name` field will be omitted from the resulting object.\n - `docker_image_tag` (`string`): Set the `docker_image_tag` field on the resulting object. When `null`, the `docker_image_tag` field will be omitted from the resulting object.\n - `docker_registry_password` (`string`): Set the `docker_registry_password` field on the resulting object. When `null`, the `docker_registry_password` field will be omitted from the resulting object.\n - `docker_registry_url` (`string`): Set the `docker_registry_url` field on the resulting object. When `null`, the `docker_registry_url` field will be omitted from the resulting object.\n - `docker_registry_username` (`string`): Set the `docker_registry_username` field on the resulting object. When `null`, the `docker_registry_username` field will be omitted from the resulting object.\n - `dotnet_version` (`string`): Set the `dotnet_version` field on the resulting object. When `null`, the `dotnet_version` field will be omitted from the resulting object.\n - `go_version` (`string`): Set the `go_version` field on the resulting object. When `null`, the `go_version` field will be omitted from the resulting object.\n - `java_server` (`string`): Set the `java_server` field on the resulting object. When `null`, the `java_server` field will be omitted from the resulting object.\n - `java_server_version` (`string`): Set the `java_server_version` field on the resulting object. When `null`, the `java_server_version` field will be omitted from the resulting object.\n - `java_version` (`string`): Set the `java_version` field on the resulting object. When `null`, the `java_version` field will be omitted from the resulting object.\n - `node_version` (`string`): Set the `node_version` field on the resulting object. When `null`, the `node_version` field will be omitted from the resulting object.\n - `php_version` (`string`): Set the `php_version` field on the resulting object. When `null`, the `php_version` field will be omitted from the resulting object.\n - `python_version` (`string`): Set the `python_version` field on the resulting object. When `null`, the `python_version` field will be omitted from the resulting object.\n - `ruby_version` (`string`): Set the `ruby_version` field on the resulting object. When `null`, the `ruby_version` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `application_stack` sub block.\n', args=[]), new( docker_image=null, + docker_image_name=null, docker_image_tag=null, + docker_registry_password=null, + docker_registry_url=null, + docker_registry_username=null, dotnet_version=null, go_version=null, java_server=null, @@ -568,7 +572,11 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ruby_version=null ):: std.prune(a={ docker_image: docker_image, + docker_image_name: docker_image_name, docker_image_tag: docker_image_tag, + docker_registry_password: docker_registry_password, + docker_registry_url: docker_registry_url, + docker_registry_username: docker_registry_username, dotnet_version: dotnet_version, go_version: go_version, java_server: java_server, @@ -635,7 +643,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, status_code:: { - '#new':: d.fn(help='\n`azurerm.linux_web_app_slot.site_config.auto_heal_setting.trigger.status_code.new` constructs a new object with attributes and blocks configured for the `status_code`\nTerraform sub block.\n\n\n\n**Args**:\n - `count` (`number`): Set the `count` field on the resulting object.\n - `interval` (`string`): Set the `interval` field on the resulting object.\n - `path` (`string`): Set the `path` field on the resulting object. When `null`, the `path` field will be omitted from the resulting object.\n - `status_code_range` (`string`): Set the `status_code_range` field on the resulting object.\n - `sub_status` (`number`): Set the `sub_status` field on the resulting object. When `null`, the `sub_status` field will be omitted from the resulting object.\n - `win32_status` (`string`): Set the `win32_status` field on the resulting object. When `null`, the `win32_status` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `status_code` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.linux_web_app_slot.site_config.auto_heal_setting.trigger.status_code.new` constructs a new object with attributes and blocks configured for the `status_code`\nTerraform sub block.\n\n\n\n**Args**:\n - `count` (`number`): Set the `count` field on the resulting object.\n - `interval` (`string`): Set the `interval` field on the resulting object.\n - `path` (`string`): Set the `path` field on the resulting object. When `null`, the `path` field will be omitted from the resulting object.\n - `status_code_range` (`string`): Set the `status_code_range` field on the resulting object.\n - `sub_status` (`number`): Set the `sub_status` field on the resulting object. When `null`, the `sub_status` field will be omitted from the resulting object.\n - `win32_status` (`number`): Set the `win32_status` field on the resulting object. When `null`, the `win32_status` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `status_code` sub block.\n', args=[]), new( count, interval, diff --git a/3.x/_gen/resources/monitor_aad_diagnostic_setting.libsonnet b/3.x/_gen/resources/monitor_aad_diagnostic_setting.libsonnet index fe46c1dd..fa0b84cd 100644 --- a/3.x/_gen/resources/monitor_aad_diagnostic_setting.libsonnet +++ b/3.x/_gen/resources/monitor_aad_diagnostic_setting.libsonnet @@ -2,6 +2,26 @@ 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='monitor_aad_diagnostic_setting', url='', help='`monitor_aad_diagnostic_setting` represents the `azurerm_monitor_aad_diagnostic_setting` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + enabled_log:: { + '#new':: d.fn(help='\n`azurerm.monitor_aad_diagnostic_setting.enabled_log.new` constructs a new object with attributes and blocks configured for the `enabled_log`\nTerraform sub block.\n\n\n\n**Args**:\n - `category` (`string`): Set the `category` field on the resulting object.\n - `retention_policy` (`list[obj]`): Set the `retention_policy` field on the resulting object. When `null`, the `retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.monitor_aad_diagnostic_setting.enabled_log.retention_policy.new](#fn-enabled_logretention_policynew) constructor.\n\n**Returns**:\n - An attribute object that represents the `enabled_log` sub block.\n', args=[]), + new( + category, + retention_policy=null + ):: std.prune(a={ + category: category, + retention_policy: retention_policy, + }), + retention_policy:: { + '#new':: d.fn(help='\n`azurerm.monitor_aad_diagnostic_setting.enabled_log.retention_policy.new` constructs a new object with attributes and blocks configured for the `retention_policy`\nTerraform sub block.\n\n\n\n**Args**:\n - `days` (`number`): Set the `days` field on the resulting object. When `null`, the `days` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `retention_policy` sub block.\n', args=[]), + new( + days=null, + enabled=null + ):: std.prune(a={ + days: days, + enabled: enabled, + }), + }, + }, log:: { '#new':: d.fn(help='\n`azurerm.monitor_aad_diagnostic_setting.log.new` constructs a new object with attributes and blocks configured for the `log`\nTerraform sub block.\n\n\n\n**Args**:\n - `category` (`string`): Set the `category` field on the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object.\n - `retention_policy` (`list[obj]`): Set the `retention_policy` field on the resulting object. When `null`, the `retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.monitor_aad_diagnostic_setting.log.retention_policy.new](#fn-logretention_policynew) constructor.\n\n**Returns**:\n - An attribute object that represents the `log` sub block.\n', args=[]), new( @@ -24,10 +44,11 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, }, - '#new':: d.fn(help="\n`azurerm.monitor_aad_diagnostic_setting.new` injects a new `azurerm_monitor_aad_diagnostic_setting` 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.monitor_aad_diagnostic_setting.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.monitor_aad_diagnostic_setting` using the reference:\n\n $._ref.azurerm_monitor_aad_diagnostic_setting.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_monitor_aad_diagnostic_setting.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 - `eventhub_authorization_rule_id` (`string`): Set the `eventhub_authorization_rule_id` field on the resulting resource block. When `null`, the `eventhub_authorization_rule_id` field will be omitted from the resulting object.\n - `eventhub_name` (`string`): Set the `eventhub_name` field on the resulting resource block. When `null`, the `eventhub_name` field will be omitted from the resulting object.\n - `log_analytics_workspace_id` (`string`): Set the `log_analytics_workspace_id` field on the resulting resource block. When `null`, the `log_analytics_workspace_id` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `storage_account_id` (`string`): Set the `storage_account_id` field on the resulting resource block. When `null`, the `storage_account_id` field will be omitted from the resulting object.\n - `log` (`list[obj]`): Set the `log` field on the resulting resource block. When `null`, the `log` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.monitor_aad_diagnostic_setting.log.new](#fn-lognew) 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.monitor_aad_diagnostic_setting.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.monitor_aad_diagnostic_setting.new` injects a new `azurerm_monitor_aad_diagnostic_setting` 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.monitor_aad_diagnostic_setting.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.monitor_aad_diagnostic_setting` using the reference:\n\n $._ref.azurerm_monitor_aad_diagnostic_setting.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_monitor_aad_diagnostic_setting.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 - `eventhub_authorization_rule_id` (`string`): Set the `eventhub_authorization_rule_id` field on the resulting resource block. When `null`, the `eventhub_authorization_rule_id` field will be omitted from the resulting object.\n - `eventhub_name` (`string`): Set the `eventhub_name` field on the resulting resource block. When `null`, the `eventhub_name` field will be omitted from the resulting object.\n - `log_analytics_workspace_id` (`string`): Set the `log_analytics_workspace_id` field on the resulting resource block. When `null`, the `log_analytics_workspace_id` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `storage_account_id` (`string`): Set the `storage_account_id` field on the resulting resource block. When `null`, the `storage_account_id` field will be omitted from the resulting object.\n - `enabled_log` (`list[obj]`): Set the `enabled_log` field on the resulting resource block. When `null`, the `enabled_log` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.monitor_aad_diagnostic_setting.enabled_log.new](#fn-enabled_lognew) constructor.\n - `log` (`list[obj]`): Set the `log` field on the resulting resource block. When `null`, the `log` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.monitor_aad_diagnostic_setting.log.new](#fn-lognew) 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.monitor_aad_diagnostic_setting.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, name, + enabled_log=null, eventhub_authorization_rule_id=null, eventhub_name=null, log=null, @@ -39,6 +60,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); type='azurerm_monitor_aad_diagnostic_setting', label=resourceLabel, attrs=self.newAttrs( + enabled_log=enabled_log, eventhub_authorization_rule_id=eventhub_authorization_rule_id, eventhub_name=eventhub_name, log=log, @@ -49,9 +71,10 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.monitor_aad_diagnostic_setting.newAttrs` constructs a new object with attributes and blocks configured for the `monitor_aad_diagnostic_setting`\nTerraform resource.\n\nUnlike [azurerm.monitor_aad_diagnostic_setting.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 - `eventhub_authorization_rule_id` (`string`): Set the `eventhub_authorization_rule_id` field on the resulting object. When `null`, the `eventhub_authorization_rule_id` field will be omitted from the resulting object.\n - `eventhub_name` (`string`): Set the `eventhub_name` field on the resulting object. When `null`, the `eventhub_name` field will be omitted from the resulting object.\n - `log_analytics_workspace_id` (`string`): Set the `log_analytics_workspace_id` field on the resulting object. When `null`, the `log_analytics_workspace_id` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `storage_account_id` (`string`): Set the `storage_account_id` field on the resulting object. When `null`, the `storage_account_id` field will be omitted from the resulting object.\n - `log` (`list[obj]`): Set the `log` field on the resulting object. When `null`, the `log` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.monitor_aad_diagnostic_setting.log.new](#fn-lognew) 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.monitor_aad_diagnostic_setting.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 `monitor_aad_diagnostic_setting` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.monitor_aad_diagnostic_setting.newAttrs` constructs a new object with attributes and blocks configured for the `monitor_aad_diagnostic_setting`\nTerraform resource.\n\nUnlike [azurerm.monitor_aad_diagnostic_setting.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 - `eventhub_authorization_rule_id` (`string`): Set the `eventhub_authorization_rule_id` field on the resulting object. When `null`, the `eventhub_authorization_rule_id` field will be omitted from the resulting object.\n - `eventhub_name` (`string`): Set the `eventhub_name` field on the resulting object. When `null`, the `eventhub_name` field will be omitted from the resulting object.\n - `log_analytics_workspace_id` (`string`): Set the `log_analytics_workspace_id` field on the resulting object. When `null`, the `log_analytics_workspace_id` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `storage_account_id` (`string`): Set the `storage_account_id` field on the resulting object. When `null`, the `storage_account_id` field will be omitted from the resulting object.\n - `enabled_log` (`list[obj]`): Set the `enabled_log` field on the resulting object. When `null`, the `enabled_log` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.monitor_aad_diagnostic_setting.enabled_log.new](#fn-enabled_lognew) constructor.\n - `log` (`list[obj]`): Set the `log` field on the resulting object. When `null`, the `log` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.monitor_aad_diagnostic_setting.log.new](#fn-lognew) 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.monitor_aad_diagnostic_setting.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 `monitor_aad_diagnostic_setting` resource into the root Terraform configuration.\n', args=[]), newAttrs( name, + enabled_log=null, eventhub_authorization_rule_id=null, eventhub_name=null, log=null, @@ -59,6 +82,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); storage_account_id=null, timeouts=null ):: std.prune(a={ + enabled_log: enabled_log, eventhub_authorization_rule_id: eventhub_authorization_rule_id, eventhub_name: eventhub_name, log: log, @@ -81,6 +105,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); update: update, }), }, + '#withEnabledLog':: d.fn(help='`azurerm.list[obj].withEnabledLog` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the enabled_log 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].withEnabledLogMixin](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 `enabled_log` field.\n', args=[]), + withEnabledLog(resourceLabel, value): { + resource+: { + azurerm_monitor_aad_diagnostic_setting+: { + [resourceLabel]+: { + enabled_log: value, + }, + }, + }, + }, + '#withEnabledLogMixin':: d.fn(help='`azurerm.list[obj].withEnabledLogMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the enabled_log field.\n\nThis function will append the passed in array or object to the existing array. If you wish\nto instead replace the array with the passed in `value`, use the [azurerm.list[obj].withEnabledLog](TODO)\nfunction.\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 `enabled_log` field.\n', args=[]), + withEnabledLogMixin(resourceLabel, value): { + resource+: { + azurerm_monitor_aad_diagnostic_setting+: { + [resourceLabel]+: { + enabled_log+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, '#withEventhubAuthorizationRuleId':: d.fn(help='`azurerm.string.withEventhubAuthorizationRuleId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the eventhub_authorization_rule_id 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 `eventhub_authorization_rule_id` field.\n', args=[]), withEventhubAuthorizationRuleId(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/resource_group.libsonnet b/3.x/_gen/resources/resource_group.libsonnet index f7243d2d..65d181ce 100644 --- a/3.x/_gen/resources/resource_group.libsonnet +++ b/3.x/_gen/resources/resource_group.libsonnet @@ -2,11 +2,12 @@ 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='resource_group', url='', help='`resource_group` represents the `azurerm_resource_group` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), - '#new':: d.fn(help="\n`azurerm.resource_group.new` injects a new `azurerm_resource_group` 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.resource_group.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.resource_group` using the reference:\n\n $._ref.azurerm_resource_group.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_resource_group.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 - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\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 - `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.resource_group.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.resource_group.new` injects a new `azurerm_resource_group` 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.resource_group.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.resource_group` using the reference:\n\n $._ref.azurerm_resource_group.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_resource_group.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 - `location` (`string`): Set the `location` field on the resulting resource block.\n - `managed_by` (`string`): Set the `managed_by` field on the resulting resource block. When `null`, the `managed_by` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\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 - `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.resource_group.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, name, + managed_by=null, tags=null, timeouts=null, _meta={} @@ -15,20 +16,23 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); label=resourceLabel, attrs=self.newAttrs( location=location, + managed_by=managed_by, name=name, tags=tags, timeouts=timeouts ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.resource_group.newAttrs` constructs a new object with attributes and blocks configured for the `resource_group`\nTerraform resource.\n\nUnlike [azurerm.resource_group.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 - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Set the `name` field on 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 - `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.resource_group.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 `resource_group` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.resource_group.newAttrs` constructs a new object with attributes and blocks configured for the `resource_group`\nTerraform resource.\n\nUnlike [azurerm.resource_group.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 - `location` (`string`): Set the `location` field on the resulting object.\n - `managed_by` (`string`): Set the `managed_by` field on the resulting object. When `null`, the `managed_by` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on 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 - `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.resource_group.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 `resource_group` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, + managed_by=null, tags=null, timeouts=null ):: std.prune(a={ location: location, + managed_by: managed_by, name: name, tags: tags, timeouts: timeouts, @@ -57,6 +61,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withManagedBy':: d.fn(help='`azurerm.string.withManagedBy` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the managed_by 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 `managed_by` field.\n', args=[]), + withManagedBy(resourceLabel, value): { + resource+: { + azurerm_resource_group+: { + [resourceLabel]+: { + managed_by: value, + }, + }, + }, + }, '#withName':: d.fn(help='`azurerm.string.withName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the name 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 `name` field.\n', args=[]), withName(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/spring_cloud_configuration_service.libsonnet b/3.x/_gen/resources/spring_cloud_configuration_service.libsonnet index f19fd318..332ab4fb 100644 --- a/3.x/_gen/resources/spring_cloud_configuration_service.libsonnet +++ b/3.x/_gen/resources/spring_cloud_configuration_service.libsonnet @@ -2,11 +2,12 @@ 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='spring_cloud_configuration_service', url='', help='`spring_cloud_configuration_service` represents the `azurerm_spring_cloud_configuration_service` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), - '#new':: d.fn(help="\n`azurerm.spring_cloud_configuration_service.new` injects a new `azurerm_spring_cloud_configuration_service` 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.spring_cloud_configuration_service.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.spring_cloud_configuration_service` using the reference:\n\n $._ref.azurerm_spring_cloud_configuration_service.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_spring_cloud_configuration_service.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 - `name` (`string`): Set the `name` field on the resulting resource block.\n - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting resource block.\n - `repository` (`list[obj]`): Set the `repository` field on the resulting resource block. When `null`, the `repository` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_configuration_service.repository.new](#fn-repositorynew) 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.spring_cloud_configuration_service.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.spring_cloud_configuration_service.new` injects a new `azurerm_spring_cloud_configuration_service` 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.spring_cloud_configuration_service.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.spring_cloud_configuration_service` using the reference:\n\n $._ref.azurerm_spring_cloud_configuration_service.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_spring_cloud_configuration_service.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 - `generation` (`string`): Set the `generation` field on the resulting resource block. When `null`, the `generation` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting resource block.\n - `repository` (`list[obj]`): Set the `repository` field on the resulting resource block. When `null`, the `repository` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_configuration_service.repository.new](#fn-repositorynew) 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.spring_cloud_configuration_service.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, name, spring_cloud_service_id, + generation=null, repository=null, timeouts=null, _meta={} @@ -14,6 +15,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); type='azurerm_spring_cloud_configuration_service', label=resourceLabel, attrs=self.newAttrs( + generation=generation, name=name, repository=repository, spring_cloud_service_id=spring_cloud_service_id, @@ -21,13 +23,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.spring_cloud_configuration_service.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_configuration_service`\nTerraform resource.\n\nUnlike [azurerm.spring_cloud_configuration_service.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 - `name` (`string`): Set the `name` field on the resulting object.\n - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting object.\n - `repository` (`list[obj]`): Set the `repository` field on the resulting object. When `null`, the `repository` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_configuration_service.repository.new](#fn-repositorynew) 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.spring_cloud_configuration_service.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 `spring_cloud_configuration_service` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.spring_cloud_configuration_service.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_configuration_service`\nTerraform resource.\n\nUnlike [azurerm.spring_cloud_configuration_service.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 - `generation` (`string`): Set the `generation` field on the resulting object. When `null`, the `generation` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting object.\n - `repository` (`list[obj]`): Set the `repository` field on the resulting object. When `null`, the `repository` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_configuration_service.repository.new](#fn-repositorynew) 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.spring_cloud_configuration_service.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 `spring_cloud_configuration_service` resource into the root Terraform configuration.\n', args=[]), newAttrs( name, spring_cloud_service_id, + generation=null, repository=null, timeouts=null ):: std.prune(a={ + generation: generation, name: name, repository: repository, spring_cloud_service_id: spring_cloud_service_id, @@ -75,6 +79,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); update: update, }), }, + '#withGeneration':: d.fn(help='`azurerm.string.withGeneration` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the generation 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 `generation` field.\n', args=[]), + withGeneration(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_configuration_service+: { + [resourceLabel]+: { + generation: value, + }, + }, + }, + }, '#withName':: d.fn(help='`azurerm.string.withName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the name 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 `name` field.\n', args=[]), withName(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/windows_web_app.libsonnet b/3.x/_gen/resources/windows_web_app.libsonnet index cfec46b6..c900d480 100644 --- a/3.x/_gen/resources/windows_web_app.libsonnet +++ b/3.x/_gen/resources/windows_web_app.libsonnet @@ -561,12 +561,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), site_config:: { application_stack:: { - '#new':: d.fn(help='\n`azurerm.windows_web_app.site_config.application_stack.new` constructs a new object with attributes and blocks configured for the `application_stack`\nTerraform sub block.\n\n\n\n**Args**:\n - `current_stack` (`string`): Set the `current_stack` field on the resulting object. When `null`, the `current_stack` field will be omitted from the resulting object.\n - `docker_container_name` (`string`): Set the `docker_container_name` field on the resulting object. When `null`, the `docker_container_name` field will be omitted from the resulting object.\n - `docker_container_registry` (`string`): Set the `docker_container_registry` field on the resulting object. When `null`, the `docker_container_registry` field will be omitted from the resulting object.\n - `docker_container_tag` (`string`): Set the `docker_container_tag` field on the resulting object. When `null`, the `docker_container_tag` field will be omitted from the resulting object.\n - `dotnet_core_version` (`string`): The version of DotNetCore to use. When `null`, the `dotnet_core_version` field will be omitted from the resulting object.\n - `dotnet_version` (`string`): Set the `dotnet_version` field on the resulting object. When `null`, the `dotnet_version` field will be omitted from the resulting object.\n - `java_container` (`string`): Set the `java_container` field on the resulting object. When `null`, the `java_container` field will be omitted from the resulting object.\n - `java_container_version` (`string`): Set the `java_container_version` field on the resulting object. When `null`, the `java_container_version` field will be omitted from the resulting object.\n - `java_embedded_server_enabled` (`bool`): Should the application use the embedded web server for the version of Java in use. When `null`, the `java_embedded_server_enabled` field will be omitted from the resulting object.\n - `java_version` (`string`): Set the `java_version` field on the resulting object. When `null`, the `java_version` field will be omitted from the resulting object.\n - `node_version` (`string`): Set the `node_version` field on the resulting object. When `null`, the `node_version` field will be omitted from the resulting object.\n - `php_version` (`string`): Set the `php_version` field on the resulting object. When `null`, the `php_version` field will be omitted from the resulting object.\n - `python` (`bool`): Set the `python` field on the resulting object. When `null`, the `python` field will be omitted from the resulting object.\n - `python_version` (`string`): Set the `python_version` field on the resulting object. When `null`, the `python_version` field will be omitted from the resulting object.\n - `tomcat_version` (`string`): Set the `tomcat_version` field on the resulting object. When `null`, the `tomcat_version` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `application_stack` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.windows_web_app.site_config.application_stack.new` constructs a new object with attributes and blocks configured for the `application_stack`\nTerraform sub block.\n\n\n\n**Args**:\n - `current_stack` (`string`): Set the `current_stack` field on the resulting object. When `null`, the `current_stack` field will be omitted from the resulting object.\n - `docker_container_name` (`string`): Set the `docker_container_name` field on the resulting object. When `null`, the `docker_container_name` field will be omitted from the resulting object.\n - `docker_container_registry` (`string`): Set the `docker_container_registry` field on the resulting object. When `null`, the `docker_container_registry` field will be omitted from the resulting object.\n - `docker_container_tag` (`string`): Set the `docker_container_tag` field on the resulting object. When `null`, the `docker_container_tag` field will be omitted from the resulting object.\n - `docker_image_name` (`string`): Set the `docker_image_name` field on the resulting object. When `null`, the `docker_image_name` field will be omitted from the resulting object.\n - `docker_registry_password` (`string`): Set the `docker_registry_password` field on the resulting object. When `null`, the `docker_registry_password` field will be omitted from the resulting object.\n - `docker_registry_url` (`string`): Set the `docker_registry_url` field on the resulting object. When `null`, the `docker_registry_url` field will be omitted from the resulting object.\n - `docker_registry_username` (`string`): Set the `docker_registry_username` field on the resulting object. When `null`, the `docker_registry_username` field will be omitted from the resulting object.\n - `dotnet_core_version` (`string`): The version of DotNetCore to use. When `null`, the `dotnet_core_version` field will be omitted from the resulting object.\n - `dotnet_version` (`string`): Set the `dotnet_version` field on the resulting object. When `null`, the `dotnet_version` field will be omitted from the resulting object.\n - `java_container` (`string`): Set the `java_container` field on the resulting object. When `null`, the `java_container` field will be omitted from the resulting object.\n - `java_container_version` (`string`): Set the `java_container_version` field on the resulting object. When `null`, the `java_container_version` field will be omitted from the resulting object.\n - `java_embedded_server_enabled` (`bool`): Should the application use the embedded web server for the version of Java in use. When `null`, the `java_embedded_server_enabled` field will be omitted from the resulting object.\n - `java_version` (`string`): Set the `java_version` field on the resulting object. When `null`, the `java_version` field will be omitted from the resulting object.\n - `node_version` (`string`): Set the `node_version` field on the resulting object. When `null`, the `node_version` field will be omitted from the resulting object.\n - `php_version` (`string`): Set the `php_version` field on the resulting object. When `null`, the `php_version` field will be omitted from the resulting object.\n - `python` (`bool`): Set the `python` field on the resulting object. When `null`, the `python` field will be omitted from the resulting object.\n - `python_version` (`string`): Set the `python_version` field on the resulting object. When `null`, the `python_version` field will be omitted from the resulting object.\n - `tomcat_version` (`string`): Set the `tomcat_version` field on the resulting object. When `null`, the `tomcat_version` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `application_stack` sub block.\n', args=[]), new( current_stack=null, docker_container_name=null, docker_container_registry=null, docker_container_tag=null, + docker_image_name=null, + docker_registry_password=null, + docker_registry_url=null, + docker_registry_username=null, dotnet_core_version=null, dotnet_version=null, java_container=null, @@ -583,6 +587,10 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); docker_container_name: docker_container_name, docker_container_registry: docker_container_registry, docker_container_tag: docker_container_tag, + docker_image_name: docker_image_name, + docker_registry_password: docker_registry_password, + docker_registry_url: docker_registry_url, + docker_registry_username: docker_registry_username, dotnet_core_version: dotnet_core_version, dotnet_version: dotnet_version, java_container: java_container, @@ -665,7 +673,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, status_code:: { - '#new':: d.fn(help='\n`azurerm.windows_web_app.site_config.auto_heal_setting.trigger.status_code.new` constructs a new object with attributes and blocks configured for the `status_code`\nTerraform sub block.\n\n\n\n**Args**:\n - `count` (`number`): Set the `count` field on the resulting object.\n - `interval` (`string`): Set the `interval` field on the resulting object.\n - `path` (`string`): Set the `path` field on the resulting object. When `null`, the `path` field will be omitted from the resulting object.\n - `status_code_range` (`string`): Set the `status_code_range` field on the resulting object.\n - `sub_status` (`number`): Set the `sub_status` field on the resulting object. When `null`, the `sub_status` field will be omitted from the resulting object.\n - `win32_status` (`string`): Set the `win32_status` field on the resulting object. When `null`, the `win32_status` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `status_code` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.windows_web_app.site_config.auto_heal_setting.trigger.status_code.new` constructs a new object with attributes and blocks configured for the `status_code`\nTerraform sub block.\n\n\n\n**Args**:\n - `count` (`number`): Set the `count` field on the resulting object.\n - `interval` (`string`): Set the `interval` field on the resulting object.\n - `path` (`string`): Set the `path` field on the resulting object. When `null`, the `path` field will be omitted from the resulting object.\n - `status_code_range` (`string`): Set the `status_code_range` field on the resulting object.\n - `sub_status` (`number`): Set the `sub_status` field on the resulting object. When `null`, the `sub_status` field will be omitted from the resulting object.\n - `win32_status` (`number`): Set the `win32_status` field on the resulting object. When `null`, the `win32_status` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `status_code` sub block.\n', args=[]), new( count, interval, diff --git a/3.x/_gen/resources/windows_web_app_slot.libsonnet b/3.x/_gen/resources/windows_web_app_slot.libsonnet index 1f71ab67..19317344 100644 --- a/3.x/_gen/resources/windows_web_app_slot.libsonnet +++ b/3.x/_gen/resources/windows_web_app_slot.libsonnet @@ -553,12 +553,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), site_config:: { application_stack:: { - '#new':: d.fn(help='\n`azurerm.windows_web_app_slot.site_config.application_stack.new` constructs a new object with attributes and blocks configured for the `application_stack`\nTerraform sub block.\n\n\n\n**Args**:\n - `current_stack` (`string`): Set the `current_stack` field on the resulting object. When `null`, the `current_stack` field will be omitted from the resulting object.\n - `docker_container_name` (`string`): Set the `docker_container_name` field on the resulting object. When `null`, the `docker_container_name` field will be omitted from the resulting object.\n - `docker_container_registry` (`string`): Set the `docker_container_registry` field on the resulting object. When `null`, the `docker_container_registry` field will be omitted from the resulting object.\n - `docker_container_tag` (`string`): Set the `docker_container_tag` field on the resulting object. When `null`, the `docker_container_tag` field will be omitted from the resulting object.\n - `dotnet_core_version` (`string`): The version of DotNetCore to use. When `null`, the `dotnet_core_version` field will be omitted from the resulting object.\n - `dotnet_version` (`string`): Set the `dotnet_version` field on the resulting object. When `null`, the `dotnet_version` field will be omitted from the resulting object.\n - `java_container` (`string`): Set the `java_container` field on the resulting object. When `null`, the `java_container` field will be omitted from the resulting object.\n - `java_container_version` (`string`): Set the `java_container_version` field on the resulting object. When `null`, the `java_container_version` field will be omitted from the resulting object.\n - `java_embedded_server_enabled` (`bool`): Should the application use the embedded web server for the version of Java in use. When `null`, the `java_embedded_server_enabled` field will be omitted from the resulting object.\n - `java_version` (`string`): Set the `java_version` field on the resulting object. When `null`, the `java_version` field will be omitted from the resulting object.\n - `node_version` (`string`): Set the `node_version` field on the resulting object. When `null`, the `node_version` field will be omitted from the resulting object.\n - `php_version` (`string`): Set the `php_version` field on the resulting object. When `null`, the `php_version` field will be omitted from the resulting object.\n - `python` (`bool`): Set the `python` field on the resulting object. When `null`, the `python` field will be omitted from the resulting object.\n - `python_version` (`string`): Set the `python_version` field on the resulting object. When `null`, the `python_version` field will be omitted from the resulting object.\n - `tomcat_version` (`string`): Set the `tomcat_version` field on the resulting object. When `null`, the `tomcat_version` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `application_stack` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.windows_web_app_slot.site_config.application_stack.new` constructs a new object with attributes and blocks configured for the `application_stack`\nTerraform sub block.\n\n\n\n**Args**:\n - `current_stack` (`string`): Set the `current_stack` field on the resulting object. When `null`, the `current_stack` field will be omitted from the resulting object.\n - `docker_container_name` (`string`): Set the `docker_container_name` field on the resulting object. When `null`, the `docker_container_name` field will be omitted from the resulting object.\n - `docker_container_registry` (`string`): Set the `docker_container_registry` field on the resulting object. When `null`, the `docker_container_registry` field will be omitted from the resulting object.\n - `docker_container_tag` (`string`): Set the `docker_container_tag` field on the resulting object. When `null`, the `docker_container_tag` field will be omitted from the resulting object.\n - `docker_image_name` (`string`): Set the `docker_image_name` field on the resulting object. When `null`, the `docker_image_name` field will be omitted from the resulting object.\n - `docker_registry_password` (`string`): Set the `docker_registry_password` field on the resulting object. When `null`, the `docker_registry_password` field will be omitted from the resulting object.\n - `docker_registry_url` (`string`): Set the `docker_registry_url` field on the resulting object. When `null`, the `docker_registry_url` field will be omitted from the resulting object.\n - `docker_registry_username` (`string`): Set the `docker_registry_username` field on the resulting object. When `null`, the `docker_registry_username` field will be omitted from the resulting object.\n - `dotnet_core_version` (`string`): The version of DotNetCore to use. When `null`, the `dotnet_core_version` field will be omitted from the resulting object.\n - `dotnet_version` (`string`): Set the `dotnet_version` field on the resulting object. When `null`, the `dotnet_version` field will be omitted from the resulting object.\n - `java_container` (`string`): Set the `java_container` field on the resulting object. When `null`, the `java_container` field will be omitted from the resulting object.\n - `java_container_version` (`string`): Set the `java_container_version` field on the resulting object. When `null`, the `java_container_version` field will be omitted from the resulting object.\n - `java_embedded_server_enabled` (`bool`): Should the application use the embedded web server for the version of Java in use. When `null`, the `java_embedded_server_enabled` field will be omitted from the resulting object.\n - `java_version` (`string`): Set the `java_version` field on the resulting object. When `null`, the `java_version` field will be omitted from the resulting object.\n - `node_version` (`string`): Set the `node_version` field on the resulting object. When `null`, the `node_version` field will be omitted from the resulting object.\n - `php_version` (`string`): Set the `php_version` field on the resulting object. When `null`, the `php_version` field will be omitted from the resulting object.\n - `python` (`bool`): Set the `python` field on the resulting object. When `null`, the `python` field will be omitted from the resulting object.\n - `python_version` (`string`): Set the `python_version` field on the resulting object. When `null`, the `python_version` field will be omitted from the resulting object.\n - `tomcat_version` (`string`): Set the `tomcat_version` field on the resulting object. When `null`, the `tomcat_version` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `application_stack` sub block.\n', args=[]), new( current_stack=null, docker_container_name=null, docker_container_registry=null, docker_container_tag=null, + docker_image_name=null, + docker_registry_password=null, + docker_registry_url=null, + docker_registry_username=null, dotnet_core_version=null, dotnet_version=null, java_container=null, @@ -575,6 +579,10 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); docker_container_name: docker_container_name, docker_container_registry: docker_container_registry, docker_container_tag: docker_container_tag, + docker_image_name: docker_image_name, + docker_registry_password: docker_registry_password, + docker_registry_url: docker_registry_url, + docker_registry_username: docker_registry_username, dotnet_core_version: dotnet_core_version, dotnet_version: dotnet_version, java_container: java_container, @@ -657,7 +665,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, status_code:: { - '#new':: d.fn(help='\n`azurerm.windows_web_app_slot.site_config.auto_heal_setting.trigger.status_code.new` constructs a new object with attributes and blocks configured for the `status_code`\nTerraform sub block.\n\n\n\n**Args**:\n - `count` (`number`): Set the `count` field on the resulting object.\n - `interval` (`string`): Set the `interval` field on the resulting object.\n - `path` (`string`): Set the `path` field on the resulting object. When `null`, the `path` field will be omitted from the resulting object.\n - `status_code_range` (`string`): Set the `status_code_range` field on the resulting object.\n - `sub_status` (`number`): Set the `sub_status` field on the resulting object. When `null`, the `sub_status` field will be omitted from the resulting object.\n - `win32_status` (`string`): Set the `win32_status` field on the resulting object. When `null`, the `win32_status` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `status_code` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.windows_web_app_slot.site_config.auto_heal_setting.trigger.status_code.new` constructs a new object with attributes and blocks configured for the `status_code`\nTerraform sub block.\n\n\n\n**Args**:\n - `count` (`number`): Set the `count` field on the resulting object.\n - `interval` (`string`): Set the `interval` field on the resulting object.\n - `path` (`string`): Set the `path` field on the resulting object. When `null`, the `path` field will be omitted from the resulting object.\n - `status_code_range` (`string`): Set the `status_code_range` field on the resulting object.\n - `sub_status` (`number`): Set the `sub_status` field on the resulting object. When `null`, the `sub_status` field will be omitted from the resulting object.\n - `win32_status` (`number`): Set the `win32_status` field on the resulting object. When `null`, the `win32_status` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `status_code` sub block.\n', args=[]), new( count, interval, diff --git a/docs/3.x/automation_software_update_configuration.md b/docs/3.x/automation_software_update_configuration.md index 0783c923..3c839212 100644 --- a/docs/3.x/automation_software_update_configuration.md +++ b/docs/3.x/automation_software_update_configuration.md @@ -91,7 +91,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `duration` (`string`): Set the `duration` field on the resulting resource block. When `null`, the `duration` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting resource block. - `non_azure_computer_names` (`list`): Set the `non_azure_computer_names` field on the resulting resource block. When `null`, the `non_azure_computer_names` field will be omitted from the resulting object. - - `operating_system` (`string`): Set the `operating_system` field on the resulting resource block. + - `operating_system` (`string`): Set the `operating_system` field on the resulting resource block. When `null`, the `operating_system` field will be omitted from the resulting object. - `virtual_machine_ids` (`list`): Set the `virtual_machine_ids` field on the resulting resource block. When `null`, the `virtual_machine_ids` field will be omitted from the resulting object. - `linux` (`list[obj]`): Set the `linux` field on the resulting resource block. When `null`, the `linux` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.linux.new](#fn-linuxnew) constructor. - `post_task` (`list[obj]`): Set the `post_task` field on the resulting resource block. When `null`, the `post_task` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.post_task.new](#fn-post_tasknew) constructor. @@ -127,7 +127,7 @@ injecting into a complete block. - `duration` (`string`): Set the `duration` field on the resulting object. When `null`, the `duration` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting object. - `non_azure_computer_names` (`list`): Set the `non_azure_computer_names` field on the resulting object. When `null`, the `non_azure_computer_names` field will be omitted from the resulting object. - - `operating_system` (`string`): Set the `operating_system` field on the resulting object. + - `operating_system` (`string`): Set the `operating_system` field on the resulting object. When `null`, the `operating_system` field will be omitted from the resulting object. - `virtual_machine_ids` (`list`): Set the `virtual_machine_ids` field on the resulting object. When `null`, the `virtual_machine_ids` field will be omitted from the resulting object. - `linux` (`list[obj]`): Set the `linux` field on the resulting object. When `null`, the `linux` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.linux.new](#fn-linuxnew) constructor. - `post_task` (`list[obj]`): Set the `post_task` field on the resulting object. When `null`, the `post_task` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_software_update_configuration.post_task.new](#fn-post_tasknew) constructor. @@ -513,6 +513,7 @@ Terraform sub block. **Args**: - `classification_included` (`string`): Set the `classification_included` field on the resulting object. When `null`, the `classification_included` field will be omitted from the resulting object. + - `classifications_included` (`list`): Set the `classifications_included` field on the resulting object. When `null`, the `classifications_included` field will be omitted from the resulting object. - `excluded_packages` (`list`): Set the `excluded_packages` field on the resulting object. When `null`, the `excluded_packages` field will be omitted from the resulting object. - `included_packages` (`list`): Set the `included_packages` field on the resulting object. When `null`, the `included_packages` field will be omitted from the resulting object. - `reboot` (`string`): Set the `reboot` field on the resulting object. When `null`, the `reboot` field will be omitted from the resulting object. @@ -591,7 +592,7 @@ Terraform sub block. - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object. - `expiry_time` (`string`): Set the `expiry_time` field on the resulting object. When `null`, the `expiry_time` field will be omitted from the resulting object. - `expiry_time_offset_minutes` (`number`): Set the `expiry_time_offset_minutes` field on the resulting object. When `null`, the `expiry_time_offset_minutes` field will be omitted from the resulting object. - - `frequency` (`string`): Set the `frequency` field on the resulting object. When `null`, the `frequency` field will be omitted from the resulting object. + - `frequency` (`string`): Set the `frequency` field on the resulting object. - `interval` (`number`): Set the `interval` field on the resulting object. When `null`, the `interval` field will be omitted from the resulting object. - `is_enabled` (`bool`): Set the `is_enabled` field on the resulting object. When `null`, the `is_enabled` field will be omitted from the resulting object. - `next_run` (`string`): Set the `next_run` field on the resulting object. When `null`, the `next_run` field will be omitted from the resulting object. diff --git a/docs/3.x/data/index.md b/docs/3.x/data/index.md index 0a268a82..b3e3b592 100644 --- a/docs/3.x/data/index.md +++ b/docs/3.x/data/index.md @@ -205,6 +205,7 @@ permalink: /data/ * [netapp_volume_group_sap_hana](netapp_volume_group_sap_hana.md) * [network_ddos_protection_plan](network_ddos_protection_plan.md) * [network_interface](network_interface.md) +* [network_manager_network_group](network_manager_network_group.md) * [network_security_group](network_security_group.md) * [network_service_tags](network_service_tags.md) * [network_watcher](network_watcher.md) diff --git a/docs/3.x/data/network_manager_network_group.md b/docs/3.x/data/network_manager_network_group.md new file mode 100644 index 00000000..e52d70a2 --- /dev/null +++ b/docs/3.x/data/network_manager_network_group.md @@ -0,0 +1,176 @@ +--- +permalink: /data/network_manager_network_group/ +--- + +# data.network_manager_network_group + +`network_manager_network_group` represents the `azurerm_network_manager_network_group` 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 withNetworkManagerId()`](#fn-withnetworkmanagerid) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.network_manager_network_group.new` injects a new `data_azurerm_network_manager_network_group` 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.network_manager_network_group.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.network_manager_network_group` using the reference: + + $._ref.data_azurerm_network_manager_network_group.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_network_manager_network_group.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. + - `network_manager_id` (`string`): Set the `network_manager_id` 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.network_manager_network_group.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.network_manager_network_group.newAttrs` constructs a new object with attributes and blocks configured for the `network_manager_network_group` +Terraform data source. + +Unlike [azurerm.data.network_manager_network_group.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. + - `network_manager_id` (`string`): Set the `network_manager_id` 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.network_manager_network_group.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 `network_manager_network_group` 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 withNetworkManagerId + +```ts +withNetworkManagerId() +``` + +`azurerm.string.withNetworkManagerId` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the network_manager_id field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `network_manager_id` 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.network_manager_network_group.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/key_vault_managed_hardware_security_module.md b/docs/3.x/key_vault_managed_hardware_security_module.md index 28c1a7da..eda3e202 100644 --- a/docs/3.x/key_vault_managed_hardware_security_module.md +++ b/docs/3.x/key_vault_managed_hardware_security_module.md @@ -23,6 +23,8 @@ This package contains functions and utilities for setting up the resource using * [`fn withPublicNetworkAccessEnabled()`](#fn-withpublicnetworkaccessenabled) * [`fn withPurgeProtectionEnabled()`](#fn-withpurgeprotectionenabled) * [`fn withResourceGroupName()`](#fn-withresourcegroupname) +* [`fn withSecurityDomainKeyVaultCertificateIds()`](#fn-withsecuritydomainkeyvaultcertificateids) +* [`fn withSecurityDomainQuorum()`](#fn-withsecuritydomainquorum) * [`fn withSkuName()`](#fn-withskuname) * [`fn withSoftDeleteRetentionDays()`](#fn-withsoftdeleteretentiondays) * [`fn withTags()`](#fn-withtags) @@ -69,6 +71,8 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `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. - `purge_protection_enabled` (`bool`): Set the `purge_protection_enabled` field on the resulting resource block. When `null`, the `purge_protection_enabled` field will be omitted from the resulting object. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block. + - `security_domain_key_vault_certificate_ids` (`list`): Set the `security_domain_key_vault_certificate_ids` field on the resulting resource block. When `null`, the `security_domain_key_vault_certificate_ids` field will be omitted from the resulting object. + - `security_domain_quorum` (`number`): Set the `security_domain_quorum` field on the resulting resource block. When `null`, the `security_domain_quorum` field will be omitted from the resulting object. - `sku_name` (`string`): Set the `sku_name` field on the resulting resource block. - `soft_delete_retention_days` (`number`): Set the `soft_delete_retention_days` field on the resulting resource block. When `null`, the `soft_delete_retention_days` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object. @@ -104,6 +108,8 @@ injecting into a complete block. - `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. - `purge_protection_enabled` (`bool`): Set the `purge_protection_enabled` field on the resulting object. When `null`, the `purge_protection_enabled` field will be omitted from the resulting object. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. + - `security_domain_key_vault_certificate_ids` (`list`): Set the `security_domain_key_vault_certificate_ids` field on the resulting object. When `null`, the `security_domain_key_vault_certificate_ids` field will be omitted from the resulting object. + - `security_domain_quorum` (`number`): Set the `security_domain_quorum` field on the resulting object. When `null`, the `security_domain_quorum` field will be omitted from the resulting object. - `sku_name` (`string`): Set the `sku_name` field on the resulting object. - `soft_delete_retention_days` (`number`): Set the `soft_delete_retention_days` field on the resulting object. When `null`, the `soft_delete_retention_days` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object. @@ -248,6 +254,38 @@ Terraform resource block to set or update the resource_group_name field. - `value` (`string`): The value to set for the `resource_group_name` field. +### fn withSecurityDomainKeyVaultCertificateIds + +```ts +withSecurityDomainKeyVaultCertificateIds() +``` + +`azurerm.list.withSecurityDomainKeyVaultCertificateIds` constructs a mixin object that can be merged into the `list` +Terraform resource block to set or update the security_domain_key_vault_certificate_ids field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list`): The value to set for the `security_domain_key_vault_certificate_ids` field. + + +### fn withSecurityDomainQuorum + +```ts +withSecurityDomainQuorum() +``` + +`azurerm.number.withSecurityDomainQuorum` constructs a mixin object that can be merged into the `number` +Terraform resource block to set or update the security_domain_quorum field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`number`): The value to set for the `security_domain_quorum` field. + + ### fn withSkuName ```ts @@ -392,6 +430,7 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. + - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/kubernetes_cluster.md b/docs/3.x/kubernetes_cluster.md index af37be4b..9c822a89 100644 --- a/docs/3.x/kubernetes_cluster.md +++ b/docs/3.x/kubernetes_cluster.md @@ -28,6 +28,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withAzurePolicyEnabled()`](#fn-withazurepolicyenabled) * [`fn withConfidentialComputing()`](#fn-withconfidentialcomputing) * [`fn withConfidentialComputingMixin()`](#fn-withconfidentialcomputingmixin) +* [`fn withCustomCaTrustCertificatesBase64()`](#fn-withcustomcatrustcertificatesbase64) * [`fn withDefaultNodePool()`](#fn-withdefaultnodepool) * [`fn withDefaultNodePoolMixin()`](#fn-withdefaultnodepoolmixin) * [`fn withDiskEncryptionSetId()`](#fn-withdiskencryptionsetid) @@ -56,7 +57,11 @@ This package contains functions and utilities for setting up the resource using * [`fn withLocalAccountDisabled()`](#fn-withlocalaccountdisabled) * [`fn withLocation()`](#fn-withlocation) * [`fn withMaintenanceWindow()`](#fn-withmaintenancewindow) +* [`fn withMaintenanceWindowAutoUpgrade()`](#fn-withmaintenancewindowautoupgrade) +* [`fn withMaintenanceWindowAutoUpgradeMixin()`](#fn-withmaintenancewindowautoupgrademixin) * [`fn withMaintenanceWindowMixin()`](#fn-withmaintenancewindowmixin) +* [`fn withMaintenanceWindowNodeOs()`](#fn-withmaintenancewindownodeos) +* [`fn withMaintenanceWindowNodeOsMixin()`](#fn-withmaintenancewindownodeosmixin) * [`fn withMicrosoftDefender()`](#fn-withmicrosoftdefender) * [`fn withMicrosoftDefenderMixin()`](#fn-withmicrosoftdefendermixin) * [`fn withMonitorMetrics()`](#fn-withmonitormetrics) @@ -138,6 +143,14 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-maintenance_windowallowednew) * [`obj maintenance_window.not_allowed`](#obj-maintenance_windownot_allowed) * [`fn new()`](#fn-maintenance_windownot_allowednew) +* [`obj maintenance_window_auto_upgrade`](#obj-maintenance_window_auto_upgrade) + * [`fn new()`](#fn-maintenance_window_auto_upgradenew) + * [`obj maintenance_window_auto_upgrade.not_allowed`](#obj-maintenance_window_auto_upgradenot_allowed) + * [`fn new()`](#fn-maintenance_window_auto_upgradenot_allowednew) +* [`obj maintenance_window_node_os`](#obj-maintenance_window_node_os) + * [`fn new()`](#fn-maintenance_window_node_osnew) + * [`obj maintenance_window_node_os.not_allowed`](#obj-maintenance_window_node_osnot_allowed) + * [`fn new()`](#fn-maintenance_window_node_osnot_allowednew) * [`obj microsoft_defender`](#obj-microsoft_defender) * [`fn new()`](#fn-microsoft_defendernew) * [`obj monitor_metrics`](#obj-monitor_metrics) @@ -199,6 +212,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `api_server_authorized_ip_ranges` (`list`): Set the `api_server_authorized_ip_ranges` field on the resulting resource block. When `null`, the `api_server_authorized_ip_ranges` field will be omitted from the resulting object. - `automatic_channel_upgrade` (`string`): Set the `automatic_channel_upgrade` field on the resulting resource block. When `null`, the `automatic_channel_upgrade` field will be omitted from the resulting object. - `azure_policy_enabled` (`bool`): Set the `azure_policy_enabled` field on the resulting resource block. When `null`, the `azure_policy_enabled` field will be omitted from the resulting object. + - `custom_ca_trust_certificates_base64` (`list`): Set the `custom_ca_trust_certificates_base64` field on the resulting resource block. When `null`, the `custom_ca_trust_certificates_base64` field will be omitted from the resulting object. - `disk_encryption_set_id` (`string`): Set the `disk_encryption_set_id` field on the resulting resource block. When `null`, the `disk_encryption_set_id` field will be omitted from the resulting object. - `dns_prefix` (`string`): Set the `dns_prefix` field on the resulting resource block. When `null`, the `dns_prefix` field will be omitted from the resulting object. - `dns_prefix_private_cluster` (`string`): Set the `dns_prefix_private_cluster` field on the resulting resource block. When `null`, the `dns_prefix_private_cluster` field will be omitted from the resulting object. @@ -239,6 +253,8 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `kubelet_identity` (`list[obj]`): Set the `kubelet_identity` field on the resulting resource block. When `null`, the `kubelet_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.kubernetes_cluster.kubelet_identity.new](#fn-kubelet_identitynew) constructor. - `linux_profile` (`list[obj]`): Set the `linux_profile` field on the resulting resource block. When `null`, the `linux_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.linux_profile.new](#fn-linux_profilenew) constructor. - `maintenance_window` (`list[obj]`): Set the `maintenance_window` field on the resulting resource block. When `null`, the `maintenance_window` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window.new](#fn-maintenance_windownew) constructor. + - `maintenance_window_auto_upgrade` (`list[obj]`): Set the `maintenance_window_auto_upgrade` field on the resulting resource block. When `null`, the `maintenance_window_auto_upgrade` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_auto_upgrade.new](#fn-maintenance_window_auto_upgradenew) constructor. + - `maintenance_window_node_os` (`list[obj]`): Set the `maintenance_window_node_os` field on the resulting resource block. When `null`, the `maintenance_window_node_os` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_node_os.new](#fn-maintenance_window_node_osnew) constructor. - `microsoft_defender` (`list[obj]`): Set the `microsoft_defender` field on the resulting resource block. When `null`, the `microsoft_defender` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.microsoft_defender.new](#fn-microsoft_defendernew) constructor. - `monitor_metrics` (`list[obj]`): Set the `monitor_metrics` field on the resulting resource block. When `null`, the `monitor_metrics` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.monitor_metrics.new](#fn-monitor_metricsnew) constructor. - `network_profile` (`list[obj]`): Set the `network_profile` field on the resulting resource block. When `null`, the `network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.network_profile.new](#fn-network_profilenew) constructor. @@ -276,6 +292,7 @@ injecting into a complete block. - `api_server_authorized_ip_ranges` (`list`): Set the `api_server_authorized_ip_ranges` field on the resulting object. When `null`, the `api_server_authorized_ip_ranges` field will be omitted from the resulting object. - `automatic_channel_upgrade` (`string`): Set the `automatic_channel_upgrade` field on the resulting object. When `null`, the `automatic_channel_upgrade` field will be omitted from the resulting object. - `azure_policy_enabled` (`bool`): Set the `azure_policy_enabled` field on the resulting object. When `null`, the `azure_policy_enabled` field will be omitted from the resulting object. + - `custom_ca_trust_certificates_base64` (`list`): Set the `custom_ca_trust_certificates_base64` field on the resulting object. When `null`, the `custom_ca_trust_certificates_base64` field will be omitted from the resulting object. - `disk_encryption_set_id` (`string`): Set the `disk_encryption_set_id` field on the resulting object. When `null`, the `disk_encryption_set_id` field will be omitted from the resulting object. - `dns_prefix` (`string`): Set the `dns_prefix` field on the resulting object. When `null`, the `dns_prefix` field will be omitted from the resulting object. - `dns_prefix_private_cluster` (`string`): Set the `dns_prefix_private_cluster` field on the resulting object. When `null`, the `dns_prefix_private_cluster` field will be omitted from the resulting object. @@ -316,6 +333,8 @@ injecting into a complete block. - `kubelet_identity` (`list[obj]`): Set the `kubelet_identity` field on the resulting object. When `null`, the `kubelet_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.kubernetes_cluster.kubelet_identity.new](#fn-kubelet_identitynew) constructor. - `linux_profile` (`list[obj]`): Set the `linux_profile` field on the resulting object. When `null`, the `linux_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.linux_profile.new](#fn-linux_profilenew) constructor. - `maintenance_window` (`list[obj]`): Set the `maintenance_window` field on the resulting object. When `null`, the `maintenance_window` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window.new](#fn-maintenance_windownew) constructor. + - `maintenance_window_auto_upgrade` (`list[obj]`): Set the `maintenance_window_auto_upgrade` field on the resulting object. When `null`, the `maintenance_window_auto_upgrade` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_auto_upgrade.new](#fn-maintenance_window_auto_upgradenew) constructor. + - `maintenance_window_node_os` (`list[obj]`): Set the `maintenance_window_node_os` field on the resulting object. When `null`, the `maintenance_window_node_os` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_node_os.new](#fn-maintenance_window_node_osnew) constructor. - `microsoft_defender` (`list[obj]`): Set the `microsoft_defender` field on the resulting object. When `null`, the `microsoft_defender` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.microsoft_defender.new](#fn-microsoft_defendernew) constructor. - `monitor_metrics` (`list[obj]`): Set the `monitor_metrics` field on the resulting object. When `null`, the `monitor_metrics` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.monitor_metrics.new](#fn-monitor_metricsnew) constructor. - `network_profile` (`list[obj]`): Set the `network_profile` field on the resulting object. When `null`, the `network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.network_profile.new](#fn-network_profilenew) constructor. @@ -565,6 +584,22 @@ function. - `value` (`list[obj]`): The value to set for the `confidential_computing` field. +### fn withCustomCaTrustCertificatesBase64 + +```ts +withCustomCaTrustCertificatesBase64() +``` + +`azurerm.list.withCustomCaTrustCertificatesBase64` constructs a mixin object that can be merged into the `list` +Terraform resource block to set or update the custom_ca_trust_certificates_base64 field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list`): The value to set for the `custom_ca_trust_certificates_base64` field. + + ### fn withDefaultNodePool ```ts @@ -1055,6 +1090,43 @@ passed in value to the existing array, use the [azurerm.list[obj].withMaintenanc - `value` (`list[obj]`): The value to set for the `maintenance_window` field. +### fn withMaintenanceWindowAutoUpgrade + +```ts +withMaintenanceWindowAutoUpgrade() +``` + +`azurerm.list[obj].withMaintenanceWindowAutoUpgrade` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the maintenance_window_auto_upgrade field. + +This function will replace the array with the passed in `value`. If you wish to instead append the +passed in value to the existing array, use the [azurerm.list[obj].withMaintenanceWindowAutoUpgradeMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `maintenance_window_auto_upgrade` field. + + +### fn withMaintenanceWindowAutoUpgradeMixin + +```ts +withMaintenanceWindowAutoUpgradeMixin() +``` + +`azurerm.list[obj].withMaintenanceWindowAutoUpgradeMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the maintenance_window_auto_upgrade field. + +This function will append the passed in array or object to the existing array. If you wish +to instead replace the array with the passed in `value`, use the [azurerm.list[obj].withMaintenanceWindowAutoUpgrade](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `maintenance_window_auto_upgrade` field. + + ### fn withMaintenanceWindowMixin ```ts @@ -1074,6 +1146,43 @@ function. - `value` (`list[obj]`): The value to set for the `maintenance_window` field. +### fn withMaintenanceWindowNodeOs + +```ts +withMaintenanceWindowNodeOs() +``` + +`azurerm.list[obj].withMaintenanceWindowNodeOs` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the maintenance_window_node_os field. + +This function will replace the array with the passed in `value`. If you wish to instead append the +passed in value to the existing array, use the [azurerm.list[obj].withMaintenanceWindowNodeOsMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `maintenance_window_node_os` field. + + +### fn withMaintenanceWindowNodeOsMixin + +```ts +withMaintenanceWindowNodeOsMixin() +``` + +`azurerm.list[obj].withMaintenanceWindowNodeOsMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the maintenance_window_node_os field. + +This function will append the passed in array or object to the existing array. If you wish +to instead replace the array with the passed in `value`, use the [azurerm.list[obj].withMaintenanceWindowNodeOs](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `maintenance_window_node_os` field. + + ### fn withMicrosoftDefender ```ts @@ -2333,6 +2442,118 @@ Terraform sub block. +**Args**: + - `end` (`string`): Set the `end` field on the resulting object. + - `start` (`string`): Set the `start` field on the resulting object. + +**Returns**: + - An attribute object that represents the `not_allowed` sub block. + + +## obj maintenance_window_auto_upgrade + + + +### fn maintenance_window_auto_upgrade.new + +```ts +new() +``` + + +`azurerm.kubernetes_cluster.maintenance_window_auto_upgrade.new` constructs a new object with attributes and blocks configured for the `maintenance_window_auto_upgrade` +Terraform sub block. + + + +**Args**: + - `day_of_month` (`number`): Set the `day_of_month` field on the resulting object. When `null`, the `day_of_month` field will be omitted from the resulting object. + - `day_of_week` (`string`): Set the `day_of_week` field on the resulting object. When `null`, the `day_of_week` field will be omitted from the resulting object. + - `duration` (`number`): Set the `duration` field on the resulting object. + - `frequency` (`string`): Set the `frequency` field on the resulting object. + - `interval` (`number`): Set the `interval` field on the resulting object. + - `start_date` (`string`): Set the `start_date` field on the resulting object. When `null`, the `start_date` field will be omitted from the resulting object. + - `start_time` (`string`): Set the `start_time` field on the resulting object. When `null`, the `start_time` field will be omitted from the resulting object. + - `utc_offset` (`string`): Set the `utc_offset` field on the resulting object. When `null`, the `utc_offset` field will be omitted from the resulting object. + - `week_index` (`string`): Set the `week_index` field on the resulting object. When `null`, the `week_index` field will be omitted from the resulting object. + - `not_allowed` (`list[obj]`): Set the `not_allowed` field on the resulting object. When `null`, the `not_allowed` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_auto_upgrade.not_allowed.new](#fn-maintenance_window_auto_upgradenot_allowednew) constructor. + +**Returns**: + - An attribute object that represents the `maintenance_window_auto_upgrade` sub block. + + +## obj maintenance_window_auto_upgrade.not_allowed + + + +### fn maintenance_window_auto_upgrade.not_allowed.new + +```ts +new() +``` + + +`azurerm.kubernetes_cluster.maintenance_window_auto_upgrade.not_allowed.new` constructs a new object with attributes and blocks configured for the `not_allowed` +Terraform sub block. + + + +**Args**: + - `end` (`string`): Set the `end` field on the resulting object. + - `start` (`string`): Set the `start` field on the resulting object. + +**Returns**: + - An attribute object that represents the `not_allowed` sub block. + + +## obj maintenance_window_node_os + + + +### fn maintenance_window_node_os.new + +```ts +new() +``` + + +`azurerm.kubernetes_cluster.maintenance_window_node_os.new` constructs a new object with attributes and blocks configured for the `maintenance_window_node_os` +Terraform sub block. + + + +**Args**: + - `day_of_month` (`number`): Set the `day_of_month` field on the resulting object. When `null`, the `day_of_month` field will be omitted from the resulting object. + - `day_of_week` (`string`): Set the `day_of_week` field on the resulting object. When `null`, the `day_of_week` field will be omitted from the resulting object. + - `duration` (`number`): Set the `duration` field on the resulting object. + - `frequency` (`string`): Set the `frequency` field on the resulting object. + - `interval` (`number`): Set the `interval` field on the resulting object. + - `start_date` (`string`): Set the `start_date` field on the resulting object. When `null`, the `start_date` field will be omitted from the resulting object. + - `start_time` (`string`): Set the `start_time` field on the resulting object. When `null`, the `start_time` field will be omitted from the resulting object. + - `utc_offset` (`string`): Set the `utc_offset` field on the resulting object. When `null`, the `utc_offset` field will be omitted from the resulting object. + - `week_index` (`string`): Set the `week_index` field on the resulting object. When `null`, the `week_index` field will be omitted from the resulting object. + - `not_allowed` (`list[obj]`): Set the `not_allowed` field on the resulting object. When `null`, the `not_allowed` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_node_os.not_allowed.new](#fn-maintenance_window_node_osnot_allowednew) constructor. + +**Returns**: + - An attribute object that represents the `maintenance_window_node_os` sub block. + + +## obj maintenance_window_node_os.not_allowed + + + +### fn maintenance_window_node_os.not_allowed.new + +```ts +new() +``` + + +`azurerm.kubernetes_cluster.maintenance_window_node_os.not_allowed.new` constructs a new object with attributes and blocks configured for the `not_allowed` +Terraform sub block. + + + **Args**: - `end` (`string`): Set the `end` field on the resulting object. - `start` (`string`): Set the `start` field on the resulting object. diff --git a/docs/3.x/linux_web_app.md b/docs/3.x/linux_web_app.md index e85932e1..797bdf89 100644 --- a/docs/3.x/linux_web_app.md +++ b/docs/3.x/linux_web_app.md @@ -1673,7 +1673,11 @@ Terraform sub block. **Args**: - `docker_image` (`string`): Set the `docker_image` field on the resulting object. When `null`, the `docker_image` field will be omitted from the resulting object. + - `docker_image_name` (`string`): Set the `docker_image_name` field on the resulting object. When `null`, the `docker_image_name` field will be omitted from the resulting object. - `docker_image_tag` (`string`): Set the `docker_image_tag` field on the resulting object. When `null`, the `docker_image_tag` field will be omitted from the resulting object. + - `docker_registry_password` (`string`): Set the `docker_registry_password` field on the resulting object. When `null`, the `docker_registry_password` field will be omitted from the resulting object. + - `docker_registry_url` (`string`): Set the `docker_registry_url` field on the resulting object. When `null`, the `docker_registry_url` field will be omitted from the resulting object. + - `docker_registry_username` (`string`): Set the `docker_registry_username` field on the resulting object. When `null`, the `docker_registry_username` field will be omitted from the resulting object. - `dotnet_version` (`string`): Set the `dotnet_version` field on the resulting object. When `null`, the `dotnet_version` field will be omitted from the resulting object. - `go_version` (`string`): Set the `go_version` field on the resulting object. When `null`, the `go_version` field will be omitted from the resulting object. - `java_server` (`string`): Set the `java_server` field on the resulting object. When `null`, the `java_server` field will be omitted from the resulting object. @@ -1833,7 +1837,7 @@ Terraform sub block. - `path` (`string`): Set the `path` field on the resulting object. When `null`, the `path` field will be omitted from the resulting object. - `status_code_range` (`string`): Set the `status_code_range` field on the resulting object. - `sub_status` (`number`): Set the `sub_status` field on the resulting object. When `null`, the `sub_status` field will be omitted from the resulting object. - - `win32_status` (`string`): Set the `win32_status` field on the resulting object. When `null`, the `win32_status` field will be omitted from the resulting object. + - `win32_status` (`number`): Set the `win32_status` field on the resulting object. When `null`, the `win32_status` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `status_code` sub block. diff --git a/docs/3.x/linux_web_app_slot.md b/docs/3.x/linux_web_app_slot.md index 4f93e6b4..25d8b3ec 100644 --- a/docs/3.x/linux_web_app_slot.md +++ b/docs/3.x/linux_web_app_slot.md @@ -1612,7 +1612,11 @@ Terraform sub block. **Args**: - `docker_image` (`string`): Set the `docker_image` field on the resulting object. When `null`, the `docker_image` field will be omitted from the resulting object. + - `docker_image_name` (`string`): Set the `docker_image_name` field on the resulting object. When `null`, the `docker_image_name` field will be omitted from the resulting object. - `docker_image_tag` (`string`): Set the `docker_image_tag` field on the resulting object. When `null`, the `docker_image_tag` field will be omitted from the resulting object. + - `docker_registry_password` (`string`): Set the `docker_registry_password` field on the resulting object. When `null`, the `docker_registry_password` field will be omitted from the resulting object. + - `docker_registry_url` (`string`): Set the `docker_registry_url` field on the resulting object. When `null`, the `docker_registry_url` field will be omitted from the resulting object. + - `docker_registry_username` (`string`): Set the `docker_registry_username` field on the resulting object. When `null`, the `docker_registry_username` field will be omitted from the resulting object. - `dotnet_version` (`string`): Set the `dotnet_version` field on the resulting object. When `null`, the `dotnet_version` field will be omitted from the resulting object. - `go_version` (`string`): Set the `go_version` field on the resulting object. When `null`, the `go_version` field will be omitted from the resulting object. - `java_server` (`string`): Set the `java_server` field on the resulting object. When `null`, the `java_server` field will be omitted from the resulting object. @@ -1772,7 +1776,7 @@ Terraform sub block. - `path` (`string`): Set the `path` field on the resulting object. When `null`, the `path` field will be omitted from the resulting object. - `status_code_range` (`string`): Set the `status_code_range` field on the resulting object. - `sub_status` (`number`): Set the `sub_status` field on the resulting object. When `null`, the `sub_status` field will be omitted from the resulting object. - - `win32_status` (`string`): Set the `win32_status` field on the resulting object. When `null`, the `win32_status` field will be omitted from the resulting object. + - `win32_status` (`number`): Set the `win32_status` field on the resulting object. When `null`, the `win32_status` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `status_code` sub block. diff --git a/docs/3.x/monitor_aad_diagnostic_setting.md b/docs/3.x/monitor_aad_diagnostic_setting.md index 63b9a741..599c3569 100644 --- a/docs/3.x/monitor_aad_diagnostic_setting.md +++ b/docs/3.x/monitor_aad_diagnostic_setting.md @@ -15,6 +15,8 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-new) * [`fn newAttrs()`](#fn-newattrs) +* [`fn withEnabledLog()`](#fn-withenabledlog) +* [`fn withEnabledLogMixin()`](#fn-withenabledlogmixin) * [`fn withEventhubAuthorizationRuleId()`](#fn-witheventhubauthorizationruleid) * [`fn withEventhubName()`](#fn-witheventhubname) * [`fn withLog()`](#fn-withlog) @@ -24,6 +26,10 @@ This package contains functions and utilities for setting up the resource using * [`fn withStorageAccountId()`](#fn-withstorageaccountid) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj enabled_log`](#obj-enabled_log) + * [`fn new()`](#fn-enabled_lognew) + * [`obj enabled_log.retention_policy`](#obj-enabled_logretention_policy) + * [`fn new()`](#fn-enabled_logretention_policynew) * [`obj log`](#obj-log) * [`fn new()`](#fn-lognew) * [`obj log.retention_policy`](#obj-logretention_policy) @@ -65,6 +71,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `log_analytics_workspace_id` (`string`): Set the `log_analytics_workspace_id` field on the resulting resource block. When `null`, the `log_analytics_workspace_id` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting resource block. - `storage_account_id` (`string`): Set the `storage_account_id` field on the resulting resource block. When `null`, the `storage_account_id` field will be omitted from the resulting object. + - `enabled_log` (`list[obj]`): Set the `enabled_log` field on the resulting resource block. When `null`, the `enabled_log` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.monitor_aad_diagnostic_setting.enabled_log.new](#fn-enabled_lognew) constructor. - `log` (`list[obj]`): Set the `log` field on the resulting resource block. When `null`, the `log` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.monitor_aad_diagnostic_setting.log.new](#fn-lognew) constructor. - `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.monitor_aad_diagnostic_setting.timeouts.new](#fn-timeoutsnew) constructor. @@ -95,6 +102,7 @@ injecting into a complete block. - `log_analytics_workspace_id` (`string`): Set the `log_analytics_workspace_id` field on the resulting object. When `null`, the `log_analytics_workspace_id` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting object. - `storage_account_id` (`string`): Set the `storage_account_id` field on the resulting object. When `null`, the `storage_account_id` field will be omitted from the resulting object. + - `enabled_log` (`list[obj]`): Set the `enabled_log` field on the resulting object. When `null`, the `enabled_log` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.monitor_aad_diagnostic_setting.enabled_log.new](#fn-enabled_lognew) constructor. - `log` (`list[obj]`): Set the `log` field on the resulting object. When `null`, the `log` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.monitor_aad_diagnostic_setting.log.new](#fn-lognew) constructor. - `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.monitor_aad_diagnostic_setting.timeouts.new](#fn-timeoutsnew) constructor. @@ -102,6 +110,43 @@ injecting into a complete block. - 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 `monitor_aad_diagnostic_setting` resource into the root Terraform configuration. +### fn withEnabledLog + +```ts +withEnabledLog() +``` + +`azurerm.list[obj].withEnabledLog` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the enabled_log field. + +This function will replace the array with the passed in `value`. If you wish to instead append the +passed in value to the existing array, use the [azurerm.list[obj].withEnabledLogMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `enabled_log` field. + + +### fn withEnabledLogMixin + +```ts +withEnabledLogMixin() +``` + +`azurerm.list[obj].withEnabledLogMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the enabled_log field. + +This function will append the passed in array or object to the existing array. If you wish +to instead replace the array with the passed in `value`, use the [azurerm.list[obj].withEnabledLog](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `enabled_log` field. + + ### fn withEventhubAuthorizationRuleId ```ts @@ -255,6 +300,54 @@ function. - `value` (`obj`): The value to set for the `timeouts` field. +## obj enabled_log + + + +### fn enabled_log.new + +```ts +new() +``` + + +`azurerm.monitor_aad_diagnostic_setting.enabled_log.new` constructs a new object with attributes and blocks configured for the `enabled_log` +Terraform sub block. + + + +**Args**: + - `category` (`string`): Set the `category` field on the resulting object. + - `retention_policy` (`list[obj]`): Set the `retention_policy` field on the resulting object. When `null`, the `retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.monitor_aad_diagnostic_setting.enabled_log.retention_policy.new](#fn-enabled_logretention_policynew) constructor. + +**Returns**: + - An attribute object that represents the `enabled_log` sub block. + + +## obj enabled_log.retention_policy + + + +### fn enabled_log.retention_policy.new + +```ts +new() +``` + + +`azurerm.monitor_aad_diagnostic_setting.enabled_log.retention_policy.new` constructs a new object with attributes and blocks configured for the `retention_policy` +Terraform sub block. + + + +**Args**: + - `days` (`number`): Set the `days` field on the resulting object. When `null`, the `days` field will be omitted from the resulting object. + - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `retention_policy` sub block. + + ## obj log diff --git a/docs/3.x/resource_group.md b/docs/3.x/resource_group.md index 904fb92d..048d8ed6 100644 --- a/docs/3.x/resource_group.md +++ b/docs/3.x/resource_group.md @@ -16,6 +16,7 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-new) * [`fn newAttrs()`](#fn-newattrs) * [`fn withLocation()`](#fn-withlocation) +* [`fn withManagedBy()`](#fn-withmanagedby) * [`fn withName()`](#fn-withname) * [`fn withTags()`](#fn-withtags) * [`fn withTimeouts()`](#fn-withtimeouts) @@ -53,6 +54,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `resourceLabel` (`string`): The name label of the block. - `location` (`string`): Set the `location` field on the resulting resource block. + - `managed_by` (`string`): Set the `managed_by` field on the resulting resource block. When `null`, the `managed_by` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting resource block. - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object. - `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.resource_group.timeouts.new](#fn-timeoutsnew) constructor. @@ -80,6 +82,7 @@ injecting into a complete block. **Args**: - `location` (`string`): Set the `location` field on the resulting object. + - `managed_by` (`string`): Set the `managed_by` field on the resulting object. When `null`, the `managed_by` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from 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.resource_group.timeouts.new](#fn-timeoutsnew) constructor. @@ -104,6 +107,22 @@ Terraform resource block to set or update the location field. - `value` (`string`): The value to set for the `location` field. +### fn withManagedBy + +```ts +withManagedBy() +``` + +`azurerm.string.withManagedBy` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the managed_by field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `managed_by` field. + + ### fn withName ```ts diff --git a/docs/3.x/spring_cloud_configuration_service.md b/docs/3.x/spring_cloud_configuration_service.md index 39eb0edb..a618a8ae 100644 --- a/docs/3.x/spring_cloud_configuration_service.md +++ b/docs/3.x/spring_cloud_configuration_service.md @@ -15,6 +15,7 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-new) * [`fn newAttrs()`](#fn-newattrs) +* [`fn withGeneration()`](#fn-withgeneration) * [`fn withName()`](#fn-withname) * [`fn withRepository()`](#fn-withrepository) * [`fn withRepositoryMixin()`](#fn-withrepositorymixin) @@ -55,6 +56,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `resourceLabel` (`string`): The name label of the block. + - `generation` (`string`): Set the `generation` field on the resulting resource block. When `null`, the `generation` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting resource block. - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting resource block. - `repository` (`list[obj]`): Set the `repository` field on the resulting resource block. When `null`, the `repository` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_configuration_service.repository.new](#fn-repositorynew) constructor. @@ -82,6 +84,7 @@ This is most useful when you need to preprocess the attributes with functions, c injecting into a complete block. **Args**: + - `generation` (`string`): Set the `generation` field on the resulting object. When `null`, the `generation` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting object. - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting object. - `repository` (`list[obj]`): Set the `repository` field on the resulting object. When `null`, the `repository` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_configuration_service.repository.new](#fn-repositorynew) constructor. @@ -91,6 +94,22 @@ injecting into a complete block. - 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 `spring_cloud_configuration_service` resource into the root Terraform configuration. +### fn withGeneration + +```ts +withGeneration() +``` + +`azurerm.string.withGeneration` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the generation field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `generation` field. + + ### fn withName ```ts diff --git a/docs/3.x/windows_web_app.md b/docs/3.x/windows_web_app.md index 7386c212..d93f25c6 100644 --- a/docs/3.x/windows_web_app.md +++ b/docs/3.x/windows_web_app.md @@ -1683,6 +1683,10 @@ Terraform sub block. - `docker_container_name` (`string`): Set the `docker_container_name` field on the resulting object. When `null`, the `docker_container_name` field will be omitted from the resulting object. - `docker_container_registry` (`string`): Set the `docker_container_registry` field on the resulting object. When `null`, the `docker_container_registry` field will be omitted from the resulting object. - `docker_container_tag` (`string`): Set the `docker_container_tag` field on the resulting object. When `null`, the `docker_container_tag` field will be omitted from the resulting object. + - `docker_image_name` (`string`): Set the `docker_image_name` field on the resulting object. When `null`, the `docker_image_name` field will be omitted from the resulting object. + - `docker_registry_password` (`string`): Set the `docker_registry_password` field on the resulting object. When `null`, the `docker_registry_password` field will be omitted from the resulting object. + - `docker_registry_url` (`string`): Set the `docker_registry_url` field on the resulting object. When `null`, the `docker_registry_url` field will be omitted from the resulting object. + - `docker_registry_username` (`string`): Set the `docker_registry_username` field on the resulting object. When `null`, the `docker_registry_username` field will be omitted from the resulting object. - `dotnet_core_version` (`string`): The version of DotNetCore to use. When `null`, the `dotnet_core_version` field will be omitted from the resulting object. - `dotnet_version` (`string`): Set the `dotnet_version` field on the resulting object. When `null`, the `dotnet_version` field will be omitted from the resulting object. - `java_container` (`string`): Set the `java_container` field on the resulting object. When `null`, the `java_container` field will be omitted from the resulting object. @@ -1870,7 +1874,7 @@ Terraform sub block. - `path` (`string`): Set the `path` field on the resulting object. When `null`, the `path` field will be omitted from the resulting object. - `status_code_range` (`string`): Set the `status_code_range` field on the resulting object. - `sub_status` (`number`): Set the `sub_status` field on the resulting object. When `null`, the `sub_status` field will be omitted from the resulting object. - - `win32_status` (`string`): Set the `win32_status` field on the resulting object. When `null`, the `win32_status` field will be omitted from the resulting object. + - `win32_status` (`number`): Set the `win32_status` field on the resulting object. When `null`, the `win32_status` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `status_code` sub block. diff --git a/docs/3.x/windows_web_app_slot.md b/docs/3.x/windows_web_app_slot.md index 859c5555..a77095d0 100644 --- a/docs/3.x/windows_web_app_slot.md +++ b/docs/3.x/windows_web_app_slot.md @@ -1622,6 +1622,10 @@ Terraform sub block. - `docker_container_name` (`string`): Set the `docker_container_name` field on the resulting object. When `null`, the `docker_container_name` field will be omitted from the resulting object. - `docker_container_registry` (`string`): Set the `docker_container_registry` field on the resulting object. When `null`, the `docker_container_registry` field will be omitted from the resulting object. - `docker_container_tag` (`string`): Set the `docker_container_tag` field on the resulting object. When `null`, the `docker_container_tag` field will be omitted from the resulting object. + - `docker_image_name` (`string`): Set the `docker_image_name` field on the resulting object. When `null`, the `docker_image_name` field will be omitted from the resulting object. + - `docker_registry_password` (`string`): Set the `docker_registry_password` field on the resulting object. When `null`, the `docker_registry_password` field will be omitted from the resulting object. + - `docker_registry_url` (`string`): Set the `docker_registry_url` field on the resulting object. When `null`, the `docker_registry_url` field will be omitted from the resulting object. + - `docker_registry_username` (`string`): Set the `docker_registry_username` field on the resulting object. When `null`, the `docker_registry_username` field will be omitted from the resulting object. - `dotnet_core_version` (`string`): The version of DotNetCore to use. When `null`, the `dotnet_core_version` field will be omitted from the resulting object. - `dotnet_version` (`string`): Set the `dotnet_version` field on the resulting object. When `null`, the `dotnet_version` field will be omitted from the resulting object. - `java_container` (`string`): Set the `java_container` field on the resulting object. When `null`, the `java_container` field will be omitted from the resulting object. @@ -1809,7 +1813,7 @@ Terraform sub block. - `path` (`string`): Set the `path` field on the resulting object. When `null`, the `path` field will be omitted from the resulting object. - `status_code_range` (`string`): Set the `status_code_range` field on the resulting object. - `sub_status` (`number`): Set the `sub_status` field on the resulting object. When `null`, the `sub_status` field will be omitted from the resulting object. - - `win32_status` (`string`): Set the `win32_status` field on the resulting object. When `null`, the `win32_status` field will be omitted from the resulting object. + - `win32_status` (`number`): Set the `win32_status` field on the resulting object. When `null`, the `win32_status` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `status_code` sub block.