From 5d557749a60a8368cf0de95aab4fff0d7de3c77a Mon Sep 17 00:00:00 2001 From: tflibsonnet-ci <120686569+tflibsonnet-ci@users.noreply.github.com> Date: Fri, 4 Aug 2023 13:19:15 -0500 Subject: [PATCH] Update dependency hashicorp/terraform-provider-azurerm to v3.68.0 (#44) Signed-off-by: tflibsonnet-ci <120686569+tflibsonnet-ci@users.noreply.github.com> Co-authored-by: renovate[bot] --- .../data/automation_variable_object.libsonnet | 94 +++++ 3.x/_gen/data/eventgrid_domain.libsonnet | 52 +-- 3.x/_gen/data/eventgrid_topic.libsonnet | 24 +- 3.x/_gen/data/eventhub_sas.libsonnet | 76 ++++ 3.x/_gen/data/main.libsonnet | 3 + 3.x/_gen/data/mobile_network_sim.libsonnet | 76 ++++ 3.x/_gen/main.libsonnet | 6 + .../automation_variable_object.libsonnet | 142 +++++++ 3.x/_gen/resources/cosmosdb_account.libsonnet | 4 +- 3.x/_gen/resources/custom_ip_prefix.libsonnet | 212 ++++++++++ ...b_namespace_customer_managed_key.libsonnet | 24 +- 3.x/_gen/resources/image.libsonnet | 4 +- ...ster_trusted_access_role_binding.libsonnet | 114 ++++++ .../resources/linux_virtual_machine.libsonnet | 32 +- .../marketplace_role_assignment.libsonnet | 182 +++++++++ .../resources/mobile_network_sim.libsonnet | 206 ++++++++++ ...function_azure_traffic_collector.libsonnet | 114 ++++++ .../resources/shared_image_gallery.libsonnet | 52 ++- 3.x/_gen/resources/virtual_network.libsonnet | 36 +- .../web_application_firewall_policy.libsonnet | 28 +- .../windows_virtual_machine.libsonnet | 32 +- docs/3.x/README.md | 6 + docs/3.x/automation_variable_object.md | 255 +++++++++++++ docs/3.x/cosmosdb_account.md | 2 +- docs/3.x/custom_ip_prefix.md | 350 +++++++++++++++++ docs/3.x/data/automation_variable_object.md | 195 ++++++++++ docs/3.x/data/eventgrid_domain.md | 57 --- docs/3.x/data/eventgrid_topic.md | 19 - docs/3.x/data/eventhub_sas.md | 176 +++++++++ docs/3.x/data/index.md | 3 + docs/3.x/data/mobile_network_sim.md | 176 +++++++++ ...eventhub_namespace_customer_managed_key.md | 19 + docs/3.x/image.md | 1 + ...tes_cluster_trusted_access_role_binding.md | 217 +++++++++++ docs/3.x/linux_virtual_machine.md | 38 ++ docs/3.x/marketplace_role_assignment.md | 311 +++++++++++++++ docs/3.x/mobile_network_sim.md | 361 ++++++++++++++++++ ...etwork_function_azure_traffic_collector.md | 217 +++++++++++ docs/3.x/shared_image_gallery.md | 95 +++++ docs/3.x/virtual_network.md | 66 ++++ docs/3.x/web_application_firewall_policy.md | 55 +++ docs/3.x/windows_virtual_machine.md | 38 ++ 42 files changed, 4008 insertions(+), 162 deletions(-) create mode 100644 3.x/_gen/data/automation_variable_object.libsonnet create mode 100644 3.x/_gen/data/eventhub_sas.libsonnet create mode 100644 3.x/_gen/data/mobile_network_sim.libsonnet create mode 100644 3.x/_gen/resources/automation_variable_object.libsonnet create mode 100644 3.x/_gen/resources/custom_ip_prefix.libsonnet create mode 100644 3.x/_gen/resources/kubernetes_cluster_trusted_access_role_binding.libsonnet create mode 100644 3.x/_gen/resources/marketplace_role_assignment.libsonnet create mode 100644 3.x/_gen/resources/mobile_network_sim.libsonnet create mode 100644 3.x/_gen/resources/network_function_azure_traffic_collector.libsonnet create mode 100644 docs/3.x/automation_variable_object.md create mode 100644 docs/3.x/custom_ip_prefix.md create mode 100644 docs/3.x/data/automation_variable_object.md create mode 100644 docs/3.x/data/eventhub_sas.md create mode 100644 docs/3.x/data/mobile_network_sim.md create mode 100644 docs/3.x/kubernetes_cluster_trusted_access_role_binding.md create mode 100644 docs/3.x/marketplace_role_assignment.md create mode 100644 docs/3.x/mobile_network_sim.md create mode 100644 docs/3.x/network_function_azure_traffic_collector.md diff --git a/3.x/_gen/data/automation_variable_object.libsonnet b/3.x/_gen/data/automation_variable_object.libsonnet new file mode 100644 index 00000000..baa96e6e --- /dev/null +++ b/3.x/_gen/data/automation_variable_object.libsonnet @@ -0,0 +1,94 @@ +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='automation_variable_object', url='', help='`automation_variable_object` represents the `azurerm_automation_variable_object` 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.automation_variable_object.new` injects a new `data_azurerm_automation_variable_object` 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.automation_variable_object.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.automation_variable_object` using the reference:\n\n $._ref.data_azurerm_automation_variable_object.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_automation_variable_object.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 - `automation_account_name` (`string`): Set the `automation_account_name` field on the resulting data source block.\n - `name` (`string`): Set the `name` field on the resulting data source block.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting data source block.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.automation_variable_object.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, + automation_account_name, + name, + resource_group_name, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_automation_variable_object', + label=dataSrcLabel, + attrs=self.newAttrs( + automation_account_name=automation_account_name, + name=name, + resource_group_name=resource_group_name, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.automation_variable_object.newAttrs` constructs a new object with attributes and blocks configured for the `automation_variable_object`\nTerraform data source.\n\nUnlike [azurerm.data.automation_variable_object.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 - `automation_account_name` (`string`): Set the `automation_account_name` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.automation_variable_object.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 `automation_variable_object` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + automation_account_name, + name, + resource_group_name, + timeouts=null + ):: std.prune(a={ + automation_account_name: automation_account_name, + name: name, + resource_group_name: resource_group_name, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.automation_variable_object.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, + }), + }, + '#withAutomationAccountName':: d.fn(help='`azurerm.string.withAutomationAccountName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the automation_account_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 `automation_account_name` field.\n', args=[]), + withAutomationAccountName(dataSrcLabel, value): { + data+: { + azurerm_automation_variable_object+: { + [dataSrcLabel]+: { + automation_account_name: value, + }, + }, + }, + }, + '#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_automation_variable_object+: { + [dataSrcLabel]+: { + name: value, + }, + }, + }, + }, + '#withResourceGroupName':: d.fn(help='`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the resource_group_name field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `resource_group_name` field.\n', args=[]), + withResourceGroupName(dataSrcLabel, value): { + data+: { + azurerm_automation_variable_object+: { + [dataSrcLabel]+: { + resource_group_name: value, + }, + }, + }, + }, + '#withTimeouts':: d.fn(help='`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform data source block to set or update the timeouts field.\n\nThis function will replace the map with the passed in `value`. If you wish to instead merge the\npassed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(dataSrcLabel, value): { + data+: { + azurerm_automation_variable_object+: { + [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_automation_variable_object+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/data/eventgrid_domain.libsonnet b/3.x/_gen/data/eventgrid_domain.libsonnet index 4618b52d..e50ef47a 100644 --- a/3.x/_gen/data/eventgrid_domain.libsonnet +++ b/3.x/_gen/data/eventgrid_domain.libsonnet @@ -2,43 +2,27 @@ 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='eventgrid_domain', url='', help='`eventgrid_domain` represents the `azurerm_eventgrid_domain` 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.eventgrid_domain.new` injects a new `data_azurerm_eventgrid_domain` 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.eventgrid_domain.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.eventgrid_domain` using the reference:\n\n $._ref.data_azurerm_eventgrid_domain.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_eventgrid_domain.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 - `inbound_ip_rule` (`list`): Set the `inbound_ip_rule` field on the resulting data source block. When `null`, the `inbound_ip_rule` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting data source block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting data source 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 data source block.\n - `tags` (`obj`): Set the `tags` field on the resulting data source block. When `null`, the `tags` field will be omitted from the resulting object.\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.eventgrid_domain.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':: d.fn(help="\n`azurerm.data.eventgrid_domain.new` injects a new `data_azurerm_eventgrid_domain` 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.eventgrid_domain.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.eventgrid_domain` using the reference:\n\n $._ref.data_azurerm_eventgrid_domain.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_eventgrid_domain.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block.\n - `name` (`string`): Set the `name` field on the resulting data source block.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting data source block.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.eventgrid_domain.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]), new( dataSrcLabel, name, resource_group_name, - inbound_ip_rule=null, - public_network_access_enabled=null, - tags=null, timeouts=null, _meta={} ):: tf.withData( type='azurerm_eventgrid_domain', label=dataSrcLabel, - attrs=self.newAttrs( - inbound_ip_rule=inbound_ip_rule, - name=name, - public_network_access_enabled=public_network_access_enabled, - resource_group_name=resource_group_name, - tags=tags, - timeouts=timeouts - ), + attrs=self.newAttrs(name=name, resource_group_name=resource_group_name, timeouts=timeouts), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.data.eventgrid_domain.newAttrs` constructs a new object with attributes and blocks configured for the `eventgrid_domain`\nTerraform data source.\n\nUnlike [azurerm.data.eventgrid_domain.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 - `inbound_ip_rule` (`list`): Set the `inbound_ip_rule` field on the resulting object. When `null`, the `inbound_ip_rule` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting object. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `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.data.eventgrid_domain.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 `eventgrid_domain` data source into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.data.eventgrid_domain.newAttrs` constructs a new object with attributes and blocks configured for the `eventgrid_domain`\nTerraform data source.\n\nUnlike [azurerm.data.eventgrid_domain.new](#fn-new), this function will not inject the `data source`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `name` (`string`): Set the `name` field on the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.eventgrid_domain.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 `eventgrid_domain` data source into the root Terraform configuration.\n', args=[]), newAttrs( name, resource_group_name, - inbound_ip_rule=null, - public_network_access_enabled=null, - tags=null, timeouts=null ):: std.prune(a={ - inbound_ip_rule: inbound_ip_rule, name: name, - public_network_access_enabled: public_network_access_enabled, resource_group_name: resource_group_name, - tags: tags, timeouts: timeouts, }), timeouts:: { @@ -49,16 +33,6 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); read: read, }), }, - '#withInboundIpRule':: d.fn(help='`azurerm.list.withInboundIpRule` constructs a mixin object that can be merged into the `list`\nTerraform data source block to set or update the inbound_ip_rule field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`list`): The value to set for the `inbound_ip_rule` field.\n', args=[]), - withInboundIpRule(dataSrcLabel, value): { - data+: { - azurerm_eventgrid_domain+: { - [dataSrcLabel]+: { - inbound_ip_rule: value, - }, - }, - }, - }, '#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+: { @@ -69,16 +43,6 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, - '#withPublicNetworkAccessEnabled':: d.fn(help='`azurerm.bool.withPublicNetworkAccessEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform data source block to set or update the public_network_access_enabled field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`bool`): The value to set for the `public_network_access_enabled` field.\n', args=[]), - withPublicNetworkAccessEnabled(dataSrcLabel, value): { - data+: { - azurerm_eventgrid_domain+: { - [dataSrcLabel]+: { - public_network_access_enabled: value, - }, - }, - }, - }, '#withResourceGroupName':: d.fn(help='`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the resource_group_name field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `resource_group_name` field.\n', args=[]), withResourceGroupName(dataSrcLabel, value): { data+: { @@ -89,16 +53,6 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, - '#withTags':: d.fn(help='`azurerm.obj.withTags` constructs a mixin object that can be merged into the `obj`\nTerraform data source block to set or update the tags field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `tags` field.\n', args=[]), - withTags(dataSrcLabel, value): { - data+: { - azurerm_eventgrid_domain+: { - [dataSrcLabel]+: { - tags: 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+: { diff --git a/3.x/_gen/data/eventgrid_topic.libsonnet b/3.x/_gen/data/eventgrid_topic.libsonnet index 4c52e599..76ecef35 100644 --- a/3.x/_gen/data/eventgrid_topic.libsonnet +++ b/3.x/_gen/data/eventgrid_topic.libsonnet @@ -2,35 +2,27 @@ 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='eventgrid_topic', url='', help='`eventgrid_topic` represents the `azurerm_eventgrid_topic` 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.eventgrid_topic.new` injects a new `data_azurerm_eventgrid_topic` 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.eventgrid_topic.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.eventgrid_topic` using the reference:\n\n $._ref.data_azurerm_eventgrid_topic.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_eventgrid_topic.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block.\n - `name` (`string`): Set the `name` field on the resulting data source block.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting data source block.\n - `tags` (`obj`): Set the `tags` field on the resulting data source block. When `null`, the `tags` field will be omitted from the resulting object.\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.eventgrid_topic.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':: d.fn(help="\n`azurerm.data.eventgrid_topic.new` injects a new `data_azurerm_eventgrid_topic` 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.eventgrid_topic.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.eventgrid_topic` using the reference:\n\n $._ref.data_azurerm_eventgrid_topic.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_eventgrid_topic.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block.\n - `name` (`string`): Set the `name` field on the resulting data source block.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting data source block.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.eventgrid_topic.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]), new( dataSrcLabel, name, resource_group_name, - tags=null, timeouts=null, _meta={} ):: tf.withData( type='azurerm_eventgrid_topic', label=dataSrcLabel, - attrs=self.newAttrs( - name=name, - resource_group_name=resource_group_name, - tags=tags, - timeouts=timeouts - ), + attrs=self.newAttrs(name=name, resource_group_name=resource_group_name, timeouts=timeouts), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.data.eventgrid_topic.newAttrs` constructs a new object with attributes and blocks configured for the `eventgrid_topic`\nTerraform data source.\n\nUnlike [azurerm.data.eventgrid_topic.new](#fn-new), this function will not inject the `data source`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `name` (`string`): Set the `name` field on the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `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.data.eventgrid_topic.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 `eventgrid_topic` data source into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.data.eventgrid_topic.newAttrs` constructs a new object with attributes and blocks configured for the `eventgrid_topic`\nTerraform data source.\n\nUnlike [azurerm.data.eventgrid_topic.new](#fn-new), this function will not inject the `data source`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `name` (`string`): Set the `name` field on the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.eventgrid_topic.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 `eventgrid_topic` data source into the root Terraform configuration.\n', args=[]), newAttrs( name, resource_group_name, - tags=null, timeouts=null ):: std.prune(a={ name: name, resource_group_name: resource_group_name, - tags: tags, timeouts: timeouts, }), timeouts:: { @@ -61,16 +53,6 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, - '#withTags':: d.fn(help='`azurerm.obj.withTags` constructs a mixin object that can be merged into the `obj`\nTerraform data source block to set or update the tags field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `tags` field.\n', args=[]), - withTags(dataSrcLabel, value): { - data+: { - azurerm_eventgrid_topic+: { - [dataSrcLabel]+: { - tags: 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+: { diff --git a/3.x/_gen/data/eventhub_sas.libsonnet b/3.x/_gen/data/eventhub_sas.libsonnet new file mode 100644 index 00000000..34dff8fc --- /dev/null +++ b/3.x/_gen/data/eventhub_sas.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='eventhub_sas', url='', help='`eventhub_sas` represents the `azurerm_eventhub_sas` 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.eventhub_sas.new` injects a new `data_azurerm_eventhub_sas` 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.eventhub_sas.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.eventhub_sas` using the reference:\n\n $._ref.data_azurerm_eventhub_sas.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_eventhub_sas.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 - `connection_string` (`string`): Set the `connection_string` field on the resulting data source block.\n - `expiry` (`string`): Set the `expiry` 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.eventhub_sas.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, + connection_string, + expiry, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_eventhub_sas', + label=dataSrcLabel, + attrs=self.newAttrs(connection_string=connection_string, expiry=expiry, timeouts=timeouts), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.eventhub_sas.newAttrs` constructs a new object with attributes and blocks configured for the `eventhub_sas`\nTerraform data source.\n\nUnlike [azurerm.data.eventhub_sas.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 - `connection_string` (`string`): Set the `connection_string` field on the resulting object.\n - `expiry` (`string`): Set the `expiry` 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.eventhub_sas.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 `eventhub_sas` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + connection_string, + expiry, + timeouts=null + ):: std.prune(a={ + connection_string: connection_string, + expiry: expiry, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.eventhub_sas.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, + }), + }, + '#withConnectionString':: d.fn(help='`azurerm.string.withConnectionString` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the connection_string 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 `connection_string` field.\n', args=[]), + withConnectionString(dataSrcLabel, value): { + data+: { + azurerm_eventhub_sas+: { + [dataSrcLabel]+: { + connection_string: value, + }, + }, + }, + }, + '#withExpiry':: d.fn(help='`azurerm.string.withExpiry` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the expiry 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 `expiry` field.\n', args=[]), + withExpiry(dataSrcLabel, value): { + data+: { + azurerm_eventhub_sas+: { + [dataSrcLabel]+: { + expiry: 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_eventhub_sas+: { + [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_eventhub_sas+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/data/main.libsonnet b/3.x/_gen/data/main.libsonnet index e8e6c0b3..8ddbb5a7 100644 --- a/3.x/_gen/data/main.libsonnet +++ b/3.x/_gen/data/main.libsonnet @@ -30,6 +30,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); automation_variable_bool: (import 'automation_variable_bool.libsonnet'), automation_variable_datetime: (import 'automation_variable_datetime.libsonnet'), automation_variable_int: (import 'automation_variable_int.libsonnet'), + automation_variable_object: (import 'automation_variable_object.libsonnet'), automation_variable_string: (import 'automation_variable_string.libsonnet'), automation_variables: (import 'automation_variables.libsonnet'), availability_set: (import 'availability_set.libsonnet'), @@ -113,6 +114,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); eventhub_consumer_group: (import 'eventhub_consumer_group.libsonnet'), eventhub_namespace: (import 'eventhub_namespace.libsonnet'), eventhub_namespace_authorization_rule: (import 'eventhub_namespace_authorization_rule.libsonnet'), + eventhub_sas: (import 'eventhub_sas.libsonnet'), express_route_circuit: (import 'express_route_circuit.libsonnet'), extended_locations: (import 'extended_locations.libsonnet'), firewall: (import 'firewall.libsonnet'), @@ -177,6 +179,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); mobile_network_packet_core_control_plane: (import 'mobile_network_packet_core_control_plane.libsonnet'), mobile_network_packet_core_data_plane: (import 'mobile_network_packet_core_data_plane.libsonnet'), mobile_network_service: (import 'mobile_network_service.libsonnet'), + mobile_network_sim: (import 'mobile_network_sim.libsonnet'), mobile_network_sim_group: (import 'mobile_network_sim_group.libsonnet'), mobile_network_sim_policy: (import 'mobile_network_sim_policy.libsonnet'), mobile_network_site: (import 'mobile_network_site.libsonnet'), diff --git a/3.x/_gen/data/mobile_network_sim.libsonnet b/3.x/_gen/data/mobile_network_sim.libsonnet new file mode 100644 index 00000000..db7df1ca --- /dev/null +++ b/3.x/_gen/data/mobile_network_sim.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='mobile_network_sim', url='', help='`mobile_network_sim` represents the `azurerm_mobile_network_sim` 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.mobile_network_sim.new` injects a new `data_azurerm_mobile_network_sim` 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.mobile_network_sim.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.mobile_network_sim` using the reference:\n\n $._ref.data_azurerm_mobile_network_sim.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_mobile_network_sim.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 - `mobile_network_sim_group_id` (`string`): Set the `mobile_network_sim_group_id` field on the resulting data source block.\n - `name` (`string`): Set the `name` field on the resulting data source block.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.mobile_network_sim.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, + mobile_network_sim_group_id, + name, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_mobile_network_sim', + label=dataSrcLabel, + attrs=self.newAttrs(mobile_network_sim_group_id=mobile_network_sim_group_id, name=name, timeouts=timeouts), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.mobile_network_sim.newAttrs` constructs a new object with attributes and blocks configured for the `mobile_network_sim`\nTerraform data source.\n\nUnlike [azurerm.data.mobile_network_sim.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 - `mobile_network_sim_group_id` (`string`): Set the `mobile_network_sim_group_id` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.mobile_network_sim.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 `mobile_network_sim` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + mobile_network_sim_group_id, + name, + timeouts=null + ):: std.prune(a={ + mobile_network_sim_group_id: mobile_network_sim_group_id, + name: name, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.mobile_network_sim.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, + }), + }, + '#withMobileNetworkSimGroupId':: d.fn(help='`azurerm.string.withMobileNetworkSimGroupId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the mobile_network_sim_group_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 `mobile_network_sim_group_id` field.\n', args=[]), + withMobileNetworkSimGroupId(dataSrcLabel, value): { + data+: { + azurerm_mobile_network_sim+: { + [dataSrcLabel]+: { + mobile_network_sim_group_id: value, + }, + }, + }, + }, + '#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_mobile_network_sim+: { + [dataSrcLabel]+: { + name: value, + }, + }, + }, + }, + '#withTimeouts':: d.fn(help='`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform data source block to set or update the timeouts field.\n\nThis function will replace the map with the passed in `value`. If you wish to instead merge the\npassed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(dataSrcLabel, value): { + data+: { + azurerm_mobile_network_sim+: { + [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_mobile_network_sim+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/main.libsonnet b/3.x/_gen/main.libsonnet index e3a4c2e4..9d1f2f34 100644 --- a/3.x/_gen/main.libsonnet +++ b/3.x/_gen/main.libsonnet @@ -116,6 +116,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); automation_variable_bool: (import 'resources/automation_variable_bool.libsonnet'), automation_variable_datetime: (import 'resources/automation_variable_datetime.libsonnet'), automation_variable_int: (import 'resources/automation_variable_int.libsonnet'), + automation_variable_object: (import 'resources/automation_variable_object.libsonnet'), automation_variable_string: (import 'resources/automation_variable_string.libsonnet'), automation_watcher: (import 'resources/automation_watcher.libsonnet'), automation_webhook: (import 'resources/automation_webhook.libsonnet'), @@ -217,6 +218,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); cosmosdb_table: (import 'resources/cosmosdb_table.libsonnet'), cost_anomaly_alert: (import 'resources/cost_anomaly_alert.libsonnet'), cost_management_scheduled_action: (import 'resources/cost_management_scheduled_action.libsonnet'), + custom_ip_prefix: (import 'resources/custom_ip_prefix.libsonnet'), custom_provider: (import 'resources/custom_provider.libsonnet'), dashboard: (import 'resources/dashboard.libsonnet'), dashboard_grafana: (import 'resources/dashboard_grafana.libsonnet'), @@ -429,6 +431,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); kubernetes_cluster: (import 'resources/kubernetes_cluster.libsonnet'), kubernetes_cluster_extension: (import 'resources/kubernetes_cluster_extension.libsonnet'), kubernetes_cluster_node_pool: (import 'resources/kubernetes_cluster_node_pool.libsonnet'), + kubernetes_cluster_trusted_access_role_binding: (import 'resources/kubernetes_cluster_trusted_access_role_binding.libsonnet'), kubernetes_fleet_manager: (import 'resources/kubernetes_fleet_manager.libsonnet'), kubernetes_flux_configuration: (import 'resources/kubernetes_flux_configuration.libsonnet'), kusto_attached_database_configuration: (import 'resources/kusto_attached_database_configuration.libsonnet'), @@ -529,6 +532,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); mariadb_server: (import 'resources/mariadb_server.libsonnet'), mariadb_virtual_network_rule: (import 'resources/mariadb_virtual_network_rule.libsonnet'), marketplace_agreement: (import 'resources/marketplace_agreement.libsonnet'), + marketplace_role_assignment: (import 'resources/marketplace_role_assignment.libsonnet'), media_asset: (import 'resources/media_asset.libsonnet'), media_asset_filter: (import 'resources/media_asset_filter.libsonnet'), media_content_key_policy: (import 'resources/media_content_key_policy.libsonnet'), @@ -547,6 +551,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); mobile_network_packet_core_control_plane: (import 'resources/mobile_network_packet_core_control_plane.libsonnet'), mobile_network_packet_core_data_plane: (import 'resources/mobile_network_packet_core_data_plane.libsonnet'), mobile_network_service: (import 'resources/mobile_network_service.libsonnet'), + mobile_network_sim: (import 'resources/mobile_network_sim.libsonnet'), mobile_network_sim_group: (import 'resources/mobile_network_sim_group.libsonnet'), mobile_network_sim_policy: (import 'resources/mobile_network_sim_policy.libsonnet'), mobile_network_site: (import 'resources/mobile_network_site.libsonnet'), @@ -621,6 +626,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); netapp_volume_group_sap_hana: (import 'resources/netapp_volume_group_sap_hana.libsonnet'), network_connection_monitor: (import 'resources/network_connection_monitor.libsonnet'), network_ddos_protection_plan: (import 'resources/network_ddos_protection_plan.libsonnet'), + network_function_azure_traffic_collector: (import 'resources/network_function_azure_traffic_collector.libsonnet'), network_interface: (import 'resources/network_interface.libsonnet'), network_interface_application_gateway_backend_address_pool_association: (import 'resources/network_interface_application_gateway_backend_address_pool_association.libsonnet'), network_interface_application_security_group_association: (import 'resources/network_interface_application_security_group_association.libsonnet'), diff --git a/3.x/_gen/resources/automation_variable_object.libsonnet b/3.x/_gen/resources/automation_variable_object.libsonnet new file mode 100644 index 00000000..ac9129ee --- /dev/null +++ b/3.x/_gen/resources/automation_variable_object.libsonnet @@ -0,0 +1,142 @@ +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='automation_variable_object', url='', help='`automation_variable_object` represents the `azurerm_automation_variable_object` 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.automation_variable_object.new` injects a new `azurerm_automation_variable_object` 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_variable_object.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.automation_variable_object` using the reference:\n\n $._ref.azurerm_automation_variable_object.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_automation_variable_object.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_name` (`string`): Set the `automation_account_name` field on the resulting resource block.\n - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object.\n - `encrypted` (`bool`): Set the `encrypted` field on the resulting resource block. When `null`, the `encrypted` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `value` (`string`): Set the `value` field on the resulting resource block. When `null`, the `value` 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.automation_variable_object.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, + automation_account_name, + name, + resource_group_name, + description=null, + encrypted=null, + timeouts=null, + value=null, + _meta={} + ):: tf.withResource( + type='azurerm_automation_variable_object', + label=resourceLabel, + attrs=self.newAttrs( + automation_account_name=automation_account_name, + description=description, + encrypted=encrypted, + name=name, + resource_group_name=resource_group_name, + timeouts=timeouts, + value=value + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.automation_variable_object.newAttrs` constructs a new object with attributes and blocks configured for the `automation_variable_object`\nTerraform resource.\n\nUnlike [azurerm.automation_variable_object.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_name` (`string`): Set the `automation_account_name` field on 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 - `encrypted` (`bool`): Set the `encrypted` field on the resulting object. When `null`, the `encrypted` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `value` (`string`): Set the `value` field on the resulting object. When `null`, the `value` 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.automation_variable_object.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 `automation_variable_object` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + automation_account_name, + name, + resource_group_name, + description=null, + encrypted=null, + timeouts=null, + value=null + ):: std.prune(a={ + automation_account_name: automation_account_name, + description: description, + encrypted: encrypted, + name: name, + resource_group_name: resource_group_name, + timeouts: timeouts, + value: value, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.automation_variable_object.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, + update=null + ):: std.prune(a={ + create: create, + delete: delete, + read: read, + update: update, + }), + }, + '#withAutomationAccountName':: d.fn(help='`azurerm.string.withAutomationAccountName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the automation_account_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 `automation_account_name` field.\n', args=[]), + withAutomationAccountName(resourceLabel, value): { + resource+: { + azurerm_automation_variable_object+: { + [resourceLabel]+: { + automation_account_name: value, + }, + }, + }, + }, + '#withDescription':: d.fn(help='`azurerm.string.withDescription` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the description 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 `description` field.\n', args=[]), + withDescription(resourceLabel, value): { + resource+: { + azurerm_automation_variable_object+: { + [resourceLabel]+: { + description: value, + }, + }, + }, + }, + '#withEncrypted':: d.fn(help='`azurerm.bool.withEncrypted` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the encrypted field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`bool`): The value to set for the `encrypted` field.\n', args=[]), + withEncrypted(resourceLabel, value): { + resource+: { + azurerm_automation_variable_object+: { + [resourceLabel]+: { + encrypted: 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+: { + azurerm_automation_variable_object+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withResourceGroupName':: d.fn(help='`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the resource_group_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 `resource_group_name` field.\n', args=[]), + withResourceGroupName(resourceLabel, value): { + resource+: { + azurerm_automation_variable_object+: { + [resourceLabel]+: { + resource_group_name: value, + }, + }, + }, + }, + '#withTimeouts':: d.fn(help='`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform resource 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 - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(resourceLabel, value): { + resource+: { + azurerm_automation_variable_object+: { + [resourceLabel]+: { + timeouts: value, + }, + }, + }, + }, + '#withTimeoutsMixin':: d.fn(help='`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj`\nTerraform resource 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 - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeoutsMixin(resourceLabel, value): { + resource+: { + azurerm_automation_variable_object+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, + '#withValue':: d.fn(help='`azurerm.string.withValue` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the value 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 `value` field.\n', args=[]), + withValue(resourceLabel, value): { + resource+: { + azurerm_automation_variable_object+: { + [resourceLabel]+: { + value: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/cosmosdb_account.libsonnet b/3.x/_gen/resources/cosmosdb_account.libsonnet index 6937d0ea..b6ebd076 100644 --- a/3.x/_gen/resources/cosmosdb_account.libsonnet +++ b/3.x/_gen/resources/cosmosdb_account.libsonnet @@ -53,13 +53,13 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, cors_rule:: { - '#new':: d.fn(help='\n`azurerm.cosmosdb_account.cors_rule.new` constructs a new object with attributes and blocks configured for the `cors_rule`\nTerraform sub block.\n\n\n\n**Args**:\n - `allowed_headers` (`list`): Set the `allowed_headers` field on the resulting object.\n - `allowed_methods` (`list`): Set the `allowed_methods` field on the resulting object.\n - `allowed_origins` (`list`): Set the `allowed_origins` field on the resulting object.\n - `exposed_headers` (`list`): Set the `exposed_headers` field on the resulting object.\n - `max_age_in_seconds` (`number`): Set the `max_age_in_seconds` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `cors_rule` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.cosmosdb_account.cors_rule.new` constructs a new object with attributes and blocks configured for the `cors_rule`\nTerraform sub block.\n\n\n\n**Args**:\n - `allowed_headers` (`list`): Set the `allowed_headers` field on the resulting object.\n - `allowed_methods` (`list`): Set the `allowed_methods` field on the resulting object.\n - `allowed_origins` (`list`): Set the `allowed_origins` field on the resulting object.\n - `exposed_headers` (`list`): Set the `exposed_headers` field on the resulting object.\n - `max_age_in_seconds` (`number`): Set the `max_age_in_seconds` field on the resulting object. When `null`, the `max_age_in_seconds` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `cors_rule` sub block.\n', args=[]), new( allowed_headers, allowed_methods, allowed_origins, exposed_headers, - max_age_in_seconds + max_age_in_seconds=null ):: std.prune(a={ allowed_headers: allowed_headers, allowed_methods: allowed_methods, diff --git a/3.x/_gen/resources/custom_ip_prefix.libsonnet b/3.x/_gen/resources/custom_ip_prefix.libsonnet new file mode 100644 index 00000000..44b7cb20 --- /dev/null +++ b/3.x/_gen/resources/custom_ip_prefix.libsonnet @@ -0,0 +1,212 @@ +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='custom_ip_prefix', url='', help='`custom_ip_prefix` represents the `azurerm_custom_ip_prefix` 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.custom_ip_prefix.new` injects a new `azurerm_custom_ip_prefix` 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.custom_ip_prefix.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.custom_ip_prefix` using the reference:\n\n $._ref.azurerm_custom_ip_prefix.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_custom_ip_prefix.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 - `cidr` (`string`): Set the `cidr` field on the resulting resource block.\n - `commissioning_enabled` (`bool`): Set the `commissioning_enabled` field on the resulting resource block. When `null`, the `commissioning_enabled` field will be omitted from the resulting object.\n - `internet_advertising_disabled` (`bool`): Set the `internet_advertising_disabled` field on the resulting resource block. When `null`, the `internet_advertising_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 - `parent_custom_ip_prefix_id` (`string`): Set the `parent_custom_ip_prefix_id` field on the resulting resource block. When `null`, the `parent_custom_ip_prefix_id` 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 - `roa_validity_end_date` (`string`): Set the `roa_validity_end_date` field on the resulting resource block. When `null`, the `roa_validity_end_date` 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 - `wan_validation_signed_message` (`string`): Set the `wan_validation_signed_message` field on the resulting resource block. When `null`, the `wan_validation_signed_message` field will be omitted from the resulting object.\n - `zones` (`list`): Set the `zones` field on the resulting resource block. When `null`, the `zones` 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.custom_ip_prefix.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, + cidr, + location, + name, + resource_group_name, + commissioning_enabled=null, + internet_advertising_disabled=null, + parent_custom_ip_prefix_id=null, + roa_validity_end_date=null, + tags=null, + timeouts=null, + wan_validation_signed_message=null, + zones=null, + _meta={} + ):: tf.withResource( + type='azurerm_custom_ip_prefix', + label=resourceLabel, + attrs=self.newAttrs( + cidr=cidr, + commissioning_enabled=commissioning_enabled, + internet_advertising_disabled=internet_advertising_disabled, + location=location, + name=name, + parent_custom_ip_prefix_id=parent_custom_ip_prefix_id, + resource_group_name=resource_group_name, + roa_validity_end_date=roa_validity_end_date, + tags=tags, + timeouts=timeouts, + wan_validation_signed_message=wan_validation_signed_message, + zones=zones + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.custom_ip_prefix.newAttrs` constructs a new object with attributes and blocks configured for the `custom_ip_prefix`\nTerraform resource.\n\nUnlike [azurerm.custom_ip_prefix.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 - `cidr` (`string`): Set the `cidr` field on the resulting object.\n - `commissioning_enabled` (`bool`): Set the `commissioning_enabled` field on the resulting object. When `null`, the `commissioning_enabled` field will be omitted from the resulting object.\n - `internet_advertising_disabled` (`bool`): Set the `internet_advertising_disabled` field on the resulting object. When `null`, the `internet_advertising_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 - `parent_custom_ip_prefix_id` (`string`): Set the `parent_custom_ip_prefix_id` field on the resulting object. When `null`, the `parent_custom_ip_prefix_id` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `roa_validity_end_date` (`string`): Set the `roa_validity_end_date` field on the resulting object. When `null`, the `roa_validity_end_date` 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 - `wan_validation_signed_message` (`string`): Set the `wan_validation_signed_message` field on the resulting object. When `null`, the `wan_validation_signed_message` field will be omitted from the resulting object.\n - `zones` (`list`): Set the `zones` field on the resulting object. When `null`, the `zones` 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.custom_ip_prefix.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 `custom_ip_prefix` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + cidr, + location, + name, + resource_group_name, + commissioning_enabled=null, + internet_advertising_disabled=null, + parent_custom_ip_prefix_id=null, + roa_validity_end_date=null, + tags=null, + timeouts=null, + wan_validation_signed_message=null, + zones=null + ):: std.prune(a={ + cidr: cidr, + commissioning_enabled: commissioning_enabled, + internet_advertising_disabled: internet_advertising_disabled, + location: location, + name: name, + parent_custom_ip_prefix_id: parent_custom_ip_prefix_id, + resource_group_name: resource_group_name, + roa_validity_end_date: roa_validity_end_date, + tags: tags, + timeouts: timeouts, + wan_validation_signed_message: wan_validation_signed_message, + zones: zones, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.custom_ip_prefix.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, + update=null + ):: std.prune(a={ + create: create, + delete: delete, + read: read, + update: update, + }), + }, + '#withCidr':: d.fn(help='`azurerm.string.withCidr` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the cidr 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 `cidr` field.\n', args=[]), + withCidr(resourceLabel, value): { + resource+: { + azurerm_custom_ip_prefix+: { + [resourceLabel]+: { + cidr: value, + }, + }, + }, + }, + '#withCommissioningEnabled':: d.fn(help='`azurerm.bool.withCommissioningEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the commissioning_enabled field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`bool`): The value to set for the `commissioning_enabled` field.\n', args=[]), + withCommissioningEnabled(resourceLabel, value): { + resource+: { + azurerm_custom_ip_prefix+: { + [resourceLabel]+: { + commissioning_enabled: value, + }, + }, + }, + }, + '#withInternetAdvertisingDisabled':: d.fn(help='`azurerm.bool.withInternetAdvertisingDisabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the internet_advertising_disabled field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`bool`): The value to set for the `internet_advertising_disabled` field.\n', args=[]), + withInternetAdvertisingDisabled(resourceLabel, value): { + resource+: { + azurerm_custom_ip_prefix+: { + [resourceLabel]+: { + internet_advertising_disabled: value, + }, + }, + }, + }, + '#withLocation':: d.fn(help='`azurerm.string.withLocation` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the location 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 `location` field.\n', args=[]), + withLocation(resourceLabel, value): { + resource+: { + azurerm_custom_ip_prefix+: { + [resourceLabel]+: { + location: 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+: { + azurerm_custom_ip_prefix+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withParentCustomIpPrefixId':: d.fn(help='`azurerm.string.withParentCustomIpPrefixId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the parent_custom_ip_prefix_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 `parent_custom_ip_prefix_id` field.\n', args=[]), + withParentCustomIpPrefixId(resourceLabel, value): { + resource+: { + azurerm_custom_ip_prefix+: { + [resourceLabel]+: { + parent_custom_ip_prefix_id: value, + }, + }, + }, + }, + '#withResourceGroupName':: d.fn(help='`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the resource_group_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 `resource_group_name` field.\n', args=[]), + withResourceGroupName(resourceLabel, value): { + resource+: { + azurerm_custom_ip_prefix+: { + [resourceLabel]+: { + resource_group_name: value, + }, + }, + }, + }, + '#withRoaValidityEndDate':: d.fn(help='`azurerm.string.withRoaValidityEndDate` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the roa_validity_end_date 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 `roa_validity_end_date` field.\n', args=[]), + withRoaValidityEndDate(resourceLabel, value): { + resource+: { + azurerm_custom_ip_prefix+: { + [resourceLabel]+: { + roa_validity_end_date: value, + }, + }, + }, + }, + '#withTags':: d.fn(help='`azurerm.obj.withTags` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the tags field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `tags` field.\n', args=[]), + withTags(resourceLabel, value): { + resource+: { + azurerm_custom_ip_prefix+: { + [resourceLabel]+: { + tags: value, + }, + }, + }, + }, + '#withTimeouts':: d.fn(help='`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform resource 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 - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(resourceLabel, value): { + resource+: { + azurerm_custom_ip_prefix+: { + [resourceLabel]+: { + timeouts: value, + }, + }, + }, + }, + '#withTimeoutsMixin':: d.fn(help='`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj`\nTerraform resource 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 - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeoutsMixin(resourceLabel, value): { + resource+: { + azurerm_custom_ip_prefix+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, + '#withWanValidationSignedMessage':: d.fn(help='`azurerm.string.withWanValidationSignedMessage` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the wan_validation_signed_message 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 `wan_validation_signed_message` field.\n', args=[]), + withWanValidationSignedMessage(resourceLabel, value): { + resource+: { + azurerm_custom_ip_prefix+: { + [resourceLabel]+: { + wan_validation_signed_message: value, + }, + }, + }, + }, + '#withZones':: d.fn(help='`azurerm.list.withZones` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the zones 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 `zones` field.\n', args=[]), + withZones(resourceLabel, value): { + resource+: { + azurerm_custom_ip_prefix+: { + [resourceLabel]+: { + zones: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/eventhub_namespace_customer_managed_key.libsonnet b/3.x/_gen/resources/eventhub_namespace_customer_managed_key.libsonnet index 3d2e1f04..56faae86 100644 --- a/3.x/_gen/resources/eventhub_namespace_customer_managed_key.libsonnet +++ b/3.x/_gen/resources/eventhub_namespace_customer_managed_key.libsonnet @@ -2,26 +2,34 @@ 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='eventhub_namespace_customer_managed_key', url='', help='`eventhub_namespace_customer_managed_key` represents the `azurerm_eventhub_namespace_customer_managed_key` 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.eventhub_namespace_customer_managed_key.new` injects a new `azurerm_eventhub_namespace_customer_managed_key` 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.eventhub_namespace_customer_managed_key.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.eventhub_namespace_customer_managed_key` using the reference:\n\n $._ref.azurerm_eventhub_namespace_customer_managed_key.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_eventhub_namespace_customer_managed_key.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_namespace_id` (`string`): Set the `eventhub_namespace_id` field on the resulting resource block.\n - `key_vault_key_ids` (`list`): Set the `key_vault_key_ids` field on the resulting resource block.\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.eventhub_namespace_customer_managed_key.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.eventhub_namespace_customer_managed_key.new` injects a new `azurerm_eventhub_namespace_customer_managed_key` 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.eventhub_namespace_customer_managed_key.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.eventhub_namespace_customer_managed_key` using the reference:\n\n $._ref.azurerm_eventhub_namespace_customer_managed_key.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_eventhub_namespace_customer_managed_key.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_namespace_id` (`string`): Set the `eventhub_namespace_id` field on the resulting resource block.\n - `infrastructure_encryption_enabled` (`bool`): Set the `infrastructure_encryption_enabled` field on the resulting resource block. When `null`, the `infrastructure_encryption_enabled` field will be omitted from the resulting object.\n - `key_vault_key_ids` (`list`): Set the `key_vault_key_ids` field on the resulting resource block.\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.eventhub_namespace_customer_managed_key.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, eventhub_namespace_id, key_vault_key_ids, + infrastructure_encryption_enabled=null, timeouts=null, _meta={} ):: tf.withResource( type='azurerm_eventhub_namespace_customer_managed_key', label=resourceLabel, - attrs=self.newAttrs(eventhub_namespace_id=eventhub_namespace_id, key_vault_key_ids=key_vault_key_ids, timeouts=timeouts), + attrs=self.newAttrs( + eventhub_namespace_id=eventhub_namespace_id, + infrastructure_encryption_enabled=infrastructure_encryption_enabled, + key_vault_key_ids=key_vault_key_ids, + timeouts=timeouts + ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.eventhub_namespace_customer_managed_key.newAttrs` constructs a new object with attributes and blocks configured for the `eventhub_namespace_customer_managed_key`\nTerraform resource.\n\nUnlike [azurerm.eventhub_namespace_customer_managed_key.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_namespace_id` (`string`): Set the `eventhub_namespace_id` field on the resulting object.\n - `key_vault_key_ids` (`list`): Set the `key_vault_key_ids` 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.eventhub_namespace_customer_managed_key.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 `eventhub_namespace_customer_managed_key` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.eventhub_namespace_customer_managed_key.newAttrs` constructs a new object with attributes and blocks configured for the `eventhub_namespace_customer_managed_key`\nTerraform resource.\n\nUnlike [azurerm.eventhub_namespace_customer_managed_key.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_namespace_id` (`string`): Set the `eventhub_namespace_id` field on the resulting object.\n - `infrastructure_encryption_enabled` (`bool`): Set the `infrastructure_encryption_enabled` field on the resulting object. When `null`, the `infrastructure_encryption_enabled` field will be omitted from the resulting object.\n - `key_vault_key_ids` (`list`): Set the `key_vault_key_ids` 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.eventhub_namespace_customer_managed_key.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 `eventhub_namespace_customer_managed_key` resource into the root Terraform configuration.\n', args=[]), newAttrs( eventhub_namespace_id, key_vault_key_ids, + infrastructure_encryption_enabled=null, timeouts=null ):: std.prune(a={ eventhub_namespace_id: eventhub_namespace_id, + infrastructure_encryption_enabled: infrastructure_encryption_enabled, key_vault_key_ids: key_vault_key_ids, timeouts: timeouts, }), @@ -49,6 +57,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withInfrastructureEncryptionEnabled':: d.fn(help='`azurerm.bool.withInfrastructureEncryptionEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the infrastructure_encryption_enabled field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`bool`): The value to set for the `infrastructure_encryption_enabled` field.\n', args=[]), + withInfrastructureEncryptionEnabled(resourceLabel, value): { + resource+: { + azurerm_eventhub_namespace_customer_managed_key+: { + [resourceLabel]+: { + infrastructure_encryption_enabled: value, + }, + }, + }, + }, '#withKeyVaultKeyIds':: d.fn(help='`azurerm.list.withKeyVaultKeyIds` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the key_vault_key_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 `key_vault_key_ids` field.\n', args=[]), withKeyVaultKeyIds(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/image.libsonnet b/3.x/_gen/resources/image.libsonnet index ca8c69c1..166ca86e 100644 --- a/3.x/_gen/resources/image.libsonnet +++ b/3.x/_gen/resources/image.libsonnet @@ -74,10 +74,11 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); zone_resilient: zone_resilient, }), os_disk:: { - '#new':: d.fn(help='\n`azurerm.image.os_disk.new` constructs a new object with attributes and blocks configured for the `os_disk`\nTerraform sub block.\n\n\n\n**Args**:\n - `blob_uri` (`string`): Set the `blob_uri` field on the resulting object. When `null`, the `blob_uri` field will be omitted from the resulting object.\n - `caching` (`string`): Set the `caching` field on the resulting object. When `null`, the `caching` field will be omitted from the resulting object.\n - `managed_disk_id` (`string`): Set the `managed_disk_id` field on the resulting object. When `null`, the `managed_disk_id` field will be omitted from the resulting object.\n - `os_state` (`string`): Set the `os_state` field on the resulting object. When `null`, the `os_state` field will be omitted from the resulting object.\n - `os_type` (`string`): Set the `os_type` field on the resulting object. When `null`, the `os_type` field will be omitted from the resulting object.\n - `size_gb` (`number`): Set the `size_gb` field on the resulting object. When `null`, the `size_gb` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `os_disk` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.image.os_disk.new` constructs a new object with attributes and blocks configured for the `os_disk`\nTerraform sub block.\n\n\n\n**Args**:\n - `blob_uri` (`string`): Set the `blob_uri` field on the resulting object. When `null`, the `blob_uri` field will be omitted from the resulting object.\n - `caching` (`string`): Set the `caching` field on the resulting object. When `null`, the `caching` 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 - `managed_disk_id` (`string`): Set the `managed_disk_id` field on the resulting object. When `null`, the `managed_disk_id` field will be omitted from the resulting object.\n - `os_state` (`string`): Set the `os_state` field on the resulting object. When `null`, the `os_state` field will be omitted from the resulting object.\n - `os_type` (`string`): Set the `os_type` field on the resulting object. When `null`, the `os_type` field will be omitted from the resulting object.\n - `size_gb` (`number`): Set the `size_gb` field on the resulting object. When `null`, the `size_gb` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `os_disk` sub block.\n', args=[]), new( blob_uri=null, caching=null, + disk_encryption_set_id=null, managed_disk_id=null, os_state=null, os_type=null, @@ -85,6 +86,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ):: std.prune(a={ blob_uri: blob_uri, caching: caching, + disk_encryption_set_id: disk_encryption_set_id, managed_disk_id: managed_disk_id, os_state: os_state, os_type: os_type, diff --git a/3.x/_gen/resources/kubernetes_cluster_trusted_access_role_binding.libsonnet b/3.x/_gen/resources/kubernetes_cluster_trusted_access_role_binding.libsonnet new file mode 100644 index 00000000..c363f0f8 --- /dev/null +++ b/3.x/_gen/resources/kubernetes_cluster_trusted_access_role_binding.libsonnet @@ -0,0 +1,114 @@ +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='kubernetes_cluster_trusted_access_role_binding', url='', help='`kubernetes_cluster_trusted_access_role_binding` represents the `azurerm_kubernetes_cluster_trusted_access_role_binding` 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.kubernetes_cluster_trusted_access_role_binding.new` injects a new `azurerm_kubernetes_cluster_trusted_access_role_binding` 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_trusted_access_role_binding.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.kubernetes_cluster_trusted_access_role_binding` using the reference:\n\n $._ref.azurerm_kubernetes_cluster_trusted_access_role_binding.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_kubernetes_cluster_trusted_access_role_binding.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 - `kubernetes_cluster_id` (`string`): Set the `kubernetes_cluster_id` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `roles` (`list`): Set the `roles` field on the resulting resource block.\n - `source_resource_id` (`string`): Set the `source_resource_id` field on the resulting resource block.\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_trusted_access_role_binding.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, + kubernetes_cluster_id, + name, + roles, + source_resource_id, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_kubernetes_cluster_trusted_access_role_binding', + label=resourceLabel, + attrs=self.newAttrs( + kubernetes_cluster_id=kubernetes_cluster_id, + name=name, + roles=roles, + source_resource_id=source_resource_id, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.kubernetes_cluster_trusted_access_role_binding.newAttrs` constructs a new object with attributes and blocks configured for the `kubernetes_cluster_trusted_access_role_binding`\nTerraform resource.\n\nUnlike [azurerm.kubernetes_cluster_trusted_access_role_binding.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 - `kubernetes_cluster_id` (`string`): Set the `kubernetes_cluster_id` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `roles` (`list`): Set the `roles` field on the resulting object.\n - `source_resource_id` (`string`): Set the `source_resource_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.kubernetes_cluster_trusted_access_role_binding.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 `kubernetes_cluster_trusted_access_role_binding` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + kubernetes_cluster_id, + name, + roles, + source_resource_id, + timeouts=null + ):: std.prune(a={ + kubernetes_cluster_id: kubernetes_cluster_id, + name: name, + roles: roles, + source_resource_id: source_resource_id, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.kubernetes_cluster_trusted_access_role_binding.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, + update=null + ):: std.prune(a={ + create: create, + delete: delete, + read: read, + update: update, + }), + }, + '#withKubernetesClusterId':: d.fn(help='`azurerm.string.withKubernetesClusterId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the kubernetes_cluster_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 `kubernetes_cluster_id` field.\n', args=[]), + withKubernetesClusterId(resourceLabel, value): { + resource+: { + azurerm_kubernetes_cluster_trusted_access_role_binding+: { + [resourceLabel]+: { + kubernetes_cluster_id: 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+: { + azurerm_kubernetes_cluster_trusted_access_role_binding+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withRoles':: d.fn(help='`azurerm.list.withRoles` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the roles 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 `roles` field.\n', args=[]), + withRoles(resourceLabel, value): { + resource+: { + azurerm_kubernetes_cluster_trusted_access_role_binding+: { + [resourceLabel]+: { + roles: value, + }, + }, + }, + }, + '#withSourceResourceId':: d.fn(help='`azurerm.string.withSourceResourceId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the source_resource_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 `source_resource_id` field.\n', args=[]), + withSourceResourceId(resourceLabel, value): { + resource+: { + azurerm_kubernetes_cluster_trusted_access_role_binding+: { + [resourceLabel]+: { + source_resource_id: value, + }, + }, + }, + }, + '#withTimeouts':: d.fn(help='`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform resource 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 - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(resourceLabel, value): { + resource+: { + azurerm_kubernetes_cluster_trusted_access_role_binding+: { + [resourceLabel]+: { + timeouts: value, + }, + }, + }, + }, + '#withTimeoutsMixin':: d.fn(help='`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj`\nTerraform resource 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 - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeoutsMixin(resourceLabel, value): { + resource+: { + azurerm_kubernetes_cluster_trusted_access_role_binding+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/linux_virtual_machine.libsonnet b/3.x/_gen/resources/linux_virtual_machine.libsonnet index 9faf3439..69eafd83 100644 --- a/3.x/_gen/resources/linux_virtual_machine.libsonnet +++ b/3.x/_gen/resources/linux_virtual_machine.libsonnet @@ -52,7 +52,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); type: type, }), }, - '#new':: d.fn(help="\n`azurerm.linux_virtual_machine.new` injects a new `azurerm_linux_virtual_machine` 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.linux_virtual_machine.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.linux_virtual_machine` using the reference:\n\n $._ref.azurerm_linux_virtual_machine.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_linux_virtual_machine.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_password` (`string`): Set the `admin_password` field on the resulting resource block. When `null`, the `admin_password` field will be omitted from the resulting object.\n - `admin_username` (`string`): Set the `admin_username` field on the resulting resource block.\n - `allow_extension_operations` (`bool`): Set the `allow_extension_operations` field on the resulting resource block. When `null`, the `allow_extension_operations` field will be omitted from the resulting object.\n - `availability_set_id` (`string`): Set the `availability_set_id` field on the resulting resource block. When `null`, the `availability_set_id` field will be omitted from the resulting object.\n - `capacity_reservation_group_id` (`string`): Set the `capacity_reservation_group_id` field on the resulting resource block. When `null`, the `capacity_reservation_group_id` field will be omitted from the resulting object.\n - `computer_name` (`string`): Set the `computer_name` field on the resulting resource block. When `null`, the `computer_name` field will be omitted from the resulting object.\n - `custom_data` (`string`): Set the `custom_data` field on the resulting resource block. When `null`, the `custom_data` field will be omitted from the resulting object.\n - `dedicated_host_group_id` (`string`): Set the `dedicated_host_group_id` field on the resulting resource block. When `null`, the `dedicated_host_group_id` field will be omitted from the resulting object.\n - `dedicated_host_id` (`string`): Set the `dedicated_host_id` field on the resulting resource block. When `null`, the `dedicated_host_id` field will be omitted from the resulting object.\n - `disable_password_authentication` (`bool`): Set the `disable_password_authentication` field on the resulting resource block. When `null`, the `disable_password_authentication` 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 - `encryption_at_host_enabled` (`bool`): Set the `encryption_at_host_enabled` field on the resulting resource block. When `null`, the `encryption_at_host_enabled` field will be omitted from the resulting object.\n - `eviction_policy` (`string`): Set the `eviction_policy` field on the resulting resource block. When `null`, the `eviction_policy` field will be omitted from the resulting object.\n - `extensions_time_budget` (`string`): Set the `extensions_time_budget` field on the resulting resource block. When `null`, the `extensions_time_budget` field will be omitted from the resulting object.\n - `license_type` (`string`): Set the `license_type` field on the resulting resource block. When `null`, the `license_type` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `max_bid_price` (`number`): Set the `max_bid_price` field on the resulting resource block. When `null`, the `max_bid_price` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `network_interface_ids` (`list`): Set the `network_interface_ids` field on the resulting resource block.\n - `patch_assessment_mode` (`string`): Set the `patch_assessment_mode` field on the resulting resource block. When `null`, the `patch_assessment_mode` field will be omitted from the resulting object.\n - `patch_mode` (`string`): Set the `patch_mode` field on the resulting resource block. When `null`, the `patch_mode` field will be omitted from the resulting object.\n - `platform_fault_domain` (`number`): Set the `platform_fault_domain` field on the resulting resource block. When `null`, the `platform_fault_domain` field will be omitted from the resulting object.\n - `priority` (`string`): Set the `priority` field on the resulting resource block. When `null`, the `priority` field will be omitted from the resulting object.\n - `provision_vm_agent` (`bool`): Set the `provision_vm_agent` field on the resulting resource block. When `null`, the `provision_vm_agent` field will be omitted from the resulting object.\n - `proximity_placement_group_id` (`string`): Set the `proximity_placement_group_id` field on the resulting resource block. When `null`, the `proximity_placement_group_id` 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 - `secure_boot_enabled` (`bool`): Set the `secure_boot_enabled` field on the resulting resource block. When `null`, the `secure_boot_enabled` field will be omitted from the resulting object.\n - `size` (`string`): Set the `size` field on the resulting resource block.\n - `source_image_id` (`string`): Set the `source_image_id` field on the resulting resource block. When `null`, the `source_image_id` 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 - `user_data` (`string`): Set the `user_data` field on the resulting resource block. When `null`, the `user_data` field will be omitted from the resulting object.\n - `virtual_machine_scale_set_id` (`string`): Set the `virtual_machine_scale_set_id` field on the resulting resource block. When `null`, the `virtual_machine_scale_set_id` field will be omitted from the resulting object.\n - `vtpm_enabled` (`bool`): Set the `vtpm_enabled` field on the resulting resource block. When `null`, the `vtpm_enabled` field will be omitted from the resulting object.\n - `zone` (`string`): Set the `zone` field on the resulting resource block. When `null`, the `zone` field will be omitted from the resulting object.\n - `additional_capabilities` (`list[obj]`): Set the `additional_capabilities` field on the resulting resource block. When `null`, the `additional_capabilities` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.additional_capabilities.new](#fn-additional_capabilitiesnew) constructor.\n - `admin_ssh_key` (`list[obj]`): Set the `admin_ssh_key` field on the resulting resource block. When `null`, the `admin_ssh_key` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.admin_ssh_key.new](#fn-admin_ssh_keynew) constructor.\n - `boot_diagnostics` (`list[obj]`): Set the `boot_diagnostics` field on the resulting resource block. When `null`, the `boot_diagnostics` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.boot_diagnostics.new](#fn-boot_diagnosticsnew) constructor.\n - `gallery_application` (`list[obj]`): Set the `gallery_application` field on the resulting resource block. When `null`, the `gallery_application` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.gallery_application.new](#fn-gallery_applicationnew) 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.linux_virtual_machine.identity.new](#fn-identitynew) constructor.\n - `os_disk` (`list[obj]`): Set the `os_disk` field on the resulting resource block. When `null`, the `os_disk` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.os_disk.new](#fn-os_disknew) constructor.\n - `plan` (`list[obj]`): Set the `plan` field on the resulting resource block. When `null`, the `plan` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.plan.new](#fn-plannew) constructor.\n - `secret` (`list[obj]`): Set the `secret` field on the resulting resource block. When `null`, the `secret` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.secret.new](#fn-secretnew) constructor.\n - `source_image_reference` (`list[obj]`): Set the `source_image_reference` field on the resulting resource block. When `null`, the `source_image_reference` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.source_image_reference.new](#fn-source_image_referencenew) constructor.\n - `termination_notification` (`list[obj]`): Set the `termination_notification` field on the resulting resource block. When `null`, the `termination_notification` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.termination_notification.new](#fn-termination_notificationnew) 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.linux_virtual_machine.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.linux_virtual_machine.new` injects a new `azurerm_linux_virtual_machine` 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.linux_virtual_machine.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.linux_virtual_machine` using the reference:\n\n $._ref.azurerm_linux_virtual_machine.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_linux_virtual_machine.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_password` (`string`): Set the `admin_password` field on the resulting resource block. When `null`, the `admin_password` field will be omitted from the resulting object.\n - `admin_username` (`string`): Set the `admin_username` field on the resulting resource block.\n - `allow_extension_operations` (`bool`): Set the `allow_extension_operations` field on the resulting resource block. When `null`, the `allow_extension_operations` field will be omitted from the resulting object.\n - `availability_set_id` (`string`): Set the `availability_set_id` field on the resulting resource block. When `null`, the `availability_set_id` field will be omitted from the resulting object.\n - `bypass_platform_safety_checks_on_user_schedule_enabled` (`bool`): Set the `bypass_platform_safety_checks_on_user_schedule_enabled` field on the resulting resource block. When `null`, the `bypass_platform_safety_checks_on_user_schedule_enabled` field will be omitted from the resulting object.\n - `capacity_reservation_group_id` (`string`): Set the `capacity_reservation_group_id` field on the resulting resource block. When `null`, the `capacity_reservation_group_id` field will be omitted from the resulting object.\n - `computer_name` (`string`): Set the `computer_name` field on the resulting resource block. When `null`, the `computer_name` field will be omitted from the resulting object.\n - `custom_data` (`string`): Set the `custom_data` field on the resulting resource block. When `null`, the `custom_data` field will be omitted from the resulting object.\n - `dedicated_host_group_id` (`string`): Set the `dedicated_host_group_id` field on the resulting resource block. When `null`, the `dedicated_host_group_id` field will be omitted from the resulting object.\n - `dedicated_host_id` (`string`): Set the `dedicated_host_id` field on the resulting resource block. When `null`, the `dedicated_host_id` field will be omitted from the resulting object.\n - `disable_password_authentication` (`bool`): Set the `disable_password_authentication` field on the resulting resource block. When `null`, the `disable_password_authentication` 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 - `encryption_at_host_enabled` (`bool`): Set the `encryption_at_host_enabled` field on the resulting resource block. When `null`, the `encryption_at_host_enabled` field will be omitted from the resulting object.\n - `eviction_policy` (`string`): Set the `eviction_policy` field on the resulting resource block. When `null`, the `eviction_policy` field will be omitted from the resulting object.\n - `extensions_time_budget` (`string`): Set the `extensions_time_budget` field on the resulting resource block. When `null`, the `extensions_time_budget` field will be omitted from the resulting object.\n - `license_type` (`string`): Set the `license_type` field on the resulting resource block. When `null`, the `license_type` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `max_bid_price` (`number`): Set the `max_bid_price` field on the resulting resource block. When `null`, the `max_bid_price` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `network_interface_ids` (`list`): Set the `network_interface_ids` field on the resulting resource block.\n - `patch_assessment_mode` (`string`): Set the `patch_assessment_mode` field on the resulting resource block. When `null`, the `patch_assessment_mode` field will be omitted from the resulting object.\n - `patch_mode` (`string`): Set the `patch_mode` field on the resulting resource block. When `null`, the `patch_mode` field will be omitted from the resulting object.\n - `platform_fault_domain` (`number`): Set the `platform_fault_domain` field on the resulting resource block. When `null`, the `platform_fault_domain` field will be omitted from the resulting object.\n - `priority` (`string`): Set the `priority` field on the resulting resource block. When `null`, the `priority` field will be omitted from the resulting object.\n - `provision_vm_agent` (`bool`): Set the `provision_vm_agent` field on the resulting resource block. When `null`, the `provision_vm_agent` field will be omitted from the resulting object.\n - `proximity_placement_group_id` (`string`): Set the `proximity_placement_group_id` field on the resulting resource block. When `null`, the `proximity_placement_group_id` field will be omitted from the resulting object.\n - `reboot_setting` (`string`): Set the `reboot_setting` field on the resulting resource block. When `null`, the `reboot_setting` 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 - `secure_boot_enabled` (`bool`): Set the `secure_boot_enabled` field on the resulting resource block. When `null`, the `secure_boot_enabled` field will be omitted from the resulting object.\n - `size` (`string`): Set the `size` field on the resulting resource block.\n - `source_image_id` (`string`): Set the `source_image_id` field on the resulting resource block. When `null`, the `source_image_id` 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 - `user_data` (`string`): Set the `user_data` field on the resulting resource block. When `null`, the `user_data` field will be omitted from the resulting object.\n - `virtual_machine_scale_set_id` (`string`): Set the `virtual_machine_scale_set_id` field on the resulting resource block. When `null`, the `virtual_machine_scale_set_id` field will be omitted from the resulting object.\n - `vtpm_enabled` (`bool`): Set the `vtpm_enabled` field on the resulting resource block. When `null`, the `vtpm_enabled` field will be omitted from the resulting object.\n - `zone` (`string`): Set the `zone` field on the resulting resource block. When `null`, the `zone` field will be omitted from the resulting object.\n - `additional_capabilities` (`list[obj]`): Set the `additional_capabilities` field on the resulting resource block. When `null`, the `additional_capabilities` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.additional_capabilities.new](#fn-additional_capabilitiesnew) constructor.\n - `admin_ssh_key` (`list[obj]`): Set the `admin_ssh_key` field on the resulting resource block. When `null`, the `admin_ssh_key` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.admin_ssh_key.new](#fn-admin_ssh_keynew) constructor.\n - `boot_diagnostics` (`list[obj]`): Set the `boot_diagnostics` field on the resulting resource block. When `null`, the `boot_diagnostics` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.boot_diagnostics.new](#fn-boot_diagnosticsnew) constructor.\n - `gallery_application` (`list[obj]`): Set the `gallery_application` field on the resulting resource block. When `null`, the `gallery_application` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.gallery_application.new](#fn-gallery_applicationnew) 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.linux_virtual_machine.identity.new](#fn-identitynew) constructor.\n - `os_disk` (`list[obj]`): Set the `os_disk` field on the resulting resource block. When `null`, the `os_disk` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.os_disk.new](#fn-os_disknew) constructor.\n - `plan` (`list[obj]`): Set the `plan` field on the resulting resource block. When `null`, the `plan` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.plan.new](#fn-plannew) constructor.\n - `secret` (`list[obj]`): Set the `secret` field on the resulting resource block. When `null`, the `secret` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.secret.new](#fn-secretnew) constructor.\n - `source_image_reference` (`list[obj]`): Set the `source_image_reference` field on the resulting resource block. When `null`, the `source_image_reference` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.source_image_reference.new](#fn-source_image_referencenew) constructor.\n - `termination_notification` (`list[obj]`): Set the `termination_notification` field on the resulting resource block. When `null`, the `termination_notification` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.termination_notification.new](#fn-termination_notificationnew) 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.linux_virtual_machine.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_username, @@ -67,6 +67,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); allow_extension_operations=null, availability_set_id=null, boot_diagnostics=null, + bypass_platform_safety_checks_on_user_schedule_enabled=null, capacity_reservation_group_id=null, computer_name=null, custom_data=null, @@ -89,6 +90,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); priority=null, provision_vm_agent=null, proximity_placement_group_id=null, + reboot_setting=null, secret=null, secure_boot_enabled=null, source_image_id=null, @@ -112,6 +114,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); allow_extension_operations=allow_extension_operations, availability_set_id=availability_set_id, boot_diagnostics=boot_diagnostics, + bypass_platform_safety_checks_on_user_schedule_enabled=bypass_platform_safety_checks_on_user_schedule_enabled, capacity_reservation_group_id=capacity_reservation_group_id, computer_name=computer_name, custom_data=custom_data, @@ -137,6 +140,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); priority=priority, provision_vm_agent=provision_vm_agent, proximity_placement_group_id=proximity_placement_group_id, + reboot_setting=reboot_setting, resource_group_name=resource_group_name, secret=secret, secure_boot_enabled=secure_boot_enabled, @@ -153,7 +157,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.linux_virtual_machine.newAttrs` constructs a new object with attributes and blocks configured for the `linux_virtual_machine`\nTerraform resource.\n\nUnlike [azurerm.linux_virtual_machine.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_password` (`string`): Set the `admin_password` field on the resulting object. When `null`, the `admin_password` field will be omitted from the resulting object.\n - `admin_username` (`string`): Set the `admin_username` field on the resulting object.\n - `allow_extension_operations` (`bool`): Set the `allow_extension_operations` field on the resulting object. When `null`, the `allow_extension_operations` field will be omitted from the resulting object.\n - `availability_set_id` (`string`): Set the `availability_set_id` field on the resulting object. When `null`, the `availability_set_id` field will be omitted from the resulting object.\n - `capacity_reservation_group_id` (`string`): Set the `capacity_reservation_group_id` field on the resulting object. When `null`, the `capacity_reservation_group_id` field will be omitted from the resulting object.\n - `computer_name` (`string`): Set the `computer_name` field on the resulting object. When `null`, the `computer_name` field will be omitted from the resulting object.\n - `custom_data` (`string`): Set the `custom_data` field on the resulting object. When `null`, the `custom_data` field will be omitted from the resulting object.\n - `dedicated_host_group_id` (`string`): Set the `dedicated_host_group_id` field on the resulting object. When `null`, the `dedicated_host_group_id` field will be omitted from the resulting object.\n - `dedicated_host_id` (`string`): Set the `dedicated_host_id` field on the resulting object. When `null`, the `dedicated_host_id` field will be omitted from the resulting object.\n - `disable_password_authentication` (`bool`): Set the `disable_password_authentication` field on the resulting object. When `null`, the `disable_password_authentication` 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 - `encryption_at_host_enabled` (`bool`): Set the `encryption_at_host_enabled` field on the resulting object. When `null`, the `encryption_at_host_enabled` field will be omitted from the resulting object.\n - `eviction_policy` (`string`): Set the `eviction_policy` field on the resulting object. When `null`, the `eviction_policy` field will be omitted from the resulting object.\n - `extensions_time_budget` (`string`): Set the `extensions_time_budget` field on the resulting object. When `null`, the `extensions_time_budget` field will be omitted from the resulting object.\n - `license_type` (`string`): Set the `license_type` field on the resulting object. When `null`, the `license_type` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `max_bid_price` (`number`): Set the `max_bid_price` field on the resulting object. When `null`, the `max_bid_price` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `network_interface_ids` (`list`): Set the `network_interface_ids` field on the resulting object.\n - `patch_assessment_mode` (`string`): Set the `patch_assessment_mode` field on the resulting object. When `null`, the `patch_assessment_mode` field will be omitted from the resulting object.\n - `patch_mode` (`string`): Set the `patch_mode` field on the resulting object. When `null`, the `patch_mode` field will be omitted from the resulting object.\n - `platform_fault_domain` (`number`): Set the `platform_fault_domain` field on the resulting object. When `null`, the `platform_fault_domain` field will be omitted from the resulting object.\n - `priority` (`string`): Set the `priority` field on the resulting object. When `null`, the `priority` field will be omitted from the resulting object.\n - `provision_vm_agent` (`bool`): Set the `provision_vm_agent` field on the resulting object. When `null`, the `provision_vm_agent` field will be omitted from the resulting object.\n - `proximity_placement_group_id` (`string`): Set the `proximity_placement_group_id` field on the resulting object. When `null`, the `proximity_placement_group_id` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `secure_boot_enabled` (`bool`): Set the `secure_boot_enabled` field on the resulting object. When `null`, the `secure_boot_enabled` field will be omitted from the resulting object.\n - `size` (`string`): Set the `size` field on the resulting object.\n - `source_image_id` (`string`): Set the `source_image_id` field on the resulting object. When `null`, the `source_image_id` 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 - `user_data` (`string`): Set the `user_data` field on the resulting object. When `null`, the `user_data` field will be omitted from the resulting object.\n - `virtual_machine_scale_set_id` (`string`): Set the `virtual_machine_scale_set_id` field on the resulting object. When `null`, the `virtual_machine_scale_set_id` field will be omitted from the resulting object.\n - `vtpm_enabled` (`bool`): Set the `vtpm_enabled` field on the resulting object. When `null`, the `vtpm_enabled` field will be omitted from the resulting object.\n - `zone` (`string`): Set the `zone` field on the resulting object. When `null`, the `zone` field will be omitted from the resulting object.\n - `additional_capabilities` (`list[obj]`): Set the `additional_capabilities` field on the resulting object. When `null`, the `additional_capabilities` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.additional_capabilities.new](#fn-additional_capabilitiesnew) constructor.\n - `admin_ssh_key` (`list[obj]`): Set the `admin_ssh_key` field on the resulting object. When `null`, the `admin_ssh_key` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.admin_ssh_key.new](#fn-admin_ssh_keynew) constructor.\n - `boot_diagnostics` (`list[obj]`): Set the `boot_diagnostics` field on the resulting object. When `null`, the `boot_diagnostics` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.boot_diagnostics.new](#fn-boot_diagnosticsnew) constructor.\n - `gallery_application` (`list[obj]`): Set the `gallery_application` field on the resulting object. When `null`, the `gallery_application` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.gallery_application.new](#fn-gallery_applicationnew) 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.linux_virtual_machine.identity.new](#fn-identitynew) constructor.\n - `os_disk` (`list[obj]`): Set the `os_disk` field on the resulting object. When `null`, the `os_disk` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.os_disk.new](#fn-os_disknew) constructor.\n - `plan` (`list[obj]`): Set the `plan` field on the resulting object. When `null`, the `plan` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.plan.new](#fn-plannew) constructor.\n - `secret` (`list[obj]`): Set the `secret` field on the resulting object. When `null`, the `secret` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.secret.new](#fn-secretnew) constructor.\n - `source_image_reference` (`list[obj]`): Set the `source_image_reference` field on the resulting object. When `null`, the `source_image_reference` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.source_image_reference.new](#fn-source_image_referencenew) constructor.\n - `termination_notification` (`list[obj]`): Set the `termination_notification` field on the resulting object. When `null`, the `termination_notification` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.termination_notification.new](#fn-termination_notificationnew) 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.linux_virtual_machine.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 `linux_virtual_machine` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.linux_virtual_machine.newAttrs` constructs a new object with attributes and blocks configured for the `linux_virtual_machine`\nTerraform resource.\n\nUnlike [azurerm.linux_virtual_machine.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_password` (`string`): Set the `admin_password` field on the resulting object. When `null`, the `admin_password` field will be omitted from the resulting object.\n - `admin_username` (`string`): Set the `admin_username` field on the resulting object.\n - `allow_extension_operations` (`bool`): Set the `allow_extension_operations` field on the resulting object. When `null`, the `allow_extension_operations` field will be omitted from the resulting object.\n - `availability_set_id` (`string`): Set the `availability_set_id` field on the resulting object. When `null`, the `availability_set_id` field will be omitted from the resulting object.\n - `bypass_platform_safety_checks_on_user_schedule_enabled` (`bool`): Set the `bypass_platform_safety_checks_on_user_schedule_enabled` field on the resulting object. When `null`, the `bypass_platform_safety_checks_on_user_schedule_enabled` field will be omitted from the resulting object.\n - `capacity_reservation_group_id` (`string`): Set the `capacity_reservation_group_id` field on the resulting object. When `null`, the `capacity_reservation_group_id` field will be omitted from the resulting object.\n - `computer_name` (`string`): Set the `computer_name` field on the resulting object. When `null`, the `computer_name` field will be omitted from the resulting object.\n - `custom_data` (`string`): Set the `custom_data` field on the resulting object. When `null`, the `custom_data` field will be omitted from the resulting object.\n - `dedicated_host_group_id` (`string`): Set the `dedicated_host_group_id` field on the resulting object. When `null`, the `dedicated_host_group_id` field will be omitted from the resulting object.\n - `dedicated_host_id` (`string`): Set the `dedicated_host_id` field on the resulting object. When `null`, the `dedicated_host_id` field will be omitted from the resulting object.\n - `disable_password_authentication` (`bool`): Set the `disable_password_authentication` field on the resulting object. When `null`, the `disable_password_authentication` 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 - `encryption_at_host_enabled` (`bool`): Set the `encryption_at_host_enabled` field on the resulting object. When `null`, the `encryption_at_host_enabled` field will be omitted from the resulting object.\n - `eviction_policy` (`string`): Set the `eviction_policy` field on the resulting object. When `null`, the `eviction_policy` field will be omitted from the resulting object.\n - `extensions_time_budget` (`string`): Set the `extensions_time_budget` field on the resulting object. When `null`, the `extensions_time_budget` field will be omitted from the resulting object.\n - `license_type` (`string`): Set the `license_type` field on the resulting object. When `null`, the `license_type` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `max_bid_price` (`number`): Set the `max_bid_price` field on the resulting object. When `null`, the `max_bid_price` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `network_interface_ids` (`list`): Set the `network_interface_ids` field on the resulting object.\n - `patch_assessment_mode` (`string`): Set the `patch_assessment_mode` field on the resulting object. When `null`, the `patch_assessment_mode` field will be omitted from the resulting object.\n - `patch_mode` (`string`): Set the `patch_mode` field on the resulting object. When `null`, the `patch_mode` field will be omitted from the resulting object.\n - `platform_fault_domain` (`number`): Set the `platform_fault_domain` field on the resulting object. When `null`, the `platform_fault_domain` field will be omitted from the resulting object.\n - `priority` (`string`): Set the `priority` field on the resulting object. When `null`, the `priority` field will be omitted from the resulting object.\n - `provision_vm_agent` (`bool`): Set the `provision_vm_agent` field on the resulting object. When `null`, the `provision_vm_agent` field will be omitted from the resulting object.\n - `proximity_placement_group_id` (`string`): Set the `proximity_placement_group_id` field on the resulting object. When `null`, the `proximity_placement_group_id` field will be omitted from the resulting object.\n - `reboot_setting` (`string`): Set the `reboot_setting` field on the resulting object. When `null`, the `reboot_setting` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `secure_boot_enabled` (`bool`): Set the `secure_boot_enabled` field on the resulting object. When `null`, the `secure_boot_enabled` field will be omitted from the resulting object.\n - `size` (`string`): Set the `size` field on the resulting object.\n - `source_image_id` (`string`): Set the `source_image_id` field on the resulting object. When `null`, the `source_image_id` 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 - `user_data` (`string`): Set the `user_data` field on the resulting object. When `null`, the `user_data` field will be omitted from the resulting object.\n - `virtual_machine_scale_set_id` (`string`): Set the `virtual_machine_scale_set_id` field on the resulting object. When `null`, the `virtual_machine_scale_set_id` field will be omitted from the resulting object.\n - `vtpm_enabled` (`bool`): Set the `vtpm_enabled` field on the resulting object. When `null`, the `vtpm_enabled` field will be omitted from the resulting object.\n - `zone` (`string`): Set the `zone` field on the resulting object. When `null`, the `zone` field will be omitted from the resulting object.\n - `additional_capabilities` (`list[obj]`): Set the `additional_capabilities` field on the resulting object. When `null`, the `additional_capabilities` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.additional_capabilities.new](#fn-additional_capabilitiesnew) constructor.\n - `admin_ssh_key` (`list[obj]`): Set the `admin_ssh_key` field on the resulting object. When `null`, the `admin_ssh_key` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.admin_ssh_key.new](#fn-admin_ssh_keynew) constructor.\n - `boot_diagnostics` (`list[obj]`): Set the `boot_diagnostics` field on the resulting object. When `null`, the `boot_diagnostics` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.boot_diagnostics.new](#fn-boot_diagnosticsnew) constructor.\n - `gallery_application` (`list[obj]`): Set the `gallery_application` field on the resulting object. When `null`, the `gallery_application` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.gallery_application.new](#fn-gallery_applicationnew) 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.linux_virtual_machine.identity.new](#fn-identitynew) constructor.\n - `os_disk` (`list[obj]`): Set the `os_disk` field on the resulting object. When `null`, the `os_disk` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.os_disk.new](#fn-os_disknew) constructor.\n - `plan` (`list[obj]`): Set the `plan` field on the resulting object. When `null`, the `plan` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.plan.new](#fn-plannew) constructor.\n - `secret` (`list[obj]`): Set the `secret` field on the resulting object. When `null`, the `secret` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.secret.new](#fn-secretnew) constructor.\n - `source_image_reference` (`list[obj]`): Set the `source_image_reference` field on the resulting object. When `null`, the `source_image_reference` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.source_image_reference.new](#fn-source_image_referencenew) constructor.\n - `termination_notification` (`list[obj]`): Set the `termination_notification` field on the resulting object. When `null`, the `termination_notification` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_virtual_machine.termination_notification.new](#fn-termination_notificationnew) 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.linux_virtual_machine.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 `linux_virtual_machine` resource into the root Terraform configuration.\n', args=[]), newAttrs( admin_username, location, @@ -167,6 +171,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); allow_extension_operations=null, availability_set_id=null, boot_diagnostics=null, + bypass_platform_safety_checks_on_user_schedule_enabled=null, capacity_reservation_group_id=null, computer_name=null, custom_data=null, @@ -189,6 +194,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); priority=null, provision_vm_agent=null, proximity_placement_group_id=null, + reboot_setting=null, secret=null, secure_boot_enabled=null, source_image_id=null, @@ -208,6 +214,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); allow_extension_operations: allow_extension_operations, availability_set_id: availability_set_id, boot_diagnostics: boot_diagnostics, + bypass_platform_safety_checks_on_user_schedule_enabled: bypass_platform_safety_checks_on_user_schedule_enabled, capacity_reservation_group_id: capacity_reservation_group_id, computer_name: computer_name, custom_data: custom_data, @@ -233,6 +240,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); priority: priority, provision_vm_agent: provision_vm_agent, proximity_placement_group_id: proximity_placement_group_id, + reboot_setting: reboot_setting, resource_group_name: resource_group_name, secret: secret, secure_boot_enabled: secure_boot_enabled, @@ -449,6 +457,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withBypassPlatformSafetyChecksOnUserScheduleEnabled':: d.fn(help='`azurerm.bool.withBypassPlatformSafetyChecksOnUserScheduleEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the bypass_platform_safety_checks_on_user_schedule_enabled field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`bool`): The value to set for the `bypass_platform_safety_checks_on_user_schedule_enabled` field.\n', args=[]), + withBypassPlatformSafetyChecksOnUserScheduleEnabled(resourceLabel, value): { + resource+: { + azurerm_linux_virtual_machine+: { + [resourceLabel]+: { + bypass_platform_safety_checks_on_user_schedule_enabled: value, + }, + }, + }, + }, '#withCapacityReservationGroupId':: d.fn(help='`azurerm.string.withCapacityReservationGroupId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the capacity_reservation_group_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 `capacity_reservation_group_id` field.\n', args=[]), withCapacityReservationGroupId(resourceLabel, value): { resource+: { @@ -739,6 +757,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withRebootSetting':: d.fn(help='`azurerm.string.withRebootSetting` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the reboot_setting 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 `reboot_setting` field.\n', args=[]), + withRebootSetting(resourceLabel, value): { + resource+: { + azurerm_linux_virtual_machine+: { + [resourceLabel]+: { + reboot_setting: value, + }, + }, + }, + }, '#withResourceGroupName':: d.fn(help='`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the resource_group_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 `resource_group_name` field.\n', args=[]), withResourceGroupName(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/marketplace_role_assignment.libsonnet b/3.x/_gen/resources/marketplace_role_assignment.libsonnet new file mode 100644 index 00000000..6bb20237 --- /dev/null +++ b/3.x/_gen/resources/marketplace_role_assignment.libsonnet @@ -0,0 +1,182 @@ +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='marketplace_role_assignment', url='', help='`marketplace_role_assignment` represents the `azurerm_marketplace_role_assignment` 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.marketplace_role_assignment.new` injects a new `azurerm_marketplace_role_assignment` 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.marketplace_role_assignment.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.marketplace_role_assignment` using the reference:\n\n $._ref.azurerm_marketplace_role_assignment.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_marketplace_role_assignment.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 - `condition` (`string`): Set the `condition` field on the resulting resource block. When `null`, the `condition` field will be omitted from the resulting object.\n - `condition_version` (`string`): Set the `condition_version` field on the resulting resource block. When `null`, the `condition_version` field will be omitted from the resulting object.\n - `delegated_managed_identity_resource_id` (`string`): Set the `delegated_managed_identity_resource_id` field on the resulting resource block. When `null`, the `delegated_managed_identity_resource_id` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block. When `null`, the `name` field will be omitted from the resulting object.\n - `principal_id` (`string`): Set the `principal_id` field on the resulting resource block.\n - `role_definition_id` (`string`): Set the `role_definition_id` field on the resulting resource block. When `null`, the `role_definition_id` field will be omitted from the resulting object.\n - `role_definition_name` (`string`): Set the `role_definition_name` field on the resulting resource block. When `null`, the `role_definition_name` field will be omitted from the resulting object.\n - `skip_service_principal_aad_check` (`bool`): Set the `skip_service_principal_aad_check` field on the resulting resource block. When `null`, the `skip_service_principal_aad_check` 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.marketplace_role_assignment.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, + principal_id, + condition=null, + condition_version=null, + delegated_managed_identity_resource_id=null, + description=null, + name=null, + role_definition_id=null, + role_definition_name=null, + skip_service_principal_aad_check=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_marketplace_role_assignment', + label=resourceLabel, + attrs=self.newAttrs( + condition=condition, + condition_version=condition_version, + delegated_managed_identity_resource_id=delegated_managed_identity_resource_id, + description=description, + name=name, + principal_id=principal_id, + role_definition_id=role_definition_id, + role_definition_name=role_definition_name, + skip_service_principal_aad_check=skip_service_principal_aad_check, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.marketplace_role_assignment.newAttrs` constructs a new object with attributes and blocks configured for the `marketplace_role_assignment`\nTerraform resource.\n\nUnlike [azurerm.marketplace_role_assignment.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 - `condition` (`string`): Set the `condition` field on the resulting object. When `null`, the `condition` field will be omitted from the resulting object.\n - `condition_version` (`string`): Set the `condition_version` field on the resulting object. When `null`, the `condition_version` field will be omitted from the resulting object.\n - `delegated_managed_identity_resource_id` (`string`): Set the `delegated_managed_identity_resource_id` field on the resulting object. When `null`, the `delegated_managed_identity_resource_id` 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 - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from the resulting object.\n - `principal_id` (`string`): Set the `principal_id` field on the resulting object.\n - `role_definition_id` (`string`): Set the `role_definition_id` field on the resulting object. When `null`, the `role_definition_id` field will be omitted from the resulting object.\n - `role_definition_name` (`string`): Set the `role_definition_name` field on the resulting object. When `null`, the `role_definition_name` field will be omitted from the resulting object.\n - `skip_service_principal_aad_check` (`bool`): Set the `skip_service_principal_aad_check` field on the resulting object. When `null`, the `skip_service_principal_aad_check` 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.marketplace_role_assignment.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 `marketplace_role_assignment` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + principal_id, + condition=null, + condition_version=null, + delegated_managed_identity_resource_id=null, + description=null, + name=null, + role_definition_id=null, + role_definition_name=null, + skip_service_principal_aad_check=null, + timeouts=null + ):: std.prune(a={ + condition: condition, + condition_version: condition_version, + delegated_managed_identity_resource_id: delegated_managed_identity_resource_id, + description: description, + name: name, + principal_id: principal_id, + role_definition_id: role_definition_id, + role_definition_name: role_definition_name, + skip_service_principal_aad_check: skip_service_principal_aad_check, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.marketplace_role_assignment.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( + create=null, + delete=null, + read=null + ):: std.prune(a={ + create: create, + delete: delete, + read: read, + }), + }, + '#withCondition':: d.fn(help='`azurerm.string.withCondition` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the condition 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 `condition` field.\n', args=[]), + withCondition(resourceLabel, value): { + resource+: { + azurerm_marketplace_role_assignment+: { + [resourceLabel]+: { + condition: value, + }, + }, + }, + }, + '#withConditionVersion':: d.fn(help='`azurerm.string.withConditionVersion` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the condition_version field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `condition_version` field.\n', args=[]), + withConditionVersion(resourceLabel, value): { + resource+: { + azurerm_marketplace_role_assignment+: { + [resourceLabel]+: { + condition_version: value, + }, + }, + }, + }, + '#withDelegatedManagedIdentityResourceId':: d.fn(help='`azurerm.string.withDelegatedManagedIdentityResourceId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the delegated_managed_identity_resource_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 `delegated_managed_identity_resource_id` field.\n', args=[]), + withDelegatedManagedIdentityResourceId(resourceLabel, value): { + resource+: { + azurerm_marketplace_role_assignment+: { + [resourceLabel]+: { + delegated_managed_identity_resource_id: value, + }, + }, + }, + }, + '#withDescription':: d.fn(help='`azurerm.string.withDescription` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the description 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 `description` field.\n', args=[]), + withDescription(resourceLabel, value): { + resource+: { + azurerm_marketplace_role_assignment+: { + [resourceLabel]+: { + description: 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+: { + azurerm_marketplace_role_assignment+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withPrincipalId':: d.fn(help='`azurerm.string.withPrincipalId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the principal_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 `principal_id` field.\n', args=[]), + withPrincipalId(resourceLabel, value): { + resource+: { + azurerm_marketplace_role_assignment+: { + [resourceLabel]+: { + principal_id: value, + }, + }, + }, + }, + '#withRoleDefinitionId':: d.fn(help='`azurerm.string.withRoleDefinitionId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the role_definition_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 `role_definition_id` field.\n', args=[]), + withRoleDefinitionId(resourceLabel, value): { + resource+: { + azurerm_marketplace_role_assignment+: { + [resourceLabel]+: { + role_definition_id: value, + }, + }, + }, + }, + '#withRoleDefinitionName':: d.fn(help='`azurerm.string.withRoleDefinitionName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the role_definition_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 `role_definition_name` field.\n', args=[]), + withRoleDefinitionName(resourceLabel, value): { + resource+: { + azurerm_marketplace_role_assignment+: { + [resourceLabel]+: { + role_definition_name: value, + }, + }, + }, + }, + '#withSkipServicePrincipalAadCheck':: d.fn(help='`azurerm.bool.withSkipServicePrincipalAadCheck` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the skip_service_principal_aad_check field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`bool`): The value to set for the `skip_service_principal_aad_check` field.\n', args=[]), + withSkipServicePrincipalAadCheck(resourceLabel, value): { + resource+: { + azurerm_marketplace_role_assignment+: { + [resourceLabel]+: { + skip_service_principal_aad_check: value, + }, + }, + }, + }, + '#withTimeouts':: d.fn(help='`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform resource 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 - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(resourceLabel, value): { + resource+: { + azurerm_marketplace_role_assignment+: { + [resourceLabel]+: { + timeouts: value, + }, + }, + }, + }, + '#withTimeoutsMixin':: d.fn(help='`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj`\nTerraform resource 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 - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeoutsMixin(resourceLabel, value): { + resource+: { + azurerm_marketplace_role_assignment+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/mobile_network_sim.libsonnet b/3.x/_gen/resources/mobile_network_sim.libsonnet new file mode 100644 index 00000000..e35af052 --- /dev/null +++ b/3.x/_gen/resources/mobile_network_sim.libsonnet @@ -0,0 +1,206 @@ +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='mobile_network_sim', url='', help='`mobile_network_sim` represents the `azurerm_mobile_network_sim` 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.mobile_network_sim.new` injects a new `azurerm_mobile_network_sim` 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.mobile_network_sim.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.mobile_network_sim` using the reference:\n\n $._ref.azurerm_mobile_network_sim.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_mobile_network_sim.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 - `authentication_key` (`string`): Set the `authentication_key` field on the resulting resource block.\n - `device_type` (`string`): Set the `device_type` field on the resulting resource block. When `null`, the `device_type` field will be omitted from the resulting object.\n - `integrated_circuit_card_identifier` (`string`): Set the `integrated_circuit_card_identifier` field on the resulting resource block.\n - `international_mobile_subscriber_identity` (`string`): Set the `international_mobile_subscriber_identity` field on the resulting resource block.\n - `mobile_network_sim_group_id` (`string`): Set the `mobile_network_sim_group_id` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `operator_key_code` (`string`): Set the `operator_key_code` field on the resulting resource block.\n - `sim_policy_id` (`string`): Set the `sim_policy_id` field on the resulting resource block. When `null`, the `sim_policy_id` field will be omitted from the resulting object.\n - `static_ip_configuration` (`list[obj]`): Set the `static_ip_configuration` field on the resulting resource block. When `null`, the `static_ip_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mobile_network_sim.static_ip_configuration.new](#fn-static_ip_configurationnew) 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.mobile_network_sim.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, + authentication_key, + integrated_circuit_card_identifier, + international_mobile_subscriber_identity, + mobile_network_sim_group_id, + name, + operator_key_code, + device_type=null, + sim_policy_id=null, + static_ip_configuration=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_mobile_network_sim', + label=resourceLabel, + attrs=self.newAttrs( + authentication_key=authentication_key, + device_type=device_type, + integrated_circuit_card_identifier=integrated_circuit_card_identifier, + international_mobile_subscriber_identity=international_mobile_subscriber_identity, + mobile_network_sim_group_id=mobile_network_sim_group_id, + name=name, + operator_key_code=operator_key_code, + sim_policy_id=sim_policy_id, + static_ip_configuration=static_ip_configuration, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.mobile_network_sim.newAttrs` constructs a new object with attributes and blocks configured for the `mobile_network_sim`\nTerraform resource.\n\nUnlike [azurerm.mobile_network_sim.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 - `authentication_key` (`string`): Set the `authentication_key` field on the resulting object.\n - `device_type` (`string`): Set the `device_type` field on the resulting object. When `null`, the `device_type` field will be omitted from the resulting object.\n - `integrated_circuit_card_identifier` (`string`): Set the `integrated_circuit_card_identifier` field on the resulting object.\n - `international_mobile_subscriber_identity` (`string`): Set the `international_mobile_subscriber_identity` field on the resulting object.\n - `mobile_network_sim_group_id` (`string`): Set the `mobile_network_sim_group_id` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `operator_key_code` (`string`): Set the `operator_key_code` field on the resulting object.\n - `sim_policy_id` (`string`): Set the `sim_policy_id` field on the resulting object. When `null`, the `sim_policy_id` field will be omitted from the resulting object.\n - `static_ip_configuration` (`list[obj]`): Set the `static_ip_configuration` field on the resulting object. When `null`, the `static_ip_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mobile_network_sim.static_ip_configuration.new](#fn-static_ip_configurationnew) 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.mobile_network_sim.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 `mobile_network_sim` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + authentication_key, + integrated_circuit_card_identifier, + international_mobile_subscriber_identity, + mobile_network_sim_group_id, + name, + operator_key_code, + device_type=null, + sim_policy_id=null, + static_ip_configuration=null, + timeouts=null + ):: std.prune(a={ + authentication_key: authentication_key, + device_type: device_type, + integrated_circuit_card_identifier: integrated_circuit_card_identifier, + international_mobile_subscriber_identity: international_mobile_subscriber_identity, + mobile_network_sim_group_id: mobile_network_sim_group_id, + name: name, + operator_key_code: operator_key_code, + sim_policy_id: sim_policy_id, + static_ip_configuration: static_ip_configuration, + timeouts: timeouts, + }), + static_ip_configuration:: { + '#new':: d.fn(help='\n`azurerm.mobile_network_sim.static_ip_configuration.new` constructs a new object with attributes and blocks configured for the `static_ip_configuration`\nTerraform sub block.\n\n\n\n**Args**:\n - `attached_data_network_id` (`string`): Set the `attached_data_network_id` field on the resulting object.\n - `slice_id` (`string`): Set the `slice_id` field on the resulting object.\n - `static_ipv4_address` (`string`): Set the `static_ipv4_address` field on the resulting object. When `null`, the `static_ipv4_address` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `static_ip_configuration` sub block.\n', args=[]), + new( + attached_data_network_id, + slice_id, + static_ipv4_address=null + ):: std.prune(a={ + attached_data_network_id: attached_data_network_id, + slice_id: slice_id, + static_ipv4_address: static_ipv4_address, + }), + }, + timeouts:: { + '#new':: d.fn(help='\n`azurerm.mobile_network_sim.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, + update=null + ):: std.prune(a={ + create: create, + delete: delete, + read: read, + update: update, + }), + }, + '#withAuthenticationKey':: d.fn(help='`azurerm.string.withAuthenticationKey` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the authentication_key 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 `authentication_key` field.\n', args=[]), + withAuthenticationKey(resourceLabel, value): { + resource+: { + azurerm_mobile_network_sim+: { + [resourceLabel]+: { + authentication_key: value, + }, + }, + }, + }, + '#withDeviceType':: d.fn(help='`azurerm.string.withDeviceType` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the device_type 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 `device_type` field.\n', args=[]), + withDeviceType(resourceLabel, value): { + resource+: { + azurerm_mobile_network_sim+: { + [resourceLabel]+: { + device_type: value, + }, + }, + }, + }, + '#withIntegratedCircuitCardIdentifier':: d.fn(help='`azurerm.string.withIntegratedCircuitCardIdentifier` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the integrated_circuit_card_identifier 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 `integrated_circuit_card_identifier` field.\n', args=[]), + withIntegratedCircuitCardIdentifier(resourceLabel, value): { + resource+: { + azurerm_mobile_network_sim+: { + [resourceLabel]+: { + integrated_circuit_card_identifier: value, + }, + }, + }, + }, + '#withInternationalMobileSubscriberIdentity':: d.fn(help='`azurerm.string.withInternationalMobileSubscriberIdentity` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the international_mobile_subscriber_identity 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 `international_mobile_subscriber_identity` field.\n', args=[]), + withInternationalMobileSubscriberIdentity(resourceLabel, value): { + resource+: { + azurerm_mobile_network_sim+: { + [resourceLabel]+: { + international_mobile_subscriber_identity: value, + }, + }, + }, + }, + '#withMobileNetworkSimGroupId':: d.fn(help='`azurerm.string.withMobileNetworkSimGroupId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the mobile_network_sim_group_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 `mobile_network_sim_group_id` field.\n', args=[]), + withMobileNetworkSimGroupId(resourceLabel, value): { + resource+: { + azurerm_mobile_network_sim+: { + [resourceLabel]+: { + mobile_network_sim_group_id: 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+: { + azurerm_mobile_network_sim+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withOperatorKeyCode':: d.fn(help='`azurerm.string.withOperatorKeyCode` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the operator_key_code 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 `operator_key_code` field.\n', args=[]), + withOperatorKeyCode(resourceLabel, value): { + resource+: { + azurerm_mobile_network_sim+: { + [resourceLabel]+: { + operator_key_code: value, + }, + }, + }, + }, + '#withSimPolicyId':: d.fn(help='`azurerm.string.withSimPolicyId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the sim_policy_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 `sim_policy_id` field.\n', args=[]), + withSimPolicyId(resourceLabel, value): { + resource+: { + azurerm_mobile_network_sim+: { + [resourceLabel]+: { + sim_policy_id: value, + }, + }, + }, + }, + '#withStaticIpConfiguration':: d.fn(help='`azurerm.list[obj].withStaticIpConfiguration` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the static_ip_configuration 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].withStaticIpConfigurationMixin](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 `static_ip_configuration` field.\n', args=[]), + withStaticIpConfiguration(resourceLabel, value): { + resource+: { + azurerm_mobile_network_sim+: { + [resourceLabel]+: { + static_ip_configuration: value, + }, + }, + }, + }, + '#withStaticIpConfigurationMixin':: d.fn(help='`azurerm.list[obj].withStaticIpConfigurationMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the static_ip_configuration 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].withStaticIpConfiguration](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 `static_ip_configuration` field.\n', args=[]), + withStaticIpConfigurationMixin(resourceLabel, value): { + resource+: { + azurerm_mobile_network_sim+: { + [resourceLabel]+: { + static_ip_configuration+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withTimeouts':: d.fn(help='`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform resource 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 - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(resourceLabel, value): { + resource+: { + azurerm_mobile_network_sim+: { + [resourceLabel]+: { + timeouts: value, + }, + }, + }, + }, + '#withTimeoutsMixin':: d.fn(help='`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj`\nTerraform resource 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 - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeoutsMixin(resourceLabel, value): { + resource+: { + azurerm_mobile_network_sim+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/network_function_azure_traffic_collector.libsonnet b/3.x/_gen/resources/network_function_azure_traffic_collector.libsonnet new file mode 100644 index 00000000..c86f6be4 --- /dev/null +++ b/3.x/_gen/resources/network_function_azure_traffic_collector.libsonnet @@ -0,0 +1,114 @@ +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_function_azure_traffic_collector', url='', help='`network_function_azure_traffic_collector` represents the `azurerm_network_function_azure_traffic_collector` 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.network_function_azure_traffic_collector.new` injects a new `azurerm_network_function_azure_traffic_collector` 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.network_function_azure_traffic_collector.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.network_function_azure_traffic_collector` using the reference:\n\n $._ref.azurerm_network_function_azure_traffic_collector.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_network_function_azure_traffic_collector.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 - `resource_group_name` (`string`): Set the `resource_group_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.network_function_azure_traffic_collector.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, + resource_group_name, + tags=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_network_function_azure_traffic_collector', + label=resourceLabel, + attrs=self.newAttrs( + location=location, + name=name, + resource_group_name=resource_group_name, + tags=tags, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.network_function_azure_traffic_collector.newAttrs` constructs a new object with attributes and blocks configured for the `network_function_azure_traffic_collector`\nTerraform resource.\n\nUnlike [azurerm.network_function_azure_traffic_collector.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 - `resource_group_name` (`string`): Set the `resource_group_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.network_function_azure_traffic_collector.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 `network_function_azure_traffic_collector` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + location, + name, + resource_group_name, + tags=null, + timeouts=null + ):: std.prune(a={ + location: location, + name: name, + resource_group_name: resource_group_name, + tags: tags, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.network_function_azure_traffic_collector.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, + update=null + ):: std.prune(a={ + create: create, + delete: delete, + read: read, + update: update, + }), + }, + '#withLocation':: d.fn(help='`azurerm.string.withLocation` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the location 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 `location` field.\n', args=[]), + withLocation(resourceLabel, value): { + resource+: { + azurerm_network_function_azure_traffic_collector+: { + [resourceLabel]+: { + location: 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+: { + azurerm_network_function_azure_traffic_collector+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withResourceGroupName':: d.fn(help='`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the resource_group_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 `resource_group_name` field.\n', args=[]), + withResourceGroupName(resourceLabel, value): { + resource+: { + azurerm_network_function_azure_traffic_collector+: { + [resourceLabel]+: { + resource_group_name: value, + }, + }, + }, + }, + '#withTags':: d.fn(help='`azurerm.obj.withTags` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the tags field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `tags` field.\n', args=[]), + withTags(resourceLabel, value): { + resource+: { + azurerm_network_function_azure_traffic_collector+: { + [resourceLabel]+: { + tags: value, + }, + }, + }, + }, + '#withTimeouts':: d.fn(help='`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform resource 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 - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(resourceLabel, value): { + resource+: { + azurerm_network_function_azure_traffic_collector+: { + [resourceLabel]+: { + timeouts: value, + }, + }, + }, + }, + '#withTimeoutsMixin':: d.fn(help='`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj`\nTerraform resource 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 - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeoutsMixin(resourceLabel, value): { + resource+: { + azurerm_network_function_azure_traffic_collector+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/shared_image_gallery.libsonnet b/3.x/_gen/resources/shared_image_gallery.libsonnet index 2b129461..e18f3266 100644 --- a/3.x/_gen/resources/shared_image_gallery.libsonnet +++ b/3.x/_gen/resources/shared_image_gallery.libsonnet @@ -2,13 +2,14 @@ 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='shared_image_gallery', url='', help='`shared_image_gallery` represents the `azurerm_shared_image_gallery` 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.shared_image_gallery.new` injects a new `azurerm_shared_image_gallery` 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.shared_image_gallery.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.shared_image_gallery` using the reference:\n\n $._ref.azurerm_shared_image_gallery.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_shared_image_gallery.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 - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` 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 - `resource_group_name` (`string`): Set the `resource_group_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.shared_image_gallery.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.shared_image_gallery.new` injects a new `azurerm_shared_image_gallery` 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.shared_image_gallery.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.shared_image_gallery` using the reference:\n\n $._ref.azurerm_shared_image_gallery.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_shared_image_gallery.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 - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` 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 - `resource_group_name` (`string`): Set the `resource_group_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 - `sharing` (`list[obj]`): Set the `sharing` field on the resulting resource block. When `null`, the `sharing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.shared_image_gallery.sharing.new](#fn-sharingnew) 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.shared_image_gallery.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, resource_group_name, description=null, + sharing=null, tags=null, timeouts=null, _meta={} @@ -20,17 +21,19 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); location=location, name=name, resource_group_name=resource_group_name, + sharing=sharing, tags=tags, timeouts=timeouts ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.shared_image_gallery.newAttrs` constructs a new object with attributes and blocks configured for the `shared_image_gallery`\nTerraform resource.\n\nUnlike [azurerm.shared_image_gallery.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 - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` 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 - `resource_group_name` (`string`): Set the `resource_group_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.shared_image_gallery.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 `shared_image_gallery` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.shared_image_gallery.newAttrs` constructs a new object with attributes and blocks configured for the `shared_image_gallery`\nTerraform resource.\n\nUnlike [azurerm.shared_image_gallery.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 - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` 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 - `resource_group_name` (`string`): Set the `resource_group_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 - `sharing` (`list[obj]`): Set the `sharing` field on the resulting object. When `null`, the `sharing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.shared_image_gallery.sharing.new](#fn-sharingnew) 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.shared_image_gallery.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 `shared_image_gallery` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, resource_group_name, description=null, + sharing=null, tags=null, timeouts=null ):: std.prune(a={ @@ -38,9 +41,34 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); location: location, name: name, resource_group_name: resource_group_name, + sharing: sharing, tags: tags, timeouts: timeouts, }), + sharing:: { + community_gallery:: { + '#new':: d.fn(help='\n`azurerm.shared_image_gallery.sharing.community_gallery.new` constructs a new object with attributes and blocks configured for the `community_gallery`\nTerraform sub block.\n\n\n\n**Args**:\n - `eula` (`string`): Set the `eula` field on the resulting object.\n - `prefix` (`string`): Set the `prefix` field on the resulting object.\n - `publisher_email` (`string`): Set the `publisher_email` field on the resulting object.\n - `publisher_uri` (`string`): Set the `publisher_uri` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `community_gallery` sub block.\n', args=[]), + new( + eula, + prefix, + publisher_email, + publisher_uri + ):: std.prune(a={ + eula: eula, + prefix: prefix, + publisher_email: publisher_email, + publisher_uri: publisher_uri, + }), + }, + '#new':: d.fn(help='\n`azurerm.shared_image_gallery.sharing.new` constructs a new object with attributes and blocks configured for the `sharing`\nTerraform sub block.\n\n\n\n**Args**:\n - `permission` (`string`): Set the `permission` field on the resulting object.\n - `community_gallery` (`list[obj]`): Set the `community_gallery` field on the resulting object. When `null`, the `community_gallery` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.shared_image_gallery.sharing.community_gallery.new](#fn-sharingcommunity_gallerynew) constructor.\n\n**Returns**:\n - An attribute object that represents the `sharing` sub block.\n', args=[]), + new( + permission, + community_gallery=null + ):: std.prune(a={ + community_gallery: community_gallery, + permission: permission, + }), + }, timeouts:: { '#new':: d.fn(help='\n`azurerm.shared_image_gallery.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( @@ -95,6 +123,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withSharing':: d.fn(help='`azurerm.list[obj].withSharing` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the sharing 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].withSharingMixin](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 `sharing` field.\n', args=[]), + withSharing(resourceLabel, value): { + resource+: { + azurerm_shared_image_gallery+: { + [resourceLabel]+: { + sharing: value, + }, + }, + }, + }, + '#withSharingMixin':: d.fn(help='`azurerm.list[obj].withSharingMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the sharing 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].withSharing](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 `sharing` field.\n', args=[]), + withSharingMixin(resourceLabel, value): { + resource+: { + azurerm_shared_image_gallery+: { + [resourceLabel]+: { + sharing+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, '#withTags':: d.fn(help='`azurerm.obj.withTags` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the tags field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `tags` field.\n', args=[]), withTags(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/virtual_network.libsonnet b/3.x/_gen/resources/virtual_network.libsonnet index 44ca722d..d842d9a1 100644 --- a/3.x/_gen/resources/virtual_network.libsonnet +++ b/3.x/_gen/resources/virtual_network.libsonnet @@ -10,7 +10,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); enable: enable, }), }, - '#new':: d.fn(help="\n`azurerm.virtual_network.new` injects a new `azurerm_virtual_network` 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.virtual_network.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.virtual_network` using the reference:\n\n $._ref.azurerm_virtual_network.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_virtual_network.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 - `address_space` (`list`): Set the `address_space` field on the resulting resource block.\n - `bgp_community` (`string`): Set the `bgp_community` field on the resulting resource block. When `null`, the `bgp_community` field will be omitted from the resulting object.\n - `dns_servers` (`list`): Set the `dns_servers` field on the resulting resource block. When `null`, the `dns_servers` 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 - `flow_timeout_in_minutes` (`number`): Set the `flow_timeout_in_minutes` field on the resulting resource block. When `null`, the `flow_timeout_in_minutes` 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 - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `subnet` (`list`): Set the `subnet` field on the resulting resource block. When `null`, the `subnet` 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 - `ddos_protection_plan` (`list[obj]`): Set the `ddos_protection_plan` field on the resulting resource block. When `null`, the `ddos_protection_plan` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.virtual_network.ddos_protection_plan.new](#fn-ddos_protection_plannew) 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.virtual_network.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + encryption:: { + '#new':: d.fn(help='\n`azurerm.virtual_network.encryption.new` constructs a new object with attributes and blocks configured for the `encryption`\nTerraform sub block.\n\n\n\n**Args**:\n - `enforcement` (`string`): Set the `enforcement` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `encryption` sub block.\n', args=[]), + new( + enforcement + ):: std.prune(a={ + enforcement: enforcement, + }), + }, + '#new':: d.fn(help="\n`azurerm.virtual_network.new` injects a new `azurerm_virtual_network` 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.virtual_network.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.virtual_network` using the reference:\n\n $._ref.azurerm_virtual_network.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_virtual_network.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 - `address_space` (`list`): Set the `address_space` field on the resulting resource block.\n - `bgp_community` (`string`): Set the `bgp_community` field on the resulting resource block. When `null`, the `bgp_community` field will be omitted from the resulting object.\n - `dns_servers` (`list`): Set the `dns_servers` field on the resulting resource block. When `null`, the `dns_servers` 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 - `flow_timeout_in_minutes` (`number`): Set the `flow_timeout_in_minutes` field on the resulting resource block. When `null`, the `flow_timeout_in_minutes` 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 - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `subnet` (`list`): Set the `subnet` field on the resulting resource block. When `null`, the `subnet` 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 - `ddos_protection_plan` (`list[obj]`): Set the `ddos_protection_plan` field on the resulting resource block. When `null`, the `ddos_protection_plan` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.virtual_network.ddos_protection_plan.new](#fn-ddos_protection_plannew) constructor.\n - `encryption` (`list[obj]`): Set the `encryption` field on the resulting resource block. When `null`, the `encryption` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.virtual_network.encryption.new](#fn-encryptionnew) 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.virtual_network.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, address_space, @@ -21,6 +29,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ddos_protection_plan=null, dns_servers=null, edge_zone=null, + encryption=null, flow_timeout_in_minutes=null, subnet=null, tags=null, @@ -35,6 +44,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ddos_protection_plan=ddos_protection_plan, dns_servers=dns_servers, edge_zone=edge_zone, + encryption=encryption, flow_timeout_in_minutes=flow_timeout_in_minutes, location=location, name=name, @@ -45,7 +55,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.virtual_network.newAttrs` constructs a new object with attributes and blocks configured for the `virtual_network`\nTerraform resource.\n\nUnlike [azurerm.virtual_network.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 - `address_space` (`list`): Set the `address_space` field on the resulting object.\n - `bgp_community` (`string`): Set the `bgp_community` field on the resulting object. When `null`, the `bgp_community` field will be omitted from the resulting object.\n - `dns_servers` (`list`): Set the `dns_servers` field on the resulting object. When `null`, the `dns_servers` 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 - `flow_timeout_in_minutes` (`number`): Set the `flow_timeout_in_minutes` field on the resulting object. When `null`, the `flow_timeout_in_minutes` 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 - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `subnet` (`list`): Set the `subnet` field on the resulting object. When `null`, the `subnet` 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 - `ddos_protection_plan` (`list[obj]`): Set the `ddos_protection_plan` field on the resulting object. When `null`, the `ddos_protection_plan` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.virtual_network.ddos_protection_plan.new](#fn-ddos_protection_plannew) 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.virtual_network.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 `virtual_network` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.virtual_network.newAttrs` constructs a new object with attributes and blocks configured for the `virtual_network`\nTerraform resource.\n\nUnlike [azurerm.virtual_network.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 - `address_space` (`list`): Set the `address_space` field on the resulting object.\n - `bgp_community` (`string`): Set the `bgp_community` field on the resulting object. When `null`, the `bgp_community` field will be omitted from the resulting object.\n - `dns_servers` (`list`): Set the `dns_servers` field on the resulting object. When `null`, the `dns_servers` 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 - `flow_timeout_in_minutes` (`number`): Set the `flow_timeout_in_minutes` field on the resulting object. When `null`, the `flow_timeout_in_minutes` 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 - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `subnet` (`list`): Set the `subnet` field on the resulting object. When `null`, the `subnet` 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 - `ddos_protection_plan` (`list[obj]`): Set the `ddos_protection_plan` field on the resulting object. When `null`, the `ddos_protection_plan` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.virtual_network.ddos_protection_plan.new](#fn-ddos_protection_plannew) constructor.\n - `encryption` (`list[obj]`): Set the `encryption` field on the resulting object. When `null`, the `encryption` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.virtual_network.encryption.new](#fn-encryptionnew) 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.virtual_network.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 `virtual_network` resource into the root Terraform configuration.\n', args=[]), newAttrs( address_space, location, @@ -55,6 +65,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ddos_protection_plan=null, dns_servers=null, edge_zone=null, + encryption=null, flow_timeout_in_minutes=null, subnet=null, tags=null, @@ -65,6 +76,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ddos_protection_plan: ddos_protection_plan, dns_servers: dns_servers, edge_zone: edge_zone, + encryption: encryption, flow_timeout_in_minutes: flow_timeout_in_minutes, location: location, name: name, @@ -147,6 +159,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withEncryption':: d.fn(help='`azurerm.list[obj].withEncryption` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the encryption 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].withEncryptionMixin](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 `encryption` field.\n', args=[]), + withEncryption(resourceLabel, value): { + resource+: { + azurerm_virtual_network+: { + [resourceLabel]+: { + encryption: value, + }, + }, + }, + }, + '#withEncryptionMixin':: d.fn(help='`azurerm.list[obj].withEncryptionMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the encryption 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].withEncryption](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 `encryption` field.\n', args=[]), + withEncryptionMixin(resourceLabel, value): { + resource+: { + azurerm_virtual_network+: { + [resourceLabel]+: { + encryption+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, '#withFlowTimeoutInMinutes':: d.fn(help='`azurerm.number.withFlowTimeoutInMinutes` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the flow_timeout_in_minutes 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 `flow_timeout_in_minutes` field.\n', args=[]), withFlowTimeoutInMinutes(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/web_application_firewall_policy.libsonnet b/3.x/_gen/resources/web_application_firewall_policy.libsonnet index 37916647..289074c8 100644 --- a/3.x/_gen/resources/web_application_firewall_policy.libsonnet +++ b/3.x/_gen/resources/web_application_firewall_policy.libsonnet @@ -172,16 +172,42 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), policy_settings:: { - '#new':: d.fn(help='\n`azurerm.web_application_firewall_policy.policy_settings.new` constructs a new object with attributes and blocks configured for the `policy_settings`\nTerraform sub block.\n\n\n\n**Args**:\n - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object.\n - `file_upload_limit_in_mb` (`number`): Set the `file_upload_limit_in_mb` field on the resulting object. When `null`, the `file_upload_limit_in_mb` field will be omitted from the resulting object.\n - `max_request_body_size_in_kb` (`number`): Set the `max_request_body_size_in_kb` field on the resulting object. When `null`, the `max_request_body_size_in_kb` field will be omitted from the resulting object.\n - `mode` (`string`): Set the `mode` field on the resulting object. When `null`, the `mode` field will be omitted from the resulting object.\n - `request_body_check` (`bool`): Set the `request_body_check` field on the resulting object. When `null`, the `request_body_check` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `policy_settings` sub block.\n', args=[]), + log_scrubbing:: { + '#new':: d.fn(help='\n`azurerm.web_application_firewall_policy.policy_settings.log_scrubbing.new` constructs a new object with attributes and blocks configured for the `log_scrubbing`\nTerraform sub block.\n\n\n\n**Args**:\n - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object.\n - `rule` (`list[obj]`): Set the `rule` field on the resulting object. When `null`, the `rule` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.web_application_firewall_policy.policy_settings.log_scrubbing.rule.new](#fn-policy_settingspolicy_settingsrulenew) constructor.\n\n**Returns**:\n - An attribute object that represents the `log_scrubbing` sub block.\n', args=[]), + new( + enabled=null, + rule=null + ):: std.prune(a={ + enabled: enabled, + rule: rule, + }), + rule:: { + '#new':: d.fn(help='\n`azurerm.web_application_firewall_policy.policy_settings.log_scrubbing.rule.new` constructs a new object with attributes and blocks configured for the `rule`\nTerraform sub block.\n\n\n\n**Args**:\n - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object.\n - `match_variable` (`string`): Set the `match_variable` field on the resulting object.\n - `selector` (`string`): When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to. When `null`, the `selector` field will be omitted from the resulting object.\n - `selector_match_operator` (`string`): Set the `selector_match_operator` field on the resulting object. When `null`, the `selector_match_operator` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `rule` sub block.\n', args=[]), + new( + match_variable, + enabled=null, + selector=null, + selector_match_operator=null + ):: std.prune(a={ + enabled: enabled, + match_variable: match_variable, + selector: selector, + selector_match_operator: selector_match_operator, + }), + }, + }, + '#new':: d.fn(help='\n`azurerm.web_application_firewall_policy.policy_settings.new` constructs a new object with attributes and blocks configured for the `policy_settings`\nTerraform sub block.\n\n\n\n**Args**:\n - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object.\n - `file_upload_limit_in_mb` (`number`): Set the `file_upload_limit_in_mb` field on the resulting object. When `null`, the `file_upload_limit_in_mb` field will be omitted from the resulting object.\n - `max_request_body_size_in_kb` (`number`): Set the `max_request_body_size_in_kb` field on the resulting object. When `null`, the `max_request_body_size_in_kb` field will be omitted from the resulting object.\n - `mode` (`string`): Set the `mode` field on the resulting object. When `null`, the `mode` field will be omitted from the resulting object.\n - `request_body_check` (`bool`): Set the `request_body_check` field on the resulting object. When `null`, the `request_body_check` field will be omitted from the resulting object.\n - `log_scrubbing` (`list[obj]`): Set the `log_scrubbing` field on the resulting object. When `null`, the `log_scrubbing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.web_application_firewall_policy.policy_settings.log_scrubbing.new](#fn-policy_settingslog_scrubbingnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `policy_settings` sub block.\n', args=[]), new( enabled=null, file_upload_limit_in_mb=null, + log_scrubbing=null, max_request_body_size_in_kb=null, mode=null, request_body_check=null ):: std.prune(a={ enabled: enabled, file_upload_limit_in_mb: file_upload_limit_in_mb, + log_scrubbing: log_scrubbing, max_request_body_size_in_kb: max_request_body_size_in_kb, mode: mode, request_body_check: request_body_check, diff --git a/3.x/_gen/resources/windows_virtual_machine.libsonnet b/3.x/_gen/resources/windows_virtual_machine.libsonnet index a7e65b9a..bab4ed0a 100644 --- a/3.x/_gen/resources/windows_virtual_machine.libsonnet +++ b/3.x/_gen/resources/windows_virtual_machine.libsonnet @@ -52,7 +52,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); type: type, }), }, - '#new':: d.fn(help="\n`azurerm.windows_virtual_machine.new` injects a new `azurerm_windows_virtual_machine` 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.windows_virtual_machine.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.windows_virtual_machine` using the reference:\n\n $._ref.azurerm_windows_virtual_machine.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_windows_virtual_machine.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_password` (`string`): Set the `admin_password` field on the resulting resource block.\n - `admin_username` (`string`): Set the `admin_username` field on the resulting resource block.\n - `allow_extension_operations` (`bool`): Set the `allow_extension_operations` field on the resulting resource block. When `null`, the `allow_extension_operations` field will be omitted from the resulting object.\n - `availability_set_id` (`string`): Set the `availability_set_id` field on the resulting resource block. When `null`, the `availability_set_id` field will be omitted from the resulting object.\n - `capacity_reservation_group_id` (`string`): Set the `capacity_reservation_group_id` field on the resulting resource block. When `null`, the `capacity_reservation_group_id` field will be omitted from the resulting object.\n - `computer_name` (`string`): Set the `computer_name` field on the resulting resource block. When `null`, the `computer_name` field will be omitted from the resulting object.\n - `custom_data` (`string`): Set the `custom_data` field on the resulting resource block. When `null`, the `custom_data` field will be omitted from the resulting object.\n - `dedicated_host_group_id` (`string`): Set the `dedicated_host_group_id` field on the resulting resource block. When `null`, the `dedicated_host_group_id` field will be omitted from the resulting object.\n - `dedicated_host_id` (`string`): Set the `dedicated_host_id` field on the resulting resource block. When `null`, the `dedicated_host_id` 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_automatic_updates` (`bool`): Set the `enable_automatic_updates` field on the resulting resource block. When `null`, the `enable_automatic_updates` field will be omitted from the resulting object.\n - `encryption_at_host_enabled` (`bool`): Set the `encryption_at_host_enabled` field on the resulting resource block. When `null`, the `encryption_at_host_enabled` field will be omitted from the resulting object.\n - `eviction_policy` (`string`): Set the `eviction_policy` field on the resulting resource block. When `null`, the `eviction_policy` field will be omitted from the resulting object.\n - `extensions_time_budget` (`string`): Set the `extensions_time_budget` field on the resulting resource block. When `null`, the `extensions_time_budget` field will be omitted from the resulting object.\n - `hotpatching_enabled` (`bool`): Set the `hotpatching_enabled` field on the resulting resource block. When `null`, the `hotpatching_enabled` field will be omitted from the resulting object.\n - `license_type` (`string`): Set the `license_type` field on the resulting resource block. When `null`, the `license_type` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `max_bid_price` (`number`): Set the `max_bid_price` field on the resulting resource block. When `null`, the `max_bid_price` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `network_interface_ids` (`list`): Set the `network_interface_ids` field on the resulting resource block.\n - `patch_assessment_mode` (`string`): Set the `patch_assessment_mode` field on the resulting resource block. When `null`, the `patch_assessment_mode` field will be omitted from the resulting object.\n - `patch_mode` (`string`): Set the `patch_mode` field on the resulting resource block. When `null`, the `patch_mode` field will be omitted from the resulting object.\n - `platform_fault_domain` (`number`): Set the `platform_fault_domain` field on the resulting resource block. When `null`, the `platform_fault_domain` field will be omitted from the resulting object.\n - `priority` (`string`): Set the `priority` field on the resulting resource block. When `null`, the `priority` field will be omitted from the resulting object.\n - `provision_vm_agent` (`bool`): Set the `provision_vm_agent` field on the resulting resource block. When `null`, the `provision_vm_agent` field will be omitted from the resulting object.\n - `proximity_placement_group_id` (`string`): Set the `proximity_placement_group_id` field on the resulting resource block. When `null`, the `proximity_placement_group_id` 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 - `secure_boot_enabled` (`bool`): Set the `secure_boot_enabled` field on the resulting resource block. When `null`, the `secure_boot_enabled` field will be omitted from the resulting object.\n - `size` (`string`): Set the `size` field on the resulting resource block.\n - `source_image_id` (`string`): Set the `source_image_id` field on the resulting resource block. When `null`, the `source_image_id` 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 - `timezone` (`string`): Set the `timezone` field on the resulting resource block. When `null`, the `timezone` field will be omitted from the resulting object.\n - `user_data` (`string`): Set the `user_data` field on the resulting resource block. When `null`, the `user_data` field will be omitted from the resulting object.\n - `virtual_machine_scale_set_id` (`string`): Set the `virtual_machine_scale_set_id` field on the resulting resource block. When `null`, the `virtual_machine_scale_set_id` field will be omitted from the resulting object.\n - `vtpm_enabled` (`bool`): Set the `vtpm_enabled` field on the resulting resource block. When `null`, the `vtpm_enabled` field will be omitted from the resulting object.\n - `zone` (`string`): Set the `zone` field on the resulting resource block. When `null`, the `zone` field will be omitted from the resulting object.\n - `additional_capabilities` (`list[obj]`): Set the `additional_capabilities` field on the resulting resource block. When `null`, the `additional_capabilities` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.additional_capabilities.new](#fn-additional_capabilitiesnew) constructor.\n - `additional_unattend_content` (`list[obj]`): Set the `additional_unattend_content` field on the resulting resource block. When `null`, the `additional_unattend_content` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.additional_unattend_content.new](#fn-additional_unattend_contentnew) constructor.\n - `boot_diagnostics` (`list[obj]`): Set the `boot_diagnostics` field on the resulting resource block. When `null`, the `boot_diagnostics` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.boot_diagnostics.new](#fn-boot_diagnosticsnew) constructor.\n - `gallery_application` (`list[obj]`): Set the `gallery_application` field on the resulting resource block. When `null`, the `gallery_application` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.gallery_application.new](#fn-gallery_applicationnew) 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.windows_virtual_machine.identity.new](#fn-identitynew) constructor.\n - `os_disk` (`list[obj]`): Set the `os_disk` field on the resulting resource block. When `null`, the `os_disk` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.os_disk.new](#fn-os_disknew) constructor.\n - `plan` (`list[obj]`): Set the `plan` field on the resulting resource block. When `null`, the `plan` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.plan.new](#fn-plannew) constructor.\n - `secret` (`list[obj]`): Set the `secret` field on the resulting resource block. When `null`, the `secret` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.secret.new](#fn-secretnew) constructor.\n - `source_image_reference` (`list[obj]`): Set the `source_image_reference` field on the resulting resource block. When `null`, the `source_image_reference` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.source_image_reference.new](#fn-source_image_referencenew) constructor.\n - `termination_notification` (`list[obj]`): Set the `termination_notification` field on the resulting resource block. When `null`, the `termination_notification` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.termination_notification.new](#fn-termination_notificationnew) 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.windows_virtual_machine.timeouts.new](#fn-timeoutsnew) constructor.\n - `winrm_listener` (`list[obj]`): Set the `winrm_listener` field on the resulting resource block. When `null`, the `winrm_listener` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.winrm_listener.new](#fn-winrm_listenernew) 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.windows_virtual_machine.new` injects a new `azurerm_windows_virtual_machine` 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.windows_virtual_machine.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.windows_virtual_machine` using the reference:\n\n $._ref.azurerm_windows_virtual_machine.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_windows_virtual_machine.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_password` (`string`): Set the `admin_password` field on the resulting resource block.\n - `admin_username` (`string`): Set the `admin_username` field on the resulting resource block.\n - `allow_extension_operations` (`bool`): Set the `allow_extension_operations` field on the resulting resource block. When `null`, the `allow_extension_operations` field will be omitted from the resulting object.\n - `availability_set_id` (`string`): Set the `availability_set_id` field on the resulting resource block. When `null`, the `availability_set_id` field will be omitted from the resulting object.\n - `bypass_platform_safety_checks_on_user_schedule_enabled` (`bool`): Set the `bypass_platform_safety_checks_on_user_schedule_enabled` field on the resulting resource block. When `null`, the `bypass_platform_safety_checks_on_user_schedule_enabled` field will be omitted from the resulting object.\n - `capacity_reservation_group_id` (`string`): Set the `capacity_reservation_group_id` field on the resulting resource block. When `null`, the `capacity_reservation_group_id` field will be omitted from the resulting object.\n - `computer_name` (`string`): Set the `computer_name` field on the resulting resource block. When `null`, the `computer_name` field will be omitted from the resulting object.\n - `custom_data` (`string`): Set the `custom_data` field on the resulting resource block. When `null`, the `custom_data` field will be omitted from the resulting object.\n - `dedicated_host_group_id` (`string`): Set the `dedicated_host_group_id` field on the resulting resource block. When `null`, the `dedicated_host_group_id` field will be omitted from the resulting object.\n - `dedicated_host_id` (`string`): Set the `dedicated_host_id` field on the resulting resource block. When `null`, the `dedicated_host_id` 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_automatic_updates` (`bool`): Set the `enable_automatic_updates` field on the resulting resource block. When `null`, the `enable_automatic_updates` field will be omitted from the resulting object.\n - `encryption_at_host_enabled` (`bool`): Set the `encryption_at_host_enabled` field on the resulting resource block. When `null`, the `encryption_at_host_enabled` field will be omitted from the resulting object.\n - `eviction_policy` (`string`): Set the `eviction_policy` field on the resulting resource block. When `null`, the `eviction_policy` field will be omitted from the resulting object.\n - `extensions_time_budget` (`string`): Set the `extensions_time_budget` field on the resulting resource block. When `null`, the `extensions_time_budget` field will be omitted from the resulting object.\n - `hotpatching_enabled` (`bool`): Set the `hotpatching_enabled` field on the resulting resource block. When `null`, the `hotpatching_enabled` field will be omitted from the resulting object.\n - `license_type` (`string`): Set the `license_type` field on the resulting resource block. When `null`, the `license_type` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `max_bid_price` (`number`): Set the `max_bid_price` field on the resulting resource block. When `null`, the `max_bid_price` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `network_interface_ids` (`list`): Set the `network_interface_ids` field on the resulting resource block.\n - `patch_assessment_mode` (`string`): Set the `patch_assessment_mode` field on the resulting resource block. When `null`, the `patch_assessment_mode` field will be omitted from the resulting object.\n - `patch_mode` (`string`): Set the `patch_mode` field on the resulting resource block. When `null`, the `patch_mode` field will be omitted from the resulting object.\n - `platform_fault_domain` (`number`): Set the `platform_fault_domain` field on the resulting resource block. When `null`, the `platform_fault_domain` field will be omitted from the resulting object.\n - `priority` (`string`): Set the `priority` field on the resulting resource block. When `null`, the `priority` field will be omitted from the resulting object.\n - `provision_vm_agent` (`bool`): Set the `provision_vm_agent` field on the resulting resource block. When `null`, the `provision_vm_agent` field will be omitted from the resulting object.\n - `proximity_placement_group_id` (`string`): Set the `proximity_placement_group_id` field on the resulting resource block. When `null`, the `proximity_placement_group_id` field will be omitted from the resulting object.\n - `reboot_setting` (`string`): Set the `reboot_setting` field on the resulting resource block. When `null`, the `reboot_setting` 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 - `secure_boot_enabled` (`bool`): Set the `secure_boot_enabled` field on the resulting resource block. When `null`, the `secure_boot_enabled` field will be omitted from the resulting object.\n - `size` (`string`): Set the `size` field on the resulting resource block.\n - `source_image_id` (`string`): Set the `source_image_id` field on the resulting resource block. When `null`, the `source_image_id` 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 - `timezone` (`string`): Set the `timezone` field on the resulting resource block. When `null`, the `timezone` field will be omitted from the resulting object.\n - `user_data` (`string`): Set the `user_data` field on the resulting resource block. When `null`, the `user_data` field will be omitted from the resulting object.\n - `virtual_machine_scale_set_id` (`string`): Set the `virtual_machine_scale_set_id` field on the resulting resource block. When `null`, the `virtual_machine_scale_set_id` field will be omitted from the resulting object.\n - `vtpm_enabled` (`bool`): Set the `vtpm_enabled` field on the resulting resource block. When `null`, the `vtpm_enabled` field will be omitted from the resulting object.\n - `zone` (`string`): Set the `zone` field on the resulting resource block. When `null`, the `zone` field will be omitted from the resulting object.\n - `additional_capabilities` (`list[obj]`): Set the `additional_capabilities` field on the resulting resource block. When `null`, the `additional_capabilities` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.additional_capabilities.new](#fn-additional_capabilitiesnew) constructor.\n - `additional_unattend_content` (`list[obj]`): Set the `additional_unattend_content` field on the resulting resource block. When `null`, the `additional_unattend_content` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.additional_unattend_content.new](#fn-additional_unattend_contentnew) constructor.\n - `boot_diagnostics` (`list[obj]`): Set the `boot_diagnostics` field on the resulting resource block. When `null`, the `boot_diagnostics` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.boot_diagnostics.new](#fn-boot_diagnosticsnew) constructor.\n - `gallery_application` (`list[obj]`): Set the `gallery_application` field on the resulting resource block. When `null`, the `gallery_application` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.gallery_application.new](#fn-gallery_applicationnew) 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.windows_virtual_machine.identity.new](#fn-identitynew) constructor.\n - `os_disk` (`list[obj]`): Set the `os_disk` field on the resulting resource block. When `null`, the `os_disk` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.os_disk.new](#fn-os_disknew) constructor.\n - `plan` (`list[obj]`): Set the `plan` field on the resulting resource block. When `null`, the `plan` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.plan.new](#fn-plannew) constructor.\n - `secret` (`list[obj]`): Set the `secret` field on the resulting resource block. When `null`, the `secret` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.secret.new](#fn-secretnew) constructor.\n - `source_image_reference` (`list[obj]`): Set the `source_image_reference` field on the resulting resource block. When `null`, the `source_image_reference` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.source_image_reference.new](#fn-source_image_referencenew) constructor.\n - `termination_notification` (`list[obj]`): Set the `termination_notification` field on the resulting resource block. When `null`, the `termination_notification` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.termination_notification.new](#fn-termination_notificationnew) 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.windows_virtual_machine.timeouts.new](#fn-timeoutsnew) constructor.\n - `winrm_listener` (`list[obj]`): Set the `winrm_listener` field on the resulting resource block. When `null`, the `winrm_listener` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.winrm_listener.new](#fn-winrm_listenernew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, admin_password, @@ -67,6 +67,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); allow_extension_operations=null, availability_set_id=null, boot_diagnostics=null, + bypass_platform_safety_checks_on_user_schedule_enabled=null, capacity_reservation_group_id=null, computer_name=null, custom_data=null, @@ -90,6 +91,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); priority=null, provision_vm_agent=null, proximity_placement_group_id=null, + reboot_setting=null, secret=null, secure_boot_enabled=null, source_image_id=null, @@ -115,6 +117,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); allow_extension_operations=allow_extension_operations, availability_set_id=availability_set_id, boot_diagnostics=boot_diagnostics, + bypass_platform_safety_checks_on_user_schedule_enabled=bypass_platform_safety_checks_on_user_schedule_enabled, capacity_reservation_group_id=capacity_reservation_group_id, computer_name=computer_name, custom_data=custom_data, @@ -141,6 +144,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); priority=priority, provision_vm_agent=provision_vm_agent, proximity_placement_group_id=proximity_placement_group_id, + reboot_setting=reboot_setting, resource_group_name=resource_group_name, secret=secret, secure_boot_enabled=secure_boot_enabled, @@ -159,7 +163,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.windows_virtual_machine.newAttrs` constructs a new object with attributes and blocks configured for the `windows_virtual_machine`\nTerraform resource.\n\nUnlike [azurerm.windows_virtual_machine.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_password` (`string`): Set the `admin_password` field on the resulting object.\n - `admin_username` (`string`): Set the `admin_username` field on the resulting object.\n - `allow_extension_operations` (`bool`): Set the `allow_extension_operations` field on the resulting object. When `null`, the `allow_extension_operations` field will be omitted from the resulting object.\n - `availability_set_id` (`string`): Set the `availability_set_id` field on the resulting object. When `null`, the `availability_set_id` field will be omitted from the resulting object.\n - `capacity_reservation_group_id` (`string`): Set the `capacity_reservation_group_id` field on the resulting object. When `null`, the `capacity_reservation_group_id` field will be omitted from the resulting object.\n - `computer_name` (`string`): Set the `computer_name` field on the resulting object. When `null`, the `computer_name` field will be omitted from the resulting object.\n - `custom_data` (`string`): Set the `custom_data` field on the resulting object. When `null`, the `custom_data` field will be omitted from the resulting object.\n - `dedicated_host_group_id` (`string`): Set the `dedicated_host_group_id` field on the resulting object. When `null`, the `dedicated_host_group_id` field will be omitted from the resulting object.\n - `dedicated_host_id` (`string`): Set the `dedicated_host_id` field on the resulting object. When `null`, the `dedicated_host_id` 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_automatic_updates` (`bool`): Set the `enable_automatic_updates` field on the resulting object. When `null`, the `enable_automatic_updates` field will be omitted from the resulting object.\n - `encryption_at_host_enabled` (`bool`): Set the `encryption_at_host_enabled` field on the resulting object. When `null`, the `encryption_at_host_enabled` field will be omitted from the resulting object.\n - `eviction_policy` (`string`): Set the `eviction_policy` field on the resulting object. When `null`, the `eviction_policy` field will be omitted from the resulting object.\n - `extensions_time_budget` (`string`): Set the `extensions_time_budget` field on the resulting object. When `null`, the `extensions_time_budget` field will be omitted from the resulting object.\n - `hotpatching_enabled` (`bool`): Set the `hotpatching_enabled` field on the resulting object. When `null`, the `hotpatching_enabled` field will be omitted from the resulting object.\n - `license_type` (`string`): Set the `license_type` field on the resulting object. When `null`, the `license_type` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `max_bid_price` (`number`): Set the `max_bid_price` field on the resulting object. When `null`, the `max_bid_price` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `network_interface_ids` (`list`): Set the `network_interface_ids` field on the resulting object.\n - `patch_assessment_mode` (`string`): Set the `patch_assessment_mode` field on the resulting object. When `null`, the `patch_assessment_mode` field will be omitted from the resulting object.\n - `patch_mode` (`string`): Set the `patch_mode` field on the resulting object. When `null`, the `patch_mode` field will be omitted from the resulting object.\n - `platform_fault_domain` (`number`): Set the `platform_fault_domain` field on the resulting object. When `null`, the `platform_fault_domain` field will be omitted from the resulting object.\n - `priority` (`string`): Set the `priority` field on the resulting object. When `null`, the `priority` field will be omitted from the resulting object.\n - `provision_vm_agent` (`bool`): Set the `provision_vm_agent` field on the resulting object. When `null`, the `provision_vm_agent` field will be omitted from the resulting object.\n - `proximity_placement_group_id` (`string`): Set the `proximity_placement_group_id` field on the resulting object. When `null`, the `proximity_placement_group_id` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `secure_boot_enabled` (`bool`): Set the `secure_boot_enabled` field on the resulting object. When `null`, the `secure_boot_enabled` field will be omitted from the resulting object.\n - `size` (`string`): Set the `size` field on the resulting object.\n - `source_image_id` (`string`): Set the `source_image_id` field on the resulting object. When `null`, the `source_image_id` 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 - `timezone` (`string`): Set the `timezone` field on the resulting object. When `null`, the `timezone` field will be omitted from the resulting object.\n - `user_data` (`string`): Set the `user_data` field on the resulting object. When `null`, the `user_data` field will be omitted from the resulting object.\n - `virtual_machine_scale_set_id` (`string`): Set the `virtual_machine_scale_set_id` field on the resulting object. When `null`, the `virtual_machine_scale_set_id` field will be omitted from the resulting object.\n - `vtpm_enabled` (`bool`): Set the `vtpm_enabled` field on the resulting object. When `null`, the `vtpm_enabled` field will be omitted from the resulting object.\n - `zone` (`string`): Set the `zone` field on the resulting object. When `null`, the `zone` field will be omitted from the resulting object.\n - `additional_capabilities` (`list[obj]`): Set the `additional_capabilities` field on the resulting object. When `null`, the `additional_capabilities` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.additional_capabilities.new](#fn-additional_capabilitiesnew) constructor.\n - `additional_unattend_content` (`list[obj]`): Set the `additional_unattend_content` field on the resulting object. When `null`, the `additional_unattend_content` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.additional_unattend_content.new](#fn-additional_unattend_contentnew) constructor.\n - `boot_diagnostics` (`list[obj]`): Set the `boot_diagnostics` field on the resulting object. When `null`, the `boot_diagnostics` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.boot_diagnostics.new](#fn-boot_diagnosticsnew) constructor.\n - `gallery_application` (`list[obj]`): Set the `gallery_application` field on the resulting object. When `null`, the `gallery_application` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.gallery_application.new](#fn-gallery_applicationnew) 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.windows_virtual_machine.identity.new](#fn-identitynew) constructor.\n - `os_disk` (`list[obj]`): Set the `os_disk` field on the resulting object. When `null`, the `os_disk` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.os_disk.new](#fn-os_disknew) constructor.\n - `plan` (`list[obj]`): Set the `plan` field on the resulting object. When `null`, the `plan` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.plan.new](#fn-plannew) constructor.\n - `secret` (`list[obj]`): Set the `secret` field on the resulting object. When `null`, the `secret` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.secret.new](#fn-secretnew) constructor.\n - `source_image_reference` (`list[obj]`): Set the `source_image_reference` field on the resulting object. When `null`, the `source_image_reference` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.source_image_reference.new](#fn-source_image_referencenew) constructor.\n - `termination_notification` (`list[obj]`): Set the `termination_notification` field on the resulting object. When `null`, the `termination_notification` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.termination_notification.new](#fn-termination_notificationnew) 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.windows_virtual_machine.timeouts.new](#fn-timeoutsnew) constructor.\n - `winrm_listener` (`list[obj]`): Set the `winrm_listener` field on the resulting object. When `null`, the `winrm_listener` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.winrm_listener.new](#fn-winrm_listenernew) 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 `windows_virtual_machine` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.windows_virtual_machine.newAttrs` constructs a new object with attributes and blocks configured for the `windows_virtual_machine`\nTerraform resource.\n\nUnlike [azurerm.windows_virtual_machine.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_password` (`string`): Set the `admin_password` field on the resulting object.\n - `admin_username` (`string`): Set the `admin_username` field on the resulting object.\n - `allow_extension_operations` (`bool`): Set the `allow_extension_operations` field on the resulting object. When `null`, the `allow_extension_operations` field will be omitted from the resulting object.\n - `availability_set_id` (`string`): Set the `availability_set_id` field on the resulting object. When `null`, the `availability_set_id` field will be omitted from the resulting object.\n - `bypass_platform_safety_checks_on_user_schedule_enabled` (`bool`): Set the `bypass_platform_safety_checks_on_user_schedule_enabled` field on the resulting object. When `null`, the `bypass_platform_safety_checks_on_user_schedule_enabled` field will be omitted from the resulting object.\n - `capacity_reservation_group_id` (`string`): Set the `capacity_reservation_group_id` field on the resulting object. When `null`, the `capacity_reservation_group_id` field will be omitted from the resulting object.\n - `computer_name` (`string`): Set the `computer_name` field on the resulting object. When `null`, the `computer_name` field will be omitted from the resulting object.\n - `custom_data` (`string`): Set the `custom_data` field on the resulting object. When `null`, the `custom_data` field will be omitted from the resulting object.\n - `dedicated_host_group_id` (`string`): Set the `dedicated_host_group_id` field on the resulting object. When `null`, the `dedicated_host_group_id` field will be omitted from the resulting object.\n - `dedicated_host_id` (`string`): Set the `dedicated_host_id` field on the resulting object. When `null`, the `dedicated_host_id` 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_automatic_updates` (`bool`): Set the `enable_automatic_updates` field on the resulting object. When `null`, the `enable_automatic_updates` field will be omitted from the resulting object.\n - `encryption_at_host_enabled` (`bool`): Set the `encryption_at_host_enabled` field on the resulting object. When `null`, the `encryption_at_host_enabled` field will be omitted from the resulting object.\n - `eviction_policy` (`string`): Set the `eviction_policy` field on the resulting object. When `null`, the `eviction_policy` field will be omitted from the resulting object.\n - `extensions_time_budget` (`string`): Set the `extensions_time_budget` field on the resulting object. When `null`, the `extensions_time_budget` field will be omitted from the resulting object.\n - `hotpatching_enabled` (`bool`): Set the `hotpatching_enabled` field on the resulting object. When `null`, the `hotpatching_enabled` field will be omitted from the resulting object.\n - `license_type` (`string`): Set the `license_type` field on the resulting object. When `null`, the `license_type` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `max_bid_price` (`number`): Set the `max_bid_price` field on the resulting object. When `null`, the `max_bid_price` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `network_interface_ids` (`list`): Set the `network_interface_ids` field on the resulting object.\n - `patch_assessment_mode` (`string`): Set the `patch_assessment_mode` field on the resulting object. When `null`, the `patch_assessment_mode` field will be omitted from the resulting object.\n - `patch_mode` (`string`): Set the `patch_mode` field on the resulting object. When `null`, the `patch_mode` field will be omitted from the resulting object.\n - `platform_fault_domain` (`number`): Set the `platform_fault_domain` field on the resulting object. When `null`, the `platform_fault_domain` field will be omitted from the resulting object.\n - `priority` (`string`): Set the `priority` field on the resulting object. When `null`, the `priority` field will be omitted from the resulting object.\n - `provision_vm_agent` (`bool`): Set the `provision_vm_agent` field on the resulting object. When `null`, the `provision_vm_agent` field will be omitted from the resulting object.\n - `proximity_placement_group_id` (`string`): Set the `proximity_placement_group_id` field on the resulting object. When `null`, the `proximity_placement_group_id` field will be omitted from the resulting object.\n - `reboot_setting` (`string`): Set the `reboot_setting` field on the resulting object. When `null`, the `reboot_setting` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `secure_boot_enabled` (`bool`): Set the `secure_boot_enabled` field on the resulting object. When `null`, the `secure_boot_enabled` field will be omitted from the resulting object.\n - `size` (`string`): Set the `size` field on the resulting object.\n - `source_image_id` (`string`): Set the `source_image_id` field on the resulting object. When `null`, the `source_image_id` 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 - `timezone` (`string`): Set the `timezone` field on the resulting object. When `null`, the `timezone` field will be omitted from the resulting object.\n - `user_data` (`string`): Set the `user_data` field on the resulting object. When `null`, the `user_data` field will be omitted from the resulting object.\n - `virtual_machine_scale_set_id` (`string`): Set the `virtual_machine_scale_set_id` field on the resulting object. When `null`, the `virtual_machine_scale_set_id` field will be omitted from the resulting object.\n - `vtpm_enabled` (`bool`): Set the `vtpm_enabled` field on the resulting object. When `null`, the `vtpm_enabled` field will be omitted from the resulting object.\n - `zone` (`string`): Set the `zone` field on the resulting object. When `null`, the `zone` field will be omitted from the resulting object.\n - `additional_capabilities` (`list[obj]`): Set the `additional_capabilities` field on the resulting object. When `null`, the `additional_capabilities` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.additional_capabilities.new](#fn-additional_capabilitiesnew) constructor.\n - `additional_unattend_content` (`list[obj]`): Set the `additional_unattend_content` field on the resulting object. When `null`, the `additional_unattend_content` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.additional_unattend_content.new](#fn-additional_unattend_contentnew) constructor.\n - `boot_diagnostics` (`list[obj]`): Set the `boot_diagnostics` field on the resulting object. When `null`, the `boot_diagnostics` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.boot_diagnostics.new](#fn-boot_diagnosticsnew) constructor.\n - `gallery_application` (`list[obj]`): Set the `gallery_application` field on the resulting object. When `null`, the `gallery_application` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.gallery_application.new](#fn-gallery_applicationnew) 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.windows_virtual_machine.identity.new](#fn-identitynew) constructor.\n - `os_disk` (`list[obj]`): Set the `os_disk` field on the resulting object. When `null`, the `os_disk` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.os_disk.new](#fn-os_disknew) constructor.\n - `plan` (`list[obj]`): Set the `plan` field on the resulting object. When `null`, the `plan` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.plan.new](#fn-plannew) constructor.\n - `secret` (`list[obj]`): Set the `secret` field on the resulting object. When `null`, the `secret` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.secret.new](#fn-secretnew) constructor.\n - `source_image_reference` (`list[obj]`): Set the `source_image_reference` field on the resulting object. When `null`, the `source_image_reference` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.source_image_reference.new](#fn-source_image_referencenew) constructor.\n - `termination_notification` (`list[obj]`): Set the `termination_notification` field on the resulting object. When `null`, the `termination_notification` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.termination_notification.new](#fn-termination_notificationnew) 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.windows_virtual_machine.timeouts.new](#fn-timeoutsnew) constructor.\n - `winrm_listener` (`list[obj]`): Set the `winrm_listener` field on the resulting object. When `null`, the `winrm_listener` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_virtual_machine.winrm_listener.new](#fn-winrm_listenernew) 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 `windows_virtual_machine` resource into the root Terraform configuration.\n', args=[]), newAttrs( admin_password, admin_username, @@ -173,6 +177,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); allow_extension_operations=null, availability_set_id=null, boot_diagnostics=null, + bypass_platform_safety_checks_on_user_schedule_enabled=null, capacity_reservation_group_id=null, computer_name=null, custom_data=null, @@ -196,6 +201,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); priority=null, provision_vm_agent=null, proximity_placement_group_id=null, + reboot_setting=null, secret=null, secure_boot_enabled=null, source_image_id=null, @@ -217,6 +223,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); allow_extension_operations: allow_extension_operations, availability_set_id: availability_set_id, boot_diagnostics: boot_diagnostics, + bypass_platform_safety_checks_on_user_schedule_enabled: bypass_platform_safety_checks_on_user_schedule_enabled, capacity_reservation_group_id: capacity_reservation_group_id, computer_name: computer_name, custom_data: custom_data, @@ -243,6 +250,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); priority: priority, provision_vm_agent: provision_vm_agent, proximity_placement_group_id: proximity_placement_group_id, + reboot_setting: reboot_setting, resource_group_name: resource_group_name, secret: secret, secure_boot_enabled: secure_boot_enabled, @@ -473,6 +481,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withBypassPlatformSafetyChecksOnUserScheduleEnabled':: d.fn(help='`azurerm.bool.withBypassPlatformSafetyChecksOnUserScheduleEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the bypass_platform_safety_checks_on_user_schedule_enabled field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`bool`): The value to set for the `bypass_platform_safety_checks_on_user_schedule_enabled` field.\n', args=[]), + withBypassPlatformSafetyChecksOnUserScheduleEnabled(resourceLabel, value): { + resource+: { + azurerm_windows_virtual_machine+: { + [resourceLabel]+: { + bypass_platform_safety_checks_on_user_schedule_enabled: value, + }, + }, + }, + }, '#withCapacityReservationGroupId':: d.fn(help='`azurerm.string.withCapacityReservationGroupId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the capacity_reservation_group_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 `capacity_reservation_group_id` field.\n', args=[]), withCapacityReservationGroupId(resourceLabel, value): { resource+: { @@ -773,6 +791,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withRebootSetting':: d.fn(help='`azurerm.string.withRebootSetting` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the reboot_setting 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 `reboot_setting` field.\n', args=[]), + withRebootSetting(resourceLabel, value): { + resource+: { + azurerm_windows_virtual_machine+: { + [resourceLabel]+: { + reboot_setting: value, + }, + }, + }, + }, '#withResourceGroupName':: d.fn(help='`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the resource_group_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 `resource_group_name` field.\n', args=[]), withResourceGroupName(resourceLabel, value): { resource+: { diff --git a/docs/3.x/README.md b/docs/3.x/README.md index 2b5fdc71..42011583 100644 --- a/docs/3.x/README.md +++ b/docs/3.x/README.md @@ -125,6 +125,7 @@ project. * [automation_variable_bool](automation_variable_bool.md) * [automation_variable_datetime](automation_variable_datetime.md) * [automation_variable_int](automation_variable_int.md) +* [automation_variable_object](automation_variable_object.md) * [automation_variable_string](automation_variable_string.md) * [automation_watcher](automation_watcher.md) * [automation_webhook](automation_webhook.md) @@ -226,6 +227,7 @@ project. * [cosmosdb_table](cosmosdb_table.md) * [cost_anomaly_alert](cost_anomaly_alert.md) * [cost_management_scheduled_action](cost_management_scheduled_action.md) +* [custom_ip_prefix](custom_ip_prefix.md) * [custom_provider](custom_provider.md) * [dashboard](dashboard.md) * [dashboard_grafana](dashboard_grafana.md) @@ -439,6 +441,7 @@ project. * [kubernetes_cluster](kubernetes_cluster.md) * [kubernetes_cluster_extension](kubernetes_cluster_extension.md) * [kubernetes_cluster_node_pool](kubernetes_cluster_node_pool.md) +* [kubernetes_cluster_trusted_access_role_binding](kubernetes_cluster_trusted_access_role_binding.md) * [kubernetes_fleet_manager](kubernetes_fleet_manager.md) * [kubernetes_flux_configuration](kubernetes_flux_configuration.md) * [kusto_attached_database_configuration](kusto_attached_database_configuration.md) @@ -539,6 +542,7 @@ project. * [mariadb_server](mariadb_server.md) * [mariadb_virtual_network_rule](mariadb_virtual_network_rule.md) * [marketplace_agreement](marketplace_agreement.md) +* [marketplace_role_assignment](marketplace_role_assignment.md) * [media_asset](media_asset.md) * [media_asset_filter](media_asset_filter.md) * [media_content_key_policy](media_content_key_policy.md) @@ -557,6 +561,7 @@ project. * [mobile_network_packet_core_control_plane](mobile_network_packet_core_control_plane.md) * [mobile_network_packet_core_data_plane](mobile_network_packet_core_data_plane.md) * [mobile_network_service](mobile_network_service.md) +* [mobile_network_sim](mobile_network_sim.md) * [mobile_network_sim_group](mobile_network_sim_group.md) * [mobile_network_sim_policy](mobile_network_sim_policy.md) * [mobile_network_site](mobile_network_site.md) @@ -631,6 +636,7 @@ project. * [netapp_volume_group_sap_hana](netapp_volume_group_sap_hana.md) * [network_connection_monitor](network_connection_monitor.md) * [network_ddos_protection_plan](network_ddos_protection_plan.md) +* [network_function_azure_traffic_collector](network_function_azure_traffic_collector.md) * [network_interface](network_interface.md) * [network_interface_application_gateway_backend_address_pool_association](network_interface_application_gateway_backend_address_pool_association.md) * [network_interface_application_security_group_association](network_interface_application_security_group_association.md) diff --git a/docs/3.x/automation_variable_object.md b/docs/3.x/automation_variable_object.md new file mode 100644 index 00000000..3454392d --- /dev/null +++ b/docs/3.x/automation_variable_object.md @@ -0,0 +1,255 @@ +--- +permalink: /automation_variable_object/ +--- + +# automation_variable_object + +`automation_variable_object` represents the `azurerm_automation_variable_object` Terraform resource. + + + +This package contains functions and utilities for setting up the resource using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withAutomationAccountName()`](#fn-withautomationaccountname) +* [`fn withDescription()`](#fn-withdescription) +* [`fn withEncrypted()`](#fn-withencrypted) +* [`fn withName()`](#fn-withname) +* [`fn withResourceGroupName()`](#fn-withresourcegroupname) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`fn withValue()`](#fn-withvalue) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.automation_variable_object.new` injects a new `azurerm_automation_variable_object` Terraform `resource` +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.automation_variable_object.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.automation_variable_object` using the reference: + + $._ref.azurerm_automation_variable_object.some_id.get('id') + +This is the same as directly entering `"${ azurerm_automation_variable_object.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**: + - `resourceLabel` (`string`): The name label of the block. + - `automation_account_name` (`string`): Set the `automation_account_name` field on the resulting resource block. + - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object. + - `encrypted` (`bool`): Set the `encrypted` field on the resulting resource block. When `null`, the `encrypted` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting resource block. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block. + - `value` (`string`): Set the `value` field on the resulting resource block. When `null`, the `value` 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.automation_variable_object.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.automation_variable_object.newAttrs` constructs a new object with attributes and blocks configured for the `automation_variable_object` +Terraform resource. + +Unlike [azurerm.automation_variable_object.new](#fn-new), this function will not inject the `resource` +block into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the +[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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**: + - `automation_account_name` (`string`): Set the `automation_account_name` field on the resulting object. + - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object. + - `encrypted` (`bool`): Set the `encrypted` field on the resulting object. When `null`, the `encrypted` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. + - `value` (`string`): Set the `value` field on the resulting object. When `null`, the `value` 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.automation_variable_object.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: + - 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_variable_object` resource into the root Terraform configuration. + + +### fn withAutomationAccountName + +```ts +withAutomationAccountName() +``` + +`azurerm.string.withAutomationAccountName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the automation_account_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `automation_account_name` field. + + +### fn withDescription + +```ts +withDescription() +``` + +`azurerm.string.withDescription` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the description field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `description` field. + + +### fn withEncrypted + +```ts +withEncrypted() +``` + +`azurerm.bool.withEncrypted` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the encrypted field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `encrypted` field. + + +### fn withName + +```ts +withName() +``` + +`azurerm.string.withName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `name` field. + + +### fn withResourceGroupName + +```ts +withResourceGroupName() +``` + +`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the resource_group_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `resource_group_name` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform resource 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**: + - `resourceLabel` (`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 resource 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**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withValue + +```ts +withValue() +``` + +`azurerm.string.withValue` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the value field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `value` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.automation_variable_object.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts` +Terraform sub block. + + + +**Args**: + - `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/cosmosdb_account.md b/docs/3.x/cosmosdb_account.md index 724cabad..9e98b678 100644 --- a/docs/3.x/cosmosdb_account.md +++ b/docs/3.x/cosmosdb_account.md @@ -1087,7 +1087,7 @@ Terraform sub block. - `allowed_methods` (`list`): Set the `allowed_methods` field on the resulting object. - `allowed_origins` (`list`): Set the `allowed_origins` field on the resulting object. - `exposed_headers` (`list`): Set the `exposed_headers` field on the resulting object. - - `max_age_in_seconds` (`number`): Set the `max_age_in_seconds` field on the resulting object. + - `max_age_in_seconds` (`number`): Set the `max_age_in_seconds` field on the resulting object. When `null`, the `max_age_in_seconds` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `cors_rule` sub block. diff --git a/docs/3.x/custom_ip_prefix.md b/docs/3.x/custom_ip_prefix.md new file mode 100644 index 00000000..dc3a05f6 --- /dev/null +++ b/docs/3.x/custom_ip_prefix.md @@ -0,0 +1,350 @@ +--- +permalink: /custom_ip_prefix/ +--- + +# custom_ip_prefix + +`custom_ip_prefix` represents the `azurerm_custom_ip_prefix` Terraform resource. + + + +This package contains functions and utilities for setting up the resource using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withCidr()`](#fn-withcidr) +* [`fn withCommissioningEnabled()`](#fn-withcommissioningenabled) +* [`fn withInternetAdvertisingDisabled()`](#fn-withinternetadvertisingdisabled) +* [`fn withLocation()`](#fn-withlocation) +* [`fn withName()`](#fn-withname) +* [`fn withParentCustomIpPrefixId()`](#fn-withparentcustomipprefixid) +* [`fn withResourceGroupName()`](#fn-withresourcegroupname) +* [`fn withRoaValidityEndDate()`](#fn-withroavalidityenddate) +* [`fn withTags()`](#fn-withtags) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`fn withWanValidationSignedMessage()`](#fn-withwanvalidationsignedmessage) +* [`fn withZones()`](#fn-withzones) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.custom_ip_prefix.new` injects a new `azurerm_custom_ip_prefix` Terraform `resource` +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.custom_ip_prefix.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.custom_ip_prefix` using the reference: + + $._ref.azurerm_custom_ip_prefix.some_id.get('id') + +This is the same as directly entering `"${ azurerm_custom_ip_prefix.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**: + - `resourceLabel` (`string`): The name label of the block. + - `cidr` (`string`): Set the `cidr` field on the resulting resource block. + - `commissioning_enabled` (`bool`): Set the `commissioning_enabled` field on the resulting resource block. When `null`, the `commissioning_enabled` field will be omitted from the resulting object. + - `internet_advertising_disabled` (`bool`): Set the `internet_advertising_disabled` field on the resulting resource block. When `null`, the `internet_advertising_disabled` field will be omitted from the resulting object. + - `location` (`string`): Set the `location` field on the resulting resource block. + - `name` (`string`): Set the `name` field on the resulting resource block. + - `parent_custom_ip_prefix_id` (`string`): Set the `parent_custom_ip_prefix_id` field on the resulting resource block. When `null`, the `parent_custom_ip_prefix_id` field will be omitted from the resulting object. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block. + - `roa_validity_end_date` (`string`): Set the `roa_validity_end_date` field on the resulting resource block. When `null`, the `roa_validity_end_date` 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. + - `wan_validation_signed_message` (`string`): Set the `wan_validation_signed_message` field on the resulting resource block. When `null`, the `wan_validation_signed_message` field will be omitted from the resulting object. + - `zones` (`list`): Set the `zones` field on the resulting resource block. When `null`, the `zones` 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.custom_ip_prefix.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.custom_ip_prefix.newAttrs` constructs a new object with attributes and blocks configured for the `custom_ip_prefix` +Terraform resource. + +Unlike [azurerm.custom_ip_prefix.new](#fn-new), this function will not inject the `resource` +block into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the +[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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**: + - `cidr` (`string`): Set the `cidr` field on the resulting object. + - `commissioning_enabled` (`bool`): Set the `commissioning_enabled` field on the resulting object. When `null`, the `commissioning_enabled` field will be omitted from the resulting object. + - `internet_advertising_disabled` (`bool`): Set the `internet_advertising_disabled` field on the resulting object. When `null`, the `internet_advertising_disabled` field will be omitted from the resulting object. + - `location` (`string`): Set the `location` field on the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `parent_custom_ip_prefix_id` (`string`): Set the `parent_custom_ip_prefix_id` field on the resulting object. When `null`, the `parent_custom_ip_prefix_id` field will be omitted from the resulting object. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. + - `roa_validity_end_date` (`string`): Set the `roa_validity_end_date` field on the resulting object. When `null`, the `roa_validity_end_date` 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. + - `wan_validation_signed_message` (`string`): Set the `wan_validation_signed_message` field on the resulting object. When `null`, the `wan_validation_signed_message` field will be omitted from the resulting object. + - `zones` (`list`): Set the `zones` field on the resulting object. When `null`, the `zones` 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.custom_ip_prefix.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: + - 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 `custom_ip_prefix` resource into the root Terraform configuration. + + +### fn withCidr + +```ts +withCidr() +``` + +`azurerm.string.withCidr` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the cidr field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `cidr` field. + + +### fn withCommissioningEnabled + +```ts +withCommissioningEnabled() +``` + +`azurerm.bool.withCommissioningEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the commissioning_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `commissioning_enabled` field. + + +### fn withInternetAdvertisingDisabled + +```ts +withInternetAdvertisingDisabled() +``` + +`azurerm.bool.withInternetAdvertisingDisabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the internet_advertising_disabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `internet_advertising_disabled` field. + + +### fn withLocation + +```ts +withLocation() +``` + +`azurerm.string.withLocation` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the location field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `location` field. + + +### fn withName + +```ts +withName() +``` + +`azurerm.string.withName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `name` field. + + +### fn withParentCustomIpPrefixId + +```ts +withParentCustomIpPrefixId() +``` + +`azurerm.string.withParentCustomIpPrefixId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the parent_custom_ip_prefix_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `parent_custom_ip_prefix_id` field. + + +### fn withResourceGroupName + +```ts +withResourceGroupName() +``` + +`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the resource_group_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `resource_group_name` field. + + +### fn withRoaValidityEndDate + +```ts +withRoaValidityEndDate() +``` + +`azurerm.string.withRoaValidityEndDate` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the roa_validity_end_date field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `roa_validity_end_date` field. + + +### fn withTags + +```ts +withTags() +``` + +`azurerm.obj.withTags` constructs a mixin object that can be merged into the `obj` +Terraform resource block to set or update the tags field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `tags` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform resource 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**: + - `resourceLabel` (`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 resource 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**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withWanValidationSignedMessage + +```ts +withWanValidationSignedMessage() +``` + +`azurerm.string.withWanValidationSignedMessage` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the wan_validation_signed_message field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `wan_validation_signed_message` field. + + +### fn withZones + +```ts +withZones() +``` + +`azurerm.list.withZones` constructs a mixin object that can be merged into the `list` +Terraform resource block to set or update the zones field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list`): The value to set for the `zones` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.custom_ip_prefix.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts` +Terraform sub block. + + + +**Args**: + - `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/data/automation_variable_object.md b/docs/3.x/data/automation_variable_object.md new file mode 100644 index 00000000..90703f09 --- /dev/null +++ b/docs/3.x/data/automation_variable_object.md @@ -0,0 +1,195 @@ +--- +permalink: /data/automation_variable_object/ +--- + +# data.automation_variable_object + +`automation_variable_object` represents the `azurerm_automation_variable_object` 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 withAutomationAccountName()`](#fn-withautomationaccountname) +* [`fn withName()`](#fn-withname) +* [`fn withResourceGroupName()`](#fn-withresourcegroupname) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.automation_variable_object.new` injects a new `data_azurerm_automation_variable_object` 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.automation_variable_object.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.automation_variable_object` using the reference: + + $._ref.data_azurerm_automation_variable_object.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_automation_variable_object.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. + - `automation_account_name` (`string`): Set the `automation_account_name` field on the resulting data source block. + - `name` (`string`): Set the `name` field on the resulting data source block. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting data source block. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.automation_variable_object.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.automation_variable_object.newAttrs` constructs a new object with attributes and blocks configured for the `automation_variable_object` +Terraform data source. + +Unlike [azurerm.data.automation_variable_object.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**: + - `automation_account_name` (`string`): Set the `automation_account_name` field on the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.automation_variable_object.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 `automation_variable_object` data source into the root Terraform configuration. + + +### fn withAutomationAccountName + +```ts +withAutomationAccountName() +``` + +`azurerm.string.withAutomationAccountName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the automation_account_name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `automation_account_name` field. + + +### fn withName + +```ts +withName() +``` + +`azurerm.string.withName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `name` field. + + +### fn withResourceGroupName + +```ts +withResourceGroupName() +``` + +`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the resource_group_name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `resource_group_name` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will replace the map with the passed in `value`. If you wish to instead merge the +passed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withTimeoutsMixin + +```ts +withTimeoutsMixin() +``` + +`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will merge the passed in value to the existing map. If you wish +to instead replace the entire map with the passed in `value`, use the [azurerm.obj.withTimeouts](TODO) +function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.automation_variable_object.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/data/eventgrid_domain.md b/docs/3.x/data/eventgrid_domain.md index 79992242..06490bdd 100644 --- a/docs/3.x/data/eventgrid_domain.md +++ b/docs/3.x/data/eventgrid_domain.md @@ -15,11 +15,8 @@ This package contains functions and utilities for setting up the data source usi * [`fn new()`](#fn-new) * [`fn newAttrs()`](#fn-newattrs) -* [`fn withInboundIpRule()`](#fn-withinboundiprule) * [`fn withName()`](#fn-withname) -* [`fn withPublicNetworkAccessEnabled()`](#fn-withpublicnetworkaccessenabled) * [`fn withResourceGroupName()`](#fn-withresourcegroupname) -* [`fn withTags()`](#fn-withtags) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`obj timeouts`](#obj-timeouts) @@ -54,11 +51,8 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `dataSrcLabel` (`string`): The name label of the block. - - `inbound_ip_rule` (`list`): Set the `inbound_ip_rule` field on the resulting data source block. When `null`, the `inbound_ip_rule` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting data source block. - - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting data source block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting data source block. - - `tags` (`obj`): Set the `tags` field on the resulting data source block. When `null`, the `tags` field will be omitted from the resulting object. - `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.eventgrid_domain.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: @@ -83,33 +77,14 @@ This is most useful when you need to preprocess the attributes with functions, c injecting into a complete block. **Args**: - - `inbound_ip_rule` (`list`): Set the `inbound_ip_rule` field on the resulting object. When `null`, the `inbound_ip_rule` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting object. - - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting object. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object. - `resource_group_name` (`string`): Set the `resource_group_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.data.eventgrid_domain.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 `eventgrid_domain` data source into the root Terraform configuration. -### fn withInboundIpRule - -```ts -withInboundIpRule() -``` - -`azurerm.list.withInboundIpRule` constructs a mixin object that can be merged into the `list` -Terraform data source block to set or update the inbound_ip_rule field. - - - -**Args**: - - `dataSrcLabel` (`string`): The name label of the block to update. - - `value` (`list`): The value to set for the `inbound_ip_rule` field. - - ### fn withName ```ts @@ -126,22 +101,6 @@ Terraform data source block to set or update the name field. - `value` (`string`): The value to set for the `name` field. -### fn withPublicNetworkAccessEnabled - -```ts -withPublicNetworkAccessEnabled() -``` - -`azurerm.bool.withPublicNetworkAccessEnabled` constructs a mixin object that can be merged into the `bool` -Terraform data source block to set or update the public_network_access_enabled field. - - - -**Args**: - - `dataSrcLabel` (`string`): The name label of the block to update. - - `value` (`bool`): The value to set for the `public_network_access_enabled` field. - - ### fn withResourceGroupName ```ts @@ -158,22 +117,6 @@ Terraform data source block to set or update the resource_group_name field. - `value` (`string`): The value to set for the `resource_group_name` field. -### fn withTags - -```ts -withTags() -``` - -`azurerm.obj.withTags` constructs a mixin object that can be merged into the `obj` -Terraform data source block to set or update the tags field. - - - -**Args**: - - `dataSrcLabel` (`string`): The name label of the block to update. - - `value` (`obj`): The value to set for the `tags` field. - - ### fn withTimeouts ```ts diff --git a/docs/3.x/data/eventgrid_topic.md b/docs/3.x/data/eventgrid_topic.md index bd0cdfc9..43d25aab 100644 --- a/docs/3.x/data/eventgrid_topic.md +++ b/docs/3.x/data/eventgrid_topic.md @@ -17,7 +17,6 @@ This package contains functions and utilities for setting up the data source usi * [`fn newAttrs()`](#fn-newattrs) * [`fn withName()`](#fn-withname) * [`fn withResourceGroupName()`](#fn-withresourcegroupname) -* [`fn withTags()`](#fn-withtags) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`obj timeouts`](#obj-timeouts) @@ -54,7 +53,6 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `dataSrcLabel` (`string`): The name label of the block. - `name` (`string`): Set the `name` field on the resulting data source block. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting data source block. - - `tags` (`obj`): Set the `tags` field on the resulting data source block. When `null`, the `tags` field will be omitted from the resulting object. - `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.eventgrid_topic.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: @@ -81,7 +79,6 @@ injecting into a complete block. **Args**: - `name` (`string`): Set the `name` field on the resulting object. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. - - `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.data.eventgrid_topic.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: @@ -120,22 +117,6 @@ Terraform data source block to set or update the resource_group_name field. - `value` (`string`): The value to set for the `resource_group_name` field. -### fn withTags - -```ts -withTags() -``` - -`azurerm.obj.withTags` constructs a mixin object that can be merged into the `obj` -Terraform data source block to set or update the tags field. - - - -**Args**: - - `dataSrcLabel` (`string`): The name label of the block to update. - - `value` (`obj`): The value to set for the `tags` field. - - ### fn withTimeouts ```ts diff --git a/docs/3.x/data/eventhub_sas.md b/docs/3.x/data/eventhub_sas.md new file mode 100644 index 00000000..365acf85 --- /dev/null +++ b/docs/3.x/data/eventhub_sas.md @@ -0,0 +1,176 @@ +--- +permalink: /data/eventhub_sas/ +--- + +# data.eventhub_sas + +`eventhub_sas` represents the `azurerm_eventhub_sas` 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 withConnectionString()`](#fn-withconnectionstring) +* [`fn withExpiry()`](#fn-withexpiry) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.eventhub_sas.new` injects a new `data_azurerm_eventhub_sas` 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.eventhub_sas.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.eventhub_sas` using the reference: + + $._ref.data_azurerm_eventhub_sas.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_eventhub_sas.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. + - `connection_string` (`string`): Set the `connection_string` field on the resulting data source block. + - `expiry` (`string`): Set the `expiry` 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.eventhub_sas.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.eventhub_sas.newAttrs` constructs a new object with attributes and blocks configured for the `eventhub_sas` +Terraform data source. + +Unlike [azurerm.data.eventhub_sas.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**: + - `connection_string` (`string`): Set the `connection_string` field on the resulting object. + - `expiry` (`string`): Set the `expiry` 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.eventhub_sas.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 `eventhub_sas` data source into the root Terraform configuration. + + +### fn withConnectionString + +```ts +withConnectionString() +``` + +`azurerm.string.withConnectionString` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the connection_string field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `connection_string` field. + + +### fn withExpiry + +```ts +withExpiry() +``` + +`azurerm.string.withExpiry` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the expiry field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `expiry` 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.eventhub_sas.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/data/index.md b/docs/3.x/data/index.md index ee20eb6f..18e910ce 100644 --- a/docs/3.x/data/index.md +++ b/docs/3.x/data/index.md @@ -35,6 +35,7 @@ permalink: /data/ * [automation_variable_bool](automation_variable_bool.md) * [automation_variable_datetime](automation_variable_datetime.md) * [automation_variable_int](automation_variable_int.md) +* [automation_variable_object](automation_variable_object.md) * [automation_variable_string](automation_variable_string.md) * [automation_variables](automation_variables.md) * [availability_set](availability_set.md) @@ -118,6 +119,7 @@ permalink: /data/ * [eventhub_consumer_group](eventhub_consumer_group.md) * [eventhub_namespace](eventhub_namespace.md) * [eventhub_namespace_authorization_rule](eventhub_namespace_authorization_rule.md) +* [eventhub_sas](eventhub_sas.md) * [express_route_circuit](express_route_circuit.md) * [extended_locations](extended_locations.md) * [firewall](firewall.md) @@ -182,6 +184,7 @@ permalink: /data/ * [mobile_network_packet_core_control_plane](mobile_network_packet_core_control_plane.md) * [mobile_network_packet_core_data_plane](mobile_network_packet_core_data_plane.md) * [mobile_network_service](mobile_network_service.md) +* [mobile_network_sim](mobile_network_sim.md) * [mobile_network_sim_group](mobile_network_sim_group.md) * [mobile_network_sim_policy](mobile_network_sim_policy.md) * [mobile_network_site](mobile_network_site.md) diff --git a/docs/3.x/data/mobile_network_sim.md b/docs/3.x/data/mobile_network_sim.md new file mode 100644 index 00000000..d4ffd24d --- /dev/null +++ b/docs/3.x/data/mobile_network_sim.md @@ -0,0 +1,176 @@ +--- +permalink: /data/mobile_network_sim/ +--- + +# data.mobile_network_sim + +`mobile_network_sim` represents the `azurerm_mobile_network_sim` 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 withMobileNetworkSimGroupId()`](#fn-withmobilenetworksimgroupid) +* [`fn withName()`](#fn-withname) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.mobile_network_sim.new` injects a new `data_azurerm_mobile_network_sim` 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.mobile_network_sim.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.mobile_network_sim` using the reference: + + $._ref.data_azurerm_mobile_network_sim.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_mobile_network_sim.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. + - `mobile_network_sim_group_id` (`string`): Set the `mobile_network_sim_group_id` field on the resulting data source block. + - `name` (`string`): Set the `name` field on the resulting data source block. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.mobile_network_sim.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.mobile_network_sim.newAttrs` constructs a new object with attributes and blocks configured for the `mobile_network_sim` +Terraform data source. + +Unlike [azurerm.data.mobile_network_sim.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**: + - `mobile_network_sim_group_id` (`string`): Set the `mobile_network_sim_group_id` field on the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.mobile_network_sim.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 `mobile_network_sim` data source into the root Terraform configuration. + + +### fn withMobileNetworkSimGroupId + +```ts +withMobileNetworkSimGroupId() +``` + +`azurerm.string.withMobileNetworkSimGroupId` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the mobile_network_sim_group_id field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `mobile_network_sim_group_id` field. + + +### 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 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.mobile_network_sim.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/eventhub_namespace_customer_managed_key.md b/docs/3.x/eventhub_namespace_customer_managed_key.md index 7fd56aca..8bc8225f 100644 --- a/docs/3.x/eventhub_namespace_customer_managed_key.md +++ b/docs/3.x/eventhub_namespace_customer_managed_key.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 withEventhubNamespaceId()`](#fn-witheventhubnamespaceid) +* [`fn withInfrastructureEncryptionEnabled()`](#fn-withinfrastructureencryptionenabled) * [`fn withKeyVaultKeyIds()`](#fn-withkeyvaultkeyids) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) @@ -52,6 +53,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `resourceLabel` (`string`): The name label of the block. - `eventhub_namespace_id` (`string`): Set the `eventhub_namespace_id` field on the resulting resource block. + - `infrastructure_encryption_enabled` (`bool`): Set the `infrastructure_encryption_enabled` field on the resulting resource block. When `null`, the `infrastructure_encryption_enabled` field will be omitted from the resulting object. - `key_vault_key_ids` (`list`): Set the `key_vault_key_ids` field on the resulting resource block. - `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.eventhub_namespace_customer_managed_key.timeouts.new](#fn-timeoutsnew) constructor. @@ -78,6 +80,7 @@ injecting into a complete block. **Args**: - `eventhub_namespace_id` (`string`): Set the `eventhub_namespace_id` field on the resulting object. + - `infrastructure_encryption_enabled` (`bool`): Set the `infrastructure_encryption_enabled` field on the resulting object. When `null`, the `infrastructure_encryption_enabled` field will be omitted from the resulting object. - `key_vault_key_ids` (`list`): Set the `key_vault_key_ids` 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.eventhub_namespace_customer_managed_key.timeouts.new](#fn-timeoutsnew) constructor. @@ -101,6 +104,22 @@ Terraform resource block to set or update the eventhub_namespace_id field. - `value` (`string`): The value to set for the `eventhub_namespace_id` field. +### fn withInfrastructureEncryptionEnabled + +```ts +withInfrastructureEncryptionEnabled() +``` + +`azurerm.bool.withInfrastructureEncryptionEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the infrastructure_encryption_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `infrastructure_encryption_enabled` field. + + ### fn withKeyVaultKeyIds ```ts diff --git a/docs/3.x/image.md b/docs/3.x/image.md index 90796bf3..22f92900 100644 --- a/docs/3.x/image.md +++ b/docs/3.x/image.md @@ -380,6 +380,7 @@ Terraform sub block. **Args**: - `blob_uri` (`string`): Set the `blob_uri` field on the resulting object. When `null`, the `blob_uri` field will be omitted from the resulting object. - `caching` (`string`): Set the `caching` field on the resulting object. When `null`, the `caching` 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. - `managed_disk_id` (`string`): Set the `managed_disk_id` field on the resulting object. When `null`, the `managed_disk_id` field will be omitted from the resulting object. - `os_state` (`string`): Set the `os_state` field on the resulting object. When `null`, the `os_state` field will be omitted from the resulting object. - `os_type` (`string`): Set the `os_type` field on the resulting object. When `null`, the `os_type` field will be omitted from the resulting object. diff --git a/docs/3.x/kubernetes_cluster_trusted_access_role_binding.md b/docs/3.x/kubernetes_cluster_trusted_access_role_binding.md new file mode 100644 index 00000000..ffb61e32 --- /dev/null +++ b/docs/3.x/kubernetes_cluster_trusted_access_role_binding.md @@ -0,0 +1,217 @@ +--- +permalink: /kubernetes_cluster_trusted_access_role_binding/ +--- + +# kubernetes_cluster_trusted_access_role_binding + +`kubernetes_cluster_trusted_access_role_binding` represents the `azurerm_kubernetes_cluster_trusted_access_role_binding` Terraform resource. + + + +This package contains functions and utilities for setting up the resource using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withKubernetesClusterId()`](#fn-withkubernetesclusterid) +* [`fn withName()`](#fn-withname) +* [`fn withRoles()`](#fn-withroles) +* [`fn withSourceResourceId()`](#fn-withsourceresourceid) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.kubernetes_cluster_trusted_access_role_binding.new` injects a new `azurerm_kubernetes_cluster_trusted_access_role_binding` Terraform `resource` +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.kubernetes_cluster_trusted_access_role_binding.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.kubernetes_cluster_trusted_access_role_binding` using the reference: + + $._ref.azurerm_kubernetes_cluster_trusted_access_role_binding.some_id.get('id') + +This is the same as directly entering `"${ azurerm_kubernetes_cluster_trusted_access_role_binding.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**: + - `resourceLabel` (`string`): The name label of the block. + - `kubernetes_cluster_id` (`string`): Set the `kubernetes_cluster_id` field on the resulting resource block. + - `name` (`string`): Set the `name` field on the resulting resource block. + - `roles` (`list`): Set the `roles` field on the resulting resource block. + - `source_resource_id` (`string`): Set the `source_resource_id` field on the resulting resource block. + - `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_trusted_access_role_binding.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.kubernetes_cluster_trusted_access_role_binding.newAttrs` constructs a new object with attributes and blocks configured for the `kubernetes_cluster_trusted_access_role_binding` +Terraform resource. + +Unlike [azurerm.kubernetes_cluster_trusted_access_role_binding.new](#fn-new), this function will not inject the `resource` +block into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the +[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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**: + - `kubernetes_cluster_id` (`string`): Set the `kubernetes_cluster_id` field on the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `roles` (`list`): Set the `roles` field on the resulting object. + - `source_resource_id` (`string`): Set the `source_resource_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.kubernetes_cluster_trusted_access_role_binding.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: + - 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_trusted_access_role_binding` resource into the root Terraform configuration. + + +### fn withKubernetesClusterId + +```ts +withKubernetesClusterId() +``` + +`azurerm.string.withKubernetesClusterId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the kubernetes_cluster_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `kubernetes_cluster_id` field. + + +### fn withName + +```ts +withName() +``` + +`azurerm.string.withName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `name` field. + + +### fn withRoles + +```ts +withRoles() +``` + +`azurerm.list.withRoles` constructs a mixin object that can be merged into the `list` +Terraform resource block to set or update the roles field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list`): The value to set for the `roles` field. + + +### fn withSourceResourceId + +```ts +withSourceResourceId() +``` + +`azurerm.string.withSourceResourceId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the source_resource_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `source_resource_id` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform resource 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**: + - `resourceLabel` (`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 resource 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**: + - `resourceLabel` (`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.kubernetes_cluster_trusted_access_role_binding.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts` +Terraform sub block. + + + +**Args**: + - `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/linux_virtual_machine.md b/docs/3.x/linux_virtual_machine.md index 9560c09a..96813072 100644 --- a/docs/3.x/linux_virtual_machine.md +++ b/docs/3.x/linux_virtual_machine.md @@ -25,6 +25,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withAvailabilitySetId()`](#fn-withavailabilitysetid) * [`fn withBootDiagnostics()`](#fn-withbootdiagnostics) * [`fn withBootDiagnosticsMixin()`](#fn-withbootdiagnosticsmixin) +* [`fn withBypassPlatformSafetyChecksOnUserScheduleEnabled()`](#fn-withbypassplatformsafetychecksonuserscheduleenabled) * [`fn withCapacityReservationGroupId()`](#fn-withcapacityreservationgroupid) * [`fn withComputerName()`](#fn-withcomputername) * [`fn withCustomData()`](#fn-withcustomdata) @@ -54,6 +55,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withPriority()`](#fn-withpriority) * [`fn withProvisionVmAgent()`](#fn-withprovisionvmagent) * [`fn withProximityPlacementGroupId()`](#fn-withproximityplacementgroupid) +* [`fn withRebootSetting()`](#fn-withrebootsetting) * [`fn withResourceGroupName()`](#fn-withresourcegroupname) * [`fn withSecret()`](#fn-withsecret) * [`fn withSecretMixin()`](#fn-withsecretmixin) @@ -131,6 +133,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `admin_username` (`string`): Set the `admin_username` field on the resulting resource block. - `allow_extension_operations` (`bool`): Set the `allow_extension_operations` field on the resulting resource block. When `null`, the `allow_extension_operations` field will be omitted from the resulting object. - `availability_set_id` (`string`): Set the `availability_set_id` field on the resulting resource block. When `null`, the `availability_set_id` field will be omitted from the resulting object. + - `bypass_platform_safety_checks_on_user_schedule_enabled` (`bool`): Set the `bypass_platform_safety_checks_on_user_schedule_enabled` field on the resulting resource block. When `null`, the `bypass_platform_safety_checks_on_user_schedule_enabled` field will be omitted from the resulting object. - `capacity_reservation_group_id` (`string`): Set the `capacity_reservation_group_id` field on the resulting resource block. When `null`, the `capacity_reservation_group_id` field will be omitted from the resulting object. - `computer_name` (`string`): Set the `computer_name` field on the resulting resource block. When `null`, the `computer_name` field will be omitted from the resulting object. - `custom_data` (`string`): Set the `custom_data` field on the resulting resource block. When `null`, the `custom_data` field will be omitted from the resulting object. @@ -152,6 +155,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `priority` (`string`): Set the `priority` field on the resulting resource block. When `null`, the `priority` field will be omitted from the resulting object. - `provision_vm_agent` (`bool`): Set the `provision_vm_agent` field on the resulting resource block. When `null`, the `provision_vm_agent` field will be omitted from the resulting object. - `proximity_placement_group_id` (`string`): Set the `proximity_placement_group_id` field on the resulting resource block. When `null`, the `proximity_placement_group_id` field will be omitted from the resulting object. + - `reboot_setting` (`string`): Set the `reboot_setting` field on the resulting resource block. When `null`, the `reboot_setting` field will be omitted from the resulting object. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block. - `secure_boot_enabled` (`bool`): Set the `secure_boot_enabled` field on the resulting resource block. When `null`, the `secure_boot_enabled` field will be omitted from the resulting object. - `size` (`string`): Set the `size` field on the resulting resource block. @@ -199,6 +203,7 @@ injecting into a complete block. - `admin_username` (`string`): Set the `admin_username` field on the resulting object. - `allow_extension_operations` (`bool`): Set the `allow_extension_operations` field on the resulting object. When `null`, the `allow_extension_operations` field will be omitted from the resulting object. - `availability_set_id` (`string`): Set the `availability_set_id` field on the resulting object. When `null`, the `availability_set_id` field will be omitted from the resulting object. + - `bypass_platform_safety_checks_on_user_schedule_enabled` (`bool`): Set the `bypass_platform_safety_checks_on_user_schedule_enabled` field on the resulting object. When `null`, the `bypass_platform_safety_checks_on_user_schedule_enabled` field will be omitted from the resulting object. - `capacity_reservation_group_id` (`string`): Set the `capacity_reservation_group_id` field on the resulting object. When `null`, the `capacity_reservation_group_id` field will be omitted from the resulting object. - `computer_name` (`string`): Set the `computer_name` field on the resulting object. When `null`, the `computer_name` field will be omitted from the resulting object. - `custom_data` (`string`): Set the `custom_data` field on the resulting object. When `null`, the `custom_data` field will be omitted from the resulting object. @@ -220,6 +225,7 @@ injecting into a complete block. - `priority` (`string`): Set the `priority` field on the resulting object. When `null`, the `priority` field will be omitted from the resulting object. - `provision_vm_agent` (`bool`): Set the `provision_vm_agent` field on the resulting object. When `null`, the `provision_vm_agent` field will be omitted from the resulting object. - `proximity_placement_group_id` (`string`): Set the `proximity_placement_group_id` field on the resulting object. When `null`, the `proximity_placement_group_id` field will be omitted from the resulting object. + - `reboot_setting` (`string`): Set the `reboot_setting` field on the resulting object. When `null`, the `reboot_setting` field will be omitted from the resulting object. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. - `secure_boot_enabled` (`bool`): Set the `secure_boot_enabled` field on the resulting object. When `null`, the `secure_boot_enabled` field will be omitted from the resulting object. - `size` (`string`): Set the `size` field on the resulting object. @@ -420,6 +426,22 @@ function. - `value` (`list[obj]`): The value to set for the `boot_diagnostics` field. +### fn withBypassPlatformSafetyChecksOnUserScheduleEnabled + +```ts +withBypassPlatformSafetyChecksOnUserScheduleEnabled() +``` + +`azurerm.bool.withBypassPlatformSafetyChecksOnUserScheduleEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the bypass_platform_safety_checks_on_user_schedule_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `bypass_platform_safety_checks_on_user_schedule_enabled` field. + + ### fn withCapacityReservationGroupId ```ts @@ -904,6 +926,22 @@ Terraform resource block to set or update the proximity_placement_group_id field - `value` (`string`): The value to set for the `proximity_placement_group_id` field. +### fn withRebootSetting + +```ts +withRebootSetting() +``` + +`azurerm.string.withRebootSetting` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the reboot_setting field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `reboot_setting` field. + + ### fn withResourceGroupName ```ts diff --git a/docs/3.x/marketplace_role_assignment.md b/docs/3.x/marketplace_role_assignment.md new file mode 100644 index 00000000..564c97e2 --- /dev/null +++ b/docs/3.x/marketplace_role_assignment.md @@ -0,0 +1,311 @@ +--- +permalink: /marketplace_role_assignment/ +--- + +# marketplace_role_assignment + +`marketplace_role_assignment` represents the `azurerm_marketplace_role_assignment` Terraform resource. + + + +This package contains functions and utilities for setting up the resource using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withCondition()`](#fn-withcondition) +* [`fn withConditionVersion()`](#fn-withconditionversion) +* [`fn withDelegatedManagedIdentityResourceId()`](#fn-withdelegatedmanagedidentityresourceid) +* [`fn withDescription()`](#fn-withdescription) +* [`fn withName()`](#fn-withname) +* [`fn withPrincipalId()`](#fn-withprincipalid) +* [`fn withRoleDefinitionId()`](#fn-withroledefinitionid) +* [`fn withRoleDefinitionName()`](#fn-withroledefinitionname) +* [`fn withSkipServicePrincipalAadCheck()`](#fn-withskipserviceprincipalaadcheck) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.marketplace_role_assignment.new` injects a new `azurerm_marketplace_role_assignment` Terraform `resource` +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.marketplace_role_assignment.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.marketplace_role_assignment` using the reference: + + $._ref.azurerm_marketplace_role_assignment.some_id.get('id') + +This is the same as directly entering `"${ azurerm_marketplace_role_assignment.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**: + - `resourceLabel` (`string`): The name label of the block. + - `condition` (`string`): Set the `condition` field on the resulting resource block. When `null`, the `condition` field will be omitted from the resulting object. + - `condition_version` (`string`): Set the `condition_version` field on the resulting resource block. When `null`, the `condition_version` field will be omitted from the resulting object. + - `delegated_managed_identity_resource_id` (`string`): Set the `delegated_managed_identity_resource_id` field on the resulting resource block. When `null`, the `delegated_managed_identity_resource_id` field will be omitted from the resulting object. + - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting resource block. When `null`, the `name` field will be omitted from the resulting object. + - `principal_id` (`string`): Set the `principal_id` field on the resulting resource block. + - `role_definition_id` (`string`): Set the `role_definition_id` field on the resulting resource block. When `null`, the `role_definition_id` field will be omitted from the resulting object. + - `role_definition_name` (`string`): Set the `role_definition_name` field on the resulting resource block. When `null`, the `role_definition_name` field will be omitted from the resulting object. + - `skip_service_principal_aad_check` (`bool`): Set the `skip_service_principal_aad_check` field on the resulting resource block. When `null`, the `skip_service_principal_aad_check` 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.marketplace_role_assignment.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.marketplace_role_assignment.newAttrs` constructs a new object with attributes and blocks configured for the `marketplace_role_assignment` +Terraform resource. + +Unlike [azurerm.marketplace_role_assignment.new](#fn-new), this function will not inject the `resource` +block into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the +[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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**: + - `condition` (`string`): Set the `condition` field on the resulting object. When `null`, the `condition` field will be omitted from the resulting object. + - `condition_version` (`string`): Set the `condition_version` field on the resulting object. When `null`, the `condition_version` field will be omitted from the resulting object. + - `delegated_managed_identity_resource_id` (`string`): Set the `delegated_managed_identity_resource_id` field on the resulting object. When `null`, the `delegated_managed_identity_resource_id` field will be omitted from the resulting object. + - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from the resulting object. + - `principal_id` (`string`): Set the `principal_id` field on the resulting object. + - `role_definition_id` (`string`): Set the `role_definition_id` field on the resulting object. When `null`, the `role_definition_id` field will be omitted from the resulting object. + - `role_definition_name` (`string`): Set the `role_definition_name` field on the resulting object. When `null`, the `role_definition_name` field will be omitted from the resulting object. + - `skip_service_principal_aad_check` (`bool`): Set the `skip_service_principal_aad_check` field on the resulting object. When `null`, the `skip_service_principal_aad_check` 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.marketplace_role_assignment.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: + - 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 `marketplace_role_assignment` resource into the root Terraform configuration. + + +### fn withCondition + +```ts +withCondition() +``` + +`azurerm.string.withCondition` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the condition field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `condition` field. + + +### fn withConditionVersion + +```ts +withConditionVersion() +``` + +`azurerm.string.withConditionVersion` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the condition_version field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `condition_version` field. + + +### fn withDelegatedManagedIdentityResourceId + +```ts +withDelegatedManagedIdentityResourceId() +``` + +`azurerm.string.withDelegatedManagedIdentityResourceId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the delegated_managed_identity_resource_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `delegated_managed_identity_resource_id` field. + + +### fn withDescription + +```ts +withDescription() +``` + +`azurerm.string.withDescription` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the description field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `description` field. + + +### fn withName + +```ts +withName() +``` + +`azurerm.string.withName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `name` field. + + +### fn withPrincipalId + +```ts +withPrincipalId() +``` + +`azurerm.string.withPrincipalId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the principal_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `principal_id` field. + + +### fn withRoleDefinitionId + +```ts +withRoleDefinitionId() +``` + +`azurerm.string.withRoleDefinitionId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the role_definition_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `role_definition_id` field. + + +### fn withRoleDefinitionName + +```ts +withRoleDefinitionName() +``` + +`azurerm.string.withRoleDefinitionName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the role_definition_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `role_definition_name` field. + + +### fn withSkipServicePrincipalAadCheck + +```ts +withSkipServicePrincipalAadCheck() +``` + +`azurerm.bool.withSkipServicePrincipalAadCheck` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the skip_service_principal_aad_check field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `skip_service_principal_aad_check` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform resource 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**: + - `resourceLabel` (`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 resource 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**: + - `resourceLabel` (`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.marketplace_role_assignment.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts` +Terraform sub block. + + + +**Args**: + - `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. + +**Returns**: + - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/mobile_network_sim.md b/docs/3.x/mobile_network_sim.md new file mode 100644 index 00000000..878142ff --- /dev/null +++ b/docs/3.x/mobile_network_sim.md @@ -0,0 +1,361 @@ +--- +permalink: /mobile_network_sim/ +--- + +# mobile_network_sim + +`mobile_network_sim` represents the `azurerm_mobile_network_sim` Terraform resource. + + + +This package contains functions and utilities for setting up the resource using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withAuthenticationKey()`](#fn-withauthenticationkey) +* [`fn withDeviceType()`](#fn-withdevicetype) +* [`fn withIntegratedCircuitCardIdentifier()`](#fn-withintegratedcircuitcardidentifier) +* [`fn withInternationalMobileSubscriberIdentity()`](#fn-withinternationalmobilesubscriberidentity) +* [`fn withMobileNetworkSimGroupId()`](#fn-withmobilenetworksimgroupid) +* [`fn withName()`](#fn-withname) +* [`fn withOperatorKeyCode()`](#fn-withoperatorkeycode) +* [`fn withSimPolicyId()`](#fn-withsimpolicyid) +* [`fn withStaticIpConfiguration()`](#fn-withstaticipconfiguration) +* [`fn withStaticIpConfigurationMixin()`](#fn-withstaticipconfigurationmixin) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj static_ip_configuration`](#obj-static_ip_configuration) + * [`fn new()`](#fn-static_ip_configurationnew) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.mobile_network_sim.new` injects a new `azurerm_mobile_network_sim` Terraform `resource` +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.mobile_network_sim.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.mobile_network_sim` using the reference: + + $._ref.azurerm_mobile_network_sim.some_id.get('id') + +This is the same as directly entering `"${ azurerm_mobile_network_sim.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**: + - `resourceLabel` (`string`): The name label of the block. + - `authentication_key` (`string`): Set the `authentication_key` field on the resulting resource block. + - `device_type` (`string`): Set the `device_type` field on the resulting resource block. When `null`, the `device_type` field will be omitted from the resulting object. + - `integrated_circuit_card_identifier` (`string`): Set the `integrated_circuit_card_identifier` field on the resulting resource block. + - `international_mobile_subscriber_identity` (`string`): Set the `international_mobile_subscriber_identity` field on the resulting resource block. + - `mobile_network_sim_group_id` (`string`): Set the `mobile_network_sim_group_id` field on the resulting resource block. + - `name` (`string`): Set the `name` field on the resulting resource block. + - `operator_key_code` (`string`): Set the `operator_key_code` field on the resulting resource block. + - `sim_policy_id` (`string`): Set the `sim_policy_id` field on the resulting resource block. When `null`, the `sim_policy_id` field will be omitted from the resulting object. + - `static_ip_configuration` (`list[obj]`): Set the `static_ip_configuration` field on the resulting resource block. When `null`, the `static_ip_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mobile_network_sim.static_ip_configuration.new](#fn-static_ip_configurationnew) 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.mobile_network_sim.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.mobile_network_sim.newAttrs` constructs a new object with attributes and blocks configured for the `mobile_network_sim` +Terraform resource. + +Unlike [azurerm.mobile_network_sim.new](#fn-new), this function will not inject the `resource` +block into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the +[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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**: + - `authentication_key` (`string`): Set the `authentication_key` field on the resulting object. + - `device_type` (`string`): Set the `device_type` field on the resulting object. When `null`, the `device_type` field will be omitted from the resulting object. + - `integrated_circuit_card_identifier` (`string`): Set the `integrated_circuit_card_identifier` field on the resulting object. + - `international_mobile_subscriber_identity` (`string`): Set the `international_mobile_subscriber_identity` field on the resulting object. + - `mobile_network_sim_group_id` (`string`): Set the `mobile_network_sim_group_id` field on the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `operator_key_code` (`string`): Set the `operator_key_code` field on the resulting object. + - `sim_policy_id` (`string`): Set the `sim_policy_id` field on the resulting object. When `null`, the `sim_policy_id` field will be omitted from the resulting object. + - `static_ip_configuration` (`list[obj]`): Set the `static_ip_configuration` field on the resulting object. When `null`, the `static_ip_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mobile_network_sim.static_ip_configuration.new](#fn-static_ip_configurationnew) 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.mobile_network_sim.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: + - 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 `mobile_network_sim` resource into the root Terraform configuration. + + +### fn withAuthenticationKey + +```ts +withAuthenticationKey() +``` + +`azurerm.string.withAuthenticationKey` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the authentication_key field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `authentication_key` field. + + +### fn withDeviceType + +```ts +withDeviceType() +``` + +`azurerm.string.withDeviceType` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the device_type field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `device_type` field. + + +### fn withIntegratedCircuitCardIdentifier + +```ts +withIntegratedCircuitCardIdentifier() +``` + +`azurerm.string.withIntegratedCircuitCardIdentifier` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the integrated_circuit_card_identifier field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `integrated_circuit_card_identifier` field. + + +### fn withInternationalMobileSubscriberIdentity + +```ts +withInternationalMobileSubscriberIdentity() +``` + +`azurerm.string.withInternationalMobileSubscriberIdentity` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the international_mobile_subscriber_identity field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `international_mobile_subscriber_identity` field. + + +### fn withMobileNetworkSimGroupId + +```ts +withMobileNetworkSimGroupId() +``` + +`azurerm.string.withMobileNetworkSimGroupId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the mobile_network_sim_group_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `mobile_network_sim_group_id` field. + + +### fn withName + +```ts +withName() +``` + +`azurerm.string.withName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `name` field. + + +### fn withOperatorKeyCode + +```ts +withOperatorKeyCode() +``` + +`azurerm.string.withOperatorKeyCode` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the operator_key_code field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `operator_key_code` field. + + +### fn withSimPolicyId + +```ts +withSimPolicyId() +``` + +`azurerm.string.withSimPolicyId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the sim_policy_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `sim_policy_id` field. + + +### fn withStaticIpConfiguration + +```ts +withStaticIpConfiguration() +``` + +`azurerm.list[obj].withStaticIpConfiguration` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the static_ip_configuration 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].withStaticIpConfigurationMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `static_ip_configuration` field. + + +### fn withStaticIpConfigurationMixin + +```ts +withStaticIpConfigurationMixin() +``` + +`azurerm.list[obj].withStaticIpConfigurationMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the static_ip_configuration 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].withStaticIpConfiguration](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `static_ip_configuration` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform resource 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**: + - `resourceLabel` (`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 resource 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**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +## obj static_ip_configuration + + + +### fn static_ip_configuration.new + +```ts +new() +``` + + +`azurerm.mobile_network_sim.static_ip_configuration.new` constructs a new object with attributes and blocks configured for the `static_ip_configuration` +Terraform sub block. + + + +**Args**: + - `attached_data_network_id` (`string`): Set the `attached_data_network_id` field on the resulting object. + - `slice_id` (`string`): Set the `slice_id` field on the resulting object. + - `static_ipv4_address` (`string`): Set the `static_ipv4_address` field on the resulting object. When `null`, the `static_ipv4_address` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `static_ip_configuration` sub block. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.mobile_network_sim.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts` +Terraform sub block. + + + +**Args**: + - `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/network_function_azure_traffic_collector.md b/docs/3.x/network_function_azure_traffic_collector.md new file mode 100644 index 00000000..34dbaeee --- /dev/null +++ b/docs/3.x/network_function_azure_traffic_collector.md @@ -0,0 +1,217 @@ +--- +permalink: /network_function_azure_traffic_collector/ +--- + +# network_function_azure_traffic_collector + +`network_function_azure_traffic_collector` represents the `azurerm_network_function_azure_traffic_collector` Terraform resource. + + + +This package contains functions and utilities for setting up the resource using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withLocation()`](#fn-withlocation) +* [`fn withName()`](#fn-withname) +* [`fn withResourceGroupName()`](#fn-withresourcegroupname) +* [`fn withTags()`](#fn-withtags) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.network_function_azure_traffic_collector.new` injects a new `azurerm_network_function_azure_traffic_collector` Terraform `resource` +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.network_function_azure_traffic_collector.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.network_function_azure_traffic_collector` using the reference: + + $._ref.azurerm_network_function_azure_traffic_collector.some_id.get('id') + +This is the same as directly entering `"${ azurerm_network_function_azure_traffic_collector.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**: + - `resourceLabel` (`string`): The name label of the block. + - `location` (`string`): Set the `location` field on the resulting resource block. + - `name` (`string`): Set the `name` field on the resulting resource block. + - `resource_group_name` (`string`): Set the `resource_group_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.network_function_azure_traffic_collector.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.network_function_azure_traffic_collector.newAttrs` constructs a new object with attributes and blocks configured for the `network_function_azure_traffic_collector` +Terraform resource. + +Unlike [azurerm.network_function_azure_traffic_collector.new](#fn-new), this function will not inject the `resource` +block into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the +[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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**: + - `location` (`string`): Set the `location` field on the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `resource_group_name` (`string`): Set the `resource_group_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.network_function_azure_traffic_collector.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: + - 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 `network_function_azure_traffic_collector` resource into the root Terraform configuration. + + +### fn withLocation + +```ts +withLocation() +``` + +`azurerm.string.withLocation` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the location field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `location` field. + + +### fn withName + +```ts +withName() +``` + +`azurerm.string.withName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `name` field. + + +### fn withResourceGroupName + +```ts +withResourceGroupName() +``` + +`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the resource_group_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `resource_group_name` field. + + +### fn withTags + +```ts +withTags() +``` + +`azurerm.obj.withTags` constructs a mixin object that can be merged into the `obj` +Terraform resource block to set or update the tags field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `tags` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform resource 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**: + - `resourceLabel` (`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 resource 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**: + - `resourceLabel` (`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_function_azure_traffic_collector.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts` +Terraform sub block. + + + +**Args**: + - `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/shared_image_gallery.md b/docs/3.x/shared_image_gallery.md index 9733f590..0643b554 100644 --- a/docs/3.x/shared_image_gallery.md +++ b/docs/3.x/shared_image_gallery.md @@ -19,9 +19,15 @@ This package contains functions and utilities for setting up the resource using * [`fn withLocation()`](#fn-withlocation) * [`fn withName()`](#fn-withname) * [`fn withResourceGroupName()`](#fn-withresourcegroupname) +* [`fn withSharing()`](#fn-withsharing) +* [`fn withSharingMixin()`](#fn-withsharingmixin) * [`fn withTags()`](#fn-withtags) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj sharing`](#obj-sharing) + * [`fn new()`](#fn-sharingnew) + * [`obj sharing.community_gallery`](#obj-sharingcommunity_gallery) + * [`fn new()`](#fn-sharingcommunity_gallerynew) * [`obj timeouts`](#obj-timeouts) * [`fn new()`](#fn-timeoutsnew) @@ -59,6 +65,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `name` (`string`): Set the `name` field on the resulting resource block. - `resource_group_name` (`string`): Set the `resource_group_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. + - `sharing` (`list[obj]`): Set the `sharing` field on the resulting resource block. When `null`, the `sharing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.shared_image_gallery.sharing.new](#fn-sharingnew) 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.shared_image_gallery.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: @@ -88,6 +95,7 @@ injecting into a complete block. - `name` (`string`): Set the `name` field on the resulting object. - `resource_group_name` (`string`): Set the `resource_group_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. + - `sharing` (`list[obj]`): Set the `sharing` field on the resulting object. When `null`, the `sharing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.shared_image_gallery.sharing.new](#fn-sharingnew) 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.shared_image_gallery.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: @@ -158,6 +166,43 @@ 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 withSharing + +```ts +withSharing() +``` + +`azurerm.list[obj].withSharing` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the sharing 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].withSharingMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `sharing` field. + + +### fn withSharingMixin + +```ts +withSharingMixin() +``` + +`azurerm.list[obj].withSharingMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the sharing 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].withSharing](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `sharing` field. + + ### fn withTags ```ts @@ -210,6 +255,56 @@ function. - `value` (`obj`): The value to set for the `timeouts` field. +## obj sharing + + + +### fn sharing.new + +```ts +new() +``` + + +`azurerm.shared_image_gallery.sharing.new` constructs a new object with attributes and blocks configured for the `sharing` +Terraform sub block. + + + +**Args**: + - `permission` (`string`): Set the `permission` field on the resulting object. + - `community_gallery` (`list[obj]`): Set the `community_gallery` field on the resulting object. When `null`, the `community_gallery` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.shared_image_gallery.sharing.community_gallery.new](#fn-sharingcommunity_gallerynew) constructor. + +**Returns**: + - An attribute object that represents the `sharing` sub block. + + +## obj sharing.community_gallery + + + +### fn sharing.community_gallery.new + +```ts +new() +``` + + +`azurerm.shared_image_gallery.sharing.community_gallery.new` constructs a new object with attributes and blocks configured for the `community_gallery` +Terraform sub block. + + + +**Args**: + - `eula` (`string`): Set the `eula` field on the resulting object. + - `prefix` (`string`): Set the `prefix` field on the resulting object. + - `publisher_email` (`string`): Set the `publisher_email` field on the resulting object. + - `publisher_uri` (`string`): Set the `publisher_uri` field on the resulting object. + +**Returns**: + - An attribute object that represents the `community_gallery` sub block. + + ## obj timeouts diff --git a/docs/3.x/virtual_network.md b/docs/3.x/virtual_network.md index bd36d3b0..0f528c97 100644 --- a/docs/3.x/virtual_network.md +++ b/docs/3.x/virtual_network.md @@ -21,6 +21,8 @@ This package contains functions and utilities for setting up the resource using * [`fn withDdosProtectionPlanMixin()`](#fn-withddosprotectionplanmixin) * [`fn withDnsServers()`](#fn-withdnsservers) * [`fn withEdgeZone()`](#fn-withedgezone) +* [`fn withEncryption()`](#fn-withencryption) +* [`fn withEncryptionMixin()`](#fn-withencryptionmixin) * [`fn withFlowTimeoutInMinutes()`](#fn-withflowtimeoutinminutes) * [`fn withLocation()`](#fn-withlocation) * [`fn withName()`](#fn-withname) @@ -31,6 +33,8 @@ This package contains functions and utilities for setting up the resource using * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`obj ddos_protection_plan`](#obj-ddos_protection_plan) * [`fn new()`](#fn-ddos_protection_plannew) +* [`obj encryption`](#obj-encryption) + * [`fn new()`](#fn-encryptionnew) * [`obj timeouts`](#obj-timeouts) * [`fn new()`](#fn-timeoutsnew) @@ -74,6 +78,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `subnet` (`list`): Set the `subnet` field on the resulting resource block. When `null`, the `subnet` 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. - `ddos_protection_plan` (`list[obj]`): Set the `ddos_protection_plan` field on the resulting resource block. When `null`, the `ddos_protection_plan` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.virtual_network.ddos_protection_plan.new](#fn-ddos_protection_plannew) constructor. + - `encryption` (`list[obj]`): Set the `encryption` field on the resulting resource block. When `null`, the `encryption` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.virtual_network.encryption.new](#fn-encryptionnew) 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.virtual_network.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: @@ -109,6 +114,7 @@ injecting into a complete block. - `subnet` (`list`): Set the `subnet` field on the resulting object. When `null`, the `subnet` 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. - `ddos_protection_plan` (`list[obj]`): Set the `ddos_protection_plan` field on the resulting object. When `null`, the `ddos_protection_plan` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.virtual_network.ddos_protection_plan.new](#fn-ddos_protection_plannew) constructor. + - `encryption` (`list[obj]`): Set the `encryption` field on the resulting object. When `null`, the `encryption` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.virtual_network.encryption.new](#fn-encryptionnew) 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.virtual_network.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: @@ -216,6 +222,43 @@ Terraform resource block to set or update the edge_zone field. - `value` (`string`): The value to set for the `edge_zone` field. +### fn withEncryption + +```ts +withEncryption() +``` + +`azurerm.list[obj].withEncryption` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the encryption 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].withEncryptionMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `encryption` field. + + +### fn withEncryptionMixin + +```ts +withEncryptionMixin() +``` + +`azurerm.list[obj].withEncryptionMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the encryption 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].withEncryption](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `encryption` field. + + ### fn withFlowTimeoutInMinutes ```ts @@ -371,6 +414,29 @@ Terraform sub block. - An attribute object that represents the `ddos_protection_plan` sub block. +## obj encryption + + + +### fn encryption.new + +```ts +new() +``` + + +`azurerm.virtual_network.encryption.new` constructs a new object with attributes and blocks configured for the `encryption` +Terraform sub block. + + + +**Args**: + - `enforcement` (`string`): Set the `enforcement` field on the resulting object. + +**Returns**: + - An attribute object that represents the `encryption` sub block. + + ## obj timeouts diff --git a/docs/3.x/web_application_firewall_policy.md b/docs/3.x/web_application_firewall_policy.md index 3f4911dc..0dacb8c7 100644 --- a/docs/3.x/web_application_firewall_policy.md +++ b/docs/3.x/web_application_firewall_policy.md @@ -49,6 +49,10 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-managed_rulesmanaged_rule_setrule_group_overriderulenew) * [`obj policy_settings`](#obj-policy_settings) * [`fn new()`](#fn-policy_settingsnew) + * [`obj policy_settings.log_scrubbing`](#obj-policy_settingslog_scrubbing) + * [`fn new()`](#fn-policy_settingslog_scrubbingnew) + * [`obj policy_settings.log_scrubbing.rule`](#obj-policy_settingslog_scrubbingrule) + * [`fn new()`](#fn-policy_settingslog_scrubbingrulenew) * [`obj timeouts`](#obj-timeouts) * [`fn new()`](#fn-timeoutsnew) @@ -609,11 +613,62 @@ Terraform sub block. - `max_request_body_size_in_kb` (`number`): Set the `max_request_body_size_in_kb` field on the resulting object. When `null`, the `max_request_body_size_in_kb` field will be omitted from the resulting object. - `mode` (`string`): Set the `mode` field on the resulting object. When `null`, the `mode` field will be omitted from the resulting object. - `request_body_check` (`bool`): Set the `request_body_check` field on the resulting object. When `null`, the `request_body_check` field will be omitted from the resulting object. + - `log_scrubbing` (`list[obj]`): Set the `log_scrubbing` field on the resulting object. When `null`, the `log_scrubbing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.web_application_firewall_policy.policy_settings.log_scrubbing.new](#fn-policy_settingslog_scrubbingnew) constructor. **Returns**: - An attribute object that represents the `policy_settings` sub block. +## obj policy_settings.log_scrubbing + + + +### fn policy_settings.log_scrubbing.new + +```ts +new() +``` + + +`azurerm.web_application_firewall_policy.policy_settings.log_scrubbing.new` constructs a new object with attributes and blocks configured for the `log_scrubbing` +Terraform sub block. + + + +**Args**: + - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object. + - `rule` (`list[obj]`): Set the `rule` field on the resulting object. When `null`, the `rule` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.web_application_firewall_policy.policy_settings.log_scrubbing.rule.new](#fn-policy_settingspolicy_settingsrulenew) constructor. + +**Returns**: + - An attribute object that represents the `log_scrubbing` sub block. + + +## obj policy_settings.log_scrubbing.rule + + + +### fn policy_settings.log_scrubbing.rule.new + +```ts +new() +``` + + +`azurerm.web_application_firewall_policy.policy_settings.log_scrubbing.rule.new` constructs a new object with attributes and blocks configured for the `rule` +Terraform sub block. + + + +**Args**: + - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object. + - `match_variable` (`string`): Set the `match_variable` field on the resulting object. + - `selector` (`string`): When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to. When `null`, the `selector` field will be omitted from the resulting object. + - `selector_match_operator` (`string`): Set the `selector_match_operator` field on the resulting object. When `null`, the `selector_match_operator` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `rule` sub block. + + ## obj timeouts diff --git a/docs/3.x/windows_virtual_machine.md b/docs/3.x/windows_virtual_machine.md index b7a8f3b0..b6519364 100644 --- a/docs/3.x/windows_virtual_machine.md +++ b/docs/3.x/windows_virtual_machine.md @@ -25,6 +25,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withAvailabilitySetId()`](#fn-withavailabilitysetid) * [`fn withBootDiagnostics()`](#fn-withbootdiagnostics) * [`fn withBootDiagnosticsMixin()`](#fn-withbootdiagnosticsmixin) +* [`fn withBypassPlatformSafetyChecksOnUserScheduleEnabled()`](#fn-withbypassplatformsafetychecksonuserscheduleenabled) * [`fn withCapacityReservationGroupId()`](#fn-withcapacityreservationgroupid) * [`fn withComputerName()`](#fn-withcomputername) * [`fn withCustomData()`](#fn-withcustomdata) @@ -55,6 +56,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withPriority()`](#fn-withpriority) * [`fn withProvisionVmAgent()`](#fn-withprovisionvmagent) * [`fn withProximityPlacementGroupId()`](#fn-withproximityplacementgroupid) +* [`fn withRebootSetting()`](#fn-withrebootsetting) * [`fn withResourceGroupName()`](#fn-withresourcegroupname) * [`fn withSecret()`](#fn-withsecret) * [`fn withSecretMixin()`](#fn-withsecretmixin) @@ -137,6 +139,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `admin_username` (`string`): Set the `admin_username` field on the resulting resource block. - `allow_extension_operations` (`bool`): Set the `allow_extension_operations` field on the resulting resource block. When `null`, the `allow_extension_operations` field will be omitted from the resulting object. - `availability_set_id` (`string`): Set the `availability_set_id` field on the resulting resource block. When `null`, the `availability_set_id` field will be omitted from the resulting object. + - `bypass_platform_safety_checks_on_user_schedule_enabled` (`bool`): Set the `bypass_platform_safety_checks_on_user_schedule_enabled` field on the resulting resource block. When `null`, the `bypass_platform_safety_checks_on_user_schedule_enabled` field will be omitted from the resulting object. - `capacity_reservation_group_id` (`string`): Set the `capacity_reservation_group_id` field on the resulting resource block. When `null`, the `capacity_reservation_group_id` field will be omitted from the resulting object. - `computer_name` (`string`): Set the `computer_name` field on the resulting resource block. When `null`, the `computer_name` field will be omitted from the resulting object. - `custom_data` (`string`): Set the `custom_data` field on the resulting resource block. When `null`, the `custom_data` field will be omitted from the resulting object. @@ -159,6 +162,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `priority` (`string`): Set the `priority` field on the resulting resource block. When `null`, the `priority` field will be omitted from the resulting object. - `provision_vm_agent` (`bool`): Set the `provision_vm_agent` field on the resulting resource block. When `null`, the `provision_vm_agent` field will be omitted from the resulting object. - `proximity_placement_group_id` (`string`): Set the `proximity_placement_group_id` field on the resulting resource block. When `null`, the `proximity_placement_group_id` field will be omitted from the resulting object. + - `reboot_setting` (`string`): Set the `reboot_setting` field on the resulting resource block. When `null`, the `reboot_setting` field will be omitted from the resulting object. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block. - `secure_boot_enabled` (`bool`): Set the `secure_boot_enabled` field on the resulting resource block. When `null`, the `secure_boot_enabled` field will be omitted from the resulting object. - `size` (`string`): Set the `size` field on the resulting resource block. @@ -208,6 +212,7 @@ injecting into a complete block. - `admin_username` (`string`): Set the `admin_username` field on the resulting object. - `allow_extension_operations` (`bool`): Set the `allow_extension_operations` field on the resulting object. When `null`, the `allow_extension_operations` field will be omitted from the resulting object. - `availability_set_id` (`string`): Set the `availability_set_id` field on the resulting object. When `null`, the `availability_set_id` field will be omitted from the resulting object. + - `bypass_platform_safety_checks_on_user_schedule_enabled` (`bool`): Set the `bypass_platform_safety_checks_on_user_schedule_enabled` field on the resulting object. When `null`, the `bypass_platform_safety_checks_on_user_schedule_enabled` field will be omitted from the resulting object. - `capacity_reservation_group_id` (`string`): Set the `capacity_reservation_group_id` field on the resulting object. When `null`, the `capacity_reservation_group_id` field will be omitted from the resulting object. - `computer_name` (`string`): Set the `computer_name` field on the resulting object. When `null`, the `computer_name` field will be omitted from the resulting object. - `custom_data` (`string`): Set the `custom_data` field on the resulting object. When `null`, the `custom_data` field will be omitted from the resulting object. @@ -230,6 +235,7 @@ injecting into a complete block. - `priority` (`string`): Set the `priority` field on the resulting object. When `null`, the `priority` field will be omitted from the resulting object. - `provision_vm_agent` (`bool`): Set the `provision_vm_agent` field on the resulting object. When `null`, the `provision_vm_agent` field will be omitted from the resulting object. - `proximity_placement_group_id` (`string`): Set the `proximity_placement_group_id` field on the resulting object. When `null`, the `proximity_placement_group_id` field will be omitted from the resulting object. + - `reboot_setting` (`string`): Set the `reboot_setting` field on the resulting object. When `null`, the `reboot_setting` field will be omitted from the resulting object. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. - `secure_boot_enabled` (`bool`): Set the `secure_boot_enabled` field on the resulting object. When `null`, the `secure_boot_enabled` field will be omitted from the resulting object. - `size` (`string`): Set the `size` field on the resulting object. @@ -432,6 +438,22 @@ function. - `value` (`list[obj]`): The value to set for the `boot_diagnostics` field. +### fn withBypassPlatformSafetyChecksOnUserScheduleEnabled + +```ts +withBypassPlatformSafetyChecksOnUserScheduleEnabled() +``` + +`azurerm.bool.withBypassPlatformSafetyChecksOnUserScheduleEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the bypass_platform_safety_checks_on_user_schedule_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `bypass_platform_safety_checks_on_user_schedule_enabled` field. + + ### fn withCapacityReservationGroupId ```ts @@ -932,6 +954,22 @@ Terraform resource block to set or update the proximity_placement_group_id field - `value` (`string`): The value to set for the `proximity_placement_group_id` field. +### fn withRebootSetting + +```ts +withRebootSetting() +``` + +`azurerm.string.withRebootSetting` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the reboot_setting field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `reboot_setting` field. + + ### fn withResourceGroupName ```ts