diff --git a/3.x/_gen/data/dashboard_grafana.libsonnet b/3.x/_gen/data/dashboard_grafana.libsonnet new file mode 100644 index 00000000..0b1f78cd --- /dev/null +++ b/3.x/_gen/data/dashboard_grafana.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='dashboard_grafana', url='', help='`dashboard_grafana` represents the `azurerm_dashboard_grafana` Terraform data source.\n\n\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'), + identity:: { + '#new':: d.fn(help='\n`azurerm.dashboard_grafana.identity.new` constructs a new object with attributes and blocks configured for the `identity`\nTerraform sub block.\n\n\n\n**Args**:\n - `identity_ids` (`list`): Set the `identity_ids` field on the resulting object. When `null`, the `identity_ids` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `identity` sub block.\n', args=[]), + new( + type, + identity_ids=null + ):: std.prune(a={ + identity_ids: identity_ids, + type: type, + }), + }, + '#new':: d.fn(help="\n`azurerm.data.dashboard_grafana.new` injects a new `data_azurerm_dashboard_grafana` 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.dashboard_grafana.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.dashboard_grafana` using the reference:\n\n $._ref.data_azurerm_dashboard_grafana.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_dashboard_grafana.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `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 - `identity` (`list[obj]`): Set the `identity` field on the resulting data source 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.data.dashboard_grafana.identity.new](#fn-identitynew) constructor.\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.dashboard_grafana.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, + identity=null, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_dashboard_grafana', + label=dataSrcLabel, + attrs=self.newAttrs( + identity=identity, + name=name, + resource_group_name=resource_group_name, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.dashboard_grafana.newAttrs` constructs a new object with attributes and blocks configured for the `dashboard_grafana`\nTerraform data source.\n\nUnlike [azurerm.data.dashboard_grafana.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 - `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.data.dashboard_grafana.identity.new](#fn-identitynew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.dashboard_grafana.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 `dashboard_grafana` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + name, + resource_group_name, + identity=null, + timeouts=null + ):: std.prune(a={ + identity: identity, + name: name, + resource_group_name: resource_group_name, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.dashboard_grafana.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, + }), + }, + '#withIdentity':: d.fn(help='`azurerm.list[obj].withIdentity` constructs a mixin object that can be merged into the `list[obj]`\nTerraform data source block to set or update the identity field.\n\nThis function will replace the array with the passed in `value`. If you wish to instead append the\npassed in value to the existing array, use the [azurerm.list[obj].withIdentityMixin](TODO) function.\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `identity` field.\n', args=[]), + withIdentity(dataSrcLabel, value): { + data+: { + azurerm_dashboard_grafana+: { + [dataSrcLabel]+: { + identity: value, + }, + }, + }, + }, + '#withIdentityMixin':: d.fn(help='`azurerm.list[obj].withIdentityMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform data source block to set or update the identity 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].withIdentity](TODO)\nfunction.\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `identity` field.\n', args=[]), + withIdentityMixin(dataSrcLabel, value): { + data+: { + azurerm_dashboard_grafana+: { + [dataSrcLabel]+: { + identity+: if std.isArray(v=value) then value else [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_dashboard_grafana+: { + [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_dashboard_grafana+: { + [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_dashboard_grafana+: { + [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_dashboard_grafana+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/data/data_factory_trigger_schedule.libsonnet b/3.x/_gen/data/data_factory_trigger_schedule.libsonnet new file mode 100644 index 00000000..3a224911 --- /dev/null +++ b/3.x/_gen/data/data_factory_trigger_schedule.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='data_factory_trigger_schedule', url='', help='`data_factory_trigger_schedule` represents the `azurerm_data_factory_trigger_schedule` 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.data_factory_trigger_schedule.new` injects a new `data_azurerm_data_factory_trigger_schedule` 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.data_factory_trigger_schedule.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.data_factory_trigger_schedule` using the reference:\n\n $._ref.data_azurerm_data_factory_trigger_schedule.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_data_factory_trigger_schedule.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 - `data_factory_id` (`string`): Set the `data_factory_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.data_factory_trigger_schedule.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, + data_factory_id, + name, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_data_factory_trigger_schedule', + label=dataSrcLabel, + attrs=self.newAttrs(data_factory_id=data_factory_id, name=name, timeouts=timeouts), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.data_factory_trigger_schedule.newAttrs` constructs a new object with attributes and blocks configured for the `data_factory_trigger_schedule`\nTerraform data source.\n\nUnlike [azurerm.data.data_factory_trigger_schedule.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 - `data_factory_id` (`string`): Set the `data_factory_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.data_factory_trigger_schedule.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 `data_factory_trigger_schedule` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + data_factory_id, + name, + timeouts=null + ):: std.prune(a={ + data_factory_id: data_factory_id, + name: name, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.data_factory_trigger_schedule.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, + }), + }, + '#withDataFactoryId':: d.fn(help='`azurerm.string.withDataFactoryId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the data_factory_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 `data_factory_id` field.\n', args=[]), + withDataFactoryId(dataSrcLabel, value): { + data+: { + azurerm_data_factory_trigger_schedule+: { + [dataSrcLabel]+: { + data_factory_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_data_factory_trigger_schedule+: { + [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_data_factory_trigger_schedule+: { + [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_data_factory_trigger_schedule+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/data/data_factory_trigger_schedules.libsonnet b/3.x/_gen/data/data_factory_trigger_schedules.libsonnet new file mode 100644 index 00000000..28465202 --- /dev/null +++ b/3.x/_gen/data/data_factory_trigger_schedules.libsonnet @@ -0,0 +1,63 @@ +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='data_factory_trigger_schedules', url='', help='`data_factory_trigger_schedules` represents the `azurerm_data_factory_trigger_schedules` 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.data_factory_trigger_schedules.new` injects a new `data_azurerm_data_factory_trigger_schedules` 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.data_factory_trigger_schedules.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.data_factory_trigger_schedules` using the reference:\n\n $._ref.data_azurerm_data_factory_trigger_schedules.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_data_factory_trigger_schedules.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 - `data_factory_id` (`string`): Set the `data_factory_id` field on the resulting data source block.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.data_factory_trigger_schedules.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, + data_factory_id, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_data_factory_trigger_schedules', + label=dataSrcLabel, + attrs=self.newAttrs(data_factory_id=data_factory_id, timeouts=timeouts), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.data_factory_trigger_schedules.newAttrs` constructs a new object with attributes and blocks configured for the `data_factory_trigger_schedules`\nTerraform data source.\n\nUnlike [azurerm.data.data_factory_trigger_schedules.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 - `data_factory_id` (`string`): Set the `data_factory_id` field on the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.data_factory_trigger_schedules.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 `data_factory_trigger_schedules` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + data_factory_id, + timeouts=null + ):: std.prune(a={ + data_factory_id: data_factory_id, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.data_factory_trigger_schedules.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, + }), + }, + '#withDataFactoryId':: d.fn(help='`azurerm.string.withDataFactoryId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the data_factory_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 `data_factory_id` field.\n', args=[]), + withDataFactoryId(dataSrcLabel, value): { + data+: { + azurerm_data_factory_trigger_schedules+: { + [dataSrcLabel]+: { + data_factory_id: value, + }, + }, + }, + }, + '#withTimeouts':: d.fn(help='`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform data source block to set or update the timeouts field.\n\nThis function will replace the map with the passed in `value`. If you wish to instead merge the\npassed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(dataSrcLabel, value): { + data+: { + azurerm_data_factory_trigger_schedules+: { + [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_data_factory_trigger_schedules+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/data/firewall.libsonnet b/3.x/_gen/data/firewall.libsonnet index 2cca2133..59a19ea5 100644 --- a/3.x/_gen/data/firewall.libsonnet +++ b/3.x/_gen/data/firewall.libsonnet @@ -2,25 +2,33 @@ 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='firewall', url='', help='`firewall` represents the `azurerm_firewall` 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.firewall.new` injects a new `data_azurerm_firewall` 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.firewall.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.firewall` using the reference:\n\n $._ref.data_azurerm_firewall.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_firewall.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.firewall.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.firewall.new` injects a new `data_azurerm_firewall` 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.firewall.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.firewall` using the reference:\n\n $._ref.data_azurerm_firewall.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_firewall.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 - `dns_proxy_enabled` (`bool`): Set the `dns_proxy_enabled` field on the resulting data source block. When `null`, the `dns_proxy_enabled` field will be omitted from the resulting object.\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.firewall.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, + dns_proxy_enabled=null, timeouts=null, _meta={} ):: tf.withData( type='azurerm_firewall', label=dataSrcLabel, - attrs=self.newAttrs(name=name, resource_group_name=resource_group_name, timeouts=timeouts), + attrs=self.newAttrs( + dns_proxy_enabled=dns_proxy_enabled, + name=name, + resource_group_name=resource_group_name, + timeouts=timeouts + ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.data.firewall.newAttrs` constructs a new object with attributes and blocks configured for the `firewall`\nTerraform data source.\n\nUnlike [azurerm.data.firewall.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.firewall.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 `firewall` data source into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.data.firewall.newAttrs` constructs a new object with attributes and blocks configured for the `firewall`\nTerraform data source.\n\nUnlike [azurerm.data.firewall.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 - `dns_proxy_enabled` (`bool`): Set the `dns_proxy_enabled` field on the resulting object. When `null`, the `dns_proxy_enabled` 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 - `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.firewall.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 `firewall` data source into the root Terraform configuration.\n', args=[]), newAttrs( name, resource_group_name, + dns_proxy_enabled=null, timeouts=null ):: std.prune(a={ + dns_proxy_enabled: dns_proxy_enabled, name: name, resource_group_name: resource_group_name, timeouts: timeouts, @@ -33,6 +41,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); read: read, }), }, + '#withDnsProxyEnabled':: d.fn(help='`azurerm.bool.withDnsProxyEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform data source block to set or update the dns_proxy_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 `dns_proxy_enabled` field.\n', args=[]), + withDnsProxyEnabled(dataSrcLabel, value): { + data+: { + azurerm_firewall+: { + [dataSrcLabel]+: { + dns_proxy_enabled: 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+: { diff --git a/3.x/_gen/data/ip_groups.libsonnet b/3.x/_gen/data/ip_groups.libsonnet new file mode 100644 index 00000000..76c5e4c9 --- /dev/null +++ b/3.x/_gen/data/ip_groups.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='ip_groups', url='', help='`ip_groups` represents the `azurerm_ip_groups` 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.ip_groups.new` injects a new `data_azurerm_ip_groups` 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.ip_groups.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.ip_groups` using the reference:\n\n $._ref.data_azurerm_ip_groups.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_ip_groups.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.ip_groups.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]), + new( + dataSrcLabel, + name, + resource_group_name, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_ip_groups', + label=dataSrcLabel, + attrs=self.newAttrs(name=name, resource_group_name=resource_group_name, timeouts=timeouts), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.ip_groups.newAttrs` constructs a new object with attributes and blocks configured for the `ip_groups`\nTerraform data source.\n\nUnlike [azurerm.data.ip_groups.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.ip_groups.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 `ip_groups` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + name, + resource_group_name, + timeouts=null + ):: std.prune(a={ + name: name, + resource_group_name: resource_group_name, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.ip_groups.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts`\nTerraform sub block.\n\n\n\n**Args**:\n - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `timeouts` sub block.\n', args=[]), + new( + read=null + ):: std.prune(a={ + read: read, + }), + }, + '#withName':: d.fn(help='`azurerm.string.withName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the name field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `name` field.\n', args=[]), + withName(dataSrcLabel, value): { + data+: { + azurerm_ip_groups+: { + [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_ip_groups+: { + [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_ip_groups+: { + [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_ip_groups+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/data/key_vault_managed_hardware_security_module_role_definition.libsonnet b/3.x/_gen/data/key_vault_managed_hardware_security_module_role_definition.libsonnet new file mode 100644 index 00000000..73a3ab90 --- /dev/null +++ b/3.x/_gen/data/key_vault_managed_hardware_security_module_role_definition.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='key_vault_managed_hardware_security_module_role_definition', url='', help='`key_vault_managed_hardware_security_module_role_definition` represents the `azurerm_key_vault_managed_hardware_security_module_role_definition` 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.key_vault_managed_hardware_security_module_role_definition.new` injects a new `data_azurerm_key_vault_managed_hardware_security_module_role_definition` 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.key_vault_managed_hardware_security_module_role_definition.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.key_vault_managed_hardware_security_module_role_definition` using the reference:\n\n $._ref.data_azurerm_key_vault_managed_hardware_security_module_role_definition.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_key_vault_managed_hardware_security_module_role_definition.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 - `vault_base_url` (`string`): Set the `vault_base_url` 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.key_vault_managed_hardware_security_module_role_definition.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, + vault_base_url, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_key_vault_managed_hardware_security_module_role_definition', + label=dataSrcLabel, + attrs=self.newAttrs(name=name, timeouts=timeouts, vault_base_url=vault_base_url), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.key_vault_managed_hardware_security_module_role_definition.newAttrs` constructs a new object with attributes and blocks configured for the `key_vault_managed_hardware_security_module_role_definition`\nTerraform data source.\n\nUnlike [azurerm.data.key_vault_managed_hardware_security_module_role_definition.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 - `vault_base_url` (`string`): Set the `vault_base_url` 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.key_vault_managed_hardware_security_module_role_definition.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 `key_vault_managed_hardware_security_module_role_definition` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + name, + vault_base_url, + timeouts=null + ):: std.prune(a={ + name: name, + timeouts: timeouts, + vault_base_url: vault_base_url, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.key_vault_managed_hardware_security_module_role_definition.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts`\nTerraform sub block.\n\n\n\n**Args**:\n - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `timeouts` sub block.\n', args=[]), + new( + read=null + ):: std.prune(a={ + read: read, + }), + }, + '#withName':: d.fn(help='`azurerm.string.withName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the name field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `name` field.\n', args=[]), + withName(dataSrcLabel, value): { + data+: { + azurerm_key_vault_managed_hardware_security_module_role_definition+: { + [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_key_vault_managed_hardware_security_module_role_definition+: { + [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_key_vault_managed_hardware_security_module_role_definition+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, + '#withVaultBaseUrl':: d.fn(help='`azurerm.string.withVaultBaseUrl` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the vault_base_url 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 `vault_base_url` field.\n', args=[]), + withVaultBaseUrl(dataSrcLabel, value): { + data+: { + azurerm_key_vault_managed_hardware_security_module_role_definition+: { + [dataSrcLabel]+: { + vault_base_url: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/data/location.libsonnet b/3.x/_gen/data/location.libsonnet new file mode 100644 index 00000000..3d6e9fac --- /dev/null +++ b/3.x/_gen/data/location.libsonnet @@ -0,0 +1,63 @@ +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='location', url='', help='`location` represents the `azurerm_location` 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.location.new` injects a new `data_azurerm_location` 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.location.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.location` using the reference:\n\n $._ref.data_azurerm_location.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_location.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 - `location` (`string`): Set the `location` 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.location.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, + location, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_location', + label=dataSrcLabel, + attrs=self.newAttrs(location=location, timeouts=timeouts), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.location.newAttrs` constructs a new object with attributes and blocks configured for the `location`\nTerraform data source.\n\nUnlike [azurerm.data.location.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 - `location` (`string`): Set the `location` 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.location.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 `location` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + location, + timeouts=null + ):: std.prune(a={ + location: location, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.location.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, + }), + }, + '#withLocation':: d.fn(help='`azurerm.string.withLocation` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the location 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 `location` field.\n', args=[]), + withLocation(dataSrcLabel, value): { + data+: { + azurerm_location+: { + [dataSrcLabel]+: { + location: 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_location+: { + [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_location+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/data/logic_app_standard.libsonnet b/3.x/_gen/data/logic_app_standard.libsonnet index cca61cf2..50576006 100644 --- a/3.x/_gen/data/logic_app_standard.libsonnet +++ b/3.x/_gen/data/logic_app_standard.libsonnet @@ -48,7 +48,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); support_credentials: support_credentials, }), }, - '#new':: d.fn(help='\n`azurerm.logic_app_standard.site_config.new` constructs a new object with attributes and blocks configured for the `site_config`\nTerraform sub block.\n\n\n\n**Args**:\n - `always_on` (`bool`): Set the `always_on` field on the resulting object. When `null`, the `always_on` field will be omitted from the resulting object.\n - `app_scale_limit` (`number`): Set the `app_scale_limit` field on the resulting object. When `null`, the `app_scale_limit` field will be omitted from the resulting object.\n - `dotnet_framework_version` (`string`): Set the `dotnet_framework_version` field on the resulting object. When `null`, the `dotnet_framework_version` field will be omitted from the resulting object.\n - `elastic_instance_minimum` (`number`): Set the `elastic_instance_minimum` field on the resulting object. When `null`, the `elastic_instance_minimum` field will be omitted from the resulting object.\n - `ftps_state` (`string`): Set the `ftps_state` field on the resulting object. When `null`, the `ftps_state` field will be omitted from the resulting object.\n - `health_check_path` (`string`): Set the `health_check_path` field on the resulting object. When `null`, the `health_check_path` field will be omitted from the resulting object.\n - `http2_enabled` (`bool`): Set the `http2_enabled` field on the resulting object. When `null`, the `http2_enabled` field will be omitted from the resulting object.\n - `ip_restriction` (`list`): Set the `ip_restriction` field on the resulting object. When `null`, the `ip_restriction` field will be omitted from the resulting object.\n - `linux_fx_version` (`string`): Set the `linux_fx_version` field on the resulting object. When `null`, the `linux_fx_version` field will be omitted from the resulting object.\n - `min_tls_version` (`string`): Set the `min_tls_version` field on the resulting object. When `null`, the `min_tls_version` field will be omitted from the resulting object.\n - `pre_warmed_instance_count` (`number`): Set the `pre_warmed_instance_count` field on the resulting object. When `null`, the `pre_warmed_instance_count` field will be omitted from the resulting object.\n - `runtime_scale_monitoring_enabled` (`bool`): Set the `runtime_scale_monitoring_enabled` field on the resulting object. When `null`, the `runtime_scale_monitoring_enabled` field will be omitted from the resulting object.\n - `scm_ip_restriction` (`list`): Set the `scm_ip_restriction` field on the resulting object. When `null`, the `scm_ip_restriction` field will be omitted from the resulting object.\n - `scm_min_tls_version` (`string`): Set the `scm_min_tls_version` field on the resulting object. When `null`, the `scm_min_tls_version` field will be omitted from the resulting object.\n - `scm_type` (`string`): Set the `scm_type` field on the resulting object. When `null`, the `scm_type` field will be omitted from the resulting object.\n - `scm_use_main_ip_restriction` (`bool`): Set the `scm_use_main_ip_restriction` field on the resulting object. When `null`, the `scm_use_main_ip_restriction` field will be omitted from the resulting object.\n - `use_32_bit_worker_process` (`bool`): Set the `use_32_bit_worker_process` field on the resulting object. When `null`, the `use_32_bit_worker_process` field will be omitted from the resulting object.\n - `vnet_route_all_enabled` (`bool`): Set the `vnet_route_all_enabled` field on the resulting object. When `null`, the `vnet_route_all_enabled` field will be omitted from the resulting object.\n - `websockets_enabled` (`bool`): Set the `websockets_enabled` field on the resulting object. When `null`, the `websockets_enabled` field will be omitted from the resulting object.\n - `cors` (`list[obj]`): Set the `cors` field on the resulting object. When `null`, the `cors` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.logic_app_standard.site_config.cors.new](#fn-site_configcorsnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `site_config` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.logic_app_standard.site_config.new` constructs a new object with attributes and blocks configured for the `site_config`\nTerraform sub block.\n\n\n\n**Args**:\n - `always_on` (`bool`): Set the `always_on` field on the resulting object. When `null`, the `always_on` field will be omitted from the resulting object.\n - `app_scale_limit` (`number`): Set the `app_scale_limit` field on the resulting object. When `null`, the `app_scale_limit` field will be omitted from the resulting object.\n - `dotnet_framework_version` (`string`): Set the `dotnet_framework_version` field on the resulting object. When `null`, the `dotnet_framework_version` field will be omitted from the resulting object.\n - `elastic_instance_minimum` (`number`): Set the `elastic_instance_minimum` field on the resulting object. When `null`, the `elastic_instance_minimum` field will be omitted from the resulting object.\n - `ftps_state` (`string`): Set the `ftps_state` field on the resulting object. When `null`, the `ftps_state` field will be omitted from the resulting object.\n - `health_check_path` (`string`): Set the `health_check_path` field on the resulting object. When `null`, the `health_check_path` field will be omitted from the resulting object.\n - `http2_enabled` (`bool`): Set the `http2_enabled` field on the resulting object. When `null`, the `http2_enabled` field will be omitted from the resulting object.\n - `ip_restriction` (`list`): Set the `ip_restriction` field on the resulting object. When `null`, the `ip_restriction` field will be omitted from the resulting object.\n - `linux_fx_version` (`string`): Set the `linux_fx_version` field on the resulting object. When `null`, the `linux_fx_version` field will be omitted from the resulting object.\n - `min_tls_version` (`string`): Set the `min_tls_version` field on the resulting object. When `null`, the `min_tls_version` field will be omitted from the resulting object.\n - `pre_warmed_instance_count` (`number`): Set the `pre_warmed_instance_count` field on the resulting object. When `null`, the `pre_warmed_instance_count` field will be omitted from the resulting object.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting object. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `runtime_scale_monitoring_enabled` (`bool`): Set the `runtime_scale_monitoring_enabled` field on the resulting object. When `null`, the `runtime_scale_monitoring_enabled` field will be omitted from the resulting object.\n - `scm_ip_restriction` (`list`): Set the `scm_ip_restriction` field on the resulting object. When `null`, the `scm_ip_restriction` field will be omitted from the resulting object.\n - `scm_min_tls_version` (`string`): Set the `scm_min_tls_version` field on the resulting object. When `null`, the `scm_min_tls_version` field will be omitted from the resulting object.\n - `scm_type` (`string`): Set the `scm_type` field on the resulting object. When `null`, the `scm_type` field will be omitted from the resulting object.\n - `scm_use_main_ip_restriction` (`bool`): Set the `scm_use_main_ip_restriction` field on the resulting object. When `null`, the `scm_use_main_ip_restriction` field will be omitted from the resulting object.\n - `use_32_bit_worker_process` (`bool`): Set the `use_32_bit_worker_process` field on the resulting object. When `null`, the `use_32_bit_worker_process` field will be omitted from the resulting object.\n - `vnet_route_all_enabled` (`bool`): Set the `vnet_route_all_enabled` field on the resulting object. When `null`, the `vnet_route_all_enabled` field will be omitted from the resulting object.\n - `websockets_enabled` (`bool`): Set the `websockets_enabled` field on the resulting object. When `null`, the `websockets_enabled` field will be omitted from the resulting object.\n - `cors` (`list[obj]`): Set the `cors` field on the resulting object. When `null`, the `cors` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.logic_app_standard.site_config.cors.new](#fn-site_configcorsnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `site_config` sub block.\n', args=[]), new( always_on=null, app_scale_limit=null, @@ -62,6 +62,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); linux_fx_version=null, min_tls_version=null, pre_warmed_instance_count=null, + public_network_access_enabled=null, runtime_scale_monitoring_enabled=null, scm_ip_restriction=null, scm_min_tls_version=null, @@ -83,6 +84,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); linux_fx_version: linux_fx_version, min_tls_version: min_tls_version, pre_warmed_instance_count: pre_warmed_instance_count, + public_network_access_enabled: public_network_access_enabled, runtime_scale_monitoring_enabled: runtime_scale_monitoring_enabled, scm_ip_restriction: scm_ip_restriction, scm_min_tls_version: scm_min_tls_version, diff --git a/3.x/_gen/data/main.libsonnet b/3.x/_gen/data/main.libsonnet index aa506370..a9efd956 100644 --- a/3.x/_gen/data/main.libsonnet +++ b/3.x/_gen/data/main.libsonnet @@ -72,7 +72,10 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); cosmosdb_restorable_database_accounts: (import 'cosmosdb_restorable_database_accounts.libsonnet'), cosmosdb_sql_database: (import 'cosmosdb_sql_database.libsonnet'), cosmosdb_sql_role_definition: (import 'cosmosdb_sql_role_definition.libsonnet'), + dashboard_grafana: (import 'dashboard_grafana.libsonnet'), data_factory: (import 'data_factory.libsonnet'), + data_factory_trigger_schedule: (import 'data_factory_trigger_schedule.libsonnet'), + data_factory_trigger_schedules: (import 'data_factory_trigger_schedules.libsonnet'), data_protection_backup_vault: (import 'data_protection_backup_vault.libsonnet'), data_share: (import 'data_share.libsonnet'), data_share_account: (import 'data_share_account.libsonnet'), @@ -135,6 +138,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); iothub_dps_shared_access_policy: (import 'iothub_dps_shared_access_policy.libsonnet'), iothub_shared_access_policy: (import 'iothub_shared_access_policy.libsonnet'), ip_group: (import 'ip_group.libsonnet'), + ip_groups: (import 'ip_groups.libsonnet'), key_vault: (import 'key_vault.libsonnet'), key_vault_access_policy: (import 'key_vault_access_policy.libsonnet'), key_vault_certificate: (import 'key_vault_certificate.libsonnet'), @@ -144,6 +148,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); key_vault_encrypted_value: (import 'key_vault_encrypted_value.libsonnet'), key_vault_key: (import 'key_vault_key.libsonnet'), key_vault_managed_hardware_security_module: (import 'key_vault_managed_hardware_security_module.libsonnet'), + key_vault_managed_hardware_security_module_role_definition: (import 'key_vault_managed_hardware_security_module_role_definition.libsonnet'), key_vault_secret: (import 'key_vault_secret.libsonnet'), key_vault_secrets: (import 'key_vault_secrets.libsonnet'), kubernetes_cluster: (import 'kubernetes_cluster.libsonnet'), @@ -159,6 +164,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); linux_function_app: (import 'linux_function_app.libsonnet'), linux_web_app: (import 'linux_web_app.libsonnet'), local_network_gateway: (import 'local_network_gateway.libsonnet'), + location: (import 'location.libsonnet'), log_analytics_workspace: (import 'log_analytics_workspace.libsonnet'), logic_app_integration_account: (import 'logic_app_integration_account.libsonnet'), logic_app_standard: (import 'logic_app_standard.libsonnet'), @@ -191,6 +197,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); monitor_log_profile: (import 'monitor_log_profile.libsonnet'), monitor_scheduled_query_rules_alert: (import 'monitor_scheduled_query_rules_alert.libsonnet'), monitor_scheduled_query_rules_log: (import 'monitor_scheduled_query_rules_log.libsonnet'), + monitor_workspace: (import 'monitor_workspace.libsonnet'), mssql_database: (import 'mssql_database.libsonnet'), mssql_elasticpool: (import 'mssql_elasticpool.libsonnet'), mssql_managed_instance: (import 'mssql_managed_instance.libsonnet'), @@ -199,6 +206,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); mysql_server: (import 'mysql_server.libsonnet'), nat_gateway: (import 'nat_gateway.libsonnet'), netapp_account: (import 'netapp_account.libsonnet'), + netapp_account_encryption: (import 'netapp_account_encryption.libsonnet'), netapp_pool: (import 'netapp_pool.libsonnet'), netapp_snapshot: (import 'netapp_snapshot.libsonnet'), netapp_snapshot_policy: (import 'netapp_snapshot_policy.libsonnet'), @@ -207,10 +215,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); netapp_volume_quota_rule: (import 'netapp_volume_quota_rule.libsonnet'), network_ddos_protection_plan: (import 'network_ddos_protection_plan.libsonnet'), network_interface: (import 'network_interface.libsonnet'), + network_manager: (import 'network_manager.libsonnet'), network_manager_network_group: (import 'network_manager_network_group.libsonnet'), network_security_group: (import 'network_security_group.libsonnet'), network_service_tags: (import 'network_service_tags.libsonnet'), network_watcher: (import 'network_watcher.libsonnet'), + nginx_certificate: (import 'nginx_certificate.libsonnet'), + nginx_configuration: (import 'nginx_configuration.libsonnet'), + nginx_deployment: (import 'nginx_deployment.libsonnet'), notification_hub: (import 'notification_hub.libsonnet'), notification_hub_namespace: (import 'notification_hub_namespace.libsonnet'), orchestrated_virtual_machine_scale_set: (import 'orchestrated_virtual_machine_scale_set.libsonnet'), @@ -288,11 +300,13 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); sql_managed_instance: (import 'sql_managed_instance.libsonnet'), sql_server: (import 'sql_server.libsonnet'), ssh_public_key: (import 'ssh_public_key.libsonnet'), + stack_hci_cluster: (import 'stack_hci_cluster.libsonnet'), storage_account: (import 'storage_account.libsonnet'), storage_account_blob_container_sas: (import 'storage_account_blob_container_sas.libsonnet'), storage_account_sas: (import 'storage_account_sas.libsonnet'), storage_blob: (import 'storage_blob.libsonnet'), storage_container: (import 'storage_container.libsonnet'), + storage_containers: (import 'storage_containers.libsonnet'), storage_encryption_scope: (import 'storage_encryption_scope.libsonnet'), storage_management_policy: (import 'storage_management_policy.libsonnet'), storage_share: (import 'storage_share.libsonnet'), @@ -311,6 +325,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); traffic_manager_profile: (import 'traffic_manager_profile.libsonnet'), user_assigned_identity: (import 'user_assigned_identity.libsonnet'), virtual_desktop_host_pool: (import 'virtual_desktop_host_pool.libsonnet'), + virtual_desktop_workspace: (import 'virtual_desktop_workspace.libsonnet'), virtual_hub: (import 'virtual_hub.libsonnet'), virtual_hub_connection: (import 'virtual_hub_connection.libsonnet'), virtual_hub_route_table: (import 'virtual_hub_route_table.libsonnet'), diff --git a/3.x/_gen/data/monitor_workspace.libsonnet b/3.x/_gen/data/monitor_workspace.libsonnet new file mode 100644 index 00000000..944124fb --- /dev/null +++ b/3.x/_gen/data/monitor_workspace.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='monitor_workspace', url='', help='`monitor_workspace` represents the `azurerm_monitor_workspace` 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.monitor_workspace.new` injects a new `data_azurerm_monitor_workspace` 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.monitor_workspace.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.monitor_workspace` using the reference:\n\n $._ref.data_azurerm_monitor_workspace.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_monitor_workspace.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.monitor_workspace.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]), + new( + dataSrcLabel, + name, + resource_group_name, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_monitor_workspace', + label=dataSrcLabel, + attrs=self.newAttrs(name=name, resource_group_name=resource_group_name, timeouts=timeouts), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.monitor_workspace.newAttrs` constructs a new object with attributes and blocks configured for the `monitor_workspace`\nTerraform data source.\n\nUnlike [azurerm.data.monitor_workspace.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.monitor_workspace.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 `monitor_workspace` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + name, + resource_group_name, + timeouts=null + ):: std.prune(a={ + name: name, + resource_group_name: resource_group_name, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.monitor_workspace.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts`\nTerraform sub block.\n\n\n\n**Args**:\n - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `timeouts` sub block.\n', args=[]), + new( + read=null + ):: std.prune(a={ + read: read, + }), + }, + '#withName':: d.fn(help='`azurerm.string.withName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the name field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `name` field.\n', args=[]), + withName(dataSrcLabel, value): { + data+: { + azurerm_monitor_workspace+: { + [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_monitor_workspace+: { + [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_monitor_workspace+: { + [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_monitor_workspace+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/data/netapp_account.libsonnet b/3.x/_gen/data/netapp_account.libsonnet index 719738d9..e08a412f 100644 --- a/3.x/_gen/data/netapp_account.libsonnet +++ b/3.x/_gen/data/netapp_account.libsonnet @@ -2,25 +2,43 @@ 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='netapp_account', url='', help='`netapp_account` represents the `azurerm_netapp_account` 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.netapp_account.new` injects a new `data_azurerm_netapp_account` 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.netapp_account.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.netapp_account` using the reference:\n\n $._ref.data_azurerm_netapp_account.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_netapp_account.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.netapp_account.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=[]), + identity:: { + '#new':: d.fn(help='\n`azurerm.netapp_account.identity.new` constructs a new object with attributes and blocks configured for the `identity`\nTerraform sub block.\n\n\n\n**Args**:\n - `identity_ids` (`list`): Set the `identity_ids` field on the resulting object. When `null`, the `identity_ids` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `identity` sub block.\n', args=[]), + new( + type, + identity_ids=null + ):: std.prune(a={ + identity_ids: identity_ids, + type: type, + }), + }, + '#new':: d.fn(help="\n`azurerm.data.netapp_account.new` injects a new `data_azurerm_netapp_account` 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.netapp_account.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.netapp_account` using the reference:\n\n $._ref.data_azurerm_netapp_account.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_netapp_account.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 - `identity` (`list[obj]`): Set the `identity` field on the resulting data source 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.data.netapp_account.identity.new](#fn-identitynew) constructor.\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.netapp_account.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, + identity=null, timeouts=null, _meta={} ):: tf.withData( type='azurerm_netapp_account', label=dataSrcLabel, - attrs=self.newAttrs(name=name, resource_group_name=resource_group_name, timeouts=timeouts), + attrs=self.newAttrs( + identity=identity, + name=name, + resource_group_name=resource_group_name, + timeouts=timeouts + ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.data.netapp_account.newAttrs` constructs a new object with attributes and blocks configured for the `netapp_account`\nTerraform data source.\n\nUnlike [azurerm.data.netapp_account.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.netapp_account.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 `netapp_account` data source into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.data.netapp_account.newAttrs` constructs a new object with attributes and blocks configured for the `netapp_account`\nTerraform data source.\n\nUnlike [azurerm.data.netapp_account.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 - `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.data.netapp_account.identity.new](#fn-identitynew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.netapp_account.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 `netapp_account` data source into the root Terraform configuration.\n', args=[]), newAttrs( name, resource_group_name, + identity=null, timeouts=null ):: std.prune(a={ + identity: identity, name: name, resource_group_name: resource_group_name, timeouts: timeouts, @@ -33,6 +51,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); read: read, }), }, + '#withIdentity':: d.fn(help='`azurerm.list[obj].withIdentity` constructs a mixin object that can be merged into the `list[obj]`\nTerraform data source block to set or update the identity field.\n\nThis function will replace the array with the passed in `value`. If you wish to instead append the\npassed in value to the existing array, use the [azurerm.list[obj].withIdentityMixin](TODO) function.\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `identity` field.\n', args=[]), + withIdentity(dataSrcLabel, value): { + data+: { + azurerm_netapp_account+: { + [dataSrcLabel]+: { + identity: value, + }, + }, + }, + }, + '#withIdentityMixin':: d.fn(help='`azurerm.list[obj].withIdentityMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform data source block to set or update the identity 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].withIdentity](TODO)\nfunction.\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `identity` field.\n', args=[]), + withIdentityMixin(dataSrcLabel, value): { + data+: { + azurerm_netapp_account+: { + [dataSrcLabel]+: { + identity+: if std.isArray(v=value) then value else [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+: { diff --git a/3.x/_gen/data/netapp_account_encryption.libsonnet b/3.x/_gen/data/netapp_account_encryption.libsonnet new file mode 100644 index 00000000..7bbe1c60 --- /dev/null +++ b/3.x/_gen/data/netapp_account_encryption.libsonnet @@ -0,0 +1,108 @@ +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='netapp_account_encryption', url='', help='`netapp_account_encryption` represents the `azurerm_netapp_account_encryption` 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.netapp_account_encryption.new` injects a new `data_azurerm_netapp_account_encryption` 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.netapp_account_encryption.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.netapp_account_encryption` using the reference:\n\n $._ref.data_azurerm_netapp_account_encryption.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_netapp_account_encryption.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 - `encryption_key` (`string`): The versionless encryption key url. When `null`, the `encryption_key` field will be omitted from the resulting object.\n - `netapp_account_id` (`string`): The ID of the NetApp Account where encryption will be set.\n - `system_assigned_identity_principal_id` (`string`): The Principal ID of the System Assigned Identity to use for encryption. When `null`, the `system_assigned_identity_principal_id` field will be omitted from the resulting object.\n - `user_assigned_identity_id` (`string`): The resource ID of the User Assigned Identity to use for encryption. When `null`, the `user_assigned_identity_id` 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.netapp_account_encryption.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, + netapp_account_id, + encryption_key=null, + system_assigned_identity_principal_id=null, + timeouts=null, + user_assigned_identity_id=null, + _meta={} + ):: tf.withData( + type='azurerm_netapp_account_encryption', + label=dataSrcLabel, + attrs=self.newAttrs( + encryption_key=encryption_key, + netapp_account_id=netapp_account_id, + system_assigned_identity_principal_id=system_assigned_identity_principal_id, + timeouts=timeouts, + user_assigned_identity_id=user_assigned_identity_id + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.netapp_account_encryption.newAttrs` constructs a new object with attributes and blocks configured for the `netapp_account_encryption`\nTerraform data source.\n\nUnlike [azurerm.data.netapp_account_encryption.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 - `encryption_key` (`string`): The versionless encryption key url. When `null`, the `encryption_key` field will be omitted from the resulting object.\n - `netapp_account_id` (`string`): The ID of the NetApp Account where encryption will be set.\n - `system_assigned_identity_principal_id` (`string`): The Principal ID of the System Assigned Identity to use for encryption. When `null`, the `system_assigned_identity_principal_id` field will be omitted from the resulting object.\n - `user_assigned_identity_id` (`string`): The resource ID of the User Assigned Identity to use for encryption. When `null`, the `user_assigned_identity_id` 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.netapp_account_encryption.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 `netapp_account_encryption` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + netapp_account_id, + encryption_key=null, + system_assigned_identity_principal_id=null, + timeouts=null, + user_assigned_identity_id=null + ):: std.prune(a={ + encryption_key: encryption_key, + netapp_account_id: netapp_account_id, + system_assigned_identity_principal_id: system_assigned_identity_principal_id, + timeouts: timeouts, + user_assigned_identity_id: user_assigned_identity_id, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.netapp_account_encryption.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, + }), + }, + '#withEncryptionKey':: d.fn(help='`azurerm.string.withEncryptionKey` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the encryption_key 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 `encryption_key` field.\n', args=[]), + withEncryptionKey(dataSrcLabel, value): { + data+: { + azurerm_netapp_account_encryption+: { + [dataSrcLabel]+: { + encryption_key: value, + }, + }, + }, + }, + '#withNetappAccountId':: d.fn(help='`azurerm.string.withNetappAccountId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the netapp_account_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 `netapp_account_id` field.\n', args=[]), + withNetappAccountId(dataSrcLabel, value): { + data+: { + azurerm_netapp_account_encryption+: { + [dataSrcLabel]+: { + netapp_account_id: value, + }, + }, + }, + }, + '#withSystemAssignedIdentityPrincipalId':: d.fn(help='`azurerm.string.withSystemAssignedIdentityPrincipalId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the system_assigned_identity_principal_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 `system_assigned_identity_principal_id` field.\n', args=[]), + withSystemAssignedIdentityPrincipalId(dataSrcLabel, value): { + data+: { + azurerm_netapp_account_encryption+: { + [dataSrcLabel]+: { + system_assigned_identity_principal_id: value, + }, + }, + }, + }, + '#withTimeouts':: d.fn(help='`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform data source block to set or update the timeouts field.\n\nThis function will replace the map with the passed in `value`. If you wish to instead merge the\npassed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(dataSrcLabel, value): { + data+: { + azurerm_netapp_account_encryption+: { + [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_netapp_account_encryption+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, + '#withUserAssignedIdentityId':: d.fn(help='`azurerm.string.withUserAssignedIdentityId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the user_assigned_identity_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 `user_assigned_identity_id` field.\n', args=[]), + withUserAssignedIdentityId(dataSrcLabel, value): { + data+: { + azurerm_netapp_account_encryption+: { + [dataSrcLabel]+: { + user_assigned_identity_id: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/data/network_ddos_protection_plan.libsonnet b/3.x/_gen/data/network_ddos_protection_plan.libsonnet index 15d52363..d34faa3e 100644 --- a/3.x/_gen/data/network_ddos_protection_plan.libsonnet +++ b/3.x/_gen/data/network_ddos_protection_plan.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='network_ddos_protection_plan', url='', help='`network_ddos_protection_plan` represents the `azurerm_network_ddos_protection_plan` Terraform data source.\n\n\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'), - '#new':: d.fn(help="\n`azurerm.data.network_ddos_protection_plan.new` injects a new `data_azurerm_network_ddos_protection_plan` Terraform `data source`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.data.network_ddos_protection_plan.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.network_ddos_protection_plan` using the reference:\n\n $._ref.data_azurerm_network_ddos_protection_plan.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_network_ddos_protection_plan.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.network_ddos_protection_plan.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.network_ddos_protection_plan.new` injects a new `data_azurerm_network_ddos_protection_plan` Terraform `data source`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.data.network_ddos_protection_plan.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.network_ddos_protection_plan` using the reference:\n\n $._ref.data_azurerm_network_ddos_protection_plan.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_network_ddos_protection_plan.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.network_ddos_protection_plan.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_network_ddos_protection_plan', 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.network_ddos_protection_plan.newAttrs` constructs a new object with attributes and blocks configured for the `network_ddos_protection_plan`\nTerraform data source.\n\nUnlike [azurerm.data.network_ddos_protection_plan.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.network_ddos_protection_plan.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `network_ddos_protection_plan` data source into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.data.network_ddos_protection_plan.newAttrs` constructs a new object with attributes and blocks configured for the `network_ddos_protection_plan`\nTerraform data source.\n\nUnlike [azurerm.data.network_ddos_protection_plan.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.network_ddos_protection_plan.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `network_ddos_protection_plan` 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_network_ddos_protection_plan+: { - [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/network_manager.libsonnet b/3.x/_gen/data/network_manager.libsonnet new file mode 100644 index 00000000..307f824f --- /dev/null +++ b/3.x/_gen/data/network_manager.libsonnet @@ -0,0 +1,76 @@ +local tf = (import 'github.com/tf-libsonnet/core/main.libsonnet'); +local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); +{ + '#':: d.pkg(name='network_manager', url='', help='`network_manager` represents the `azurerm_network_manager` Terraform data source.\n\n\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'), + '#new':: d.fn(help="\n`azurerm.data.network_manager.new` injects a new `data_azurerm_network_manager` Terraform `data source`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.data.network_manager.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.network_manager` using the reference:\n\n $._ref.data_azurerm_network_manager.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_network_manager.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.network_manager.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]), + new( + dataSrcLabel, + name, + resource_group_name, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_network_manager', + label=dataSrcLabel, + attrs=self.newAttrs(name=name, resource_group_name=resource_group_name, timeouts=timeouts), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.network_manager.newAttrs` constructs a new object with attributes and blocks configured for the `network_manager`\nTerraform data source.\n\nUnlike [azurerm.data.network_manager.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.network_manager.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `network_manager` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + name, + resource_group_name, + timeouts=null + ):: std.prune(a={ + name: name, + resource_group_name: resource_group_name, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.network_manager.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts`\nTerraform sub block.\n\n\n\n**Args**:\n - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `timeouts` sub block.\n', args=[]), + new( + read=null + ):: std.prune(a={ + read: read, + }), + }, + '#withName':: d.fn(help='`azurerm.string.withName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the name field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `name` field.\n', args=[]), + withName(dataSrcLabel, value): { + data+: { + azurerm_network_manager+: { + [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_network_manager+: { + [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_network_manager+: { + [dataSrcLabel]+: { + timeouts: value, + }, + }, + }, + }, + '#withTimeoutsMixin':: d.fn(help='`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj`\nTerraform data source block to set or update the timeouts field.\n\nThis function will merge the passed in value to the existing map. If you wish\nto instead replace the entire map with the passed in `value`, use the [azurerm.obj.withTimeouts](TODO)\nfunction.\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeoutsMixin(dataSrcLabel, value): { + data+: { + azurerm_network_manager+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/data/nginx_certificate.libsonnet b/3.x/_gen/data/nginx_certificate.libsonnet new file mode 100644 index 00000000..e988722e --- /dev/null +++ b/3.x/_gen/data/nginx_certificate.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='nginx_certificate', url='', help='`nginx_certificate` represents the `azurerm_nginx_certificate` 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.nginx_certificate.new` injects a new `data_azurerm_nginx_certificate` 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.nginx_certificate.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.nginx_certificate` using the reference:\n\n $._ref.data_azurerm_nginx_certificate.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_nginx_certificate.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 - `nginx_deployment_id` (`string`): Set the `nginx_deployment_id` field on the resulting data source block.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.nginx_certificate.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, + nginx_deployment_id, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_nginx_certificate', + label=dataSrcLabel, + attrs=self.newAttrs(name=name, nginx_deployment_id=nginx_deployment_id, timeouts=timeouts), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.nginx_certificate.newAttrs` constructs a new object with attributes and blocks configured for the `nginx_certificate`\nTerraform data source.\n\nUnlike [azurerm.data.nginx_certificate.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 - `nginx_deployment_id` (`string`): Set the `nginx_deployment_id` field on the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.nginx_certificate.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 `nginx_certificate` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + name, + nginx_deployment_id, + timeouts=null + ):: std.prune(a={ + name: name, + nginx_deployment_id: nginx_deployment_id, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.nginx_certificate.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts`\nTerraform sub block.\n\n\n\n**Args**:\n - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `timeouts` sub block.\n', args=[]), + new( + read=null + ):: std.prune(a={ + read: read, + }), + }, + '#withName':: d.fn(help='`azurerm.string.withName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the name field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `name` field.\n', args=[]), + withName(dataSrcLabel, value): { + data+: { + azurerm_nginx_certificate+: { + [dataSrcLabel]+: { + name: value, + }, + }, + }, + }, + '#withNginxDeploymentId':: d.fn(help='`azurerm.string.withNginxDeploymentId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the nginx_deployment_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 `nginx_deployment_id` field.\n', args=[]), + withNginxDeploymentId(dataSrcLabel, value): { + data+: { + azurerm_nginx_certificate+: { + [dataSrcLabel]+: { + nginx_deployment_id: value, + }, + }, + }, + }, + '#withTimeouts':: d.fn(help='`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform data source block to set or update the timeouts field.\n\nThis function will replace the map with the passed in `value`. If you wish to instead merge the\npassed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(dataSrcLabel, value): { + data+: { + azurerm_nginx_certificate+: { + [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_nginx_certificate+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/data/nginx_configuration.libsonnet b/3.x/_gen/data/nginx_configuration.libsonnet new file mode 100644 index 00000000..379e3435 --- /dev/null +++ b/3.x/_gen/data/nginx_configuration.libsonnet @@ -0,0 +1,63 @@ +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='nginx_configuration', url='', help='`nginx_configuration` represents the `azurerm_nginx_configuration` 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.nginx_configuration.new` injects a new `data_azurerm_nginx_configuration` 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.nginx_configuration.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.nginx_configuration` using the reference:\n\n $._ref.data_azurerm_nginx_configuration.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_nginx_configuration.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block.\n - `nginx_deployment_id` (`string`): Set the `nginx_deployment_id` field on the resulting data source block.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.nginx_configuration.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, + nginx_deployment_id, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_nginx_configuration', + label=dataSrcLabel, + attrs=self.newAttrs(nginx_deployment_id=nginx_deployment_id, timeouts=timeouts), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.nginx_configuration.newAttrs` constructs a new object with attributes and blocks configured for the `nginx_configuration`\nTerraform data source.\n\nUnlike [azurerm.data.nginx_configuration.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 - `nginx_deployment_id` (`string`): Set the `nginx_deployment_id` field on the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.nginx_configuration.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 `nginx_configuration` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + nginx_deployment_id, + timeouts=null + ):: std.prune(a={ + nginx_deployment_id: nginx_deployment_id, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.nginx_configuration.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, + }), + }, + '#withNginxDeploymentId':: d.fn(help='`azurerm.string.withNginxDeploymentId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the nginx_deployment_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 `nginx_deployment_id` field.\n', args=[]), + withNginxDeploymentId(dataSrcLabel, value): { + data+: { + azurerm_nginx_configuration+: { + [dataSrcLabel]+: { + nginx_deployment_id: value, + }, + }, + }, + }, + '#withTimeouts':: d.fn(help='`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform data source block to set or update the timeouts field.\n\nThis function will replace the map with the passed in `value`. If you wish to instead merge the\npassed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(dataSrcLabel, value): { + data+: { + azurerm_nginx_configuration+: { + [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_nginx_configuration+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/data/nginx_deployment.libsonnet b/3.x/_gen/data/nginx_deployment.libsonnet new file mode 100644 index 00000000..13b6ebb8 --- /dev/null +++ b/3.x/_gen/data/nginx_deployment.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='nginx_deployment', url='', help='`nginx_deployment` represents the `azurerm_nginx_deployment` 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.nginx_deployment.new` injects a new `data_azurerm_nginx_deployment` 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.nginx_deployment.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.nginx_deployment` using the reference:\n\n $._ref.data_azurerm_nginx_deployment.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_nginx_deployment.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.nginx_deployment.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]), + new( + dataSrcLabel, + name, + resource_group_name, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_nginx_deployment', + label=dataSrcLabel, + attrs=self.newAttrs(name=name, resource_group_name=resource_group_name, timeouts=timeouts), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.nginx_deployment.newAttrs` constructs a new object with attributes and blocks configured for the `nginx_deployment`\nTerraform data source.\n\nUnlike [azurerm.data.nginx_deployment.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.nginx_deployment.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 `nginx_deployment` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + name, + resource_group_name, + timeouts=null + ):: std.prune(a={ + name: name, + resource_group_name: resource_group_name, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.nginx_deployment.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts`\nTerraform sub block.\n\n\n\n**Args**:\n - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `timeouts` sub block.\n', args=[]), + new( + read=null + ):: std.prune(a={ + read: read, + }), + }, + '#withName':: d.fn(help='`azurerm.string.withName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the name field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `name` field.\n', args=[]), + withName(dataSrcLabel, value): { + data+: { + azurerm_nginx_deployment+: { + [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_nginx_deployment+: { + [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_nginx_deployment+: { + [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_nginx_deployment+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/data/stack_hci_cluster.libsonnet b/3.x/_gen/data/stack_hci_cluster.libsonnet new file mode 100644 index 00000000..b856aeb4 --- /dev/null +++ b/3.x/_gen/data/stack_hci_cluster.libsonnet @@ -0,0 +1,76 @@ +local tf = (import 'github.com/tf-libsonnet/core/main.libsonnet'); +local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); +{ + '#':: d.pkg(name='stack_hci_cluster', url='', help='`stack_hci_cluster` represents the `azurerm_stack_hci_cluster` Terraform data source.\n\n\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'), + '#new':: d.fn(help="\n`azurerm.data.stack_hci_cluster.new` injects a new `data_azurerm_stack_hci_cluster` Terraform `data source`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.data.stack_hci_cluster.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.stack_hci_cluster` using the reference:\n\n $._ref.data_azurerm_stack_hci_cluster.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_stack_hci_cluster.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block.\n - `name` (`string`): Set the `name` field on the resulting data source block.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting data source block.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.stack_hci_cluster.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]), + new( + dataSrcLabel, + name, + resource_group_name, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_stack_hci_cluster', + label=dataSrcLabel, + attrs=self.newAttrs(name=name, resource_group_name=resource_group_name, timeouts=timeouts), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.stack_hci_cluster.newAttrs` constructs a new object with attributes and blocks configured for the `stack_hci_cluster`\nTerraform data source.\n\nUnlike [azurerm.data.stack_hci_cluster.new](#fn-new), this function will not inject the `data source`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `name` (`string`): Set the `name` field on the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.stack_hci_cluster.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `stack_hci_cluster` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + name, + resource_group_name, + timeouts=null + ):: std.prune(a={ + name: name, + resource_group_name: resource_group_name, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.stack_hci_cluster.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts`\nTerraform sub block.\n\n\n\n**Args**:\n - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `timeouts` sub block.\n', args=[]), + new( + read=null + ):: std.prune(a={ + read: read, + }), + }, + '#withName':: d.fn(help='`azurerm.string.withName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the name field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `name` field.\n', args=[]), + withName(dataSrcLabel, value): { + data+: { + azurerm_stack_hci_cluster+: { + [dataSrcLabel]+: { + name: value, + }, + }, + }, + }, + '#withResourceGroupName':: d.fn(help='`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the resource_group_name field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `resource_group_name` field.\n', args=[]), + withResourceGroupName(dataSrcLabel, value): { + data+: { + azurerm_stack_hci_cluster+: { + [dataSrcLabel]+: { + resource_group_name: value, + }, + }, + }, + }, + '#withTimeouts':: d.fn(help='`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform data source block to set or update the timeouts field.\n\nThis function will replace the map with the passed in `value`. If you wish to instead merge the\npassed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(dataSrcLabel, value): { + data+: { + azurerm_stack_hci_cluster+: { + [dataSrcLabel]+: { + timeouts: value, + }, + }, + }, + }, + '#withTimeoutsMixin':: d.fn(help='`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj`\nTerraform data source block to set or update the timeouts field.\n\nThis function will merge the passed in value to the existing map. If you wish\nto instead replace the entire map with the passed in `value`, use the [azurerm.obj.withTimeouts](TODO)\nfunction.\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeoutsMixin(dataSrcLabel, value): { + data+: { + azurerm_stack_hci_cluster+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/data/storage_containers.libsonnet b/3.x/_gen/data/storage_containers.libsonnet new file mode 100644 index 00000000..b9b0dbf7 --- /dev/null +++ b/3.x/_gen/data/storage_containers.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='storage_containers', url='', help='`storage_containers` represents the `azurerm_storage_containers` 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.storage_containers.new` injects a new `data_azurerm_storage_containers` 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.storage_containers.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.storage_containers` using the reference:\n\n $._ref.data_azurerm_storage_containers.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_storage_containers.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_prefix` (`string`): Set the `name_prefix` field on the resulting data source block. When `null`, the `name_prefix` field will be omitted from the resulting object.\n - `storage_account_id` (`string`): Set the `storage_account_id` field on the resulting data source block.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.storage_containers.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, + storage_account_id, + name_prefix=null, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_storage_containers', + label=dataSrcLabel, + attrs=self.newAttrs(name_prefix=name_prefix, storage_account_id=storage_account_id, timeouts=timeouts), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.storage_containers.newAttrs` constructs a new object with attributes and blocks configured for the `storage_containers`\nTerraform data source.\n\nUnlike [azurerm.data.storage_containers.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_prefix` (`string`): Set the `name_prefix` field on the resulting object. When `null`, the `name_prefix` field will be omitted from the resulting object.\n - `storage_account_id` (`string`): Set the `storage_account_id` field on the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.storage_containers.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 `storage_containers` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + storage_account_id, + name_prefix=null, + timeouts=null + ):: std.prune(a={ + name_prefix: name_prefix, + storage_account_id: storage_account_id, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.storage_containers.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, + }), + }, + '#withNamePrefix':: d.fn(help='`azurerm.string.withNamePrefix` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the name_prefix 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_prefix` field.\n', args=[]), + withNamePrefix(dataSrcLabel, value): { + data+: { + azurerm_storage_containers+: { + [dataSrcLabel]+: { + name_prefix: value, + }, + }, + }, + }, + '#withStorageAccountId':: d.fn(help='`azurerm.string.withStorageAccountId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the storage_account_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 `storage_account_id` field.\n', args=[]), + withStorageAccountId(dataSrcLabel, value): { + data+: { + azurerm_storage_containers+: { + [dataSrcLabel]+: { + storage_account_id: value, + }, + }, + }, + }, + '#withTimeouts':: d.fn(help='`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform data source block to set or update the timeouts field.\n\nThis function will replace the map with the passed in `value`. If you wish to instead merge the\npassed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(dataSrcLabel, value): { + data+: { + azurerm_storage_containers+: { + [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_storage_containers+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/data/virtual_desktop_workspace.libsonnet b/3.x/_gen/data/virtual_desktop_workspace.libsonnet new file mode 100644 index 00000000..10282903 --- /dev/null +++ b/3.x/_gen/data/virtual_desktop_workspace.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='virtual_desktop_workspace', url='', help='`virtual_desktop_workspace` represents the `azurerm_virtual_desktop_workspace` 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.virtual_desktop_workspace.new` injects a new `data_azurerm_virtual_desktop_workspace` 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.virtual_desktop_workspace.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data.virtual_desktop_workspace` using the reference:\n\n $._ref.data_azurerm_virtual_desktop_workspace.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azurerm_virtual_desktop_workspace.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.virtual_desktop_workspace.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]), + new( + dataSrcLabel, + name, + resource_group_name, + timeouts=null, + _meta={} + ):: tf.withData( + type='azurerm_virtual_desktop_workspace', + label=dataSrcLabel, + attrs=self.newAttrs(name=name, resource_group_name=resource_group_name, timeouts=timeouts), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data.virtual_desktop_workspace.newAttrs` constructs a new object with attributes and blocks configured for the `virtual_desktop_workspace`\nTerraform data source.\n\nUnlike [azurerm.data.virtual_desktop_workspace.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.virtual_desktop_workspace.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 `virtual_desktop_workspace` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + name, + resource_group_name, + timeouts=null + ):: std.prune(a={ + name: name, + resource_group_name: resource_group_name, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.virtual_desktop_workspace.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts`\nTerraform sub block.\n\n\n\n**Args**:\n - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `timeouts` sub block.\n', args=[]), + new( + read=null + ):: std.prune(a={ + read: read, + }), + }, + '#withName':: d.fn(help='`azurerm.string.withName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the name field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `name` field.\n', args=[]), + withName(dataSrcLabel, value): { + data+: { + azurerm_virtual_desktop_workspace+: { + [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_virtual_desktop_workspace+: { + [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_virtual_desktop_workspace+: { + [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_virtual_desktop_workspace+: { + [dataSrcLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/main.libsonnet b/3.x/_gen/main.libsonnet index 4c6712b9..5463d3a2 100644 --- a/3.x/_gen/main.libsonnet +++ b/3.x/_gen/main.libsonnet @@ -89,6 +89,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); application_insights_workbook_template: (import 'resources/application_insights_workbook_template.libsonnet'), application_load_balancer: (import 'resources/application_load_balancer.libsonnet'), application_load_balancer_frontend: (import 'resources/application_load_balancer_frontend.libsonnet'), + application_load_balancer_subnet_association: (import 'resources/application_load_balancer_subnet_association.libsonnet'), application_security_group: (import 'resources/application_security_group.libsonnet'), arc_kubernetes_cluster: (import 'resources/arc_kubernetes_cluster.libsonnet'), arc_kubernetes_cluster_extension: (import 'resources/arc_kubernetes_cluster_extension.libsonnet'), @@ -112,6 +113,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); automation_hybrid_runbook_worker_group: (import 'resources/automation_hybrid_runbook_worker_group.libsonnet'), automation_job_schedule: (import 'resources/automation_job_schedule.libsonnet'), automation_module: (import 'resources/automation_module.libsonnet'), + automation_powershell72_module: (import 'resources/automation_powershell72_module.libsonnet'), automation_python3_package: (import 'resources/automation_python3_package.libsonnet'), automation_runbook: (import 'resources/automation_runbook.libsonnet'), automation_schedule: (import 'resources/automation_schedule.libsonnet'), @@ -171,6 +173,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); cdn_frontdoor_secret: (import 'resources/cdn_frontdoor_secret.libsonnet'), cdn_frontdoor_security_policy: (import 'resources/cdn_frontdoor_security_policy.libsonnet'), cdn_profile: (import 'resources/cdn_profile.libsonnet'), + chaos_studio_target: (import 'resources/chaos_studio_target.libsonnet'), cognitive_account: (import 'resources/cognitive_account.libsonnet'), cognitive_account_customer_managed_key: (import 'resources/cognitive_account_customer_managed_key.libsonnet'), cognitive_deployment: (import 'resources/cognitive_deployment.libsonnet'), @@ -227,6 +230,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); dashboard: (import 'resources/dashboard.libsonnet'), dashboard_grafana: (import 'resources/dashboard_grafana.libsonnet'), data_factory: (import 'resources/data_factory.libsonnet'), + data_factory_credential_user_managed_identity: (import 'resources/data_factory_credential_user_managed_identity.libsonnet'), data_factory_custom_dataset: (import 'resources/data_factory_custom_dataset.libsonnet'), data_factory_data_flow: (import 'resources/data_factory_data_flow.libsonnet'), data_factory_dataset_azure_blob: (import 'resources/data_factory_dataset_azure_blob.libsonnet'), @@ -334,6 +338,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); dns_txt_record: (import 'resources/dns_txt_record.libsonnet'), dns_zone: (import 'resources/dns_zone.libsonnet'), elastic_cloud_elasticsearch: (import 'resources/elastic_cloud_elasticsearch.libsonnet'), + elastic_san: (import 'resources/elastic_san.libsonnet'), + elastic_san_volume_group: (import 'resources/elastic_san_volume_group.libsonnet'), email_communication_service: (import 'resources/email_communication_service.libsonnet'), eventgrid_domain: (import 'resources/eventgrid_domain.libsonnet'), eventgrid_domain_topic: (import 'resources/eventgrid_domain_topic.libsonnet'), @@ -436,6 +442,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); key_vault_certificate_issuer: (import 'resources/key_vault_certificate_issuer.libsonnet'), key_vault_key: (import 'resources/key_vault_key.libsonnet'), key_vault_managed_hardware_security_module: (import 'resources/key_vault_managed_hardware_security_module.libsonnet'), + key_vault_managed_hardware_security_module_role_assignment: (import 'resources/key_vault_managed_hardware_security_module_role_assignment.libsonnet'), + key_vault_managed_hardware_security_module_role_definition: (import 'resources/key_vault_managed_hardware_security_module_role_definition.libsonnet'), key_vault_managed_storage_account: (import 'resources/key_vault_managed_storage_account.libsonnet'), key_vault_managed_storage_account_sas_token_definition: (import 'resources/key_vault_managed_storage_account_sas_token_definition.libsonnet'), key_vault_secret: (import 'resources/key_vault_secret.libsonnet'), @@ -444,6 +452,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.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_fleet_update_strategy: (import 'resources/kubernetes_fleet_update_strategy.libsonnet'), kubernetes_flux_configuration: (import 'resources/kubernetes_flux_configuration.libsonnet'), kusto_attached_database_configuration: (import 'resources/kusto_attached_database_configuration.libsonnet'), kusto_cluster: (import 'resources/kusto_cluster.libsonnet'), @@ -492,6 +501,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); log_analytics_solution: (import 'resources/log_analytics_solution.libsonnet'), log_analytics_storage_insights: (import 'resources/log_analytics_storage_insights.libsonnet'), log_analytics_workspace: (import 'resources/log_analytics_workspace.libsonnet'), + log_analytics_workspace_table: (import 'resources/log_analytics_workspace_table.libsonnet'), logic_app_action_custom: (import 'resources/logic_app_action_custom.libsonnet'), logic_app_action_http: (import 'resources/logic_app_action_http.libsonnet'), logic_app_integration_account: (import 'resources/logic_app_integration_account.libsonnet'), @@ -633,6 +643,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); nat_gateway_public_ip_association: (import 'resources/nat_gateway_public_ip_association.libsonnet'), nat_gateway_public_ip_prefix_association: (import 'resources/nat_gateway_public_ip_prefix_association.libsonnet'), netapp_account: (import 'resources/netapp_account.libsonnet'), + netapp_account_encryption: (import 'resources/netapp_account_encryption.libsonnet'), netapp_pool: (import 'resources/netapp_pool.libsonnet'), netapp_snapshot: (import 'resources/netapp_snapshot.libsonnet'), netapp_snapshot_policy: (import 'resources/netapp_snapshot_policy.libsonnet'), @@ -735,6 +746,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); purview_account: (import 'resources/purview_account.libsonnet'), recovery_services_vault: (import 'resources/recovery_services_vault.libsonnet'), recovery_services_vault_resource_guard_association: (import 'resources/recovery_services_vault_resource_guard_association.libsonnet'), + redhat_openshift_cluster: (import 'resources/redhat_openshift_cluster.libsonnet'), redis_cache: (import 'resources/redis_cache.libsonnet'), redis_enterprise_cluster: (import 'resources/redis_enterprise_cluster.libsonnet'), redis_enterprise_database: (import 'resources/redis_enterprise_database.libsonnet'), @@ -776,6 +788,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); security_center_contact: (import 'resources/security_center_contact.libsonnet'), security_center_server_vulnerability_assessment: (import 'resources/security_center_server_vulnerability_assessment.libsonnet'), security_center_server_vulnerability_assessment_virtual_machine: (import 'resources/security_center_server_vulnerability_assessment_virtual_machine.libsonnet'), + security_center_server_vulnerability_assessments_setting: (import 'resources/security_center_server_vulnerability_assessments_setting.libsonnet'), security_center_setting: (import 'resources/security_center_setting.libsonnet'), security_center_storage_defender: (import 'resources/security_center_storage_defender.libsonnet'), security_center_subscription_pricing: (import 'resources/security_center_subscription_pricing.libsonnet'), @@ -844,6 +857,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); site_recovery_replication_policy: (import 'resources/site_recovery_replication_policy.libsonnet'), site_recovery_replication_recovery_plan: (import 'resources/site_recovery_replication_recovery_plan.libsonnet'), site_recovery_services_vault_hyperv_site: (import 'resources/site_recovery_services_vault_hyperv_site.libsonnet'), + site_recovery_vmware_replicated_vm: (import 'resources/site_recovery_vmware_replicated_vm.libsonnet'), site_recovery_vmware_replication_policy: (import 'resources/site_recovery_vmware_replication_policy.libsonnet'), site_recovery_vmware_replication_policy_association: (import 'resources/site_recovery_vmware_replication_policy_association.libsonnet'), snapshot: (import 'resources/snapshot.libsonnet'), @@ -869,10 +883,13 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); spring_cloud_custom_domain: (import 'resources/spring_cloud_custom_domain.libsonnet'), spring_cloud_customized_accelerator: (import 'resources/spring_cloud_customized_accelerator.libsonnet'), spring_cloud_dev_tool_portal: (import 'resources/spring_cloud_dev_tool_portal.libsonnet'), + spring_cloud_dynatrace_application_performance_monitoring: (import 'resources/spring_cloud_dynatrace_application_performance_monitoring.libsonnet'), + spring_cloud_elastic_application_performance_monitoring: (import 'resources/spring_cloud_elastic_application_performance_monitoring.libsonnet'), spring_cloud_gateway: (import 'resources/spring_cloud_gateway.libsonnet'), spring_cloud_gateway_custom_domain: (import 'resources/spring_cloud_gateway_custom_domain.libsonnet'), spring_cloud_gateway_route_config: (import 'resources/spring_cloud_gateway_route_config.libsonnet'), spring_cloud_java_deployment: (import 'resources/spring_cloud_java_deployment.libsonnet'), + spring_cloud_new_relic_application_performance_monitoring: (import 'resources/spring_cloud_new_relic_application_performance_monitoring.libsonnet'), spring_cloud_service: (import 'resources/spring_cloud_service.libsonnet'), spring_cloud_storage: (import 'resources/spring_cloud_storage.libsonnet'), sql_active_directory_administrator: (import 'resources/sql_active_directory_administrator.libsonnet'), @@ -1001,6 +1018,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); virtual_machine_data_disk_attachment: (import 'resources/virtual_machine_data_disk_attachment.libsonnet'), virtual_machine_extension: (import 'resources/virtual_machine_extension.libsonnet'), virtual_machine_packet_capture: (import 'resources/virtual_machine_packet_capture.libsonnet'), + virtual_machine_run_command: (import 'resources/virtual_machine_run_command.libsonnet'), virtual_machine_scale_set: (import 'resources/virtual_machine_scale_set.libsonnet'), virtual_machine_scale_set_extension: (import 'resources/virtual_machine_scale_set_extension.libsonnet'), virtual_machine_scale_set_packet_capture: (import 'resources/virtual_machine_scale_set_packet_capture.libsonnet'), diff --git a/3.x/_gen/provider_azurerm.libsonnet b/3.x/_gen/provider_azurerm.libsonnet index 768aaa9d..383e4a52 100644 --- a/3.x/_gen/provider_azurerm.libsonnet +++ b/3.x/_gen/provider_azurerm.libsonnet @@ -2,7 +2,7 @@ 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='provider', url='', help='`provider` represents the `azurerm` Terraform provider config.\n\n\n\nThis package contains functions and utilities for setting up the provider using Jsonnet code.\n'), - '#new':: d.fn(help='\n`azurerm.provider.new` injects a new `azurerm` Terraform `provider`\nblock into the root module document.\n\nOptionally, this inserts the provider into the\n[required_providers](https://developer.hashicorp.com/terraform/language/providers/requirements) `terraform` sub block if\nthe `src` and/or `version` parameters are set.\n\n**Args**:\n - `auxiliary_tenant_ids` (`list`): Set the `auxiliary_tenant_ids` field on the resulting provider block. When `null`, the `auxiliary_tenant_ids` field will be omitted from the resulting object.\n - `client_certificate` (`string`): Base64 encoded PKCS#12 certificate bundle to use when authenticating as a Service Principal using a Client Certificate When `null`, the `client_certificate` field will be omitted from the resulting object.\n - `client_certificate_password` (`string`): The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate When `null`, the `client_certificate_password` field will be omitted from the resulting object.\n - `client_certificate_path` (`string`): The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate. When `null`, the `client_certificate_path` field will be omitted from the resulting object.\n - `client_id` (`string`): The Client ID which should be used. When `null`, the `client_id` field will be omitted from the resulting object.\n - `client_id_file_path` (`string`): The path to a file containing the Client ID which should be used. When `null`, the `client_id_file_path` field will be omitted from the resulting object.\n - `client_secret` (`string`): The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret. When `null`, the `client_secret` field will be omitted from the resulting object.\n - `client_secret_file_path` (`string`): The path to a file containing the Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret. When `null`, the `client_secret_file_path` field will be omitted from the resulting object.\n - `disable_correlation_request_id` (`bool`): This will disable the x-ms-correlation-request-id header. When `null`, the `disable_correlation_request_id` field will be omitted from the resulting object.\n - `disable_terraform_partner_id` (`bool`): This will disable the Terraform Partner ID which is used if a custom `partner_id` isn't specified. When `null`, the `disable_terraform_partner_id` field will be omitted from the resulting object.\n - `environment` (`string`): The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public. When `null`, the `environment` field will be omitted from the resulting object.\n - `metadata_host` (`string`): The Hostname which should be used for the Azure Metadata Service. When `null`, the `metadata_host` field will be omitted from the resulting object.\n - `msi_endpoint` (`string`): The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically. When `null`, the `msi_endpoint` field will be omitted from the resulting object.\n - `oidc_request_token` (`string`): The bearer token for the request to the OIDC provider. For use when authenticating as a Service Principal using OpenID Connect. When `null`, the `oidc_request_token` field will be omitted from the resulting object.\n - `oidc_request_url` (`string`): The URL for the OIDC provider from which to request an ID token. For use when authenticating as a Service Principal using OpenID Connect. When `null`, the `oidc_request_url` field will be omitted from the resulting object.\n - `oidc_token` (`string`): The OIDC ID token for use when authenticating as a Service Principal using OpenID Connect. When `null`, the `oidc_token` field will be omitted from the resulting object.\n - `oidc_token_file_path` (`string`): The path to a file containing an OIDC ID token for use when authenticating as a Service Principal using OpenID Connect. When `null`, the `oidc_token_file_path` field will be omitted from the resulting object.\n - `partner_id` (`string`): A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution. When `null`, the `partner_id` field will be omitted from the resulting object.\n - `skip_provider_registration` (`bool`): Should the AzureRM Provider skip registering all of the Resource Providers that it supports, if they're not already registered? When `null`, the `skip_provider_registration` field will be omitted from the resulting object.\n - `storage_use_azuread` (`bool`): Should the AzureRM Provider use AzureAD to access the Storage Data Plane API's? When `null`, the `storage_use_azuread` field will be omitted from the resulting object.\n - `subscription_id` (`string`): The Subscription ID which should be used. When `null`, the `subscription_id` field will be omitted from the resulting object.\n - `tenant_id` (`string`): The Tenant ID which should be used. When `null`, the `tenant_id` field will be omitted from the resulting object.\n - `use_cli` (`bool`): Allow Azure CLI to be used for Authentication. When `null`, the `use_cli` field will be omitted from the resulting object.\n - `use_msi` (`bool`): Allow Managed Service Identity to be used for Authentication. When `null`, the `use_msi` field will be omitted from the resulting object.\n - `use_oidc` (`bool`): Allow OpenID Connect to be used for authentication When `null`, the `use_oidc` field will be omitted from the resulting object.\n - `features` (`list[obj]`): Set the `features` field on the resulting provider block. When `null`, the `features` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.provider.features.new](#fn-azurermfeaturesnew) constructor.\n - `alias` (`string`): The provider `alias` to set for this instance of the provider block. When `null`, the `alias`\n field will be omitted from the resulting provider block.\n - `src` (`string`): The provider `source` to set on the resulting `required_providers` block. If `src` or `version` is\n set and is not `null`, a `required_providers` block and entry for the provider will be injected into the document.\n - `version` (`string`): The provider `version` to set on the resulting `required_providers` block. If `src` or\n `version` is set and is not `null`, a `required_providers` block and entry for the provider will be injected into the\n document.\n\n\n**Returns**:\n- A mixin object that injects the new provider (and optionally, `required_providers` block) into the root Terraform configuration.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.provider.new` injects a new `azurerm` Terraform `provider`\nblock into the root module document.\n\nOptionally, this inserts the provider into the\n[required_providers](https://developer.hashicorp.com/terraform/language/providers/requirements) `terraform` sub block if\nthe `src` and/or `version` parameters are set.\n\n**Args**:\n - `auxiliary_tenant_ids` (`list`): Set the `auxiliary_tenant_ids` field on the resulting provider block. When `null`, the `auxiliary_tenant_ids` field will be omitted from the resulting object.\n - `client_certificate` (`string`): Base64 encoded PKCS#12 certificate bundle to use when authenticating as a Service Principal using a Client Certificate When `null`, the `client_certificate` field will be omitted from the resulting object.\n - `client_certificate_password` (`string`): The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate When `null`, the `client_certificate_password` field will be omitted from the resulting object.\n - `client_certificate_path` (`string`): The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate. When `null`, the `client_certificate_path` field will be omitted from the resulting object.\n - `client_id` (`string`): The Client ID which should be used. When `null`, the `client_id` field will be omitted from the resulting object.\n - `client_id_file_path` (`string`): The path to a file containing the Client ID which should be used. When `null`, the `client_id_file_path` field will be omitted from the resulting object.\n - `client_secret` (`string`): The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret. When `null`, the `client_secret` field will be omitted from the resulting object.\n - `client_secret_file_path` (`string`): The path to a file containing the Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret. When `null`, the `client_secret_file_path` field will be omitted from the resulting object.\n - `disable_correlation_request_id` (`bool`): This will disable the x-ms-correlation-request-id header. When `null`, the `disable_correlation_request_id` field will be omitted from the resulting object.\n - `disable_terraform_partner_id` (`bool`): This will disable the Terraform Partner ID which is used if a custom `partner_id` isn't specified. When `null`, the `disable_terraform_partner_id` field will be omitted from the resulting object.\n - `environment` (`string`): The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public. When `null`, the `environment` field will be omitted from the resulting object.\n - `metadata_host` (`string`): The Hostname which should be used for the Azure Metadata Service. When `null`, the `metadata_host` field will be omitted from the resulting object.\n - `msi_endpoint` (`string`): The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically. When `null`, the `msi_endpoint` field will be omitted from the resulting object.\n - `oidc_request_token` (`string`): The bearer token for the request to the OIDC provider. For use when authenticating as a Service Principal using OpenID Connect. When `null`, the `oidc_request_token` field will be omitted from the resulting object.\n - `oidc_request_url` (`string`): The URL for the OIDC provider from which to request an ID token. For use when authenticating as a Service Principal using OpenID Connect. When `null`, the `oidc_request_url` field will be omitted from the resulting object.\n - `oidc_token` (`string`): The OIDC ID token for use when authenticating as a Service Principal using OpenID Connect. When `null`, the `oidc_token` field will be omitted from the resulting object.\n - `oidc_token_file_path` (`string`): The path to a file containing an OIDC ID token for use when authenticating as a Service Principal using OpenID Connect. When `null`, the `oidc_token_file_path` field will be omitted from the resulting object.\n - `partner_id` (`string`): A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution. When `null`, the `partner_id` field will be omitted from the resulting object.\n - `skip_provider_registration` (`bool`): Should the AzureRM Provider skip registering all of the Resource Providers that it supports, if they're not already registered? When `null`, the `skip_provider_registration` field will be omitted from the resulting object.\n - `storage_use_azuread` (`bool`): Should the AzureRM Provider use AzureAD to access the Storage Data Plane API's? When `null`, the `storage_use_azuread` field will be omitted from the resulting object.\n - `subscription_id` (`string`): The Subscription ID which should be used. When `null`, the `subscription_id` field will be omitted from the resulting object.\n - `tenant_id` (`string`): The Tenant ID which should be used. When `null`, the `tenant_id` field will be omitted from the resulting object.\n - `use_aks_workload_identity` (`bool`): Allow Azure AKS Workload Identity to be used for Authentication. When `null`, the `use_aks_workload_identity` field will be omitted from the resulting object.\n - `use_cli` (`bool`): Allow Azure CLI to be used for Authentication. When `null`, the `use_cli` field will be omitted from the resulting object.\n - `use_msi` (`bool`): Allow Managed Service Identity to be used for Authentication. When `null`, the `use_msi` field will be omitted from the resulting object.\n - `use_oidc` (`bool`): Allow OpenID Connect to be used for authentication When `null`, the `use_oidc` field will be omitted from the resulting object.\n - `features` (`list[obj]`): Set the `features` field on the resulting provider block. When `null`, the `features` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.provider.features.new](#fn-azurermfeaturesnew) constructor.\n - `alias` (`string`): The provider `alias` to set for this instance of the provider block. When `null`, the `alias`\n field will be omitted from the resulting provider block.\n - `src` (`string`): The provider `source` to set on the resulting `required_providers` block. If `src` or `version` is\n set and is not `null`, a `required_providers` block and entry for the provider will be injected into the document.\n - `version` (`string`): The provider `version` to set on the resulting `required_providers` block. If `src` or\n `version` is set and is not `null`, a `required_providers` block and entry for the provider will be injected into the\n document.\n\n\n**Returns**:\n- A mixin object that injects the new provider (and optionally, `required_providers` block) into the root Terraform configuration.\n', args=[]), new( auxiliary_tenant_ids=null, client_certificate=null, @@ -27,6 +27,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); storage_use_azuread=null, subscription_id=null, tenant_id=null, + use_aks_workload_identity=null, use_cli=null, use_msi=null, use_oidc=null, @@ -62,12 +63,13 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); storage_use_azuread=storage_use_azuread, subscription_id=subscription_id, tenant_id=tenant_id, + use_aks_workload_identity=use_aks_workload_identity, use_cli=use_cli, use_msi=use_msi, use_oidc=use_oidc ) ), - '#newAttrs':: d.fn(help='\n`azurerm.provider.` constructs a new object with attributes and blocks configured for the `azurerm`\nTerraform `provider`.\n\nUnlike [azurerm.provider.new](#fn-azurermnew), this function will not inject the `provider`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withProvider](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withprovider) 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 - `auxiliary_tenant_ids` (`list`): Set the `auxiliary_tenant_ids` field on the resulting object. When `null`, the `auxiliary_tenant_ids` field will be omitted from the resulting object.\n - `client_certificate` (`string`): Base64 encoded PKCS#12 certificate bundle to use when authenticating as a Service Principal using a Client Certificate When `null`, the `client_certificate` field will be omitted from the resulting object.\n - `client_certificate_password` (`string`): The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate When `null`, the `client_certificate_password` field will be omitted from the resulting object.\n - `client_certificate_path` (`string`): The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate. When `null`, the `client_certificate_path` field will be omitted from the resulting object.\n - `client_id` (`string`): The Client ID which should be used. When `null`, the `client_id` field will be omitted from the resulting object.\n - `client_id_file_path` (`string`): The path to a file containing the Client ID which should be used. When `null`, the `client_id_file_path` field will be omitted from the resulting object.\n - `client_secret` (`string`): The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret. When `null`, the `client_secret` field will be omitted from the resulting object.\n - `client_secret_file_path` (`string`): The path to a file containing the Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret. When `null`, the `client_secret_file_path` field will be omitted from the resulting object.\n - `disable_correlation_request_id` (`bool`): This will disable the x-ms-correlation-request-id header. When `null`, the `disable_correlation_request_id` field will be omitted from the resulting object.\n - `disable_terraform_partner_id` (`bool`): This will disable the Terraform Partner ID which is used if a custom `partner_id` isn't specified. When `null`, the `disable_terraform_partner_id` field will be omitted from the resulting object.\n - `environment` (`string`): The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public. When `null`, the `environment` field will be omitted from the resulting object.\n - `metadata_host` (`string`): The Hostname which should be used for the Azure Metadata Service. When `null`, the `metadata_host` field will be omitted from the resulting object.\n - `msi_endpoint` (`string`): The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically. When `null`, the `msi_endpoint` field will be omitted from the resulting object.\n - `oidc_request_token` (`string`): The bearer token for the request to the OIDC provider. For use when authenticating as a Service Principal using OpenID Connect. When `null`, the `oidc_request_token` field will be omitted from the resulting object.\n - `oidc_request_url` (`string`): The URL for the OIDC provider from which to request an ID token. For use when authenticating as a Service Principal using OpenID Connect. When `null`, the `oidc_request_url` field will be omitted from the resulting object.\n - `oidc_token` (`string`): The OIDC ID token for use when authenticating as a Service Principal using OpenID Connect. When `null`, the `oidc_token` field will be omitted from the resulting object.\n - `oidc_token_file_path` (`string`): The path to a file containing an OIDC ID token for use when authenticating as a Service Principal using OpenID Connect. When `null`, the `oidc_token_file_path` field will be omitted from the resulting object.\n - `partner_id` (`string`): A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution. When `null`, the `partner_id` field will be omitted from the resulting object.\n - `skip_provider_registration` (`bool`): Should the AzureRM Provider skip registering all of the Resource Providers that it supports, if they're not already registered? When `null`, the `skip_provider_registration` field will be omitted from the resulting object.\n - `storage_use_azuread` (`bool`): Should the AzureRM Provider use AzureAD to access the Storage Data Plane API's? When `null`, the `storage_use_azuread` field will be omitted from the resulting object.\n - `subscription_id` (`string`): The Subscription ID which should be used. When `null`, the `subscription_id` field will be omitted from the resulting object.\n - `tenant_id` (`string`): The Tenant ID which should be used. When `null`, the `tenant_id` field will be omitted from the resulting object.\n - `use_cli` (`bool`): Allow Azure CLI to be used for Authentication. When `null`, the `use_cli` field will be omitted from the resulting object.\n - `use_msi` (`bool`): Allow Managed Service Identity to be used for Authentication. When `null`, the `use_msi` field will be omitted from the resulting object.\n - `use_oidc` (`bool`): Allow OpenID Connect to be used for authentication When `null`, the `use_oidc` field will be omitted from the resulting object.\n - `features` (`list[obj]`): Set the `features` field on the resulting object. When `null`, the `features` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.provider.features.new](#fn-azurermfeaturesnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withProvider](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withprovider) to construct a new `azurerm` provider\n configuration into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.provider.` constructs a new object with attributes and blocks configured for the `azurerm`\nTerraform `provider`.\n\nUnlike [azurerm.provider.new](#fn-azurermnew), this function will not inject the `provider`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withProvider](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withprovider) 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 - `auxiliary_tenant_ids` (`list`): Set the `auxiliary_tenant_ids` field on the resulting object. When `null`, the `auxiliary_tenant_ids` field will be omitted from the resulting object.\n - `client_certificate` (`string`): Base64 encoded PKCS#12 certificate bundle to use when authenticating as a Service Principal using a Client Certificate When `null`, the `client_certificate` field will be omitted from the resulting object.\n - `client_certificate_password` (`string`): The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate When `null`, the `client_certificate_password` field will be omitted from the resulting object.\n - `client_certificate_path` (`string`): The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate. When `null`, the `client_certificate_path` field will be omitted from the resulting object.\n - `client_id` (`string`): The Client ID which should be used. When `null`, the `client_id` field will be omitted from the resulting object.\n - `client_id_file_path` (`string`): The path to a file containing the Client ID which should be used. When `null`, the `client_id_file_path` field will be omitted from the resulting object.\n - `client_secret` (`string`): The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret. When `null`, the `client_secret` field will be omitted from the resulting object.\n - `client_secret_file_path` (`string`): The path to a file containing the Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret. When `null`, the `client_secret_file_path` field will be omitted from the resulting object.\n - `disable_correlation_request_id` (`bool`): This will disable the x-ms-correlation-request-id header. When `null`, the `disable_correlation_request_id` field will be omitted from the resulting object.\n - `disable_terraform_partner_id` (`bool`): This will disable the Terraform Partner ID which is used if a custom `partner_id` isn't specified. When `null`, the `disable_terraform_partner_id` field will be omitted from the resulting object.\n - `environment` (`string`): The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public. When `null`, the `environment` field will be omitted from the resulting object.\n - `metadata_host` (`string`): The Hostname which should be used for the Azure Metadata Service. When `null`, the `metadata_host` field will be omitted from the resulting object.\n - `msi_endpoint` (`string`): The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically. When `null`, the `msi_endpoint` field will be omitted from the resulting object.\n - `oidc_request_token` (`string`): The bearer token for the request to the OIDC provider. For use when authenticating as a Service Principal using OpenID Connect. When `null`, the `oidc_request_token` field will be omitted from the resulting object.\n - `oidc_request_url` (`string`): The URL for the OIDC provider from which to request an ID token. For use when authenticating as a Service Principal using OpenID Connect. When `null`, the `oidc_request_url` field will be omitted from the resulting object.\n - `oidc_token` (`string`): The OIDC ID token for use when authenticating as a Service Principal using OpenID Connect. When `null`, the `oidc_token` field will be omitted from the resulting object.\n - `oidc_token_file_path` (`string`): The path to a file containing an OIDC ID token for use when authenticating as a Service Principal using OpenID Connect. When `null`, the `oidc_token_file_path` field will be omitted from the resulting object.\n - `partner_id` (`string`): A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution. When `null`, the `partner_id` field will be omitted from the resulting object.\n - `skip_provider_registration` (`bool`): Should the AzureRM Provider skip registering all of the Resource Providers that it supports, if they're not already registered? When `null`, the `skip_provider_registration` field will be omitted from the resulting object.\n - `storage_use_azuread` (`bool`): Should the AzureRM Provider use AzureAD to access the Storage Data Plane API's? When `null`, the `storage_use_azuread` field will be omitted from the resulting object.\n - `subscription_id` (`string`): The Subscription ID which should be used. When `null`, the `subscription_id` field will be omitted from the resulting object.\n - `tenant_id` (`string`): The Tenant ID which should be used. When `null`, the `tenant_id` field will be omitted from the resulting object.\n - `use_aks_workload_identity` (`bool`): Allow Azure AKS Workload Identity to be used for Authentication. When `null`, the `use_aks_workload_identity` field will be omitted from the resulting object.\n - `use_cli` (`bool`): Allow Azure CLI to be used for Authentication. When `null`, the `use_cli` field will be omitted from the resulting object.\n - `use_msi` (`bool`): Allow Managed Service Identity to be used for Authentication. When `null`, the `use_msi` field will be omitted from the resulting object.\n - `use_oidc` (`bool`): Allow OpenID Connect to be used for authentication When `null`, the `use_oidc` field will be omitted from the resulting object.\n - `features` (`list[obj]`): Set the `features` field on the resulting object. When `null`, the `features` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.provider.features.new](#fn-azurermfeaturesnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withProvider](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withprovider) to construct a new `azurerm` provider\n configuration into the root Terraform configuration.\n', args=[]), newAttrs( auxiliary_tenant_ids=null, client_certificate=null, @@ -92,6 +94,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); storage_use_azuread=null, subscription_id=null, tenant_id=null, + use_aks_workload_identity=null, use_cli=null, use_msi=null, use_oidc=null @@ -119,6 +122,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); storage_use_azuread: storage_use_azuread, subscription_id: subscription_id, tenant_id: tenant_id, + use_aks_workload_identity: use_aks_workload_identity, use_cli: use_cli, use_msi: use_msi, use_oidc: use_oidc, diff --git a/3.x/_gen/resources/active_directory_domain_service_replica_set.libsonnet b/3.x/_gen/resources/active_directory_domain_service_replica_set.libsonnet index 8eabfaff..c45061f6 100644 --- a/3.x/_gen/resources/active_directory_domain_service_replica_set.libsonnet +++ b/3.x/_gen/resources/active_directory_domain_service_replica_set.libsonnet @@ -34,17 +34,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.active_directory_domain_service_replica_set.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':: d.fn(help='\n`azurerm.active_directory_domain_service_replica_set.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withDomainServiceId':: d.fn(help='`azurerm.string.withDomainServiceId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the domain_service_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 `domain_service_id` field.\n', args=[]), diff --git a/3.x/_gen/resources/api_management_gateway_api.libsonnet b/3.x/_gen/resources/api_management_gateway_api.libsonnet index 4fcd9072..3e28b1c9 100644 --- a/3.x/_gen/resources/api_management_gateway_api.libsonnet +++ b/3.x/_gen/resources/api_management_gateway_api.libsonnet @@ -26,17 +26,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.api_management_gateway_api.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':: d.fn(help='\n`azurerm.api_management_gateway_api.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withApiId':: d.fn(help='`azurerm.string.withApiId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the api_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 `api_id` field.\n', args=[]), diff --git a/3.x/_gen/resources/api_management_group_user.libsonnet b/3.x/_gen/resources/api_management_group_user.libsonnet index c1f4878d..44d4be05 100644 --- a/3.x/_gen/resources/api_management_group_user.libsonnet +++ b/3.x/_gen/resources/api_management_group_user.libsonnet @@ -38,17 +38,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); user_id: user_id, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.api_management_group_user.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':: d.fn(help='\n`azurerm.api_management_group_user.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withApiManagementName':: d.fn(help='`azurerm.string.withApiManagementName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the api_management_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 `api_management_name` field.\n', args=[]), diff --git a/3.x/_gen/resources/api_management_product_api.libsonnet b/3.x/_gen/resources/api_management_product_api.libsonnet index 989d43ff..e0352df4 100644 --- a/3.x/_gen/resources/api_management_product_api.libsonnet +++ b/3.x/_gen/resources/api_management_product_api.libsonnet @@ -38,17 +38,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.api_management_product_api.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':: d.fn(help='\n`azurerm.api_management_product_api.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withApiManagementName':: d.fn(help='`azurerm.string.withApiManagementName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the api_management_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 `api_management_name` field.\n', args=[]), diff --git a/3.x/_gen/resources/api_management_product_group.libsonnet b/3.x/_gen/resources/api_management_product_group.libsonnet index 2aefb738..96dd7a8b 100644 --- a/3.x/_gen/resources/api_management_product_group.libsonnet +++ b/3.x/_gen/resources/api_management_product_group.libsonnet @@ -38,17 +38,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.api_management_product_group.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':: d.fn(help='\n`azurerm.api_management_product_group.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withApiManagementName':: d.fn(help='`azurerm.string.withApiManagementName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the api_management_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 `api_management_name` field.\n', args=[]), diff --git a/3.x/_gen/resources/api_management_product_tag.libsonnet b/3.x/_gen/resources/api_management_product_tag.libsonnet index 61433177..2d3ee1c3 100644 --- a/3.x/_gen/resources/api_management_product_tag.libsonnet +++ b/3.x/_gen/resources/api_management_product_tag.libsonnet @@ -38,17 +38,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.api_management_product_tag.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':: d.fn(help='\n`azurerm.api_management_product_tag.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withApiManagementName':: d.fn(help='`azurerm.string.withApiManagementName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the api_management_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 `api_management_name` field.\n', args=[]), diff --git a/3.x/_gen/resources/app_service_custom_hostname_binding.libsonnet b/3.x/_gen/resources/app_service_custom_hostname_binding.libsonnet index 05d265a2..1f41a1fd 100644 --- a/3.x/_gen/resources/app_service_custom_hostname_binding.libsonnet +++ b/3.x/_gen/resources/app_service_custom_hostname_binding.libsonnet @@ -42,17 +42,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.app_service_custom_hostname_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':: d.fn(help='\n`azurerm.app_service_custom_hostname_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\n**Returns**:\n - An attribute object that represents the `timeouts` sub block.\n', args=[]), new( create=null, delete=null, - read=null, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withAppServiceName':: d.fn(help='`azurerm.string.withAppServiceName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the app_service_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 `app_service_name` field.\n', args=[]), diff --git a/3.x/_gen/resources/app_service_public_certificate.libsonnet b/3.x/_gen/resources/app_service_public_certificate.libsonnet index 5459a111..fee05a5b 100644 --- a/3.x/_gen/resources/app_service_public_certificate.libsonnet +++ b/3.x/_gen/resources/app_service_public_certificate.libsonnet @@ -42,17 +42,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.app_service_public_certificate.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':: d.fn(help='\n`azurerm.app_service_public_certificate.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withAppServiceName':: d.fn(help='`azurerm.string.withAppServiceName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the app_service_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 `app_service_name` field.\n', args=[]), diff --git a/3.x/_gen/resources/application_insights_api_key.libsonnet b/3.x/_gen/resources/application_insights_api_key.libsonnet index 5405ad97..2a3b3723 100644 --- a/3.x/_gen/resources/application_insights_api_key.libsonnet +++ b/3.x/_gen/resources/application_insights_api_key.libsonnet @@ -38,17 +38,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); write_permissions: write_permissions, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.application_insights_api_key.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':: d.fn(help='\n`azurerm.application_insights_api_key.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withApplicationInsightsId':: d.fn(help='`azurerm.string.withApplicationInsightsId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the application_insights_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 `application_insights_id` field.\n', args=[]), diff --git a/3.x/_gen/resources/application_load_balancer_subnet_association.libsonnet b/3.x/_gen/resources/application_load_balancer_subnet_association.libsonnet new file mode 100644 index 00000000..ee9c3c1e --- /dev/null +++ b/3.x/_gen/resources/application_load_balancer_subnet_association.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='application_load_balancer_subnet_association', url='', help='`application_load_balancer_subnet_association` represents the `azurerm_application_load_balancer_subnet_association` 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.application_load_balancer_subnet_association.new` injects a new `azurerm_application_load_balancer_subnet_association` 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.application_load_balancer_subnet_association.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.application_load_balancer_subnet_association` using the reference:\n\n $._ref.azurerm_application_load_balancer_subnet_association.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_application_load_balancer_subnet_association.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 - `application_load_balancer_id` (`string`): Set the `application_load_balancer_id` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `subnet_id` (`string`): Set the `subnet_id` 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.application_load_balancer_subnet_association.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, + application_load_balancer_id, + name, + subnet_id, + tags=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_application_load_balancer_subnet_association', + label=resourceLabel, + attrs=self.newAttrs( + application_load_balancer_id=application_load_balancer_id, + name=name, + subnet_id=subnet_id, + tags=tags, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.application_load_balancer_subnet_association.newAttrs` constructs a new object with attributes and blocks configured for the `application_load_balancer_subnet_association`\nTerraform resource.\n\nUnlike [azurerm.application_load_balancer_subnet_association.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 - `application_load_balancer_id` (`string`): Set the `application_load_balancer_id` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `subnet_id` (`string`): Set the `subnet_id` 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.application_load_balancer_subnet_association.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 `application_load_balancer_subnet_association` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + application_load_balancer_id, + name, + subnet_id, + tags=null, + timeouts=null + ):: std.prune(a={ + application_load_balancer_id: application_load_balancer_id, + name: name, + subnet_id: subnet_id, + tags: tags, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.application_load_balancer_subnet_association.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, + }), + }, + '#withApplicationLoadBalancerId':: d.fn(help='`azurerm.string.withApplicationLoadBalancerId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the application_load_balancer_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 `application_load_balancer_id` field.\n', args=[]), + withApplicationLoadBalancerId(resourceLabel, value): { + resource+: { + azurerm_application_load_balancer_subnet_association+: { + [resourceLabel]+: { + application_load_balancer_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_application_load_balancer_subnet_association+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withSubnetId':: d.fn(help='`azurerm.string.withSubnetId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the subnet_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 `subnet_id` field.\n', args=[]), + withSubnetId(resourceLabel, value): { + resource+: { + azurerm_application_load_balancer_subnet_association+: { + [resourceLabel]+: { + subnet_id: 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_application_load_balancer_subnet_association+: { + [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_application_load_balancer_subnet_association+: { + [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_application_load_balancer_subnet_association+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/automation_job_schedule.libsonnet b/3.x/_gen/resources/automation_job_schedule.libsonnet index a4b79d28..8166a972 100644 --- a/3.x/_gen/resources/automation_job_schedule.libsonnet +++ b/3.x/_gen/resources/automation_job_schedule.libsonnet @@ -50,17 +50,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.automation_job_schedule.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':: d.fn(help='\n`azurerm.automation_job_schedule.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, - update=null + read=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=[]), diff --git a/3.x/_gen/resources/automation_powershell72_module.libsonnet b/3.x/_gen/resources/automation_powershell72_module.libsonnet new file mode 100644 index 00000000..e80b84f2 --- /dev/null +++ b/3.x/_gen/resources/automation_powershell72_module.libsonnet @@ -0,0 +1,130 @@ +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_powershell72_module', url='', help='`automation_powershell72_module` represents the `azurerm_automation_powershell72_module` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + module_link:: { + hash:: { + '#new':: d.fn(help='\n`azurerm.automation_powershell72_module.module_link.hash.new` constructs a new object with attributes and blocks configured for the `hash`\nTerraform sub block.\n\n\n\n**Args**:\n - `algorithm` (`string`): Set the `algorithm` field on the resulting object.\n - `value` (`string`): Set the `value` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `hash` sub block.\n', args=[]), + new( + algorithm, + value + ):: std.prune(a={ + algorithm: algorithm, + value: value, + }), + }, + '#new':: d.fn(help='\n`azurerm.automation_powershell72_module.module_link.new` constructs a new object with attributes and blocks configured for the `module_link`\nTerraform sub block.\n\n\n\n**Args**:\n - `uri` (`string`): Set the `uri` field on the resulting object.\n - `hash` (`list[obj]`): Set the `hash` field on the resulting object. When `null`, the `hash` 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_powershell72_module.module_link.hash.new](#fn-module_linkhashnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `module_link` sub block.\n', args=[]), + new( + uri, + hash=null + ):: std.prune(a={ + hash: hash, + uri: uri, + }), + }, + '#new':: d.fn(help="\n`azurerm.automation_powershell72_module.new` injects a new `azurerm_automation_powershell72_module` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.automation_powershell72_module.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.automation_powershell72_module` using the reference:\n\n $._ref.azurerm_automation_powershell72_module.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_automation_powershell72_module.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `automation_account_id` (`string`): Set the `automation_account_id` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `module_link` (`list[obj]`): Set the `module_link` field on the resulting resource block. When `null`, the `module_link` 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_powershell72_module.module_link.new](#fn-module_linknew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_powershell72_module.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + new( + resourceLabel, + automation_account_id, + name, + module_link=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_automation_powershell72_module', + label=resourceLabel, + attrs=self.newAttrs( + automation_account_id=automation_account_id, + module_link=module_link, + name=name, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.automation_powershell72_module.newAttrs` constructs a new object with attributes and blocks configured for the `automation_powershell72_module`\nTerraform resource.\n\nUnlike [azurerm.automation_powershell72_module.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `automation_account_id` (`string`): Set the `automation_account_id` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `module_link` (`list[obj]`): Set the `module_link` field on the resulting object. When `null`, the `module_link` 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_powershell72_module.module_link.new](#fn-module_linknew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.automation_powershell72_module.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `automation_powershell72_module` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + automation_account_id, + name, + module_link=null, + timeouts=null + ):: std.prune(a={ + automation_account_id: automation_account_id, + module_link: module_link, + name: name, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.automation_powershell72_module.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts`\nTerraform sub block.\n\n\n\n**Args**:\n - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object.\n - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object.\n - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object.\n - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `timeouts` sub block.\n', args=[]), + new( + create=null, + delete=null, + read=null, + update=null + ):: std.prune(a={ + create: create, + delete: delete, + read: read, + update: update, + }), + }, + '#withAutomationAccountId':: d.fn(help='`azurerm.string.withAutomationAccountId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the automation_account_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 `automation_account_id` field.\n', args=[]), + withAutomationAccountId(resourceLabel, value): { + resource+: { + azurerm_automation_powershell72_module+: { + [resourceLabel]+: { + automation_account_id: value, + }, + }, + }, + }, + '#withModuleLink':: d.fn(help='`azurerm.list[obj].withModuleLink` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the module_link 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].withModuleLinkMixin](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 `module_link` field.\n', args=[]), + withModuleLink(resourceLabel, value): { + resource+: { + azurerm_automation_powershell72_module+: { + [resourceLabel]+: { + module_link: value, + }, + }, + }, + }, + '#withModuleLinkMixin':: d.fn(help='`azurerm.list[obj].withModuleLinkMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the module_link 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].withModuleLink](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 `module_link` field.\n', args=[]), + withModuleLinkMixin(resourceLabel, value): { + resource+: { + azurerm_automation_powershell72_module+: { + [resourceLabel]+: { + module_link+: if std.isArray(v=value) then value else [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_powershell72_module+: { + [resourceLabel]+: { + 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_powershell72_module+: { + [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_powershell72_module+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/backup_container_storage_account.libsonnet b/3.x/_gen/resources/backup_container_storage_account.libsonnet index fa389f04..a8225da9 100644 --- a/3.x/_gen/resources/backup_container_storage_account.libsonnet +++ b/3.x/_gen/resources/backup_container_storage_account.libsonnet @@ -34,17 +34,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.backup_container_storage_account.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':: d.fn(help='\n`azurerm.backup_container_storage_account.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withRecoveryVaultName':: d.fn(help='`azurerm.string.withRecoveryVaultName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the recovery_vault_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 `recovery_vault_name` field.\n', args=[]), diff --git a/3.x/_gen/resources/bot_channel_email.libsonnet b/3.x/_gen/resources/bot_channel_email.libsonnet index 30bc8d19..68767342 100644 --- a/3.x/_gen/resources/bot_channel_email.libsonnet +++ b/3.x/_gen/resources/bot_channel_email.libsonnet @@ -2,14 +2,15 @@ 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='bot_channel_email', url='', help='`bot_channel_email` represents the `azurerm_bot_channel_email` 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.bot_channel_email.new` injects a new `azurerm_bot_channel_email` 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.bot_channel_email.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.bot_channel_email` using the reference:\n\n $._ref.azurerm_bot_channel_email.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_bot_channel_email.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 - `bot_name` (`string`): Set the `bot_name` field on the resulting resource block.\n - `email_address` (`string`): Set the `email_address` field on the resulting resource block.\n - `email_password` (`string`): Set the `email_password` field on the resulting resource block.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `resource_group_name` (`string`): Set the `resource_group_name` 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.bot_channel_email.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.bot_channel_email.new` injects a new `azurerm_bot_channel_email` 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.bot_channel_email.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.bot_channel_email` using the reference:\n\n $._ref.azurerm_bot_channel_email.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_bot_channel_email.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 - `bot_name` (`string`): Set the `bot_name` field on the resulting resource block.\n - `email_address` (`string`): Set the `email_address` field on the resulting resource block.\n - `email_password` (`string`): Set the `email_password` field on the resulting resource block. When `null`, the `email_password` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `magic_code` (`string`): Set the `magic_code` field on the resulting resource block. When `null`, the `magic_code` 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 - `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.bot_channel_email.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, bot_name, email_address, - email_password, location, resource_group_name, + email_password=null, + magic_code=null, timeouts=null, _meta={} ):: tf.withResource( @@ -20,24 +21,27 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); email_address=email_address, email_password=email_password, location=location, + magic_code=magic_code, resource_group_name=resource_group_name, timeouts=timeouts ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.bot_channel_email.newAttrs` constructs a new object with attributes and blocks configured for the `bot_channel_email`\nTerraform resource.\n\nUnlike [azurerm.bot_channel_email.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 - `bot_name` (`string`): Set the `bot_name` field on the resulting object.\n - `email_address` (`string`): Set the `email_address` field on the resulting object.\n - `email_password` (`string`): Set the `email_password` field on the resulting object.\n - `location` (`string`): Set the `location` 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.bot_channel_email.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 `bot_channel_email` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.bot_channel_email.newAttrs` constructs a new object with attributes and blocks configured for the `bot_channel_email`\nTerraform resource.\n\nUnlike [azurerm.bot_channel_email.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 - `bot_name` (`string`): Set the `bot_name` field on the resulting object.\n - `email_address` (`string`): Set the `email_address` field on the resulting object.\n - `email_password` (`string`): Set the `email_password` field on the resulting object. When `null`, the `email_password` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `magic_code` (`string`): Set the `magic_code` field on the resulting object. When `null`, the `magic_code` field will be omitted from 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.bot_channel_email.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 `bot_channel_email` resource into the root Terraform configuration.\n', args=[]), newAttrs( bot_name, email_address, - email_password, location, resource_group_name, + email_password=null, + magic_code=null, timeouts=null ):: std.prune(a={ bot_name: bot_name, email_address: email_address, email_password: email_password, location: location, + magic_code: magic_code, resource_group_name: resource_group_name, timeouts: timeouts, }), @@ -95,6 +99,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withMagicCode':: d.fn(help='`azurerm.string.withMagicCode` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the magic_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 `magic_code` field.\n', args=[]), + withMagicCode(resourceLabel, value): { + resource+: { + azurerm_bot_channel_email+: { + [resourceLabel]+: { + magic_code: 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/bot_service_azure_bot.libsonnet b/3.x/_gen/resources/bot_service_azure_bot.libsonnet index eb18f45e..d2b63cfe 100644 --- a/3.x/_gen/resources/bot_service_azure_bot.libsonnet +++ b/3.x/_gen/resources/bot_service_azure_bot.libsonnet @@ -2,7 +2,7 @@ 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='bot_service_azure_bot', url='', help='`bot_service_azure_bot` represents the `azurerm_bot_service_azure_bot` 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.bot_service_azure_bot.new` injects a new `azurerm_bot_service_azure_bot` 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.bot_service_azure_bot.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.bot_service_azure_bot` using the reference:\n\n $._ref.azurerm_bot_service_azure_bot.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_bot_service_azure_bot.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 - `developer_app_insights_api_key` (`string`): Set the `developer_app_insights_api_key` field on the resulting resource block. When `null`, the `developer_app_insights_api_key` field will be omitted from the resulting object.\n - `developer_app_insights_application_id` (`string`): Set the `developer_app_insights_application_id` field on the resulting resource block. When `null`, the `developer_app_insights_application_id` field will be omitted from the resulting object.\n - `developer_app_insights_key` (`string`): Set the `developer_app_insights_key` field on the resulting resource block. When `null`, the `developer_app_insights_key` field will be omitted from the resulting object.\n - `display_name` (`string`): Set the `display_name` field on the resulting resource block. When `null`, the `display_name` field will be omitted from the resulting object.\n - `endpoint` (`string`): Set the `endpoint` field on the resulting resource block. When `null`, the `endpoint` field will be omitted from the resulting object.\n - `icon_url` (`string`): Set the `icon_url` field on the resulting resource block. When `null`, the `icon_url` field will be omitted from the resulting object.\n - `local_authentication_enabled` (`bool`): Set the `local_authentication_enabled` field on the resulting resource block. When `null`, the `local_authentication_enabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `luis_app_ids` (`list`): Set the `luis_app_ids` field on the resulting resource block. When `null`, the `luis_app_ids` field will be omitted from the resulting object.\n - `luis_key` (`string`): Set the `luis_key` field on the resulting resource block. When `null`, the `luis_key` field will be omitted from the resulting object.\n - `microsoft_app_id` (`string`): Set the `microsoft_app_id` field on the resulting resource block.\n - `microsoft_app_msi_id` (`string`): Set the `microsoft_app_msi_id` field on the resulting resource block. When `null`, the `microsoft_app_msi_id` field will be omitted from the resulting object.\n - `microsoft_app_tenant_id` (`string`): Set the `microsoft_app_tenant_id` field on the resulting resource block. When `null`, the `microsoft_app_tenant_id` field will be omitted from the resulting object.\n - `microsoft_app_type` (`string`): Set the `microsoft_app_type` field on the resulting resource block. When `null`, the `microsoft_app_type` 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 - `sku` (`string`): Set the `sku` field on the resulting resource block.\n - `streaming_endpoint_enabled` (`bool`): Set the `streaming_endpoint_enabled` field on the resulting resource block. When `null`, the `streaming_endpoint_enabled` 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 - `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.bot_service_azure_bot.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.bot_service_azure_bot.new` injects a new `azurerm_bot_service_azure_bot` 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.bot_service_azure_bot.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.bot_service_azure_bot` using the reference:\n\n $._ref.azurerm_bot_service_azure_bot.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_bot_service_azure_bot.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 - `developer_app_insights_api_key` (`string`): Set the `developer_app_insights_api_key` field on the resulting resource block. When `null`, the `developer_app_insights_api_key` field will be omitted from the resulting object.\n - `developer_app_insights_application_id` (`string`): Set the `developer_app_insights_application_id` field on the resulting resource block. When `null`, the `developer_app_insights_application_id` field will be omitted from the resulting object.\n - `developer_app_insights_key` (`string`): Set the `developer_app_insights_key` field on the resulting resource block. When `null`, the `developer_app_insights_key` field will be omitted from the resulting object.\n - `display_name` (`string`): Set the `display_name` field on the resulting resource block. When `null`, the `display_name` field will be omitted from the resulting object.\n - `endpoint` (`string`): Set the `endpoint` field on the resulting resource block. When `null`, the `endpoint` field will be omitted from the resulting object.\n - `icon_url` (`string`): Set the `icon_url` field on the resulting resource block. When `null`, the `icon_url` field will be omitted from the resulting object.\n - `local_authentication_enabled` (`bool`): Set the `local_authentication_enabled` field on the resulting resource block. When `null`, the `local_authentication_enabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `luis_app_ids` (`list`): Set the `luis_app_ids` field on the resulting resource block. When `null`, the `luis_app_ids` field will be omitted from the resulting object.\n - `luis_key` (`string`): Set the `luis_key` field on the resulting resource block. When `null`, the `luis_key` field will be omitted from the resulting object.\n - `microsoft_app_id` (`string`): Set the `microsoft_app_id` field on the resulting resource block.\n - `microsoft_app_msi_id` (`string`): Set the `microsoft_app_msi_id` field on the resulting resource block. When `null`, the `microsoft_app_msi_id` field will be omitted from the resulting object.\n - `microsoft_app_tenant_id` (`string`): Set the `microsoft_app_tenant_id` field on the resulting resource block. When `null`, the `microsoft_app_tenant_id` field will be omitted from the resulting object.\n - `microsoft_app_type` (`string`): Set the `microsoft_app_type` field on the resulting resource block. When `null`, the `microsoft_app_type` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `sku` (`string`): Set the `sku` field on the resulting resource block.\n - `streaming_endpoint_enabled` (`bool`): Set the `streaming_endpoint_enabled` field on the resulting resource block. When `null`, the `streaming_endpoint_enabled` 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 - `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.bot_service_azure_bot.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, @@ -22,6 +22,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); microsoft_app_msi_id=null, microsoft_app_tenant_id=null, microsoft_app_type=null, + public_network_access_enabled=null, streaming_endpoint_enabled=null, tags=null, timeouts=null, @@ -45,6 +46,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); microsoft_app_tenant_id=microsoft_app_tenant_id, microsoft_app_type=microsoft_app_type, name=name, + public_network_access_enabled=public_network_access_enabled, resource_group_name=resource_group_name, sku=sku, streaming_endpoint_enabled=streaming_endpoint_enabled, @@ -53,7 +55,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.bot_service_azure_bot.newAttrs` constructs a new object with attributes and blocks configured for the `bot_service_azure_bot`\nTerraform resource.\n\nUnlike [azurerm.bot_service_azure_bot.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 - `developer_app_insights_api_key` (`string`): Set the `developer_app_insights_api_key` field on the resulting object. When `null`, the `developer_app_insights_api_key` field will be omitted from the resulting object.\n - `developer_app_insights_application_id` (`string`): Set the `developer_app_insights_application_id` field on the resulting object. When `null`, the `developer_app_insights_application_id` field will be omitted from the resulting object.\n - `developer_app_insights_key` (`string`): Set the `developer_app_insights_key` field on the resulting object. When `null`, the `developer_app_insights_key` field will be omitted from the resulting object.\n - `display_name` (`string`): Set the `display_name` field on the resulting object. When `null`, the `display_name` field will be omitted from the resulting object.\n - `endpoint` (`string`): Set the `endpoint` field on the resulting object. When `null`, the `endpoint` field will be omitted from the resulting object.\n - `icon_url` (`string`): Set the `icon_url` field on the resulting object. When `null`, the `icon_url` field will be omitted from the resulting object.\n - `local_authentication_enabled` (`bool`): Set the `local_authentication_enabled` field on the resulting object. When `null`, the `local_authentication_enabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `luis_app_ids` (`list`): Set the `luis_app_ids` field on the resulting object. When `null`, the `luis_app_ids` field will be omitted from the resulting object.\n - `luis_key` (`string`): Set the `luis_key` field on the resulting object. When `null`, the `luis_key` field will be omitted from the resulting object.\n - `microsoft_app_id` (`string`): Set the `microsoft_app_id` field on the resulting object.\n - `microsoft_app_msi_id` (`string`): Set the `microsoft_app_msi_id` field on the resulting object. When `null`, the `microsoft_app_msi_id` field will be omitted from the resulting object.\n - `microsoft_app_tenant_id` (`string`): Set the `microsoft_app_tenant_id` field on the resulting object. When `null`, the `microsoft_app_tenant_id` field will be omitted from the resulting object.\n - `microsoft_app_type` (`string`): Set the `microsoft_app_type` field on the resulting object. When `null`, the `microsoft_app_type` 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 - `sku` (`string`): Set the `sku` field on the resulting object.\n - `streaming_endpoint_enabled` (`bool`): Set the `streaming_endpoint_enabled` field on the resulting object. When `null`, the `streaming_endpoint_enabled` 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 - `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.bot_service_azure_bot.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 `bot_service_azure_bot` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.bot_service_azure_bot.newAttrs` constructs a new object with attributes and blocks configured for the `bot_service_azure_bot`\nTerraform resource.\n\nUnlike [azurerm.bot_service_azure_bot.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 - `developer_app_insights_api_key` (`string`): Set the `developer_app_insights_api_key` field on the resulting object. When `null`, the `developer_app_insights_api_key` field will be omitted from the resulting object.\n - `developer_app_insights_application_id` (`string`): Set the `developer_app_insights_application_id` field on the resulting object. When `null`, the `developer_app_insights_application_id` field will be omitted from the resulting object.\n - `developer_app_insights_key` (`string`): Set the `developer_app_insights_key` field on the resulting object. When `null`, the `developer_app_insights_key` field will be omitted from the resulting object.\n - `display_name` (`string`): Set the `display_name` field on the resulting object. When `null`, the `display_name` field will be omitted from the resulting object.\n - `endpoint` (`string`): Set the `endpoint` field on the resulting object. When `null`, the `endpoint` field will be omitted from the resulting object.\n - `icon_url` (`string`): Set the `icon_url` field on the resulting object. When `null`, the `icon_url` field will be omitted from the resulting object.\n - `local_authentication_enabled` (`bool`): Set the `local_authentication_enabled` field on the resulting object. When `null`, the `local_authentication_enabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `luis_app_ids` (`list`): Set the `luis_app_ids` field on the resulting object. When `null`, the `luis_app_ids` field will be omitted from the resulting object.\n - `luis_key` (`string`): Set the `luis_key` field on the resulting object. When `null`, the `luis_key` field will be omitted from the resulting object.\n - `microsoft_app_id` (`string`): Set the `microsoft_app_id` field on the resulting object.\n - `microsoft_app_msi_id` (`string`): Set the `microsoft_app_msi_id` field on the resulting object. When `null`, the `microsoft_app_msi_id` field will be omitted from the resulting object.\n - `microsoft_app_tenant_id` (`string`): Set the `microsoft_app_tenant_id` field on the resulting object. When `null`, the `microsoft_app_tenant_id` field will be omitted from the resulting object.\n - `microsoft_app_type` (`string`): Set the `microsoft_app_type` field on the resulting object. When `null`, the `microsoft_app_type` 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 - `sku` (`string`): Set the `sku` field on the resulting object.\n - `streaming_endpoint_enabled` (`bool`): Set the `streaming_endpoint_enabled` field on the resulting object. When `null`, the `streaming_endpoint_enabled` 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 - `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.bot_service_azure_bot.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 `bot_service_azure_bot` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, microsoft_app_id, @@ -72,6 +74,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); microsoft_app_msi_id=null, microsoft_app_tenant_id=null, microsoft_app_type=null, + public_network_access_enabled=null, streaming_endpoint_enabled=null, tags=null, timeouts=null @@ -91,6 +94,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); microsoft_app_tenant_id: microsoft_app_tenant_id, microsoft_app_type: microsoft_app_type, name: name, + public_network_access_enabled: public_network_access_enabled, resource_group_name: resource_group_name, sku: sku, streaming_endpoint_enabled: streaming_endpoint_enabled, @@ -261,6 +265,16 @@ 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 resource block to set or update the public_network_access_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 `public_network_access_enabled` field.\n', args=[]), + withPublicNetworkAccessEnabled(resourceLabel, value): { + resource+: { + azurerm_bot_service_azure_bot+: { + [resourceLabel]+: { + public_network_access_enabled: 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/cdn_frontdoor_firewall_policy.libsonnet b/3.x/_gen/resources/cdn_frontdoor_firewall_policy.libsonnet index c3744c61..c1e59b06 100644 --- a/3.x/_gen/resources/cdn_frontdoor_firewall_policy.libsonnet +++ b/3.x/_gen/resources/cdn_frontdoor_firewall_policy.libsonnet @@ -120,7 +120,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, - '#new':: d.fn(help="\n`azurerm.cdn_frontdoor_firewall_policy.new` injects a new `azurerm_cdn_frontdoor_firewall_policy` 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.cdn_frontdoor_firewall_policy.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.cdn_frontdoor_firewall_policy` using the reference:\n\n $._ref.azurerm_cdn_frontdoor_firewall_policy.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_cdn_frontdoor_firewall_policy.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 - `custom_block_response_body` (`string`): Set the `custom_block_response_body` field on the resulting resource block. When `null`, the `custom_block_response_body` field will be omitted from the resulting object.\n - `custom_block_response_status_code` (`number`): Set the `custom_block_response_status_code` field on the resulting resource block. When `null`, the `custom_block_response_status_code` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting resource block. When `null`, the `enabled` field will be omitted from the resulting object.\n - `mode` (`string`): Set the `mode` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `redirect_url` (`string`): Set the `redirect_url` field on the resulting resource block. When `null`, the `redirect_url` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting resource block.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `custom_rule` (`list[obj]`): Set the `custom_rule` field on the resulting resource block. When `null`, the `custom_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.cdn_frontdoor_firewall_policy.custom_rule.new](#fn-custom_rulenew) constructor.\n - `managed_rule` (`list[obj]`): Set the `managed_rule` field on the resulting resource block. When `null`, the `managed_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.cdn_frontdoor_firewall_policy.managed_rule.new](#fn-managed_rulenew) 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.cdn_frontdoor_firewall_policy.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.cdn_frontdoor_firewall_policy.new` injects a new `azurerm_cdn_frontdoor_firewall_policy` 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.cdn_frontdoor_firewall_policy.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.cdn_frontdoor_firewall_policy` using the reference:\n\n $._ref.azurerm_cdn_frontdoor_firewall_policy.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_cdn_frontdoor_firewall_policy.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 - `custom_block_response_body` (`string`): Set the `custom_block_response_body` field on the resulting resource block. When `null`, the `custom_block_response_body` field will be omitted from the resulting object.\n - `custom_block_response_status_code` (`number`): Set the `custom_block_response_status_code` field on the resulting resource block. When `null`, the `custom_block_response_status_code` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting resource block. When `null`, the `enabled` field will be omitted from the resulting object.\n - `mode` (`string`): Set the `mode` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `redirect_url` (`string`): Set the `redirect_url` field on the resulting resource block. When `null`, the `redirect_url` field will be omitted from the resulting object.\n - `request_body_check_enabled` (`bool`): Set the `request_body_check_enabled` field on the resulting resource block. When `null`, the `request_body_check_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting resource block.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `custom_rule` (`list[obj]`): Set the `custom_rule` field on the resulting resource block. When `null`, the `custom_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.cdn_frontdoor_firewall_policy.custom_rule.new](#fn-custom_rulenew) constructor.\n - `managed_rule` (`list[obj]`): Set the `managed_rule` field on the resulting resource block. When `null`, the `managed_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.cdn_frontdoor_firewall_policy.managed_rule.new](#fn-managed_rulenew) 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.cdn_frontdoor_firewall_policy.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, mode, @@ -133,6 +133,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); enabled=null, managed_rule=null, redirect_url=null, + request_body_check_enabled=null, tags=null, timeouts=null, _meta={} @@ -148,6 +149,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); mode=mode, name=name, redirect_url=redirect_url, + request_body_check_enabled=request_body_check_enabled, resource_group_name=resource_group_name, sku_name=sku_name, tags=tags, @@ -155,7 +157,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.cdn_frontdoor_firewall_policy.newAttrs` constructs a new object with attributes and blocks configured for the `cdn_frontdoor_firewall_policy`\nTerraform resource.\n\nUnlike [azurerm.cdn_frontdoor_firewall_policy.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 - `custom_block_response_body` (`string`): Set the `custom_block_response_body` field on the resulting object. When `null`, the `custom_block_response_body` field will be omitted from the resulting object.\n - `custom_block_response_status_code` (`number`): Set the `custom_block_response_status_code` field on the resulting object. When `null`, the `custom_block_response_status_code` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object.\n - `mode` (`string`): Set the `mode` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `redirect_url` (`string`): Set the `redirect_url` field on the resulting object. When `null`, the `redirect_url` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n - `custom_rule` (`list[obj]`): Set the `custom_rule` field on the resulting object. When `null`, the `custom_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.cdn_frontdoor_firewall_policy.custom_rule.new](#fn-custom_rulenew) constructor.\n - `managed_rule` (`list[obj]`): Set the `managed_rule` field on the resulting object. When `null`, the `managed_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.cdn_frontdoor_firewall_policy.managed_rule.new](#fn-managed_rulenew) 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.cdn_frontdoor_firewall_policy.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 `cdn_frontdoor_firewall_policy` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.cdn_frontdoor_firewall_policy.newAttrs` constructs a new object with attributes and blocks configured for the `cdn_frontdoor_firewall_policy`\nTerraform resource.\n\nUnlike [azurerm.cdn_frontdoor_firewall_policy.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 - `custom_block_response_body` (`string`): Set the `custom_block_response_body` field on the resulting object. When `null`, the `custom_block_response_body` field will be omitted from the resulting object.\n - `custom_block_response_status_code` (`number`): Set the `custom_block_response_status_code` field on the resulting object. When `null`, the `custom_block_response_status_code` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object.\n - `mode` (`string`): Set the `mode` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `redirect_url` (`string`): Set the `redirect_url` field on the resulting object. When `null`, the `redirect_url` field will be omitted from the resulting object.\n - `request_body_check_enabled` (`bool`): Set the `request_body_check_enabled` field on the resulting object. When `null`, the `request_body_check_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n - `custom_rule` (`list[obj]`): Set the `custom_rule` field on the resulting object. When `null`, the `custom_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.cdn_frontdoor_firewall_policy.custom_rule.new](#fn-custom_rulenew) constructor.\n - `managed_rule` (`list[obj]`): Set the `managed_rule` field on the resulting object. When `null`, the `managed_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.cdn_frontdoor_firewall_policy.managed_rule.new](#fn-managed_rulenew) 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.cdn_frontdoor_firewall_policy.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 `cdn_frontdoor_firewall_policy` resource into the root Terraform configuration.\n', args=[]), newAttrs( mode, name, @@ -167,6 +169,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); enabled=null, managed_rule=null, redirect_url=null, + request_body_check_enabled=null, tags=null, timeouts=null ):: std.prune(a={ @@ -178,6 +181,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); mode: mode, name: name, redirect_url: redirect_url, + request_body_check_enabled: request_body_check_enabled, resource_group_name: resource_group_name, sku_name: sku_name, tags: tags, @@ -297,6 +301,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withRequestBodyCheckEnabled':: d.fn(help='`azurerm.bool.withRequestBodyCheckEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the request_body_check_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 `request_body_check_enabled` field.\n', args=[]), + withRequestBodyCheckEnabled(resourceLabel, value): { + resource+: { + azurerm_cdn_frontdoor_firewall_policy+: { + [resourceLabel]+: { + request_body_check_enabled: 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/cdn_frontdoor_rule_set.libsonnet b/3.x/_gen/resources/cdn_frontdoor_rule_set.libsonnet index 8ffe3cb1..0288105d 100644 --- a/3.x/_gen/resources/cdn_frontdoor_rule_set.libsonnet +++ b/3.x/_gen/resources/cdn_frontdoor_rule_set.libsonnet @@ -26,17 +26,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.cdn_frontdoor_rule_set.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':: d.fn(help='\n`azurerm.cdn_frontdoor_rule_set.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withCdnFrontdoorProfileId':: d.fn(help='`azurerm.string.withCdnFrontdoorProfileId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the cdn_frontdoor_profile_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 `cdn_frontdoor_profile_id` field.\n', args=[]), diff --git a/3.x/_gen/resources/chaos_studio_target.libsonnet b/3.x/_gen/resources/chaos_studio_target.libsonnet new file mode 100644 index 00000000..d0f97e3f --- /dev/null +++ b/3.x/_gen/resources/chaos_studio_target.libsonnet @@ -0,0 +1,98 @@ +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='chaos_studio_target', url='', help='`chaos_studio_target` represents the `azurerm_chaos_studio_target` 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.chaos_studio_target.new` injects a new `azurerm_chaos_studio_target` 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.chaos_studio_target.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.chaos_studio_target` using the reference:\n\n $._ref.azurerm_chaos_studio_target.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_chaos_studio_target.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 - `target_resource_id` (`string`): Set the `target_resource_id` field on the resulting resource block.\n - `target_type` (`string`): Set the `target_type` 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.chaos_studio_target.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, + target_resource_id, + target_type, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_chaos_studio_target', + label=resourceLabel, + attrs=self.newAttrs( + location=location, + target_resource_id=target_resource_id, + target_type=target_type, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.chaos_studio_target.newAttrs` constructs a new object with attributes and blocks configured for the `chaos_studio_target`\nTerraform resource.\n\nUnlike [azurerm.chaos_studio_target.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 - `target_resource_id` (`string`): Set the `target_resource_id` field on the resulting object.\n - `target_type` (`string`): Set the `target_type` 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.chaos_studio_target.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 `chaos_studio_target` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + location, + target_resource_id, + target_type, + timeouts=null + ):: std.prune(a={ + location: location, + target_resource_id: target_resource_id, + target_type: target_type, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.chaos_studio_target.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, + }), + }, + '#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_chaos_studio_target+: { + [resourceLabel]+: { + location: value, + }, + }, + }, + }, + '#withTargetResourceId':: d.fn(help='`azurerm.string.withTargetResourceId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the target_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 `target_resource_id` field.\n', args=[]), + withTargetResourceId(resourceLabel, value): { + resource+: { + azurerm_chaos_studio_target+: { + [resourceLabel]+: { + target_resource_id: value, + }, + }, + }, + }, + '#withTargetType':: d.fn(help='`azurerm.string.withTargetType` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the target_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 `target_type` field.\n', args=[]), + withTargetType(resourceLabel, value): { + resource+: { + azurerm_chaos_studio_target+: { + [resourceLabel]+: { + target_type: 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_chaos_studio_target+: { + [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_chaos_studio_target+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/cognitive_deployment.libsonnet b/3.x/_gen/resources/cognitive_deployment.libsonnet index 5e839042..c77d7bad 100644 --- a/3.x/_gen/resources/cognitive_deployment.libsonnet +++ b/3.x/_gen/resources/cognitive_deployment.libsonnet @@ -3,11 +3,11 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); { '#':: d.pkg(name='cognitive_deployment', url='', help='`cognitive_deployment` represents the `azurerm_cognitive_deployment` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), model:: { - '#new':: d.fn(help='\n`azurerm.cognitive_deployment.model.new` constructs a new object with attributes and blocks configured for the `model`\nTerraform sub block.\n\n\n\n**Args**:\n - `format` (`string`): Set the `format` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `version` (`string`): Set the `version` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `model` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.cognitive_deployment.model.new` constructs a new object with attributes and blocks configured for the `model`\nTerraform sub block.\n\n\n\n**Args**:\n - `format` (`string`): Set the `format` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `version` (`string`): Set the `version` field on the resulting object. When `null`, the `version` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `model` sub block.\n', args=[]), new( format, name, - version + version=null ):: std.prune(a={ format: format, name: name, diff --git a/3.x/_gen/resources/container_app.libsonnet b/3.x/_gen/resources/container_app.libsonnet index e6c0ca5c..b61fac8e 100644 --- a/3.x/_gen/resources/container_app.libsonnet +++ b/3.x/_gen/resources/container_app.libsonnet @@ -37,13 +37,28 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); name: name, }), }, - '#new':: d.fn(help='\n`azurerm.container_app.ingress.new` constructs a new object with attributes and blocks configured for the `ingress`\nTerraform sub block.\n\n\n\n**Args**:\n - `allow_insecure_connections` (`bool`): Should this ingress allow insecure connections? When `null`, the `allow_insecure_connections` field will be omitted from the resulting object.\n - `exposed_port` (`number`): The exposed port on the container for the Ingress traffic. When `null`, the `exposed_port` field will be omitted from the resulting object.\n - `external_enabled` (`bool`): Is this an external Ingress. When `null`, the `external_enabled` field will be omitted from the resulting object.\n - `target_port` (`number`): The target port on the container for the Ingress traffic.\n - `transport` (`string`): The transport method for the Ingress. Possible values include `auto`, `http`, and `http2`, `tcp`. Defaults to `auto` When `null`, the `transport` field will be omitted from the resulting object.\n - `custom_domain` (`list[obj]`): Set the `custom_domain` field on the resulting object. When `null`, the `custom_domain` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.ingress.custom_domain.new](#fn-ingresscustom_domainnew) constructor.\n - `traffic_weight` (`list[obj]`): Set the `traffic_weight` field on the resulting object. When `null`, the `traffic_weight` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.ingress.traffic_weight.new](#fn-ingresstraffic_weightnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `ingress` sub block.\n', args=[]), + ip_security_restriction:: { + '#new':: d.fn(help='\n`azurerm.container_app.ingress.ip_security_restriction.new` constructs a new object with attributes and blocks configured for the `ip_security_restriction`\nTerraform sub block.\n\n\n\n**Args**:\n - `action` (`string`): The action. Allow or Deny.\n - `description` (`string`): Describe the IP restriction rule that is being sent to the container-app. When `null`, the `description` field will be omitted from the resulting object.\n - `ip_address_range` (`string`): CIDR notation to match incoming IP address.\n - `name` (`string`): Name for the IP restriction rule.\n\n**Returns**:\n - An attribute object that represents the `ip_security_restriction` sub block.\n', args=[]), + new( + action, + ip_address_range, + name, + description=null + ):: std.prune(a={ + action: action, + description: description, + ip_address_range: ip_address_range, + name: name, + }), + }, + '#new':: d.fn(help='\n`azurerm.container_app.ingress.new` constructs a new object with attributes and blocks configured for the `ingress`\nTerraform sub block.\n\n\n\n**Args**:\n - `allow_insecure_connections` (`bool`): Should this ingress allow insecure connections? When `null`, the `allow_insecure_connections` field will be omitted from the resulting object.\n - `exposed_port` (`number`): The exposed port on the container for the Ingress traffic. When `null`, the `exposed_port` field will be omitted from the resulting object.\n - `external_enabled` (`bool`): Is this an external Ingress. When `null`, the `external_enabled` field will be omitted from the resulting object.\n - `target_port` (`number`): The target port on the container for the Ingress traffic.\n - `transport` (`string`): The transport method for the Ingress. Possible values include `auto`, `http`, and `http2`, `tcp`. Defaults to `auto` When `null`, the `transport` field will be omitted from the resulting object.\n - `custom_domain` (`list[obj]`): Set the `custom_domain` field on the resulting object. When `null`, the `custom_domain` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.ingress.custom_domain.new](#fn-ingresscustom_domainnew) constructor.\n - `ip_security_restriction` (`list[obj]`): Set the `ip_security_restriction` field on the resulting object. When `null`, the `ip_security_restriction` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.ingress.ip_security_restriction.new](#fn-ingressip_security_restrictionnew) constructor.\n - `traffic_weight` (`list[obj]`): Set the `traffic_weight` field on the resulting object. When `null`, the `traffic_weight` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.ingress.traffic_weight.new](#fn-ingresstraffic_weightnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `ingress` sub block.\n', args=[]), new( target_port, allow_insecure_connections=null, custom_domain=null, exposed_port=null, external_enabled=null, + ip_security_restriction=null, traffic_weight=null, transport=null ):: std.prune(a={ @@ -51,6 +66,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); custom_domain: custom_domain, exposed_port: exposed_port, external_enabled: external_enabled, + ip_security_restriction: ip_security_restriction, target_port: target_port, traffic_weight: traffic_weight, transport: transport, @@ -70,7 +86,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, }, - '#new':: d.fn(help="\n`azurerm.container_app.new` injects a new `azurerm_container_app` 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.container_app.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.container_app` using the reference:\n\n $._ref.azurerm_container_app.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_container_app.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 - `container_app_environment_id` (`string`): The ID of the Container App Environment to host this Container App.\n - `name` (`string`): The name for this Container App.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `revision_mode` (`string`): Set the `revision_mode` 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 - `dapr` (`list[obj]`): Set the `dapr` field on the resulting resource block. When `null`, the `dapr` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.dapr.new](#fn-daprnew) 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.container_app.identity.new](#fn-identitynew) constructor.\n - `ingress` (`list[obj]`): Set the `ingress` field on the resulting resource block. When `null`, the `ingress` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.ingress.new](#fn-ingressnew) constructor.\n - `registry` (`list[obj]`): Set the `registry` field on the resulting resource block. When `null`, the `registry` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.registry.new](#fn-registrynew) 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.container_app.secret.new](#fn-secretnew) constructor.\n - `template` (`list[obj]`): Set the `template` field on the resulting resource block. When `null`, the `template` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.template.new](#fn-templatenew) 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.container_app.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.container_app.new` injects a new `azurerm_container_app` 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.container_app.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.container_app` using the reference:\n\n $._ref.azurerm_container_app.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_container_app.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 - `container_app_environment_id` (`string`): The ID of the Container App Environment to host this Container App.\n - `name` (`string`): The name for this Container App.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `revision_mode` (`string`): Set the `revision_mode` 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 - `workload_profile_name` (`string`): Set the `workload_profile_name` field on the resulting resource block. When `null`, the `workload_profile_name` field will be omitted from the resulting object.\n - `dapr` (`list[obj]`): Set the `dapr` field on the resulting resource block. When `null`, the `dapr` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.dapr.new](#fn-daprnew) 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.container_app.identity.new](#fn-identitynew) constructor.\n - `ingress` (`list[obj]`): Set the `ingress` field on the resulting resource block. When `null`, the `ingress` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.ingress.new](#fn-ingressnew) constructor.\n - `registry` (`list[obj]`): Set the `registry` field on the resulting resource block. When `null`, the `registry` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.registry.new](#fn-registrynew) 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.container_app.secret.new](#fn-secretnew) constructor.\n - `template` (`list[obj]`): Set the `template` field on the resulting resource block. When `null`, the `template` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.template.new](#fn-templatenew) 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.container_app.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, container_app_environment_id, @@ -85,6 +101,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=null, template=null, timeouts=null, + workload_profile_name=null, _meta={} ):: tf.withResource( type='azurerm_container_app', @@ -101,11 +118,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); secret=secret, tags=tags, template=template, - timeouts=timeouts + timeouts=timeouts, + workload_profile_name=workload_profile_name ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.container_app.newAttrs` constructs a new object with attributes and blocks configured for the `container_app`\nTerraform resource.\n\nUnlike [azurerm.container_app.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 - `container_app_environment_id` (`string`): The ID of the Container App Environment to host this Container App.\n - `name` (`string`): The name for this Container App.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `revision_mode` (`string`): Set the `revision_mode` 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 - `dapr` (`list[obj]`): Set the `dapr` field on the resulting object. When `null`, the `dapr` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.dapr.new](#fn-daprnew) 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.container_app.identity.new](#fn-identitynew) constructor.\n - `ingress` (`list[obj]`): Set the `ingress` field on the resulting object. When `null`, the `ingress` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.ingress.new](#fn-ingressnew) constructor.\n - `registry` (`list[obj]`): Set the `registry` field on the resulting object. When `null`, the `registry` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.registry.new](#fn-registrynew) 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.container_app.secret.new](#fn-secretnew) constructor.\n - `template` (`list[obj]`): Set the `template` field on the resulting object. When `null`, the `template` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.template.new](#fn-templatenew) 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.container_app.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 `container_app` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.container_app.newAttrs` constructs a new object with attributes and blocks configured for the `container_app`\nTerraform resource.\n\nUnlike [azurerm.container_app.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 - `container_app_environment_id` (`string`): The ID of the Container App Environment to host this Container App.\n - `name` (`string`): The name for this Container App.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `revision_mode` (`string`): Set the `revision_mode` 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 - `workload_profile_name` (`string`): Set the `workload_profile_name` field on the resulting object. When `null`, the `workload_profile_name` field will be omitted from the resulting object.\n - `dapr` (`list[obj]`): Set the `dapr` field on the resulting object. When `null`, the `dapr` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.dapr.new](#fn-daprnew) 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.container_app.identity.new](#fn-identitynew) constructor.\n - `ingress` (`list[obj]`): Set the `ingress` field on the resulting object. When `null`, the `ingress` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.ingress.new](#fn-ingressnew) constructor.\n - `registry` (`list[obj]`): Set the `registry` field on the resulting object. When `null`, the `registry` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.registry.new](#fn-registrynew) 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.container_app.secret.new](#fn-secretnew) constructor.\n - `template` (`list[obj]`): Set the `template` field on the resulting object. When `null`, the `template` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.template.new](#fn-templatenew) 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.container_app.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 `container_app` resource into the root Terraform configuration.\n', args=[]), newAttrs( container_app_environment_id, name, @@ -118,7 +136,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); secret=null, tags=null, template=null, - timeouts=null + timeouts=null, + workload_profile_name=null ):: std.prune(a={ container_app_environment_id: container_app_environment_id, dapr: dapr, @@ -132,6 +151,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags: tags, template: template, timeouts: timeouts, + workload_profile_name: workload_profile_name, }), registry:: { '#new':: d.fn(help='\n`azurerm.container_app.registry.new` constructs a new object with attributes and blocks configured for the `registry`\nTerraform sub block.\n\n\n\n**Args**:\n - `identity` (`string`): ID of the System or User Managed Identity used to pull images from the Container Registry When `null`, the `identity` field will be omitted from the resulting object.\n - `password_secret_name` (`string`): The name of the Secret Reference containing the password value for this user on the Container Registry. When `null`, the `password_secret_name` field will be omitted from the resulting object.\n - `server` (`string`): The hostname for the Container Registry.\n - `username` (`string`): The username to use for this Container Registry. When `null`, the `username` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `registry` sub block.\n', args=[]), @@ -378,12 +398,57 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); name: name, }), }, - '#new':: d.fn(help='\n`azurerm.container_app.template.new` constructs a new object with attributes and blocks configured for the `template`\nTerraform sub block.\n\n\n\n**Args**:\n - `max_replicas` (`number`): The maximum number of replicas for this container. When `null`, the `max_replicas` field will be omitted from the resulting object.\n - `min_replicas` (`number`): The minimum number of replicas for this container. When `null`, the `min_replicas` field will be omitted from the resulting object.\n - `revision_suffix` (`string`): The suffix for the revision. This value must be unique for the lifetime of the Resource. If omitted the service will use a hash function to create one. When `null`, the `revision_suffix` field will be omitted from the resulting object.\n - `azure_queue_scale_rule` (`list[obj]`): Set the `azure_queue_scale_rule` field on the resulting object. When `null`, the `azure_queue_scale_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.container_app.template.azure_queue_scale_rule.new](#fn-templateazure_queue_scale_rulenew) constructor.\n - `container` (`list[obj]`): Set the `container` field on the resulting object. When `null`, the `container` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.template.container.new](#fn-templatecontainernew) constructor.\n - `custom_scale_rule` (`list[obj]`): Set the `custom_scale_rule` field on the resulting object. When `null`, the `custom_scale_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.container_app.template.custom_scale_rule.new](#fn-templatecustom_scale_rulenew) constructor.\n - `http_scale_rule` (`list[obj]`): Set the `http_scale_rule` field on the resulting object. When `null`, the `http_scale_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.container_app.template.http_scale_rule.new](#fn-templatehttp_scale_rulenew) constructor.\n - `tcp_scale_rule` (`list[obj]`): Set the `tcp_scale_rule` field on the resulting object. When `null`, the `tcp_scale_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.container_app.template.tcp_scale_rule.new](#fn-templatetcp_scale_rulenew) constructor.\n - `volume` (`list[obj]`): Set the `volume` field on the resulting object. When `null`, the `volume` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.template.volume.new](#fn-templatevolumenew) constructor.\n\n**Returns**:\n - An attribute object that represents the `template` sub block.\n', args=[]), + init_container:: { + env:: { + '#new':: d.fn(help='\n`azurerm.container_app.template.init_container.env.new` constructs a new object with attributes and blocks configured for the `env`\nTerraform sub block.\n\n\n\n**Args**:\n - `name` (`string`): The name of the environment variable for the container.\n - `secret_name` (`string`): The name of the secret that contains the value for this environment variable. When `null`, the `secret_name` field will be omitted from the resulting object.\n - `value` (`string`): The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used When `null`, the `value` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `env` sub block.\n', args=[]), + new( + name, + secret_name=null, + value=null + ):: std.prune(a={ + name: name, + secret_name: secret_name, + value: value, + }), + }, + '#new':: d.fn(help='\n`azurerm.container_app.template.init_container.new` constructs a new object with attributes and blocks configured for the `init_container`\nTerraform sub block.\n\n\n\n**Args**:\n - `args` (`list`): A list of args to pass to the container. When `null`, the `args` field will be omitted from the resulting object.\n - `command` (`list`): A command to pass to the container to override the default. This is provided as a list of command line elements without spaces. When `null`, the `command` field will be omitted from the resulting object.\n - `cpu` (`number`): The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.0` / `2.0` or `0.5` / `1.0` When `null`, the `cpu` field will be omitted from the resulting object.\n - `image` (`string`): The image to use to create the container.\n - `memory` (`string`): The amount of memory to allocate to the container. Possible values include `0.5Gi`, `1.0Gi`, `1.5Gi`, `2.0Gi`, `2.5Gi`, `3.0Gi`, `3.5Gi`, and `4.0Gi`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.25` / `2.5Gi` or `0.75` / `1.5Gi` When `null`, the `memory` field will be omitted from the resulting object.\n - `name` (`string`): The name of the container.\n - `env` (`list[obj]`): Set the `env` field on the resulting object. When `null`, the `env` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.template.init_container.env.new](#fn-templatetemplateenvnew) constructor.\n - `volume_mounts` (`list[obj]`): Set the `volume_mounts` field on the resulting object. When `null`, the `volume_mounts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.template.init_container.volume_mounts.new](#fn-templatetemplatevolume_mountsnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `init_container` sub block.\n', args=[]), + new( + image, + name, + args=null, + command=null, + cpu=null, + env=null, + memory=null, + volume_mounts=null + ):: std.prune(a={ + args: args, + command: command, + cpu: cpu, + env: env, + image: image, + memory: memory, + name: name, + volume_mounts: volume_mounts, + }), + volume_mounts:: { + '#new':: d.fn(help='\n`azurerm.container_app.template.init_container.volume_mounts.new` constructs a new object with attributes and blocks configured for the `volume_mounts`\nTerraform sub block.\n\n\n\n**Args**:\n - `name` (`string`): The name of the Volume to be mounted in the container.\n - `path` (`string`): The path in the container at which to mount this volume.\n\n**Returns**:\n - An attribute object that represents the `volume_mounts` sub block.\n', args=[]), + new( + name, + path + ):: std.prune(a={ + name: name, + path: path, + }), + }, + }, + '#new':: d.fn(help='\n`azurerm.container_app.template.new` constructs a new object with attributes and blocks configured for the `template`\nTerraform sub block.\n\n\n\n**Args**:\n - `max_replicas` (`number`): The maximum number of replicas for this container. When `null`, the `max_replicas` field will be omitted from the resulting object.\n - `min_replicas` (`number`): The minimum number of replicas for this container. When `null`, the `min_replicas` field will be omitted from the resulting object.\n - `revision_suffix` (`string`): The suffix for the revision. This value must be unique for the lifetime of the Resource. If omitted the service will use a hash function to create one. When `null`, the `revision_suffix` field will be omitted from the resulting object.\n - `azure_queue_scale_rule` (`list[obj]`): Set the `azure_queue_scale_rule` field on the resulting object. When `null`, the `azure_queue_scale_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.container_app.template.azure_queue_scale_rule.new](#fn-templateazure_queue_scale_rulenew) constructor.\n - `container` (`list[obj]`): Set the `container` field on the resulting object. When `null`, the `container` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.template.container.new](#fn-templatecontainernew) constructor.\n - `custom_scale_rule` (`list[obj]`): Set the `custom_scale_rule` field on the resulting object. When `null`, the `custom_scale_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.container_app.template.custom_scale_rule.new](#fn-templatecustom_scale_rulenew) constructor.\n - `http_scale_rule` (`list[obj]`): Set the `http_scale_rule` field on the resulting object. When `null`, the `http_scale_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.container_app.template.http_scale_rule.new](#fn-templatehttp_scale_rulenew) constructor.\n - `init_container` (`list[obj]`): Set the `init_container` field on the resulting object. When `null`, the `init_container` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.template.init_container.new](#fn-templateinit_containernew) constructor.\n - `tcp_scale_rule` (`list[obj]`): Set the `tcp_scale_rule` field on the resulting object. When `null`, the `tcp_scale_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.container_app.template.tcp_scale_rule.new](#fn-templatetcp_scale_rulenew) constructor.\n - `volume` (`list[obj]`): Set the `volume` field on the resulting object. When `null`, the `volume` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.template.volume.new](#fn-templatevolumenew) constructor.\n\n**Returns**:\n - An attribute object that represents the `template` sub block.\n', args=[]), new( azure_queue_scale_rule=null, container=null, custom_scale_rule=null, http_scale_rule=null, + init_container=null, max_replicas=null, min_replicas=null, revision_suffix=null, @@ -394,6 +459,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); container: container, custom_scale_rule: custom_scale_rule, http_scale_rule: http_scale_rule, + init_container: init_container, max_replicas: max_replicas, min_replicas: min_replicas, revision_suffix: revision_suffix, @@ -639,4 +705,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withWorkloadProfileName':: d.fn(help='`azurerm.string.withWorkloadProfileName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the workload_profile_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 `workload_profile_name` field.\n', args=[]), + withWorkloadProfileName(resourceLabel, value): { + resource+: { + azurerm_container_app+: { + [resourceLabel]+: { + workload_profile_name: value, + }, + }, + }, + }, } diff --git a/3.x/_gen/resources/container_app_environment.libsonnet b/3.x/_gen/resources/container_app_environment.libsonnet index 5e8b8be5..df2473b9 100644 --- a/3.x/_gen/resources/container_app_environment.libsonnet +++ b/3.x/_gen/resources/container_app_environment.libsonnet @@ -2,7 +2,7 @@ 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='container_app_environment', url='', help='`container_app_environment` represents the `azurerm_container_app_environment` 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.container_app_environment.new` injects a new `azurerm_container_app_environment` 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.container_app_environment.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.container_app_environment` using the reference:\n\n $._ref.azurerm_container_app_environment.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_container_app_environment.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 - `dapr_application_insights_connection_string` (`string`): Application Insights connection string used by Dapr to export Service to Service communication telemetry. When `null`, the `dapr_application_insights_connection_string` field will be omitted from the resulting object.\n - `infrastructure_subnet_id` (`string`): The existing Subnet to use for the Container Apps Control Plane. **NOTE:** The Subnet must have a `/21` or larger address space. When `null`, the `infrastructure_subnet_id` field will be omitted from the resulting object.\n - `internal_load_balancer_enabled` (`bool`): Should the Container Environment operate in Internal Load Balancing Mode? Defaults to `false`. **Note:** can only be set to `true` if `infrastructure_subnet_id` is specified. When `null`, the `internal_load_balancer_enabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `log_analytics_workspace_id` (`string`): The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. When `null`, the `log_analytics_workspace_id` field will be omitted from the resulting object.\n - `name` (`string`): The name of the Container Apps Managed Environment.\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 - `zone_redundancy_enabled` (`bool`): Set the `zone_redundancy_enabled` field on the resulting resource block. When `null`, the `zone_redundancy_enabled` field will be omitted from the resulting object.\n - `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.container_app_environment.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.container_app_environment.new` injects a new `azurerm_container_app_environment` 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.container_app_environment.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.container_app_environment` using the reference:\n\n $._ref.azurerm_container_app_environment.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_container_app_environment.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 - `dapr_application_insights_connection_string` (`string`): Application Insights connection string used by Dapr to export Service to Service communication telemetry. When `null`, the `dapr_application_insights_connection_string` field will be omitted from the resulting object.\n - `infrastructure_subnet_id` (`string`): The existing Subnet to use for the Container Apps Control Plane. **NOTE:** The Subnet must have a `/21` or larger address space. When `null`, the `infrastructure_subnet_id` field will be omitted from the resulting object.\n - `internal_load_balancer_enabled` (`bool`): Should the Container Environment operate in Internal Load Balancing Mode? Defaults to `false`. **Note:** can only be set to `true` if `infrastructure_subnet_id` is specified. When `null`, the `internal_load_balancer_enabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `log_analytics_workspace_id` (`string`): The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. When `null`, the `log_analytics_workspace_id` field will be omitted from the resulting object.\n - `name` (`string`): The name of the Container Apps Managed Environment.\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 - `zone_redundancy_enabled` (`bool`): Set the `zone_redundancy_enabled` field on the resulting resource block. When `null`, the `zone_redundancy_enabled` field will be omitted from the resulting object.\n - `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.container_app_environment.timeouts.new](#fn-timeoutsnew) constructor.\n - `workload_profile` (`list[obj]`): Set the `workload_profile` field on the resulting resource block. When `null`, the `workload_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app_environment.workload_profile.new](#fn-workload_profilenew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, location, @@ -14,6 +14,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); log_analytics_workspace_id=null, tags=null, timeouts=null, + workload_profile=null, zone_redundancy_enabled=null, _meta={} ):: tf.withResource( @@ -29,11 +30,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); resource_group_name=resource_group_name, tags=tags, timeouts=timeouts, + workload_profile=workload_profile, zone_redundancy_enabled=zone_redundancy_enabled ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.container_app_environment.newAttrs` constructs a new object with attributes and blocks configured for the `container_app_environment`\nTerraform resource.\n\nUnlike [azurerm.container_app_environment.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 - `dapr_application_insights_connection_string` (`string`): Application Insights connection string used by Dapr to export Service to Service communication telemetry. When `null`, the `dapr_application_insights_connection_string` field will be omitted from the resulting object.\n - `infrastructure_subnet_id` (`string`): The existing Subnet to use for the Container Apps Control Plane. **NOTE:** The Subnet must have a `/21` or larger address space. When `null`, the `infrastructure_subnet_id` field will be omitted from the resulting object.\n - `internal_load_balancer_enabled` (`bool`): Should the Container Environment operate in Internal Load Balancing Mode? Defaults to `false`. **Note:** can only be set to `true` if `infrastructure_subnet_id` is specified. When `null`, the `internal_load_balancer_enabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `log_analytics_workspace_id` (`string`): The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. When `null`, the `log_analytics_workspace_id` field will be omitted from the resulting object.\n - `name` (`string`): The name of the Container Apps Managed Environment.\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 - `zone_redundancy_enabled` (`bool`): Set the `zone_redundancy_enabled` field on the resulting object. When `null`, the `zone_redundancy_enabled` field will be omitted from the resulting object.\n - `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.container_app_environment.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 `container_app_environment` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.container_app_environment.newAttrs` constructs a new object with attributes and blocks configured for the `container_app_environment`\nTerraform resource.\n\nUnlike [azurerm.container_app_environment.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 - `dapr_application_insights_connection_string` (`string`): Application Insights connection string used by Dapr to export Service to Service communication telemetry. When `null`, the `dapr_application_insights_connection_string` field will be omitted from the resulting object.\n - `infrastructure_subnet_id` (`string`): The existing Subnet to use for the Container Apps Control Plane. **NOTE:** The Subnet must have a `/21` or larger address space. When `null`, the `infrastructure_subnet_id` field will be omitted from the resulting object.\n - `internal_load_balancer_enabled` (`bool`): Should the Container Environment operate in Internal Load Balancing Mode? Defaults to `false`. **Note:** can only be set to `true` if `infrastructure_subnet_id` is specified. When `null`, the `internal_load_balancer_enabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `log_analytics_workspace_id` (`string`): The ID for the Log Analytics Workspace to link this Container Apps Managed Environment to. When `null`, the `log_analytics_workspace_id` field will be omitted from the resulting object.\n - `name` (`string`): The name of the Container Apps Managed Environment.\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 - `zone_redundancy_enabled` (`bool`): Set the `zone_redundancy_enabled` field on the resulting object. When `null`, the `zone_redundancy_enabled` field will be omitted from the resulting object.\n - `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.container_app_environment.timeouts.new](#fn-timeoutsnew) constructor.\n - `workload_profile` (`list[obj]`): Set the `workload_profile` field on the resulting object. When `null`, the `workload_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app_environment.workload_profile.new](#fn-workload_profilenew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `container_app_environment` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, @@ -44,6 +46,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); log_analytics_workspace_id=null, tags=null, timeouts=null, + workload_profile=null, zone_redundancy_enabled=null ):: std.prune(a={ dapr_application_insights_connection_string: dapr_application_insights_connection_string, @@ -55,6 +58,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); resource_group_name: resource_group_name, tags: tags, timeouts: timeouts, + workload_profile: workload_profile, zone_redundancy_enabled: zone_redundancy_enabled, }), timeouts:: { @@ -171,6 +175,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withWorkloadProfile':: d.fn(help='`azurerm.list[obj].withWorkloadProfile` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the workload_profile 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].withWorkloadProfileMixin](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 `workload_profile` field.\n', args=[]), + withWorkloadProfile(resourceLabel, value): { + resource+: { + azurerm_container_app_environment+: { + [resourceLabel]+: { + workload_profile: value, + }, + }, + }, + }, + '#withWorkloadProfileMixin':: d.fn(help='`azurerm.list[obj].withWorkloadProfileMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the workload_profile 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].withWorkloadProfile](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 `workload_profile` field.\n', args=[]), + withWorkloadProfileMixin(resourceLabel, value): { + resource+: { + azurerm_container_app_environment+: { + [resourceLabel]+: { + workload_profile+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, '#withZoneRedundancyEnabled':: d.fn(help='`azurerm.bool.withZoneRedundancyEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the zone_redundancy_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 `zone_redundancy_enabled` field.\n', args=[]), withZoneRedundancyEnabled(resourceLabel, value): { resource+: { @@ -181,4 +205,18 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + workload_profile:: { + '#new':: d.fn(help='\n`azurerm.container_app_environment.workload_profile.new` constructs a new object with attributes and blocks configured for the `workload_profile`\nTerraform sub block.\n\n\n\n**Args**:\n - `maximum_count` (`number`): Set the `maximum_count` field on the resulting object.\n - `minimum_count` (`number`): Set the `minimum_count` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `workload_profile_type` (`string`): Set the `workload_profile_type` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `workload_profile` sub block.\n', args=[]), + new( + maximum_count, + minimum_count, + name, + workload_profile_type + ):: std.prune(a={ + maximum_count: maximum_count, + minimum_count: minimum_count, + name: name, + workload_profile_type: workload_profile_type, + }), + }, } diff --git a/3.x/_gen/resources/container_group.libsonnet b/3.x/_gen/resources/container_group.libsonnet index 28ab6423..a402e6e1 100644 --- a/3.x/_gen/resources/container_group.libsonnet +++ b/3.x/_gen/resources/container_group.libsonnet @@ -304,7 +304,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, }, - '#new':: d.fn(help="\n`azurerm.container_group.new` injects a new `azurerm_container_group` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.container_group.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.container_group` using the reference:\n\n $._ref.azurerm_container_group.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_container_group.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `dns_name_label` (`string`): Set the `dns_name_label` field on the resulting resource block. When `null`, the `dns_name_label` field will be omitted from the resulting object.\n - `dns_name_label_reuse_policy` (`string`): Set the `dns_name_label_reuse_policy` field on the resulting resource block. When `null`, the `dns_name_label_reuse_policy` field will be omitted from the resulting object.\n - `exposed_port` (`list`): Set the `exposed_port` field on the resulting resource block. When `null`, the `exposed_port` field will be omitted from the resulting object.\n - `ip_address_type` (`string`): Set the `ip_address_type` field on the resulting resource block. When `null`, the `ip_address_type` field will be omitted from the resulting object.\n - `key_vault_key_id` (`string`): Set the `key_vault_key_id` field on the resulting resource block. When `null`, the `key_vault_key_id` field will be omitted from the resulting object.\n - `key_vault_user_assigned_identity_id` (`string`): Set the `key_vault_user_assigned_identity_id` field on the resulting resource block. When `null`, the `key_vault_user_assigned_identity_id` 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 - `network_profile_id` (`string`): Set the `network_profile_id` field on the resulting resource block. When `null`, the `network_profile_id` field will be omitted from the resulting object.\n - `os_type` (`string`): Set the `os_type` field on the resulting resource block.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `restart_policy` (`string`): Set the `restart_policy` field on the resulting resource block. When `null`, the `restart_policy` field will be omitted from the resulting object.\n - `sku` (`string`): Set the `sku` field on the resulting resource block. When `null`, the `sku` field will be omitted from the resulting object.\n - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting resource block. When `null`, the `subnet_ids` 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 - `zones` (`list`): Set the `zones` field on the resulting resource block. When `null`, the `zones` field will be omitted from the resulting object.\n - `container` (`list[obj]`): Set the `container` field on the resulting resource block. When `null`, the `container` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.container.new](#fn-containernew) constructor.\n - `diagnostics` (`list[obj]`): Set the `diagnostics` field on the resulting resource block. When `null`, the `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.container_group.diagnostics.new](#fn-diagnosticsnew) constructor.\n - `dns_config` (`list[obj]`): Set the `dns_config` field on the resulting resource block. When `null`, the `dns_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.dns_config.new](#fn-dns_confignew) constructor.\n - `identity` (`list[obj]`): Set the `identity` field on the resulting resource block. When `null`, the `identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.identity.new](#fn-identitynew) constructor.\n - `image_registry_credential` (`list[obj]`): Set the `image_registry_credential` field on the resulting resource block. When `null`, the `image_registry_credential` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.image_registry_credential.new](#fn-image_registry_credentialnew) constructor.\n - `init_container` (`list[obj]`): Set the `init_container` field on the resulting resource block. When `null`, the `init_container` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.init_container.new](#fn-init_containernew) 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.container_group.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`azurerm.container_group.new` injects a new `azurerm_container_group` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.container_group.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.container_group` using the reference:\n\n $._ref.azurerm_container_group.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_container_group.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `dns_name_label` (`string`): Set the `dns_name_label` field on the resulting resource block. When `null`, the `dns_name_label` field will be omitted from the resulting object.\n - `dns_name_label_reuse_policy` (`string`): Set the `dns_name_label_reuse_policy` field on the resulting resource block. When `null`, the `dns_name_label_reuse_policy` field will be omitted from the resulting object.\n - `exposed_port` (`list`): Set the `exposed_port` field on the resulting resource block. When `null`, the `exposed_port` field will be omitted from the resulting object.\n - `ip_address_type` (`string`): Set the `ip_address_type` field on the resulting resource block. When `null`, the `ip_address_type` field will be omitted from the resulting object.\n - `key_vault_key_id` (`string`): Set the `key_vault_key_id` field on the resulting resource block. When `null`, the `key_vault_key_id` field will be omitted from the resulting object.\n - `key_vault_user_assigned_identity_id` (`string`): Set the `key_vault_user_assigned_identity_id` field on the resulting resource block. When `null`, the `key_vault_user_assigned_identity_id` 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 - `network_profile_id` (`string`): Set the `network_profile_id` field on the resulting resource block. When `null`, the `network_profile_id` field will be omitted from the resulting object.\n - `os_type` (`string`): Set the `os_type` field on the resulting resource block.\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 - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `restart_policy` (`string`): Set the `restart_policy` field on the resulting resource block. When `null`, the `restart_policy` field will be omitted from the resulting object.\n - `sku` (`string`): Set the `sku` field on the resulting resource block. When `null`, the `sku` field will be omitted from the resulting object.\n - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting resource block. When `null`, the `subnet_ids` 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 - `zones` (`list`): Set the `zones` field on the resulting resource block. When `null`, the `zones` field will be omitted from the resulting object.\n - `container` (`list[obj]`): Set the `container` field on the resulting resource block. When `null`, the `container` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.container.new](#fn-containernew) constructor.\n - `diagnostics` (`list[obj]`): Set the `diagnostics` field on the resulting resource block. When `null`, the `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.container_group.diagnostics.new](#fn-diagnosticsnew) constructor.\n - `dns_config` (`list[obj]`): Set the `dns_config` field on the resulting resource block. When `null`, the `dns_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.dns_config.new](#fn-dns_confignew) constructor.\n - `identity` (`list[obj]`): Set the `identity` field on the resulting resource block. When `null`, the `identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.identity.new](#fn-identitynew) constructor.\n - `image_registry_credential` (`list[obj]`): Set the `image_registry_credential` field on the resulting resource block. When `null`, the `image_registry_credential` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.image_registry_credential.new](#fn-image_registry_credentialnew) constructor.\n - `init_container` (`list[obj]`): Set the `init_container` field on the resulting resource block. When `null`, the `init_container` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.init_container.new](#fn-init_containernew) 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.container_group.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, location, @@ -324,6 +324,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); key_vault_key_id=null, key_vault_user_assigned_identity_id=null, network_profile_id=null, + priority=null, restart_policy=null, sku=null, subnet_ids=null, @@ -351,6 +352,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); name=name, network_profile_id=network_profile_id, os_type=os_type, + priority=priority, resource_group_name=resource_group_name, restart_policy=restart_policy, sku=sku, @@ -361,7 +363,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.container_group.newAttrs` constructs a new object with attributes and blocks configured for the `container_group`\nTerraform resource.\n\nUnlike [azurerm.container_group.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `dns_name_label` (`string`): Set the `dns_name_label` field on the resulting object. When `null`, the `dns_name_label` field will be omitted from the resulting object.\n - `dns_name_label_reuse_policy` (`string`): Set the `dns_name_label_reuse_policy` field on the resulting object. When `null`, the `dns_name_label_reuse_policy` field will be omitted from the resulting object.\n - `exposed_port` (`list`): Set the `exposed_port` field on the resulting object. When `null`, the `exposed_port` field will be omitted from the resulting object.\n - `ip_address_type` (`string`): Set the `ip_address_type` field on the resulting object. When `null`, the `ip_address_type` field will be omitted from the resulting object.\n - `key_vault_key_id` (`string`): Set the `key_vault_key_id` field on the resulting object. When `null`, the `key_vault_key_id` field will be omitted from the resulting object.\n - `key_vault_user_assigned_identity_id` (`string`): Set the `key_vault_user_assigned_identity_id` field on the resulting object. When `null`, the `key_vault_user_assigned_identity_id` 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 - `network_profile_id` (`string`): Set the `network_profile_id` field on the resulting object. When `null`, the `network_profile_id` field will be omitted from the resulting object.\n - `os_type` (`string`): Set the `os_type` field on the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `restart_policy` (`string`): Set the `restart_policy` field on the resulting object. When `null`, the `restart_policy` field will be omitted from the resulting object.\n - `sku` (`string`): Set the `sku` field on the resulting object. When `null`, the `sku` field will be omitted from the resulting object.\n - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting object. When `null`, the `subnet_ids` 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 - `zones` (`list`): Set the `zones` field on the resulting object. When `null`, the `zones` field will be omitted from the resulting object.\n - `container` (`list[obj]`): Set the `container` field on the resulting object. When `null`, the `container` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.container.new](#fn-containernew) constructor.\n - `diagnostics` (`list[obj]`): Set the `diagnostics` field on the resulting object. When `null`, the `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.container_group.diagnostics.new](#fn-diagnosticsnew) constructor.\n - `dns_config` (`list[obj]`): Set the `dns_config` field on the resulting object. When `null`, the `dns_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.dns_config.new](#fn-dns_confignew) constructor.\n - `identity` (`list[obj]`): Set the `identity` field on the resulting object. When `null`, the `identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.identity.new](#fn-identitynew) constructor.\n - `image_registry_credential` (`list[obj]`): Set the `image_registry_credential` field on the resulting object. When `null`, the `image_registry_credential` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.image_registry_credential.new](#fn-image_registry_credentialnew) constructor.\n - `init_container` (`list[obj]`): Set the `init_container` field on the resulting object. When `null`, the `init_container` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.init_container.new](#fn-init_containernew) 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.container_group.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `container_group` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.container_group.newAttrs` constructs a new object with attributes and blocks configured for the `container_group`\nTerraform resource.\n\nUnlike [azurerm.container_group.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `dns_name_label` (`string`): Set the `dns_name_label` field on the resulting object. When `null`, the `dns_name_label` field will be omitted from the resulting object.\n - `dns_name_label_reuse_policy` (`string`): Set the `dns_name_label_reuse_policy` field on the resulting object. When `null`, the `dns_name_label_reuse_policy` field will be omitted from the resulting object.\n - `exposed_port` (`list`): Set the `exposed_port` field on the resulting object. When `null`, the `exposed_port` field will be omitted from the resulting object.\n - `ip_address_type` (`string`): Set the `ip_address_type` field on the resulting object. When `null`, the `ip_address_type` field will be omitted from the resulting object.\n - `key_vault_key_id` (`string`): Set the `key_vault_key_id` field on the resulting object. When `null`, the `key_vault_key_id` field will be omitted from the resulting object.\n - `key_vault_user_assigned_identity_id` (`string`): Set the `key_vault_user_assigned_identity_id` field on the resulting object. When `null`, the `key_vault_user_assigned_identity_id` 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 - `network_profile_id` (`string`): Set the `network_profile_id` field on the resulting object. When `null`, the `network_profile_id` field will be omitted from the resulting object.\n - `os_type` (`string`): Set the `os_type` field on 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 - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `restart_policy` (`string`): Set the `restart_policy` field on the resulting object. When `null`, the `restart_policy` field will be omitted from the resulting object.\n - `sku` (`string`): Set the `sku` field on the resulting object. When `null`, the `sku` field will be omitted from the resulting object.\n - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting object. When `null`, the `subnet_ids` 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 - `zones` (`list`): Set the `zones` field on the resulting object. When `null`, the `zones` field will be omitted from the resulting object.\n - `container` (`list[obj]`): Set the `container` field on the resulting object. When `null`, the `container` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.container.new](#fn-containernew) constructor.\n - `diagnostics` (`list[obj]`): Set the `diagnostics` field on the resulting object. When `null`, the `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.container_group.diagnostics.new](#fn-diagnosticsnew) constructor.\n - `dns_config` (`list[obj]`): Set the `dns_config` field on the resulting object. When `null`, the `dns_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.dns_config.new](#fn-dns_confignew) constructor.\n - `identity` (`list[obj]`): Set the `identity` field on the resulting object. When `null`, the `identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.identity.new](#fn-identitynew) constructor.\n - `image_registry_credential` (`list[obj]`): Set the `image_registry_credential` field on the resulting object. When `null`, the `image_registry_credential` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.image_registry_credential.new](#fn-image_registry_credentialnew) constructor.\n - `init_container` (`list[obj]`): Set the `init_container` field on the resulting object. When `null`, the `init_container` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_group.init_container.new](#fn-init_containernew) 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.container_group.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `container_group` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, @@ -380,6 +382,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); key_vault_key_id=null, key_vault_user_assigned_identity_id=null, network_profile_id=null, + priority=null, restart_policy=null, sku=null, subnet_ids=null, @@ -403,6 +406,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); name: name, network_profile_id: network_profile_id, os_type: os_type, + priority: priority, resource_group_name: resource_group_name, restart_policy: restart_policy, sku: sku, @@ -645,6 +649,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withPriority':: d.fn(help='`azurerm.string.withPriority` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the priority 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 `priority` field.\n', args=[]), + withPriority(resourceLabel, value): { + resource+: { + azurerm_container_group+: { + [resourceLabel]+: { + priority: 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/cosmosdb_account.libsonnet b/3.x/_gen/resources/cosmosdb_account.libsonnet index b6ebd076..db197690 100644 --- a/3.x/_gen/resources/cosmosdb_account.libsonnet +++ b/3.x/_gen/resources/cosmosdb_account.libsonnet @@ -90,7 +90,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); type: type, }), }, - '#new':: d.fn(help="\n`azurerm.cosmosdb_account.new` injects a new `azurerm_cosmosdb_account` 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.cosmosdb_account.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.cosmosdb_account` using the reference:\n\n $._ref.azurerm_cosmosdb_account.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_cosmosdb_account.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 - `access_key_metadata_writes_enabled` (`bool`): Set the `access_key_metadata_writes_enabled` field on the resulting resource block. When `null`, the `access_key_metadata_writes_enabled` field will be omitted from the resulting object.\n - `analytical_storage_enabled` (`bool`): Set the `analytical_storage_enabled` field on the resulting resource block. When `null`, the `analytical_storage_enabled` field will be omitted from the resulting object.\n - `create_mode` (`string`): Set the `create_mode` field on the resulting resource block. When `null`, the `create_mode` field will be omitted from the resulting object.\n - `default_identity_type` (`string`): Set the `default_identity_type` field on the resulting resource block. When `null`, the `default_identity_type` field will be omitted from the resulting object.\n - `enable_automatic_failover` (`bool`): Set the `enable_automatic_failover` field on the resulting resource block. When `null`, the `enable_automatic_failover` field will be omitted from the resulting object.\n - `enable_free_tier` (`bool`): Set the `enable_free_tier` field on the resulting resource block. When `null`, the `enable_free_tier` field will be omitted from the resulting object.\n - `enable_multiple_write_locations` (`bool`): Set the `enable_multiple_write_locations` field on the resulting resource block. When `null`, the `enable_multiple_write_locations` field will be omitted from the resulting object.\n - `ip_range_filter` (`string`): Set the `ip_range_filter` field on the resulting resource block. When `null`, the `ip_range_filter` field will be omitted from the resulting object.\n - `is_virtual_network_filter_enabled` (`bool`): Set the `is_virtual_network_filter_enabled` field on the resulting resource block. When `null`, the `is_virtual_network_filter_enabled` field will be omitted from the resulting object.\n - `key_vault_key_id` (`string`): Set the `key_vault_key_id` field on the resulting resource block. When `null`, the `key_vault_key_id` field will be omitted from the resulting object.\n - `kind` (`string`): Set the `kind` field on the resulting resource block. When `null`, the `kind` field will be omitted from the resulting object.\n - `local_authentication_disabled` (`bool`): Set the `local_authentication_disabled` field on the resulting resource block. When `null`, the `local_authentication_disabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `mongo_server_version` (`string`): Set the `mongo_server_version` field on the resulting resource block. When `null`, the `mongo_server_version` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `network_acl_bypass_for_azure_services` (`bool`): Set the `network_acl_bypass_for_azure_services` field on the resulting resource block. When `null`, the `network_acl_bypass_for_azure_services` field will be omitted from the resulting object.\n - `network_acl_bypass_ids` (`list`): Set the `network_acl_bypass_ids` field on the resulting resource block. When `null`, the `network_acl_bypass_ids` field will be omitted from the resulting object.\n - `offer_type` (`string`): Set the `offer_type` field on the resulting resource block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `analytical_storage` (`list[obj]`): Set the `analytical_storage` field on the resulting resource block. When `null`, the `analytical_storage` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.analytical_storage.new](#fn-analytical_storagenew) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.backup.new](#fn-backupnew) constructor.\n - `capabilities` (`list[obj]`): Set the `capabilities` field on the resulting resource block. When `null`, the `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.cosmosdb_account.capabilities.new](#fn-capabilitiesnew) constructor.\n - `capacity` (`list[obj]`): Set the `capacity` field on the resulting resource block. When `null`, the `capacity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.capacity.new](#fn-capacitynew) constructor.\n - `consistency_policy` (`list[obj]`): Set the `consistency_policy` field on the resulting resource block. When `null`, the `consistency_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.consistency_policy.new](#fn-consistency_policynew) constructor.\n - `cors_rule` (`list[obj]`): Set the `cors_rule` field on the resulting resource block. When `null`, the `cors_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.cosmosdb_account.cors_rule.new](#fn-cors_rulenew) constructor.\n - `geo_location` (`list[obj]`): Set the `geo_location` field on the resulting resource block. When `null`, the `geo_location` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.geo_location.new](#fn-geo_locationnew) 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.cosmosdb_account.identity.new](#fn-identitynew) constructor.\n - `restore` (`list[obj]`): Set the `restore` field on the resulting resource block. When `null`, the `restore` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.restore.new](#fn-restorenew) 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.cosmosdb_account.timeouts.new](#fn-timeoutsnew) constructor.\n - `virtual_network_rule` (`list[obj]`): Set the `virtual_network_rule` field on the resulting resource block. When `null`, the `virtual_network_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.cosmosdb_account.virtual_network_rule.new](#fn-virtual_network_rulenew) 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.cosmosdb_account.new` injects a new `azurerm_cosmosdb_account` 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.cosmosdb_account.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.cosmosdb_account` using the reference:\n\n $._ref.azurerm_cosmosdb_account.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_cosmosdb_account.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 - `access_key_metadata_writes_enabled` (`bool`): Set the `access_key_metadata_writes_enabled` field on the resulting resource block. When `null`, the `access_key_metadata_writes_enabled` field will be omitted from the resulting object.\n - `analytical_storage_enabled` (`bool`): Set the `analytical_storage_enabled` field on the resulting resource block. When `null`, the `analytical_storage_enabled` field will be omitted from the resulting object.\n - `create_mode` (`string`): Set the `create_mode` field on the resulting resource block. When `null`, the `create_mode` field will be omitted from the resulting object.\n - `default_identity_type` (`string`): Set the `default_identity_type` field on the resulting resource block. When `null`, the `default_identity_type` field will be omitted from the resulting object.\n - `enable_automatic_failover` (`bool`): Set the `enable_automatic_failover` field on the resulting resource block. When `null`, the `enable_automatic_failover` field will be omitted from the resulting object.\n - `enable_free_tier` (`bool`): Set the `enable_free_tier` field on the resulting resource block. When `null`, the `enable_free_tier` field will be omitted from the resulting object.\n - `enable_multiple_write_locations` (`bool`): Set the `enable_multiple_write_locations` field on the resulting resource block. When `null`, the `enable_multiple_write_locations` field will be omitted from the resulting object.\n - `ip_range_filter` (`string`): Set the `ip_range_filter` field on the resulting resource block. When `null`, the `ip_range_filter` field will be omitted from the resulting object.\n - `is_virtual_network_filter_enabled` (`bool`): Set the `is_virtual_network_filter_enabled` field on the resulting resource block. When `null`, the `is_virtual_network_filter_enabled` field will be omitted from the resulting object.\n - `key_vault_key_id` (`string`): Set the `key_vault_key_id` field on the resulting resource block. When `null`, the `key_vault_key_id` field will be omitted from the resulting object.\n - `kind` (`string`): Set the `kind` field on the resulting resource block. When `null`, the `kind` field will be omitted from the resulting object.\n - `local_authentication_disabled` (`bool`): Set the `local_authentication_disabled` field on the resulting resource block. When `null`, the `local_authentication_disabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `mongo_server_version` (`string`): Set the `mongo_server_version` field on the resulting resource block. When `null`, the `mongo_server_version` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `network_acl_bypass_for_azure_services` (`bool`): Set the `network_acl_bypass_for_azure_services` field on the resulting resource block. When `null`, the `network_acl_bypass_for_azure_services` field will be omitted from the resulting object.\n - `network_acl_bypass_ids` (`list`): Set the `network_acl_bypass_ids` field on the resulting resource block. When `null`, the `network_acl_bypass_ids` field will be omitted from the resulting object.\n - `offer_type` (`string`): Set the `offer_type` field on the resulting resource block.\n - `partition_merge_enabled` (`bool`): Set the `partition_merge_enabled` field on the resulting resource block. When `null`, the `partition_merge_enabled` field will be omitted from the resulting object.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `analytical_storage` (`list[obj]`): Set the `analytical_storage` field on the resulting resource block. When `null`, the `analytical_storage` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.analytical_storage.new](#fn-analytical_storagenew) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.backup.new](#fn-backupnew) constructor.\n - `capabilities` (`list[obj]`): Set the `capabilities` field on the resulting resource block. When `null`, the `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.cosmosdb_account.capabilities.new](#fn-capabilitiesnew) constructor.\n - `capacity` (`list[obj]`): Set the `capacity` field on the resulting resource block. When `null`, the `capacity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.capacity.new](#fn-capacitynew) constructor.\n - `consistency_policy` (`list[obj]`): Set the `consistency_policy` field on the resulting resource block. When `null`, the `consistency_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.consistency_policy.new](#fn-consistency_policynew) constructor.\n - `cors_rule` (`list[obj]`): Set the `cors_rule` field on the resulting resource block. When `null`, the `cors_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.cosmosdb_account.cors_rule.new](#fn-cors_rulenew) constructor.\n - `geo_location` (`list[obj]`): Set the `geo_location` field on the resulting resource block. When `null`, the `geo_location` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.geo_location.new](#fn-geo_locationnew) 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.cosmosdb_account.identity.new](#fn-identitynew) constructor.\n - `restore` (`list[obj]`): Set the `restore` field on the resulting resource block. When `null`, the `restore` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.restore.new](#fn-restorenew) 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.cosmosdb_account.timeouts.new](#fn-timeoutsnew) constructor.\n - `virtual_network_rule` (`list[obj]`): Set the `virtual_network_rule` field on the resulting resource block. When `null`, the `virtual_network_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.cosmosdb_account.virtual_network_rule.new](#fn-virtual_network_rulenew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, location, @@ -120,6 +120,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); mongo_server_version=null, network_acl_bypass_for_azure_services=null, network_acl_bypass_ids=null, + partition_merge_enabled=null, public_network_access_enabled=null, restore=null, tags=null, @@ -156,6 +157,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); network_acl_bypass_for_azure_services=network_acl_bypass_for_azure_services, network_acl_bypass_ids=network_acl_bypass_ids, offer_type=offer_type, + partition_merge_enabled=partition_merge_enabled, public_network_access_enabled=public_network_access_enabled, resource_group_name=resource_group_name, restore=restore, @@ -165,7 +167,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.cosmosdb_account.newAttrs` constructs a new object with attributes and blocks configured for the `cosmosdb_account`\nTerraform resource.\n\nUnlike [azurerm.cosmosdb_account.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 - `access_key_metadata_writes_enabled` (`bool`): Set the `access_key_metadata_writes_enabled` field on the resulting object. When `null`, the `access_key_metadata_writes_enabled` field will be omitted from the resulting object.\n - `analytical_storage_enabled` (`bool`): Set the `analytical_storage_enabled` field on the resulting object. When `null`, the `analytical_storage_enabled` field will be omitted from the resulting object.\n - `create_mode` (`string`): Set the `create_mode` field on the resulting object. When `null`, the `create_mode` field will be omitted from the resulting object.\n - `default_identity_type` (`string`): Set the `default_identity_type` field on the resulting object. When `null`, the `default_identity_type` field will be omitted from the resulting object.\n - `enable_automatic_failover` (`bool`): Set the `enable_automatic_failover` field on the resulting object. When `null`, the `enable_automatic_failover` field will be omitted from the resulting object.\n - `enable_free_tier` (`bool`): Set the `enable_free_tier` field on the resulting object. When `null`, the `enable_free_tier` field will be omitted from the resulting object.\n - `enable_multiple_write_locations` (`bool`): Set the `enable_multiple_write_locations` field on the resulting object. When `null`, the `enable_multiple_write_locations` field will be omitted from the resulting object.\n - `ip_range_filter` (`string`): Set the `ip_range_filter` field on the resulting object. When `null`, the `ip_range_filter` field will be omitted from the resulting object.\n - `is_virtual_network_filter_enabled` (`bool`): Set the `is_virtual_network_filter_enabled` field on the resulting object. When `null`, the `is_virtual_network_filter_enabled` field will be omitted from the resulting object.\n - `key_vault_key_id` (`string`): Set the `key_vault_key_id` field on the resulting object. When `null`, the `key_vault_key_id` field will be omitted from the resulting object.\n - `kind` (`string`): Set the `kind` field on the resulting object. When `null`, the `kind` field will be omitted from the resulting object.\n - `local_authentication_disabled` (`bool`): Set the `local_authentication_disabled` field on the resulting object. When `null`, the `local_authentication_disabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `mongo_server_version` (`string`): Set the `mongo_server_version` field on the resulting object. When `null`, the `mongo_server_version` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `network_acl_bypass_for_azure_services` (`bool`): Set the `network_acl_bypass_for_azure_services` field on the resulting object. When `null`, the `network_acl_bypass_for_azure_services` field will be omitted from the resulting object.\n - `network_acl_bypass_ids` (`list`): Set the `network_acl_bypass_ids` field on the resulting object. When `null`, the `network_acl_bypass_ids` field will be omitted from the resulting object.\n - `offer_type` (`string`): Set the `offer_type` 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 - `analytical_storage` (`list[obj]`): Set the `analytical_storage` field on the resulting object. When `null`, the `analytical_storage` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.analytical_storage.new](#fn-analytical_storagenew) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.backup.new](#fn-backupnew) constructor.\n - `capabilities` (`list[obj]`): Set the `capabilities` field on the resulting object. When `null`, the `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.cosmosdb_account.capabilities.new](#fn-capabilitiesnew) constructor.\n - `capacity` (`list[obj]`): Set the `capacity` field on the resulting object. When `null`, the `capacity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.capacity.new](#fn-capacitynew) constructor.\n - `consistency_policy` (`list[obj]`): Set the `consistency_policy` field on the resulting object. When `null`, the `consistency_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.consistency_policy.new](#fn-consistency_policynew) constructor.\n - `cors_rule` (`list[obj]`): Set the `cors_rule` field on the resulting object. When `null`, the `cors_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.cosmosdb_account.cors_rule.new](#fn-cors_rulenew) constructor.\n - `geo_location` (`list[obj]`): Set the `geo_location` field on the resulting object. When `null`, the `geo_location` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.geo_location.new](#fn-geo_locationnew) 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.cosmosdb_account.identity.new](#fn-identitynew) constructor.\n - `restore` (`list[obj]`): Set the `restore` field on the resulting object. When `null`, the `restore` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.restore.new](#fn-restorenew) 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.cosmosdb_account.timeouts.new](#fn-timeoutsnew) constructor.\n - `virtual_network_rule` (`list[obj]`): Set the `virtual_network_rule` field on the resulting object. When `null`, the `virtual_network_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.cosmosdb_account.virtual_network_rule.new](#fn-virtual_network_rulenew) 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 `cosmosdb_account` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.cosmosdb_account.newAttrs` constructs a new object with attributes and blocks configured for the `cosmosdb_account`\nTerraform resource.\n\nUnlike [azurerm.cosmosdb_account.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 - `access_key_metadata_writes_enabled` (`bool`): Set the `access_key_metadata_writes_enabled` field on the resulting object. When `null`, the `access_key_metadata_writes_enabled` field will be omitted from the resulting object.\n - `analytical_storage_enabled` (`bool`): Set the `analytical_storage_enabled` field on the resulting object. When `null`, the `analytical_storage_enabled` field will be omitted from the resulting object.\n - `create_mode` (`string`): Set the `create_mode` field on the resulting object. When `null`, the `create_mode` field will be omitted from the resulting object.\n - `default_identity_type` (`string`): Set the `default_identity_type` field on the resulting object. When `null`, the `default_identity_type` field will be omitted from the resulting object.\n - `enable_automatic_failover` (`bool`): Set the `enable_automatic_failover` field on the resulting object. When `null`, the `enable_automatic_failover` field will be omitted from the resulting object.\n - `enable_free_tier` (`bool`): Set the `enable_free_tier` field on the resulting object. When `null`, the `enable_free_tier` field will be omitted from the resulting object.\n - `enable_multiple_write_locations` (`bool`): Set the `enable_multiple_write_locations` field on the resulting object. When `null`, the `enable_multiple_write_locations` field will be omitted from the resulting object.\n - `ip_range_filter` (`string`): Set the `ip_range_filter` field on the resulting object. When `null`, the `ip_range_filter` field will be omitted from the resulting object.\n - `is_virtual_network_filter_enabled` (`bool`): Set the `is_virtual_network_filter_enabled` field on the resulting object. When `null`, the `is_virtual_network_filter_enabled` field will be omitted from the resulting object.\n - `key_vault_key_id` (`string`): Set the `key_vault_key_id` field on the resulting object. When `null`, the `key_vault_key_id` field will be omitted from the resulting object.\n - `kind` (`string`): Set the `kind` field on the resulting object. When `null`, the `kind` field will be omitted from the resulting object.\n - `local_authentication_disabled` (`bool`): Set the `local_authentication_disabled` field on the resulting object. When `null`, the `local_authentication_disabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `mongo_server_version` (`string`): Set the `mongo_server_version` field on the resulting object. When `null`, the `mongo_server_version` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `network_acl_bypass_for_azure_services` (`bool`): Set the `network_acl_bypass_for_azure_services` field on the resulting object. When `null`, the `network_acl_bypass_for_azure_services` field will be omitted from the resulting object.\n - `network_acl_bypass_ids` (`list`): Set the `network_acl_bypass_ids` field on the resulting object. When `null`, the `network_acl_bypass_ids` field will be omitted from the resulting object.\n - `offer_type` (`string`): Set the `offer_type` field on the resulting object.\n - `partition_merge_enabled` (`bool`): Set the `partition_merge_enabled` field on the resulting object. When `null`, the `partition_merge_enabled` field will be omitted from the resulting object.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting object. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n - `analytical_storage` (`list[obj]`): Set the `analytical_storage` field on the resulting object. When `null`, the `analytical_storage` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.analytical_storage.new](#fn-analytical_storagenew) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.backup.new](#fn-backupnew) constructor.\n - `capabilities` (`list[obj]`): Set the `capabilities` field on the resulting object. When `null`, the `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.cosmosdb_account.capabilities.new](#fn-capabilitiesnew) constructor.\n - `capacity` (`list[obj]`): Set the `capacity` field on the resulting object. When `null`, the `capacity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.capacity.new](#fn-capacitynew) constructor.\n - `consistency_policy` (`list[obj]`): Set the `consistency_policy` field on the resulting object. When `null`, the `consistency_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.consistency_policy.new](#fn-consistency_policynew) constructor.\n - `cors_rule` (`list[obj]`): Set the `cors_rule` field on the resulting object. When `null`, the `cors_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.cosmosdb_account.cors_rule.new](#fn-cors_rulenew) constructor.\n - `geo_location` (`list[obj]`): Set the `geo_location` field on the resulting object. When `null`, the `geo_location` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.geo_location.new](#fn-geo_locationnew) 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.cosmosdb_account.identity.new](#fn-identitynew) constructor.\n - `restore` (`list[obj]`): Set the `restore` field on the resulting object. When `null`, the `restore` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.restore.new](#fn-restorenew) 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.cosmosdb_account.timeouts.new](#fn-timeoutsnew) constructor.\n - `virtual_network_rule` (`list[obj]`): Set the `virtual_network_rule` field on the resulting object. When `null`, the `virtual_network_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.cosmosdb_account.virtual_network_rule.new](#fn-virtual_network_rulenew) 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 `cosmosdb_account` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, @@ -194,6 +196,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); mongo_server_version=null, network_acl_bypass_for_azure_services=null, network_acl_bypass_ids=null, + partition_merge_enabled=null, public_network_access_enabled=null, restore=null, tags=null, @@ -226,6 +229,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); network_acl_bypass_for_azure_services: network_acl_bypass_for_azure_services, network_acl_bypass_ids: network_acl_bypass_ids, offer_type: offer_type, + partition_merge_enabled: partition_merge_enabled, public_network_access_enabled: public_network_access_enabled, resource_group_name: resource_group_name, restore: restore, @@ -244,15 +248,29 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); name: name, }), }, - '#new':: d.fn(help='\n`azurerm.cosmosdb_account.restore.new` constructs a new object with attributes and blocks configured for the `restore`\nTerraform sub block.\n\n\n\n**Args**:\n - `restore_timestamp_in_utc` (`string`): Set the `restore_timestamp_in_utc` field on the resulting object.\n - `source_cosmosdb_account_id` (`string`): Set the `source_cosmosdb_account_id` field on the resulting object.\n - `database` (`list[obj]`): Set the `database` field on the resulting object. When `null`, the `database` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.restore.database.new](#fn-restoredatabasenew) constructor.\n\n**Returns**:\n - An attribute object that represents the `restore` sub block.\n', args=[]), + gremlin_database:: { + '#new':: d.fn(help='\n`azurerm.cosmosdb_account.restore.gremlin_database.new` constructs a new object with attributes and blocks configured for the `gremlin_database`\nTerraform sub block.\n\n\n\n**Args**:\n - `graph_names` (`list`): Set the `graph_names` field on the resulting object. When `null`, the `graph_names` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `gremlin_database` sub block.\n', args=[]), + new( + name, + graph_names=null + ):: std.prune(a={ + graph_names: graph_names, + name: name, + }), + }, + '#new':: d.fn(help='\n`azurerm.cosmosdb_account.restore.new` constructs a new object with attributes and blocks configured for the `restore`\nTerraform sub block.\n\n\n\n**Args**:\n - `restore_timestamp_in_utc` (`string`): Set the `restore_timestamp_in_utc` field on the resulting object.\n - `source_cosmosdb_account_id` (`string`): Set the `source_cosmosdb_account_id` field on the resulting object.\n - `tables_to_restore` (`list`): Set the `tables_to_restore` field on the resulting object. When `null`, the `tables_to_restore` field will be omitted from the resulting object.\n - `database` (`list[obj]`): Set the `database` field on the resulting object. When `null`, the `database` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.restore.database.new](#fn-restoredatabasenew) constructor.\n - `gremlin_database` (`list[obj]`): Set the `gremlin_database` field on the resulting object. When `null`, the `gremlin_database` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.restore.gremlin_database.new](#fn-restoregremlin_databasenew) constructor.\n\n**Returns**:\n - An attribute object that represents the `restore` sub block.\n', args=[]), new( restore_timestamp_in_utc, source_cosmosdb_account_id, - database=null + database=null, + gremlin_database=null, + tables_to_restore=null ):: std.prune(a={ database: database, + gremlin_database: gremlin_database, restore_timestamp_in_utc: restore_timestamp_in_utc, source_cosmosdb_account_id: source_cosmosdb_account_id, + tables_to_restore: tables_to_restore, }), }, timeouts:: { @@ -617,6 +635,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withPartitionMergeEnabled':: d.fn(help='`azurerm.bool.withPartitionMergeEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the partition_merge_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 `partition_merge_enabled` field.\n', args=[]), + withPartitionMergeEnabled(resourceLabel, value): { + resource+: { + azurerm_cosmosdb_account+: { + [resourceLabel]+: { + partition_merge_enabled: value, + }, + }, + }, + }, '#withPublicNetworkAccessEnabled':: d.fn(help='`azurerm.bool.withPublicNetworkAccessEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the public_network_access_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 `public_network_access_enabled` field.\n', args=[]), withPublicNetworkAccessEnabled(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/cosmosdb_postgresql_cluster.libsonnet b/3.x/_gen/resources/cosmosdb_postgresql_cluster.libsonnet index c0a7eab6..b9a5bd37 100644 --- a/3.x/_gen/resources/cosmosdb_postgresql_cluster.libsonnet +++ b/3.x/_gen/resources/cosmosdb_postgresql_cluster.libsonnet @@ -14,11 +14,9 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); start_minute: start_minute, }), }, - '#new':: d.fn(help="\n`azurerm.cosmosdb_postgresql_cluster.new` injects a new `azurerm_cosmosdb_postgresql_cluster` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.cosmosdb_postgresql_cluster.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.cosmosdb_postgresql_cluster` using the reference:\n\n $._ref.azurerm_cosmosdb_postgresql_cluster.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_cosmosdb_postgresql_cluster.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `administrator_login_password` (`string`): Set the `administrator_login_password` field on the resulting resource block. When `null`, the `administrator_login_password` field will be omitted from the resulting object.\n - `citus_version` (`string`): Set the `citus_version` field on the resulting resource block. When `null`, the `citus_version` field will be omitted from the resulting object.\n - `coordinator_public_ip_access_enabled` (`bool`): Set the `coordinator_public_ip_access_enabled` field on the resulting resource block. When `null`, the `coordinator_public_ip_access_enabled` field will be omitted from the resulting object.\n - `coordinator_server_edition` (`string`): Set the `coordinator_server_edition` field on the resulting resource block. When `null`, the `coordinator_server_edition` field will be omitted from the resulting object.\n - `coordinator_storage_quota_in_mb` (`number`): Set the `coordinator_storage_quota_in_mb` field on the resulting resource block.\n - `coordinator_vcore_count` (`number`): Set the `coordinator_vcore_count` field on the resulting resource block.\n - `ha_enabled` (`bool`): Set the `ha_enabled` field on the resulting resource block. When `null`, the `ha_enabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `node_count` (`number`): Set the `node_count` field on the resulting resource block.\n - `node_public_ip_access_enabled` (`bool`): Set the `node_public_ip_access_enabled` field on the resulting resource block. When `null`, the `node_public_ip_access_enabled` field will be omitted from the resulting object.\n - `node_server_edition` (`string`): Set the `node_server_edition` field on the resulting resource block. When `null`, the `node_server_edition` field will be omitted from the resulting object.\n - `node_storage_quota_in_mb` (`number`): Set the `node_storage_quota_in_mb` field on the resulting resource block. When `null`, the `node_storage_quota_in_mb` field will be omitted from the resulting object.\n - `node_vcores` (`number`): Set the `node_vcores` field on the resulting resource block. When `null`, the `node_vcores` field will be omitted from the resulting object.\n - `point_in_time_in_utc` (`string`): Set the `point_in_time_in_utc` field on the resulting resource block. When `null`, the `point_in_time_in_utc` field will be omitted from the resulting object.\n - `preferred_primary_zone` (`string`): Set the `preferred_primary_zone` field on the resulting resource block. When `null`, the `preferred_primary_zone` 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 - `shards_on_coordinator_enabled` (`bool`): Set the `shards_on_coordinator_enabled` field on the resulting resource block. When `null`, the `shards_on_coordinator_enabled` field will be omitted from the resulting object.\n - `source_location` (`string`): Set the `source_location` field on the resulting resource block. When `null`, the `source_location` field will be omitted from the resulting object.\n - `source_resource_id` (`string`): Set the `source_resource_id` field on the resulting resource block. When `null`, the `source_resource_id` field will be omitted from the resulting object.\n - `sql_version` (`string`): Set the `sql_version` field on the resulting resource block. When `null`, the `sql_version` 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 - `maintenance_window` (`list[obj]`): Set the `maintenance_window` field on the resulting resource block. When `null`, the `maintenance_window` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_postgresql_cluster.maintenance_window.new](#fn-maintenance_windownew) 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.cosmosdb_postgresql_cluster.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.cosmosdb_postgresql_cluster.new` injects a new `azurerm_cosmosdb_postgresql_cluster` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.cosmosdb_postgresql_cluster.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.cosmosdb_postgresql_cluster` using the reference:\n\n $._ref.azurerm_cosmosdb_postgresql_cluster.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_cosmosdb_postgresql_cluster.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `administrator_login_password` (`string`): Set the `administrator_login_password` field on the resulting resource block. When `null`, the `administrator_login_password` field will be omitted from the resulting object.\n - `citus_version` (`string`): Set the `citus_version` field on the resulting resource block. When `null`, the `citus_version` field will be omitted from the resulting object.\n - `coordinator_public_ip_access_enabled` (`bool`): Set the `coordinator_public_ip_access_enabled` field on the resulting resource block. When `null`, the `coordinator_public_ip_access_enabled` field will be omitted from the resulting object.\n - `coordinator_server_edition` (`string`): Set the `coordinator_server_edition` field on the resulting resource block. When `null`, the `coordinator_server_edition` field will be omitted from the resulting object.\n - `coordinator_storage_quota_in_mb` (`number`): Set the `coordinator_storage_quota_in_mb` field on the resulting resource block. When `null`, the `coordinator_storage_quota_in_mb` field will be omitted from the resulting object.\n - `coordinator_vcore_count` (`number`): Set the `coordinator_vcore_count` field on the resulting resource block. When `null`, the `coordinator_vcore_count` field will be omitted from the resulting object.\n - `ha_enabled` (`bool`): Set the `ha_enabled` field on the resulting resource block. When `null`, the `ha_enabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `node_count` (`number`): Set the `node_count` field on the resulting resource block.\n - `node_public_ip_access_enabled` (`bool`): Set the `node_public_ip_access_enabled` field on the resulting resource block. When `null`, the `node_public_ip_access_enabled` field will be omitted from the resulting object.\n - `node_server_edition` (`string`): Set the `node_server_edition` field on the resulting resource block. When `null`, the `node_server_edition` field will be omitted from the resulting object.\n - `node_storage_quota_in_mb` (`number`): Set the `node_storage_quota_in_mb` field on the resulting resource block. When `null`, the `node_storage_quota_in_mb` field will be omitted from the resulting object.\n - `node_vcores` (`number`): Set the `node_vcores` field on the resulting resource block. When `null`, the `node_vcores` field will be omitted from the resulting object.\n - `point_in_time_in_utc` (`string`): Set the `point_in_time_in_utc` field on the resulting resource block. When `null`, the `point_in_time_in_utc` field will be omitted from the resulting object.\n - `preferred_primary_zone` (`string`): Set the `preferred_primary_zone` field on the resulting resource block. When `null`, the `preferred_primary_zone` 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 - `shards_on_coordinator_enabled` (`bool`): Set the `shards_on_coordinator_enabled` field on the resulting resource block. When `null`, the `shards_on_coordinator_enabled` field will be omitted from the resulting object.\n - `source_location` (`string`): Set the `source_location` field on the resulting resource block. When `null`, the `source_location` field will be omitted from the resulting object.\n - `source_resource_id` (`string`): Set the `source_resource_id` field on the resulting resource block. When `null`, the `source_resource_id` field will be omitted from the resulting object.\n - `sql_version` (`string`): Set the `sql_version` field on the resulting resource block. When `null`, the `sql_version` 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 - `maintenance_window` (`list[obj]`): Set the `maintenance_window` field on the resulting resource block. When `null`, the `maintenance_window` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_postgresql_cluster.maintenance_window.new](#fn-maintenance_windownew) 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.cosmosdb_postgresql_cluster.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, - coordinator_storage_quota_in_mb, - coordinator_vcore_count, location, name, node_count, @@ -27,6 +25,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); citus_version=null, coordinator_public_ip_access_enabled=null, coordinator_server_edition=null, + coordinator_storage_quota_in_mb=null, + coordinator_vcore_count=null, ha_enabled=null, maintenance_window=null, node_public_ip_access_enabled=null, @@ -73,10 +73,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.cosmosdb_postgresql_cluster.newAttrs` constructs a new object with attributes and blocks configured for the `cosmosdb_postgresql_cluster`\nTerraform resource.\n\nUnlike [azurerm.cosmosdb_postgresql_cluster.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `administrator_login_password` (`string`): Set the `administrator_login_password` field on the resulting object. When `null`, the `administrator_login_password` field will be omitted from the resulting object.\n - `citus_version` (`string`): Set the `citus_version` field on the resulting object. When `null`, the `citus_version` field will be omitted from the resulting object.\n - `coordinator_public_ip_access_enabled` (`bool`): Set the `coordinator_public_ip_access_enabled` field on the resulting object. When `null`, the `coordinator_public_ip_access_enabled` field will be omitted from the resulting object.\n - `coordinator_server_edition` (`string`): Set the `coordinator_server_edition` field on the resulting object. When `null`, the `coordinator_server_edition` field will be omitted from the resulting object.\n - `coordinator_storage_quota_in_mb` (`number`): Set the `coordinator_storage_quota_in_mb` field on the resulting object.\n - `coordinator_vcore_count` (`number`): Set the `coordinator_vcore_count` field on the resulting object.\n - `ha_enabled` (`bool`): Set the `ha_enabled` field on the resulting object. When `null`, the `ha_enabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `node_count` (`number`): Set the `node_count` field on the resulting object.\n - `node_public_ip_access_enabled` (`bool`): Set the `node_public_ip_access_enabled` field on the resulting object. When `null`, the `node_public_ip_access_enabled` field will be omitted from the resulting object.\n - `node_server_edition` (`string`): Set the `node_server_edition` field on the resulting object. When `null`, the `node_server_edition` field will be omitted from the resulting object.\n - `node_storage_quota_in_mb` (`number`): Set the `node_storage_quota_in_mb` field on the resulting object. When `null`, the `node_storage_quota_in_mb` field will be omitted from the resulting object.\n - `node_vcores` (`number`): Set the `node_vcores` field on the resulting object. When `null`, the `node_vcores` field will be omitted from the resulting object.\n - `point_in_time_in_utc` (`string`): Set the `point_in_time_in_utc` field on the resulting object. When `null`, the `point_in_time_in_utc` field will be omitted from the resulting object.\n - `preferred_primary_zone` (`string`): Set the `preferred_primary_zone` field on the resulting object. When `null`, the `preferred_primary_zone` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `shards_on_coordinator_enabled` (`bool`): Set the `shards_on_coordinator_enabled` field on the resulting object. When `null`, the `shards_on_coordinator_enabled` field will be omitted from the resulting object.\n - `source_location` (`string`): Set the `source_location` field on the resulting object. When `null`, the `source_location` field will be omitted from the resulting object.\n - `source_resource_id` (`string`): Set the `source_resource_id` field on the resulting object. When `null`, the `source_resource_id` field will be omitted from the resulting object.\n - `sql_version` (`string`): Set the `sql_version` field on the resulting object. When `null`, the `sql_version` 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 - `maintenance_window` (`list[obj]`): Set the `maintenance_window` field on the resulting object. When `null`, the `maintenance_window` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_postgresql_cluster.maintenance_window.new](#fn-maintenance_windownew) 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.cosmosdb_postgresql_cluster.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 `cosmosdb_postgresql_cluster` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.cosmosdb_postgresql_cluster.newAttrs` constructs a new object with attributes and blocks configured for the `cosmosdb_postgresql_cluster`\nTerraform resource.\n\nUnlike [azurerm.cosmosdb_postgresql_cluster.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `administrator_login_password` (`string`): Set the `administrator_login_password` field on the resulting object. When `null`, the `administrator_login_password` field will be omitted from the resulting object.\n - `citus_version` (`string`): Set the `citus_version` field on the resulting object. When `null`, the `citus_version` field will be omitted from the resulting object.\n - `coordinator_public_ip_access_enabled` (`bool`): Set the `coordinator_public_ip_access_enabled` field on the resulting object. When `null`, the `coordinator_public_ip_access_enabled` field will be omitted from the resulting object.\n - `coordinator_server_edition` (`string`): Set the `coordinator_server_edition` field on the resulting object. When `null`, the `coordinator_server_edition` field will be omitted from the resulting object.\n - `coordinator_storage_quota_in_mb` (`number`): Set the `coordinator_storage_quota_in_mb` field on the resulting object. When `null`, the `coordinator_storage_quota_in_mb` field will be omitted from the resulting object.\n - `coordinator_vcore_count` (`number`): Set the `coordinator_vcore_count` field on the resulting object. When `null`, the `coordinator_vcore_count` field will be omitted from the resulting object.\n - `ha_enabled` (`bool`): Set the `ha_enabled` field on the resulting object. When `null`, the `ha_enabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `node_count` (`number`): Set the `node_count` field on the resulting object.\n - `node_public_ip_access_enabled` (`bool`): Set the `node_public_ip_access_enabled` field on the resulting object. When `null`, the `node_public_ip_access_enabled` field will be omitted from the resulting object.\n - `node_server_edition` (`string`): Set the `node_server_edition` field on the resulting object. When `null`, the `node_server_edition` field will be omitted from the resulting object.\n - `node_storage_quota_in_mb` (`number`): Set the `node_storage_quota_in_mb` field on the resulting object. When `null`, the `node_storage_quota_in_mb` field will be omitted from the resulting object.\n - `node_vcores` (`number`): Set the `node_vcores` field on the resulting object. When `null`, the `node_vcores` field will be omitted from the resulting object.\n - `point_in_time_in_utc` (`string`): Set the `point_in_time_in_utc` field on the resulting object. When `null`, the `point_in_time_in_utc` field will be omitted from the resulting object.\n - `preferred_primary_zone` (`string`): Set the `preferred_primary_zone` field on the resulting object. When `null`, the `preferred_primary_zone` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `shards_on_coordinator_enabled` (`bool`): Set the `shards_on_coordinator_enabled` field on the resulting object. When `null`, the `shards_on_coordinator_enabled` field will be omitted from the resulting object.\n - `source_location` (`string`): Set the `source_location` field on the resulting object. When `null`, the `source_location` field will be omitted from the resulting object.\n - `source_resource_id` (`string`): Set the `source_resource_id` field on the resulting object. When `null`, the `source_resource_id` field will be omitted from the resulting object.\n - `sql_version` (`string`): Set the `sql_version` field on the resulting object. When `null`, the `sql_version` 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 - `maintenance_window` (`list[obj]`): Set the `maintenance_window` field on the resulting object. When `null`, the `maintenance_window` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_postgresql_cluster.maintenance_window.new](#fn-maintenance_windownew) 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.cosmosdb_postgresql_cluster.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 `cosmosdb_postgresql_cluster` resource into the root Terraform configuration.\n', args=[]), newAttrs( - coordinator_storage_quota_in_mb, - coordinator_vcore_count, location, name, node_count, @@ -85,6 +83,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); citus_version=null, coordinator_public_ip_access_enabled=null, coordinator_server_edition=null, + coordinator_storage_quota_in_mb=null, + coordinator_vcore_count=null, ha_enabled=null, maintenance_window=null, node_public_ip_access_enabled=null, diff --git a/3.x/_gen/resources/dashboard_grafana.libsonnet b/3.x/_gen/resources/dashboard_grafana.libsonnet index d55c6231..7712a127 100644 --- a/3.x/_gen/resources/dashboard_grafana.libsonnet +++ b/3.x/_gen/resources/dashboard_grafana.libsonnet @@ -20,7 +20,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); type: type, }), }, - '#new':: d.fn(help="\n`azurerm.dashboard_grafana.new` injects a new `azurerm_dashboard_grafana` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.dashboard_grafana.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.dashboard_grafana` using the reference:\n\n $._ref.azurerm_dashboard_grafana.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_dashboard_grafana.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `api_key_enabled` (`bool`): Set the `api_key_enabled` field on the resulting resource block. When `null`, the `api_key_enabled` field will be omitted from the resulting object.\n - `auto_generated_domain_name_label_scope` (`string`): Set the `auto_generated_domain_name_label_scope` field on the resulting resource block. When `null`, the `auto_generated_domain_name_label_scope` field will be omitted from the resulting object.\n - `deterministic_outbound_ip_enabled` (`bool`): Set the `deterministic_outbound_ip_enabled` field on the resulting resource block. When `null`, the `deterministic_outbound_ip_enabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `sku` (`string`): Set the `sku` field on the resulting resource block. When `null`, the `sku` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `zone_redundancy_enabled` (`bool`): Set the `zone_redundancy_enabled` field on the resulting resource block. When `null`, the `zone_redundancy_enabled` field will be omitted from the resulting object.\n - `azure_monitor_workspace_integrations` (`list[obj]`): Set the `azure_monitor_workspace_integrations` field on the resulting resource block. When `null`, the `azure_monitor_workspace_integrations` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.azure_monitor_workspace_integrations.new](#fn-azure_monitor_workspace_integrationsnew) constructor.\n - `identity` (`list[obj]`): Set the `identity` field on the resulting resource block. When `null`, the `identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.identity.new](#fn-identitynew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`azurerm.dashboard_grafana.new` injects a new `azurerm_dashboard_grafana` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.dashboard_grafana.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.dashboard_grafana` using the reference:\n\n $._ref.azurerm_dashboard_grafana.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_dashboard_grafana.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `api_key_enabled` (`bool`): Set the `api_key_enabled` field on the resulting resource block. When `null`, the `api_key_enabled` field will be omitted from the resulting object.\n - `auto_generated_domain_name_label_scope` (`string`): Set the `auto_generated_domain_name_label_scope` field on the resulting resource block. When `null`, the `auto_generated_domain_name_label_scope` field will be omitted from the resulting object.\n - `deterministic_outbound_ip_enabled` (`bool`): Set the `deterministic_outbound_ip_enabled` field on the resulting resource block. When `null`, the `deterministic_outbound_ip_enabled` field will be omitted from the resulting object.\n - `grafana_major_version` (`string`): Set the `grafana_major_version` field on the resulting resource block. When `null`, the `grafana_major_version` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `sku` (`string`): Set the `sku` field on the resulting resource block. When `null`, the `sku` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `zone_redundancy_enabled` (`bool`): Set the `zone_redundancy_enabled` field on the resulting resource block. When `null`, the `zone_redundancy_enabled` field will be omitted from the resulting object.\n - `azure_monitor_workspace_integrations` (`list[obj]`): Set the `azure_monitor_workspace_integrations` field on the resulting resource block. When `null`, the `azure_monitor_workspace_integrations` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.azure_monitor_workspace_integrations.new](#fn-azure_monitor_workspace_integrationsnew) constructor.\n - `identity` (`list[obj]`): Set the `identity` field on the resulting resource block. When `null`, the `identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.identity.new](#fn-identitynew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, location, @@ -30,6 +30,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); auto_generated_domain_name_label_scope=null, azure_monitor_workspace_integrations=null, deterministic_outbound_ip_enabled=null, + grafana_major_version=null, identity=null, public_network_access_enabled=null, sku=null, @@ -45,6 +46,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); auto_generated_domain_name_label_scope=auto_generated_domain_name_label_scope, azure_monitor_workspace_integrations=azure_monitor_workspace_integrations, deterministic_outbound_ip_enabled=deterministic_outbound_ip_enabled, + grafana_major_version=grafana_major_version, identity=identity, location=location, name=name, @@ -57,7 +59,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.dashboard_grafana.newAttrs` constructs a new object with attributes and blocks configured for the `dashboard_grafana`\nTerraform resource.\n\nUnlike [azurerm.dashboard_grafana.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `api_key_enabled` (`bool`): Set the `api_key_enabled` field on the resulting object. When `null`, the `api_key_enabled` field will be omitted from the resulting object.\n - `auto_generated_domain_name_label_scope` (`string`): Set the `auto_generated_domain_name_label_scope` field on the resulting object. When `null`, the `auto_generated_domain_name_label_scope` field will be omitted from the resulting object.\n - `deterministic_outbound_ip_enabled` (`bool`): Set the `deterministic_outbound_ip_enabled` field on the resulting object. When `null`, the `deterministic_outbound_ip_enabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting object. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `sku` (`string`): Set the `sku` field on the resulting object. When `null`, the `sku` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n - `zone_redundancy_enabled` (`bool`): Set the `zone_redundancy_enabled` field on the resulting object. When `null`, the `zone_redundancy_enabled` field will be omitted from the resulting object.\n - `azure_monitor_workspace_integrations` (`list[obj]`): Set the `azure_monitor_workspace_integrations` field on the resulting object. When `null`, the `azure_monitor_workspace_integrations` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.azure_monitor_workspace_integrations.new](#fn-azure_monitor_workspace_integrationsnew) constructor.\n - `identity` (`list[obj]`): Set the `identity` field on the resulting object. When `null`, the `identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.identity.new](#fn-identitynew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `dashboard_grafana` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.dashboard_grafana.newAttrs` constructs a new object with attributes and blocks configured for the `dashboard_grafana`\nTerraform resource.\n\nUnlike [azurerm.dashboard_grafana.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `api_key_enabled` (`bool`): Set the `api_key_enabled` field on the resulting object. When `null`, the `api_key_enabled` field will be omitted from the resulting object.\n - `auto_generated_domain_name_label_scope` (`string`): Set the `auto_generated_domain_name_label_scope` field on the resulting object. When `null`, the `auto_generated_domain_name_label_scope` field will be omitted from the resulting object.\n - `deterministic_outbound_ip_enabled` (`bool`): Set the `deterministic_outbound_ip_enabled` field on the resulting object. When `null`, the `deterministic_outbound_ip_enabled` field will be omitted from the resulting object.\n - `grafana_major_version` (`string`): Set the `grafana_major_version` field on the resulting object. When `null`, the `grafana_major_version` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting object. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `sku` (`string`): Set the `sku` field on the resulting object. When `null`, the `sku` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n - `zone_redundancy_enabled` (`bool`): Set the `zone_redundancy_enabled` field on the resulting object. When `null`, the `zone_redundancy_enabled` field will be omitted from the resulting object.\n - `azure_monitor_workspace_integrations` (`list[obj]`): Set the `azure_monitor_workspace_integrations` field on the resulting object. When `null`, the `azure_monitor_workspace_integrations` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.azure_monitor_workspace_integrations.new](#fn-azure_monitor_workspace_integrationsnew) constructor.\n - `identity` (`list[obj]`): Set the `identity` field on the resulting object. When `null`, the `identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.identity.new](#fn-identitynew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.dashboard_grafana.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `dashboard_grafana` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, @@ -66,6 +68,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); auto_generated_domain_name_label_scope=null, azure_monitor_workspace_integrations=null, deterministic_outbound_ip_enabled=null, + grafana_major_version=null, identity=null, public_network_access_enabled=null, sku=null, @@ -77,6 +80,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); auto_generated_domain_name_label_scope: auto_generated_domain_name_label_scope, azure_monitor_workspace_integrations: azure_monitor_workspace_integrations, deterministic_outbound_ip_enabled: deterministic_outbound_ip_enabled, + grafana_major_version: grafana_major_version, identity: identity, location: location, name: name, @@ -151,6 +155,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withGrafanaMajorVersion':: d.fn(help='`azurerm.string.withGrafanaMajorVersion` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the grafana_major_version field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `grafana_major_version` field.\n', args=[]), + withGrafanaMajorVersion(resourceLabel, value): { + resource+: { + azurerm_dashboard_grafana+: { + [resourceLabel]+: { + grafana_major_version: value, + }, + }, + }, + }, '#withIdentity':: d.fn(help='`azurerm.list[obj].withIdentity` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the identity field.\n\nThis function will replace the array with the passed in `value`. If you wish to instead append the\npassed in value to the existing array, use the [azurerm.list[obj].withIdentityMixin](TODO) function.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `identity` field.\n', args=[]), withIdentity(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/data_factory_credential_user_managed_identity.libsonnet b/3.x/_gen/resources/data_factory_credential_user_managed_identity.libsonnet new file mode 100644 index 00000000..21673664 --- /dev/null +++ b/3.x/_gen/resources/data_factory_credential_user_managed_identity.libsonnet @@ -0,0 +1,128 @@ +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='data_factory_credential_user_managed_identity', url='', help='`data_factory_credential_user_managed_identity` represents the `azurerm_data_factory_credential_user_managed_identity` 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.data_factory_credential_user_managed_identity.new` injects a new `azurerm_data_factory_credential_user_managed_identity` 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.data_factory_credential_user_managed_identity.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data_factory_credential_user_managed_identity` using the reference:\n\n $._ref.azurerm_data_factory_credential_user_managed_identity.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_data_factory_credential_user_managed_identity.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 - `annotations` (`list`): (Optional) List of string annotations. When `null`, the `annotations` field will be omitted from the resulting object.\n - `data_factory_id` (`string`): The resource ID of the parent Data Factory\n - `description` (`string`): (Optional) Short text description When `null`, the `description` field will be omitted from the resulting object.\n - `identity_id` (`string`): The resource ID of the User Assigned Managed Identity\n - `name` (`string`): The desired name of the credential resource\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.data_factory_credential_user_managed_identity.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, + data_factory_id, + identity_id, + name, + annotations=null, + description=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_data_factory_credential_user_managed_identity', + label=resourceLabel, + attrs=self.newAttrs( + annotations=annotations, + data_factory_id=data_factory_id, + description=description, + identity_id=identity_id, + name=name, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.data_factory_credential_user_managed_identity.newAttrs` constructs a new object with attributes and blocks configured for the `data_factory_credential_user_managed_identity`\nTerraform resource.\n\nUnlike [azurerm.data_factory_credential_user_managed_identity.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 - `annotations` (`list`): (Optional) List of string annotations. When `null`, the `annotations` field will be omitted from the resulting object.\n - `data_factory_id` (`string`): The resource ID of the parent Data Factory\n - `description` (`string`): (Optional) Short text description When `null`, the `description` field will be omitted from the resulting object.\n - `identity_id` (`string`): The resource ID of the User Assigned Managed Identity\n - `name` (`string`): The desired name of the credential resource\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_factory_credential_user_managed_identity.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 `data_factory_credential_user_managed_identity` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + data_factory_id, + identity_id, + name, + annotations=null, + description=null, + timeouts=null + ):: std.prune(a={ + annotations: annotations, + data_factory_id: data_factory_id, + description: description, + identity_id: identity_id, + name: name, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.data_factory_credential_user_managed_identity.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, + }), + }, + '#withAnnotations':: d.fn(help='`azurerm.list.withAnnotations` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the annotations 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 `annotations` field.\n', args=[]), + withAnnotations(resourceLabel, value): { + resource+: { + azurerm_data_factory_credential_user_managed_identity+: { + [resourceLabel]+: { + annotations: value, + }, + }, + }, + }, + '#withDataFactoryId':: d.fn(help='`azurerm.string.withDataFactoryId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the data_factory_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 `data_factory_id` field.\n', args=[]), + withDataFactoryId(resourceLabel, value): { + resource+: { + azurerm_data_factory_credential_user_managed_identity+: { + [resourceLabel]+: { + data_factory_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_data_factory_credential_user_managed_identity+: { + [resourceLabel]+: { + description: value, + }, + }, + }, + }, + '#withIdentityId':: d.fn(help='`azurerm.string.withIdentityId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the identity_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 `identity_id` field.\n', args=[]), + withIdentityId(resourceLabel, value): { + resource+: { + azurerm_data_factory_credential_user_managed_identity+: { + [resourceLabel]+: { + identity_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_data_factory_credential_user_managed_identity+: { + [resourceLabel]+: { + 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_data_factory_credential_user_managed_identity+: { + [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_data_factory_credential_user_managed_identity+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/data_factory_integration_runtime_azure_ssis.libsonnet b/3.x/_gen/resources/data_factory_integration_runtime_azure_ssis.libsonnet index 631b647d..2a1fdbaf 100644 --- a/3.x/_gen/resources/data_factory_integration_runtime_azure_ssis.libsonnet +++ b/3.x/_gen/resources/data_factory_integration_runtime_azure_ssis.libsonnet @@ -106,7 +106,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); subnet_id: subnet_id, }), }, - '#new':: d.fn(help="\n`azurerm.data_factory_integration_runtime_azure_ssis.new` injects a new `azurerm_data_factory_integration_runtime_azure_ssis` 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.data_factory_integration_runtime_azure_ssis.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data_factory_integration_runtime_azure_ssis` using the reference:\n\n $._ref.azurerm_data_factory_integration_runtime_azure_ssis.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_data_factory_integration_runtime_azure_ssis.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 - `data_factory_id` (`string`): Set the `data_factory_id` 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 - `edition` (`string`): Set the `edition` field on the resulting resource block. When `null`, the `edition` 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_parallel_executions_per_node` (`number`): Set the `max_parallel_executions_per_node` field on the resulting resource block. When `null`, the `max_parallel_executions_per_node` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `node_size` (`string`): Set the `node_size` field on the resulting resource block.\n - `number_of_nodes` (`number`): Set the `number_of_nodes` field on the resulting resource block. When `null`, the `number_of_nodes` field will be omitted from the resulting object.\n - `catalog_info` (`list[obj]`): Set the `catalog_info` field on the resulting resource block. When `null`, the `catalog_info` 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_factory_integration_runtime_azure_ssis.catalog_info.new](#fn-catalog_infonew) constructor.\n - `custom_setup_script` (`list[obj]`): Set the `custom_setup_script` field on the resulting resource block. When `null`, the `custom_setup_script` 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_factory_integration_runtime_azure_ssis.custom_setup_script.new](#fn-custom_setup_scriptnew) constructor.\n - `express_custom_setup` (`list[obj]`): Set the `express_custom_setup` field on the resulting resource block. When `null`, the `express_custom_setup` 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_factory_integration_runtime_azure_ssis.express_custom_setup.new](#fn-express_custom_setupnew) constructor.\n - `express_vnet_integration` (`list[obj]`): Set the `express_vnet_integration` field on the resulting resource block. When `null`, the `express_vnet_integration` 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_factory_integration_runtime_azure_ssis.express_vnet_integration.new](#fn-express_vnet_integrationnew) constructor.\n - `package_store` (`list[obj]`): Set the `package_store` field on the resulting resource block. When `null`, the `package_store` 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_factory_integration_runtime_azure_ssis.package_store.new](#fn-package_storenew) constructor.\n - `proxy` (`list[obj]`): Set the `proxy` field on the resulting resource block. When `null`, the `proxy` 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_factory_integration_runtime_azure_ssis.proxy.new](#fn-proxynew) 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.data_factory_integration_runtime_azure_ssis.timeouts.new](#fn-timeoutsnew) constructor.\n - `vnet_integration` (`list[obj]`): Set the `vnet_integration` field on the resulting resource block. When `null`, the `vnet_integration` 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_factory_integration_runtime_azure_ssis.vnet_integration.new](#fn-vnet_integrationnew) 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.data_factory_integration_runtime_azure_ssis.new` injects a new `azurerm_data_factory_integration_runtime_azure_ssis` 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.data_factory_integration_runtime_azure_ssis.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data_factory_integration_runtime_azure_ssis` using the reference:\n\n $._ref.azurerm_data_factory_integration_runtime_azure_ssis.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_data_factory_integration_runtime_azure_ssis.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 - `credential_name` (`string`): Set the `credential_name` field on the resulting resource block. When `null`, the `credential_name` field will be omitted from the resulting object.\n - `data_factory_id` (`string`): Set the `data_factory_id` 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 - `edition` (`string`): Set the `edition` field on the resulting resource block. When `null`, the `edition` 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_parallel_executions_per_node` (`number`): Set the `max_parallel_executions_per_node` field on the resulting resource block. When `null`, the `max_parallel_executions_per_node` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `node_size` (`string`): Set the `node_size` field on the resulting resource block.\n - `number_of_nodes` (`number`): Set the `number_of_nodes` field on the resulting resource block. When `null`, the `number_of_nodes` field will be omitted from the resulting object.\n - `catalog_info` (`list[obj]`): Set the `catalog_info` field on the resulting resource block. When `null`, the `catalog_info` 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_factory_integration_runtime_azure_ssis.catalog_info.new](#fn-catalog_infonew) constructor.\n - `custom_setup_script` (`list[obj]`): Set the `custom_setup_script` field on the resulting resource block. When `null`, the `custom_setup_script` 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_factory_integration_runtime_azure_ssis.custom_setup_script.new](#fn-custom_setup_scriptnew) constructor.\n - `express_custom_setup` (`list[obj]`): Set the `express_custom_setup` field on the resulting resource block. When `null`, the `express_custom_setup` 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_factory_integration_runtime_azure_ssis.express_custom_setup.new](#fn-express_custom_setupnew) constructor.\n - `express_vnet_integration` (`list[obj]`): Set the `express_vnet_integration` field on the resulting resource block. When `null`, the `express_vnet_integration` 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_factory_integration_runtime_azure_ssis.express_vnet_integration.new](#fn-express_vnet_integrationnew) constructor.\n - `package_store` (`list[obj]`): Set the `package_store` field on the resulting resource block. When `null`, the `package_store` 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_factory_integration_runtime_azure_ssis.package_store.new](#fn-package_storenew) constructor.\n - `proxy` (`list[obj]`): Set the `proxy` field on the resulting resource block. When `null`, the `proxy` 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_factory_integration_runtime_azure_ssis.proxy.new](#fn-proxynew) 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.data_factory_integration_runtime_azure_ssis.timeouts.new](#fn-timeoutsnew) constructor.\n - `vnet_integration` (`list[obj]`): Set the `vnet_integration` field on the resulting resource block. When `null`, the `vnet_integration` 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_factory_integration_runtime_azure_ssis.vnet_integration.new](#fn-vnet_integrationnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, data_factory_id, @@ -114,6 +114,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); name, node_size, catalog_info=null, + credential_name=null, custom_setup_script=null, description=null, edition=null, @@ -132,6 +133,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); label=resourceLabel, attrs=self.newAttrs( catalog_info=catalog_info, + credential_name=credential_name, custom_setup_script=custom_setup_script, data_factory_id=data_factory_id, description=description, @@ -151,13 +153,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.data_factory_integration_runtime_azure_ssis.newAttrs` constructs a new object with attributes and blocks configured for the `data_factory_integration_runtime_azure_ssis`\nTerraform resource.\n\nUnlike [azurerm.data_factory_integration_runtime_azure_ssis.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 - `data_factory_id` (`string`): Set the `data_factory_id` 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 - `edition` (`string`): Set the `edition` field on the resulting object. When `null`, the `edition` 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_parallel_executions_per_node` (`number`): Set the `max_parallel_executions_per_node` field on the resulting object. When `null`, the `max_parallel_executions_per_node` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `node_size` (`string`): Set the `node_size` field on the resulting object.\n - `number_of_nodes` (`number`): Set the `number_of_nodes` field on the resulting object. When `null`, the `number_of_nodes` field will be omitted from the resulting object.\n - `catalog_info` (`list[obj]`): Set the `catalog_info` field on the resulting object. When `null`, the `catalog_info` 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_factory_integration_runtime_azure_ssis.catalog_info.new](#fn-catalog_infonew) constructor.\n - `custom_setup_script` (`list[obj]`): Set the `custom_setup_script` field on the resulting object. When `null`, the `custom_setup_script` 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_factory_integration_runtime_azure_ssis.custom_setup_script.new](#fn-custom_setup_scriptnew) constructor.\n - `express_custom_setup` (`list[obj]`): Set the `express_custom_setup` field on the resulting object. When `null`, the `express_custom_setup` 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_factory_integration_runtime_azure_ssis.express_custom_setup.new](#fn-express_custom_setupnew) constructor.\n - `express_vnet_integration` (`list[obj]`): Set the `express_vnet_integration` field on the resulting object. When `null`, the `express_vnet_integration` 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_factory_integration_runtime_azure_ssis.express_vnet_integration.new](#fn-express_vnet_integrationnew) constructor.\n - `package_store` (`list[obj]`): Set the `package_store` field on the resulting object. When `null`, the `package_store` 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_factory_integration_runtime_azure_ssis.package_store.new](#fn-package_storenew) constructor.\n - `proxy` (`list[obj]`): Set the `proxy` field on the resulting object. When `null`, the `proxy` 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_factory_integration_runtime_azure_ssis.proxy.new](#fn-proxynew) 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.data_factory_integration_runtime_azure_ssis.timeouts.new](#fn-timeoutsnew) constructor.\n - `vnet_integration` (`list[obj]`): Set the `vnet_integration` field on the resulting object. When `null`, the `vnet_integration` 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_factory_integration_runtime_azure_ssis.vnet_integration.new](#fn-vnet_integrationnew) 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 `data_factory_integration_runtime_azure_ssis` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.data_factory_integration_runtime_azure_ssis.newAttrs` constructs a new object with attributes and blocks configured for the `data_factory_integration_runtime_azure_ssis`\nTerraform resource.\n\nUnlike [azurerm.data_factory_integration_runtime_azure_ssis.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 - `credential_name` (`string`): Set the `credential_name` field on the resulting object. When `null`, the `credential_name` field will be omitted from the resulting object.\n - `data_factory_id` (`string`): Set the `data_factory_id` 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 - `edition` (`string`): Set the `edition` field on the resulting object. When `null`, the `edition` 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_parallel_executions_per_node` (`number`): Set the `max_parallel_executions_per_node` field on the resulting object. When `null`, the `max_parallel_executions_per_node` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `node_size` (`string`): Set the `node_size` field on the resulting object.\n - `number_of_nodes` (`number`): Set the `number_of_nodes` field on the resulting object. When `null`, the `number_of_nodes` field will be omitted from the resulting object.\n - `catalog_info` (`list[obj]`): Set the `catalog_info` field on the resulting object. When `null`, the `catalog_info` 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_factory_integration_runtime_azure_ssis.catalog_info.new](#fn-catalog_infonew) constructor.\n - `custom_setup_script` (`list[obj]`): Set the `custom_setup_script` field on the resulting object. When `null`, the `custom_setup_script` 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_factory_integration_runtime_azure_ssis.custom_setup_script.new](#fn-custom_setup_scriptnew) constructor.\n - `express_custom_setup` (`list[obj]`): Set the `express_custom_setup` field on the resulting object. When `null`, the `express_custom_setup` 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_factory_integration_runtime_azure_ssis.express_custom_setup.new](#fn-express_custom_setupnew) constructor.\n - `express_vnet_integration` (`list[obj]`): Set the `express_vnet_integration` field on the resulting object. When `null`, the `express_vnet_integration` 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_factory_integration_runtime_azure_ssis.express_vnet_integration.new](#fn-express_vnet_integrationnew) constructor.\n - `package_store` (`list[obj]`): Set the `package_store` field on the resulting object. When `null`, the `package_store` 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_factory_integration_runtime_azure_ssis.package_store.new](#fn-package_storenew) constructor.\n - `proxy` (`list[obj]`): Set the `proxy` field on the resulting object. When `null`, the `proxy` 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_factory_integration_runtime_azure_ssis.proxy.new](#fn-proxynew) 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.data_factory_integration_runtime_azure_ssis.timeouts.new](#fn-timeoutsnew) constructor.\n - `vnet_integration` (`list[obj]`): Set the `vnet_integration` field on the resulting object. When `null`, the `vnet_integration` 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_factory_integration_runtime_azure_ssis.vnet_integration.new](#fn-vnet_integrationnew) 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 `data_factory_integration_runtime_azure_ssis` resource into the root Terraform configuration.\n', args=[]), newAttrs( data_factory_id, location, name, node_size, catalog_info=null, + credential_name=null, custom_setup_script=null, description=null, edition=null, @@ -172,6 +175,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); vnet_integration=null ):: std.prune(a={ catalog_info: catalog_info, + credential_name: credential_name, custom_setup_script: custom_setup_script, data_factory_id: data_factory_id, description: description, @@ -259,6 +263,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withCredentialName':: d.fn(help='`azurerm.string.withCredentialName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the credential_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 `credential_name` field.\n', args=[]), + withCredentialName(resourceLabel, value): { + resource+: { + azurerm_data_factory_integration_runtime_azure_ssis+: { + [resourceLabel]+: { + credential_name: value, + }, + }, + }, + }, '#withCustomSetupScript':: d.fn(help='`azurerm.list[obj].withCustomSetupScript` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the custom_setup_script 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].withCustomSetupScriptMixin](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 `custom_setup_script` field.\n', args=[]), withCustomSetupScript(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/data_protection_backup_policy_blob_storage.libsonnet b/3.x/_gen/resources/data_protection_backup_policy_blob_storage.libsonnet index 64f3b7ec..6c3791ff 100644 --- a/3.x/_gen/resources/data_protection_backup_policy_blob_storage.libsonnet +++ b/3.x/_gen/resources/data_protection_backup_policy_blob_storage.libsonnet @@ -34,17 +34,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); vault_id: vault_id, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.data_protection_backup_policy_blob_storage.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':: d.fn(help='\n`azurerm.data_protection_backup_policy_blob_storage.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#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=[]), diff --git a/3.x/_gen/resources/data_protection_backup_policy_disk.libsonnet b/3.x/_gen/resources/data_protection_backup_policy_disk.libsonnet index 29fed95b..7a9e676a 100644 --- a/3.x/_gen/resources/data_protection_backup_policy_disk.libsonnet +++ b/3.x/_gen/resources/data_protection_backup_policy_disk.libsonnet @@ -2,7 +2,7 @@ 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='data_protection_backup_policy_disk', url='', help='`data_protection_backup_policy_disk` represents the `azurerm_data_protection_backup_policy_disk` 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.data_protection_backup_policy_disk.new` injects a new `azurerm_data_protection_backup_policy_disk` 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.data_protection_backup_policy_disk.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data_protection_backup_policy_disk` using the reference:\n\n $._ref.azurerm_data_protection_backup_policy_disk.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_data_protection_backup_policy_disk.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 - `backup_repeating_time_intervals` (`list`): Set the `backup_repeating_time_intervals` field on the resulting resource block.\n - `default_retention_duration` (`string`): Set the `default_retention_duration` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `vault_id` (`string`): Set the `vault_id` field on the resulting resource block.\n - `retention_rule` (`list[obj]`): Set the `retention_rule` field on the resulting resource block. When `null`, the `retention_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.data_protection_backup_policy_disk.retention_rule.new](#fn-retention_rulenew) 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.data_protection_backup_policy_disk.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.data_protection_backup_policy_disk.new` injects a new `azurerm_data_protection_backup_policy_disk` 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.data_protection_backup_policy_disk.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data_protection_backup_policy_disk` using the reference:\n\n $._ref.azurerm_data_protection_backup_policy_disk.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_data_protection_backup_policy_disk.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 - `backup_repeating_time_intervals` (`list`): Set the `backup_repeating_time_intervals` field on the resulting resource block.\n - `default_retention_duration` (`string`): Set the `default_retention_duration` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `time_zone` (`string`): Set the `time_zone` field on the resulting resource block. When `null`, the `time_zone` field will be omitted from the resulting object.\n - `vault_id` (`string`): Set the `vault_id` field on the resulting resource block.\n - `retention_rule` (`list[obj]`): Set the `retention_rule` field on the resulting resource block. When `null`, the `retention_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.data_protection_backup_policy_disk.retention_rule.new](#fn-retention_rulenew) 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.data_protection_backup_policy_disk.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, backup_repeating_time_intervals, @@ -10,6 +10,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); name, vault_id, retention_rule=null, + time_zone=null, timeouts=null, _meta={} ):: tf.withResource( @@ -20,24 +21,27 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); default_retention_duration=default_retention_duration, name=name, retention_rule=retention_rule, + time_zone=time_zone, timeouts=timeouts, vault_id=vault_id ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.data_protection_backup_policy_disk.newAttrs` constructs a new object with attributes and blocks configured for the `data_protection_backup_policy_disk`\nTerraform resource.\n\nUnlike [azurerm.data_protection_backup_policy_disk.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 - `backup_repeating_time_intervals` (`list`): Set the `backup_repeating_time_intervals` field on the resulting object.\n - `default_retention_duration` (`string`): Set the `default_retention_duration` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `vault_id` (`string`): Set the `vault_id` field on the resulting object.\n - `retention_rule` (`list[obj]`): Set the `retention_rule` field on the resulting object. When `null`, the `retention_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.data_protection_backup_policy_disk.retention_rule.new](#fn-retention_rulenew) 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.data_protection_backup_policy_disk.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 `data_protection_backup_policy_disk` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.data_protection_backup_policy_disk.newAttrs` constructs a new object with attributes and blocks configured for the `data_protection_backup_policy_disk`\nTerraform resource.\n\nUnlike [azurerm.data_protection_backup_policy_disk.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 - `backup_repeating_time_intervals` (`list`): Set the `backup_repeating_time_intervals` field on the resulting object.\n - `default_retention_duration` (`string`): Set the `default_retention_duration` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `time_zone` (`string`): Set the `time_zone` field on the resulting object. When `null`, the `time_zone` field will be omitted from the resulting object.\n - `vault_id` (`string`): Set the `vault_id` field on the resulting object.\n - `retention_rule` (`list[obj]`): Set the `retention_rule` field on the resulting object. When `null`, the `retention_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.data_protection_backup_policy_disk.retention_rule.new](#fn-retention_rulenew) 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.data_protection_backup_policy_disk.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 `data_protection_backup_policy_disk` resource into the root Terraform configuration.\n', args=[]), newAttrs( backup_repeating_time_intervals, default_retention_duration, name, vault_id, retention_rule=null, + time_zone=null, timeouts=null ):: std.prune(a={ backup_repeating_time_intervals: backup_repeating_time_intervals, default_retention_duration: default_retention_duration, name: name, retention_rule: retention_rule, + time_zone: time_zone, timeouts: timeouts, vault_id: vault_id, }), @@ -64,17 +68,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, timeouts:: { - '#new':: d.fn(help='\n`azurerm.data_protection_backup_policy_disk.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':: d.fn(help='\n`azurerm.data_protection_backup_policy_disk.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withBackupRepeatingTimeIntervals':: d.fn(help='`azurerm.list.withBackupRepeatingTimeIntervals` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the backup_repeating_time_intervals 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 `backup_repeating_time_intervals` field.\n', args=[]), @@ -127,6 +129,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withTimeZone':: d.fn(help='`azurerm.string.withTimeZone` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the time_zone 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 `time_zone` field.\n', args=[]), + withTimeZone(resourceLabel, value): { + resource+: { + azurerm_data_protection_backup_policy_disk+: { + [resourceLabel]+: { + time_zone: 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+: { diff --git a/3.x/_gen/resources/data_protection_backup_policy_postgresql.libsonnet b/3.x/_gen/resources/data_protection_backup_policy_postgresql.libsonnet index f3c8941b..84a61505 100644 --- a/3.x/_gen/resources/data_protection_backup_policy_postgresql.libsonnet +++ b/3.x/_gen/resources/data_protection_backup_policy_postgresql.libsonnet @@ -2,7 +2,7 @@ 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='data_protection_backup_policy_postgresql', url='', help='`data_protection_backup_policy_postgresql` represents the `azurerm_data_protection_backup_policy_postgresql` 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.data_protection_backup_policy_postgresql.new` injects a new `azurerm_data_protection_backup_policy_postgresql` 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.data_protection_backup_policy_postgresql.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data_protection_backup_policy_postgresql` using the reference:\n\n $._ref.azurerm_data_protection_backup_policy_postgresql.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_data_protection_backup_policy_postgresql.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 - `backup_repeating_time_intervals` (`list`): Set the `backup_repeating_time_intervals` field on the resulting resource block.\n - `default_retention_duration` (`string`): Set the `default_retention_duration` 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 - `vault_name` (`string`): Set the `vault_name` field on the resulting resource block.\n - `retention_rule` (`list[obj]`): Set the `retention_rule` field on the resulting resource block. When `null`, the `retention_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.data_protection_backup_policy_postgresql.retention_rule.new](#fn-retention_rulenew) 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.data_protection_backup_policy_postgresql.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.data_protection_backup_policy_postgresql.new` injects a new `azurerm_data_protection_backup_policy_postgresql` 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.data_protection_backup_policy_postgresql.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.data_protection_backup_policy_postgresql` using the reference:\n\n $._ref.azurerm_data_protection_backup_policy_postgresql.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_data_protection_backup_policy_postgresql.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 - `backup_repeating_time_intervals` (`list`): Set the `backup_repeating_time_intervals` field on the resulting resource block.\n - `default_retention_duration` (`string`): Set the `default_retention_duration` 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 - `time_zone` (`string`): Set the `time_zone` field on the resulting resource block. When `null`, the `time_zone` field will be omitted from the resulting object.\n - `vault_name` (`string`): Set the `vault_name` field on the resulting resource block.\n - `retention_rule` (`list[obj]`): Set the `retention_rule` field on the resulting resource block. When `null`, the `retention_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.data_protection_backup_policy_postgresql.retention_rule.new](#fn-retention_rulenew) 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.data_protection_backup_policy_postgresql.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, backup_repeating_time_intervals, @@ -11,6 +11,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); resource_group_name, vault_name, retention_rule=null, + time_zone=null, timeouts=null, _meta={} ):: tf.withResource( @@ -22,12 +23,13 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); name=name, resource_group_name=resource_group_name, retention_rule=retention_rule, + time_zone=time_zone, timeouts=timeouts, vault_name=vault_name ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.data_protection_backup_policy_postgresql.newAttrs` constructs a new object with attributes and blocks configured for the `data_protection_backup_policy_postgresql`\nTerraform resource.\n\nUnlike [azurerm.data_protection_backup_policy_postgresql.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 - `backup_repeating_time_intervals` (`list`): Set the `backup_repeating_time_intervals` field on the resulting object.\n - `default_retention_duration` (`string`): Set the `default_retention_duration` 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 - `vault_name` (`string`): Set the `vault_name` field on the resulting object.\n - `retention_rule` (`list[obj]`): Set the `retention_rule` field on the resulting object. When `null`, the `retention_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.data_protection_backup_policy_postgresql.retention_rule.new](#fn-retention_rulenew) 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.data_protection_backup_policy_postgresql.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 `data_protection_backup_policy_postgresql` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.data_protection_backup_policy_postgresql.newAttrs` constructs a new object with attributes and blocks configured for the `data_protection_backup_policy_postgresql`\nTerraform resource.\n\nUnlike [azurerm.data_protection_backup_policy_postgresql.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 - `backup_repeating_time_intervals` (`list`): Set the `backup_repeating_time_intervals` field on the resulting object.\n - `default_retention_duration` (`string`): Set the `default_retention_duration` 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 - `time_zone` (`string`): Set the `time_zone` field on the resulting object. When `null`, the `time_zone` field will be omitted from the resulting object.\n - `vault_name` (`string`): Set the `vault_name` field on the resulting object.\n - `retention_rule` (`list[obj]`): Set the `retention_rule` field on the resulting object. When `null`, the `retention_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.data_protection_backup_policy_postgresql.retention_rule.new](#fn-retention_rulenew) 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.data_protection_backup_policy_postgresql.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 `data_protection_backup_policy_postgresql` resource into the root Terraform configuration.\n', args=[]), newAttrs( backup_repeating_time_intervals, default_retention_duration, @@ -35,6 +37,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); resource_group_name, vault_name, retention_rule=null, + time_zone=null, timeouts=null ):: std.prune(a={ backup_repeating_time_intervals: backup_repeating_time_intervals, @@ -42,6 +45,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); name: name, resource_group_name: resource_group_name, retention_rule: retention_rule, + time_zone: time_zone, timeouts: timeouts, vault_name: vault_name, }), @@ -76,17 +80,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, timeouts:: { - '#new':: d.fn(help='\n`azurerm.data_protection_backup_policy_postgresql.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':: d.fn(help='\n`azurerm.data_protection_backup_policy_postgresql.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withBackupRepeatingTimeIntervals':: d.fn(help='`azurerm.list.withBackupRepeatingTimeIntervals` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the backup_repeating_time_intervals 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 `backup_repeating_time_intervals` field.\n', args=[]), @@ -149,6 +151,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withTimeZone':: d.fn(help='`azurerm.string.withTimeZone` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the time_zone 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 `time_zone` field.\n', args=[]), + withTimeZone(resourceLabel, value): { + resource+: { + azurerm_data_protection_backup_policy_postgresql+: { + [resourceLabel]+: { + time_zone: 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+: { diff --git a/3.x/_gen/resources/elastic_san.libsonnet b/3.x/_gen/resources/elastic_san.libsonnet new file mode 100644 index 00000000..61decd45 --- /dev/null +++ b/3.x/_gen/resources/elastic_san.libsonnet @@ -0,0 +1,190 @@ +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='elastic_san', url='', help='`elastic_san` represents the `azurerm_elastic_san` 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.elastic_san.new` injects a new `azurerm_elastic_san` 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.elastic_san.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.elastic_san` using the reference:\n\n $._ref.azurerm_elastic_san.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_elastic_san.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 - `base_size_in_tib` (`number`): Set the `base_size_in_tib` field on the resulting resource block.\n - `extended_size_in_tib` (`number`): Set the `extended_size_in_tib` field on the resulting resource block. When `null`, the `extended_size_in_tib` 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 - `zones` (`list`): Set the `zones` field on the resulting resource block. When `null`, the `zones` field will be omitted from the resulting object.\n - `sku` (`list[obj]`): Set the `sku` field on the resulting resource block. When `null`, the `sku` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.elastic_san.sku.new](#fn-skunew) 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.elastic_san.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, + base_size_in_tib, + location, + name, + resource_group_name, + extended_size_in_tib=null, + sku=null, + tags=null, + timeouts=null, + zones=null, + _meta={} + ):: tf.withResource( + type='azurerm_elastic_san', + label=resourceLabel, + attrs=self.newAttrs( + base_size_in_tib=base_size_in_tib, + extended_size_in_tib=extended_size_in_tib, + location=location, + name=name, + resource_group_name=resource_group_name, + sku=sku, + tags=tags, + timeouts=timeouts, + zones=zones + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.elastic_san.newAttrs` constructs a new object with attributes and blocks configured for the `elastic_san`\nTerraform resource.\n\nUnlike [azurerm.elastic_san.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 - `base_size_in_tib` (`number`): Set the `base_size_in_tib` field on the resulting object.\n - `extended_size_in_tib` (`number`): Set the `extended_size_in_tib` field on the resulting object. When `null`, the `extended_size_in_tib` 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 - `zones` (`list`): Set the `zones` field on the resulting object. When `null`, the `zones` field will be omitted from the resulting object.\n - `sku` (`list[obj]`): Set the `sku` field on the resulting object. When `null`, the `sku` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.elastic_san.sku.new](#fn-skunew) 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.elastic_san.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 `elastic_san` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + base_size_in_tib, + location, + name, + resource_group_name, + extended_size_in_tib=null, + sku=null, + tags=null, + timeouts=null, + zones=null + ):: std.prune(a={ + base_size_in_tib: base_size_in_tib, + extended_size_in_tib: extended_size_in_tib, + location: location, + name: name, + resource_group_name: resource_group_name, + sku: sku, + tags: tags, + timeouts: timeouts, + zones: zones, + }), + sku:: { + '#new':: d.fn(help='\n`azurerm.elastic_san.sku.new` constructs a new object with attributes and blocks configured for the `sku`\nTerraform sub block.\n\n\n\n**Args**:\n - `name` (`string`): Set the `name` field on the resulting object.\n - `tier` (`string`): Set the `tier` field on the resulting object. When `null`, the `tier` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `sku` sub block.\n', args=[]), + new( + name, + tier=null + ):: std.prune(a={ + name: name, + tier: tier, + }), + }, + timeouts:: { + '#new':: d.fn(help='\n`azurerm.elastic_san.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, + }), + }, + '#withBaseSizeInTib':: d.fn(help='`azurerm.number.withBaseSizeInTib` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the base_size_in_tib 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 `base_size_in_tib` field.\n', args=[]), + withBaseSizeInTib(resourceLabel, value): { + resource+: { + azurerm_elastic_san+: { + [resourceLabel]+: { + base_size_in_tib: value, + }, + }, + }, + }, + '#withExtendedSizeInTib':: d.fn(help='`azurerm.number.withExtendedSizeInTib` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the extended_size_in_tib 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 `extended_size_in_tib` field.\n', args=[]), + withExtendedSizeInTib(resourceLabel, value): { + resource+: { + azurerm_elastic_san+: { + [resourceLabel]+: { + extended_size_in_tib: 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_elastic_san+: { + [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_elastic_san+: { + [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_elastic_san+: { + [resourceLabel]+: { + resource_group_name: value, + }, + }, + }, + }, + '#withSku':: d.fn(help='`azurerm.list[obj].withSku` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the sku 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].withSkuMixin](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 `sku` field.\n', args=[]), + withSku(resourceLabel, value): { + resource+: { + azurerm_elastic_san+: { + [resourceLabel]+: { + sku: value, + }, + }, + }, + }, + '#withSkuMixin':: d.fn(help='`azurerm.list[obj].withSkuMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the sku 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].withSku](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 `sku` field.\n', args=[]), + withSkuMixin(resourceLabel, value): { + resource+: { + azurerm_elastic_san+: { + [resourceLabel]+: { + sku+: 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+: { + azurerm_elastic_san+: { + [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_elastic_san+: { + [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_elastic_san+: { + [resourceLabel]+: { + timeouts+: 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_elastic_san+: { + [resourceLabel]+: { + zones: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/elastic_san_volume_group.libsonnet b/3.x/_gen/resources/elastic_san_volume_group.libsonnet new file mode 100644 index 00000000..0ee10659 --- /dev/null +++ b/3.x/_gen/resources/elastic_san_volume_group.libsonnet @@ -0,0 +1,216 @@ +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='elastic_san_volume_group', url='', help='`elastic_san_volume_group` represents the `azurerm_elastic_san_volume_group` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + encryption:: { + '#new':: d.fn(help='\n`azurerm.elastic_san_volume_group.encryption.new` constructs a new object with attributes and blocks configured for the `encryption`\nTerraform sub block.\n\n\n\n**Args**:\n - `key_vault_key_id` (`string`): Set the `key_vault_key_id` field on the resulting object.\n - `user_assigned_identity_id` (`string`): Set the `user_assigned_identity_id` field on the resulting object. When `null`, the `user_assigned_identity_id` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `encryption` sub block.\n', args=[]), + new( + key_vault_key_id, + user_assigned_identity_id=null + ):: std.prune(a={ + key_vault_key_id: key_vault_key_id, + user_assigned_identity_id: user_assigned_identity_id, + }), + }, + identity:: { + '#new':: d.fn(help='\n`azurerm.elastic_san_volume_group.identity.new` constructs a new object with attributes and blocks configured for the `identity`\nTerraform sub block.\n\n\n\n**Args**:\n - `identity_ids` (`list`): Set the `identity_ids` field on the resulting object. When `null`, the `identity_ids` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `identity` sub block.\n', args=[]), + new( + type, + identity_ids=null + ):: std.prune(a={ + identity_ids: identity_ids, + type: type, + }), + }, + network_rule:: { + '#new':: d.fn(help='\n`azurerm.elastic_san_volume_group.network_rule.new` constructs a new object with attributes and blocks configured for the `network_rule`\nTerraform sub block.\n\n\n\n**Args**:\n - `action` (`string`): Set the `action` field on the resulting object. When `null`, the `action` field will be omitted from the resulting object.\n - `subnet_id` (`string`): Set the `subnet_id` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `network_rule` sub block.\n', args=[]), + new( + subnet_id, + action=null + ):: std.prune(a={ + action: action, + subnet_id: subnet_id, + }), + }, + '#new':: d.fn(help="\n`azurerm.elastic_san_volume_group.new` injects a new `azurerm_elastic_san_volume_group` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.elastic_san_volume_group.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.elastic_san_volume_group` using the reference:\n\n $._ref.azurerm_elastic_san_volume_group.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_elastic_san_volume_group.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `elastic_san_id` (`string`): Set the `elastic_san_id` field on the resulting resource block.\n - `encryption_type` (`string`): Set the `encryption_type` field on the resulting resource block. When `null`, the `encryption_type` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `protocol_type` (`string`): Set the `protocol_type` field on the resulting resource block. When `null`, the `protocol_type` field will be omitted from the resulting object.\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.elastic_san_volume_group.encryption.new](#fn-encryptionnew) 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.elastic_san_volume_group.identity.new](#fn-identitynew) constructor.\n - `network_rule` (`list[obj]`): Set the `network_rule` field on the resulting resource block. When `null`, the `network_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.elastic_san_volume_group.network_rule.new](#fn-network_rulenew) 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.elastic_san_volume_group.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + new( + resourceLabel, + elastic_san_id, + name, + encryption=null, + encryption_type=null, + identity=null, + network_rule=null, + protocol_type=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_elastic_san_volume_group', + label=resourceLabel, + attrs=self.newAttrs( + elastic_san_id=elastic_san_id, + encryption=encryption, + encryption_type=encryption_type, + identity=identity, + name=name, + network_rule=network_rule, + protocol_type=protocol_type, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.elastic_san_volume_group.newAttrs` constructs a new object with attributes and blocks configured for the `elastic_san_volume_group`\nTerraform resource.\n\nUnlike [azurerm.elastic_san_volume_group.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `elastic_san_id` (`string`): Set the `elastic_san_id` field on the resulting object.\n - `encryption_type` (`string`): Set the `encryption_type` field on the resulting object. When `null`, the `encryption_type` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `protocol_type` (`string`): Set the `protocol_type` field on the resulting object. When `null`, the `protocol_type` field will be omitted from the resulting object.\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.elastic_san_volume_group.encryption.new](#fn-encryptionnew) 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.elastic_san_volume_group.identity.new](#fn-identitynew) constructor.\n - `network_rule` (`list[obj]`): Set the `network_rule` field on the resulting object. When `null`, the `network_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.elastic_san_volume_group.network_rule.new](#fn-network_rulenew) 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.elastic_san_volume_group.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `elastic_san_volume_group` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + elastic_san_id, + name, + encryption=null, + encryption_type=null, + identity=null, + network_rule=null, + protocol_type=null, + timeouts=null + ):: std.prune(a={ + elastic_san_id: elastic_san_id, + encryption: encryption, + encryption_type: encryption_type, + identity: identity, + name: name, + network_rule: network_rule, + protocol_type: protocol_type, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.elastic_san_volume_group.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, + }), + }, + '#withElasticSanId':: d.fn(help='`azurerm.string.withElasticSanId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the elastic_san_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 `elastic_san_id` field.\n', args=[]), + withElasticSanId(resourceLabel, value): { + resource+: { + azurerm_elastic_san_volume_group+: { + [resourceLabel]+: { + elastic_san_id: value, + }, + }, + }, + }, + '#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_elastic_san_volume_group+: { + [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_elastic_san_volume_group+: { + [resourceLabel]+: { + encryption+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withEncryptionType':: d.fn(help='`azurerm.string.withEncryptionType` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the encryption_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 `encryption_type` field.\n', args=[]), + withEncryptionType(resourceLabel, value): { + resource+: { + azurerm_elastic_san_volume_group+: { + [resourceLabel]+: { + encryption_type: value, + }, + }, + }, + }, + '#withIdentity':: d.fn(help='`azurerm.list[obj].withIdentity` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the identity field.\n\nThis function will replace the array with the passed in `value`. If you wish to instead append the\npassed in value to the existing array, use the [azurerm.list[obj].withIdentityMixin](TODO) function.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `identity` field.\n', args=[]), + withIdentity(resourceLabel, value): { + resource+: { + azurerm_elastic_san_volume_group+: { + [resourceLabel]+: { + identity: value, + }, + }, + }, + }, + '#withIdentityMixin':: d.fn(help='`azurerm.list[obj].withIdentityMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the identity field.\n\nThis function will 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].withIdentity](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 `identity` field.\n', args=[]), + withIdentityMixin(resourceLabel, value): { + resource+: { + azurerm_elastic_san_volume_group+: { + [resourceLabel]+: { + identity+: if std.isArray(v=value) then value else [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_elastic_san_volume_group+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withNetworkRule':: d.fn(help='`azurerm.list[obj].withNetworkRule` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the network_rule 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].withNetworkRuleMixin](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 `network_rule` field.\n', args=[]), + withNetworkRule(resourceLabel, value): { + resource+: { + azurerm_elastic_san_volume_group+: { + [resourceLabel]+: { + network_rule: value, + }, + }, + }, + }, + '#withNetworkRuleMixin':: d.fn(help='`azurerm.list[obj].withNetworkRuleMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the network_rule 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].withNetworkRule](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 `network_rule` field.\n', args=[]), + withNetworkRuleMixin(resourceLabel, value): { + resource+: { + azurerm_elastic_san_volume_group+: { + [resourceLabel]+: { + network_rule+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withProtocolType':: d.fn(help='`azurerm.string.withProtocolType` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the protocol_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 `protocol_type` field.\n', args=[]), + withProtocolType(resourceLabel, value): { + resource+: { + azurerm_elastic_san_volume_group+: { + [resourceLabel]+: { + protocol_type: 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_elastic_san_volume_group+: { + [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_elastic_san_volume_group+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/express_route_circuit_authorization.libsonnet b/3.x/_gen/resources/express_route_circuit_authorization.libsonnet index 372a4f58..8ba74c86 100644 --- a/3.x/_gen/resources/express_route_circuit_authorization.libsonnet +++ b/3.x/_gen/resources/express_route_circuit_authorization.libsonnet @@ -34,17 +34,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.express_route_circuit_authorization.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':: d.fn(help='\n`azurerm.express_route_circuit_authorization.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withExpressRouteCircuitName':: d.fn(help='`azurerm.string.withExpressRouteCircuitName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the express_route_circuit_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 `express_route_circuit_name` field.\n', args=[]), diff --git a/3.x/_gen/resources/express_route_port_authorization.libsonnet b/3.x/_gen/resources/express_route_port_authorization.libsonnet index 7aea3f38..6172d800 100644 --- a/3.x/_gen/resources/express_route_port_authorization.libsonnet +++ b/3.x/_gen/resources/express_route_port_authorization.libsonnet @@ -34,17 +34,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.express_route_port_authorization.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':: d.fn(help='\n`azurerm.express_route_port_authorization.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withExpressRoutePortName':: d.fn(help='`azurerm.string.withExpressRoutePortName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the express_route_port_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 `express_route_port_name` field.\n', args=[]), diff --git a/3.x/_gen/resources/firewall.libsonnet b/3.x/_gen/resources/firewall.libsonnet index db9aef21..615fddc2 100644 --- a/3.x/_gen/resources/firewall.libsonnet +++ b/3.x/_gen/resources/firewall.libsonnet @@ -26,7 +26,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); subnet_id: subnet_id, }), }, - '#new':: d.fn(help="\n`azurerm.firewall.new` injects a new `azurerm_firewall` 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.firewall.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.firewall` using the reference:\n\n $._ref.azurerm_firewall.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_firewall.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 - `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 - `firewall_policy_id` (`string`): Set the `firewall_policy_id` field on the resulting resource block. When `null`, the `firewall_policy_id` 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 - `private_ip_ranges` (`list`): Set the `private_ip_ranges` field on the resulting resource block. When `null`, the `private_ip_ranges` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting resource block.\n - `sku_tier` (`string`): Set the `sku_tier` 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 - `threat_intel_mode` (`string`): Set the `threat_intel_mode` field on the resulting resource block. When `null`, the `threat_intel_mode` 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 - `ip_configuration` (`list[obj]`): Set the `ip_configuration` field on the resulting resource block. When `null`, the `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.firewall.ip_configuration.new](#fn-ip_configurationnew) constructor.\n - `management_ip_configuration` (`list[obj]`): Set the `management_ip_configuration` field on the resulting resource block. When `null`, the `management_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.firewall.management_ip_configuration.new](#fn-management_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.firewall.timeouts.new](#fn-timeoutsnew) constructor.\n - `virtual_hub` (`list[obj]`): Set the `virtual_hub` field on the resulting resource block. When `null`, the `virtual_hub` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.firewall.virtual_hub.new](#fn-virtual_hubnew) 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.firewall.new` injects a new `azurerm_firewall` 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.firewall.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.firewall` using the reference:\n\n $._ref.azurerm_firewall.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_firewall.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 - `dns_proxy_enabled` (`bool`): Set the `dns_proxy_enabled` field on the resulting resource block. When `null`, the `dns_proxy_enabled` 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 - `firewall_policy_id` (`string`): Set the `firewall_policy_id` field on the resulting resource block. When `null`, the `firewall_policy_id` 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 - `private_ip_ranges` (`list`): Set the `private_ip_ranges` field on the resulting resource block. When `null`, the `private_ip_ranges` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting resource block.\n - `sku_tier` (`string`): Set the `sku_tier` 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 - `threat_intel_mode` (`string`): Set the `threat_intel_mode` field on the resulting resource block. When `null`, the `threat_intel_mode` 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 - `ip_configuration` (`list[obj]`): Set the `ip_configuration` field on the resulting resource block. When `null`, the `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.firewall.ip_configuration.new](#fn-ip_configurationnew) constructor.\n - `management_ip_configuration` (`list[obj]`): Set the `management_ip_configuration` field on the resulting resource block. When `null`, the `management_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.firewall.management_ip_configuration.new](#fn-management_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.firewall.timeouts.new](#fn-timeoutsnew) constructor.\n - `virtual_hub` (`list[obj]`): Set the `virtual_hub` field on the resulting resource block. When `null`, the `virtual_hub` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.firewall.virtual_hub.new](#fn-virtual_hubnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, location, @@ -34,6 +34,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); resource_group_name, sku_name, sku_tier, + dns_proxy_enabled=null, dns_servers=null, firewall_policy_id=null, ip_configuration=null, @@ -49,6 +50,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); type='azurerm_firewall', label=resourceLabel, attrs=self.newAttrs( + dns_proxy_enabled=dns_proxy_enabled, dns_servers=dns_servers, firewall_policy_id=firewall_policy_id, ip_configuration=ip_configuration, @@ -67,13 +69,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.firewall.newAttrs` constructs a new object with attributes and blocks configured for the `firewall`\nTerraform resource.\n\nUnlike [azurerm.firewall.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 - `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 - `firewall_policy_id` (`string`): Set the `firewall_policy_id` field on the resulting object. When `null`, the `firewall_policy_id` 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 - `private_ip_ranges` (`list`): Set the `private_ip_ranges` field on the resulting object. When `null`, the `private_ip_ranges` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting object.\n - `sku_tier` (`string`): Set the `sku_tier` 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 - `threat_intel_mode` (`string`): Set the `threat_intel_mode` field on the resulting object. When `null`, the `threat_intel_mode` 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 - `ip_configuration` (`list[obj]`): Set the `ip_configuration` field on the resulting object. When `null`, the `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.firewall.ip_configuration.new](#fn-ip_configurationnew) constructor.\n - `management_ip_configuration` (`list[obj]`): Set the `management_ip_configuration` field on the resulting object. When `null`, the `management_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.firewall.management_ip_configuration.new](#fn-management_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.firewall.timeouts.new](#fn-timeoutsnew) constructor.\n - `virtual_hub` (`list[obj]`): Set the `virtual_hub` field on the resulting object. When `null`, the `virtual_hub` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.firewall.virtual_hub.new](#fn-virtual_hubnew) 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 `firewall` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.firewall.newAttrs` constructs a new object with attributes and blocks configured for the `firewall`\nTerraform resource.\n\nUnlike [azurerm.firewall.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 - `dns_proxy_enabled` (`bool`): Set the `dns_proxy_enabled` field on the resulting object. When `null`, the `dns_proxy_enabled` 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 - `firewall_policy_id` (`string`): Set the `firewall_policy_id` field on the resulting object. When `null`, the `firewall_policy_id` 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 - `private_ip_ranges` (`list`): Set the `private_ip_ranges` field on the resulting object. When `null`, the `private_ip_ranges` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting object.\n - `sku_tier` (`string`): Set the `sku_tier` 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 - `threat_intel_mode` (`string`): Set the `threat_intel_mode` field on the resulting object. When `null`, the `threat_intel_mode` 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 - `ip_configuration` (`list[obj]`): Set the `ip_configuration` field on the resulting object. When `null`, the `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.firewall.ip_configuration.new](#fn-ip_configurationnew) constructor.\n - `management_ip_configuration` (`list[obj]`): Set the `management_ip_configuration` field on the resulting object. When `null`, the `management_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.firewall.management_ip_configuration.new](#fn-management_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.firewall.timeouts.new](#fn-timeoutsnew) constructor.\n - `virtual_hub` (`list[obj]`): Set the `virtual_hub` field on the resulting object. When `null`, the `virtual_hub` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.firewall.virtual_hub.new](#fn-virtual_hubnew) 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 `firewall` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, resource_group_name, sku_name, sku_tier, + dns_proxy_enabled=null, dns_servers=null, firewall_policy_id=null, ip_configuration=null, @@ -85,6 +88,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); virtual_hub=null, zones=null ):: std.prune(a={ + dns_proxy_enabled: dns_proxy_enabled, dns_servers: dns_servers, firewall_policy_id: firewall_policy_id, ip_configuration: ip_configuration, @@ -125,6 +129,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); virtual_hub_id: virtual_hub_id, }), }, + '#withDnsProxyEnabled':: d.fn(help='`azurerm.bool.withDnsProxyEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the dns_proxy_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 `dns_proxy_enabled` field.\n', args=[]), + withDnsProxyEnabled(resourceLabel, value): { + resource+: { + azurerm_firewall+: { + [resourceLabel]+: { + dns_proxy_enabled: value, + }, + }, + }, + }, '#withDnsServers':: d.fn(help='`azurerm.list.withDnsServers` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the dns_servers 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 `dns_servers` field.\n', args=[]), withDnsServers(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/gallery_application_version.libsonnet b/3.x/_gen/resources/gallery_application_version.libsonnet index 304db839..e5cea52b 100644 --- a/3.x/_gen/resources/gallery_application_version.libsonnet +++ b/3.x/_gen/resources/gallery_application_version.libsonnet @@ -14,16 +14,18 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); update: update, }), }, - '#new':: d.fn(help="\n`azurerm.gallery_application_version.new` injects a new `azurerm_gallery_application_version` 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.gallery_application_version.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.gallery_application_version` using the reference:\n\n $._ref.azurerm_gallery_application_version.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_gallery_application_version.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 - `enable_health_check` (`bool`): Set the `enable_health_check` field on the resulting resource block. When `null`, the `enable_health_check` field will be omitted from the resulting object.\n - `end_of_life_date` (`string`): Set the `end_of_life_date` field on the resulting resource block. When `null`, the `end_of_life_date` field will be omitted from the resulting object.\n - `exclude_from_latest` (`bool`): Set the `exclude_from_latest` field on the resulting resource block. When `null`, the `exclude_from_latest` field will be omitted from the resulting object.\n - `gallery_application_id` (`string`): Set the `gallery_application_id` field on the resulting resource block.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `manage_action` (`list[obj]`): Set the `manage_action` field on the resulting resource block. When `null`, the `manage_action` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.gallery_application_version.manage_action.new](#fn-manage_actionnew) constructor.\n - `source` (`list[obj]`): Set the `source` field on the resulting resource block. When `null`, the `source` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.gallery_application_version.source.new](#fn-sourcenew) constructor.\n - `target_region` (`list[obj]`): Set the `target_region` field on the resulting resource block. When `null`, the `target_region` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.gallery_application_version.target_region.new](#fn-target_regionnew) 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.gallery_application_version.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.gallery_application_version.new` injects a new `azurerm_gallery_application_version` 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.gallery_application_version.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.gallery_application_version` using the reference:\n\n $._ref.azurerm_gallery_application_version.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_gallery_application_version.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 - `config_file` (`string`): Set the `config_file` field on the resulting resource block. When `null`, the `config_file` field will be omitted from the resulting object.\n - `enable_health_check` (`bool`): Set the `enable_health_check` field on the resulting resource block. When `null`, the `enable_health_check` field will be omitted from the resulting object.\n - `end_of_life_date` (`string`): Set the `end_of_life_date` field on the resulting resource block. When `null`, the `end_of_life_date` field will be omitted from the resulting object.\n - `exclude_from_latest` (`bool`): Set the `exclude_from_latest` field on the resulting resource block. When `null`, the `exclude_from_latest` field will be omitted from the resulting object.\n - `gallery_application_id` (`string`): Set the `gallery_application_id` field on the resulting resource block.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `package_file` (`string`): Set the `package_file` field on the resulting resource block. When `null`, the `package_file` 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 - `manage_action` (`list[obj]`): Set the `manage_action` field on the resulting resource block. When `null`, the `manage_action` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.gallery_application_version.manage_action.new](#fn-manage_actionnew) constructor.\n - `source` (`list[obj]`): Set the `source` field on the resulting resource block. When `null`, the `source` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.gallery_application_version.source.new](#fn-sourcenew) constructor.\n - `target_region` (`list[obj]`): Set the `target_region` field on the resulting resource block. When `null`, the `target_region` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.gallery_application_version.target_region.new](#fn-target_regionnew) 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.gallery_application_version.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, gallery_application_id, location, name, + config_file=null, enable_health_check=null, end_of_life_date=null, exclude_from_latest=null, manage_action=null, + package_file=null, source=null, tags=null, target_region=null, @@ -33,6 +35,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); type='azurerm_gallery_application_version', label=resourceLabel, attrs=self.newAttrs( + config_file=config_file, enable_health_check=enable_health_check, end_of_life_date=end_of_life_date, exclude_from_latest=exclude_from_latest, @@ -40,6 +43,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); location=location, manage_action=manage_action, name=name, + package_file=package_file, source=source, tags=tags, target_region=target_region, @@ -47,20 +51,23 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.gallery_application_version.newAttrs` constructs a new object with attributes and blocks configured for the `gallery_application_version`\nTerraform resource.\n\nUnlike [azurerm.gallery_application_version.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 - `enable_health_check` (`bool`): Set the `enable_health_check` field on the resulting object. When `null`, the `enable_health_check` field will be omitted from the resulting object.\n - `end_of_life_date` (`string`): Set the `end_of_life_date` field on the resulting object. When `null`, the `end_of_life_date` field will be omitted from the resulting object.\n - `exclude_from_latest` (`bool`): Set the `exclude_from_latest` field on the resulting object. When `null`, the `exclude_from_latest` field will be omitted from the resulting object.\n - `gallery_application_id` (`string`): Set the `gallery_application_id` field on the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n - `manage_action` (`list[obj]`): Set the `manage_action` field on the resulting object. When `null`, the `manage_action` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.gallery_application_version.manage_action.new](#fn-manage_actionnew) constructor.\n - `source` (`list[obj]`): Set the `source` field on the resulting object. When `null`, the `source` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.gallery_application_version.source.new](#fn-sourcenew) constructor.\n - `target_region` (`list[obj]`): Set the `target_region` field on the resulting object. When `null`, the `target_region` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.gallery_application_version.target_region.new](#fn-target_regionnew) 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.gallery_application_version.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 `gallery_application_version` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.gallery_application_version.newAttrs` constructs a new object with attributes and blocks configured for the `gallery_application_version`\nTerraform resource.\n\nUnlike [azurerm.gallery_application_version.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 - `config_file` (`string`): Set the `config_file` field on the resulting object. When `null`, the `config_file` field will be omitted from the resulting object.\n - `enable_health_check` (`bool`): Set the `enable_health_check` field on the resulting object. When `null`, the `enable_health_check` field will be omitted from the resulting object.\n - `end_of_life_date` (`string`): Set the `end_of_life_date` field on the resulting object. When `null`, the `end_of_life_date` field will be omitted from the resulting object.\n - `exclude_from_latest` (`bool`): Set the `exclude_from_latest` field on the resulting object. When `null`, the `exclude_from_latest` field will be omitted from the resulting object.\n - `gallery_application_id` (`string`): Set the `gallery_application_id` field on the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `package_file` (`string`): Set the `package_file` field on the resulting object. When `null`, the `package_file` 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 - `manage_action` (`list[obj]`): Set the `manage_action` field on the resulting object. When `null`, the `manage_action` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.gallery_application_version.manage_action.new](#fn-manage_actionnew) constructor.\n - `source` (`list[obj]`): Set the `source` field on the resulting object. When `null`, the `source` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.gallery_application_version.source.new](#fn-sourcenew) constructor.\n - `target_region` (`list[obj]`): Set the `target_region` field on the resulting object. When `null`, the `target_region` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.gallery_application_version.target_region.new](#fn-target_regionnew) 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.gallery_application_version.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 `gallery_application_version` resource into the root Terraform configuration.\n', args=[]), newAttrs( gallery_application_id, location, name, + config_file=null, enable_health_check=null, end_of_life_date=null, exclude_from_latest=null, manage_action=null, + package_file=null, source=null, tags=null, target_region=null, timeouts=null ):: std.prune(a={ + config_file: config_file, enable_health_check: enable_health_check, end_of_life_date: end_of_life_date, exclude_from_latest: exclude_from_latest, @@ -68,6 +75,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); location: location, manage_action: manage_action, name: name, + package_file: package_file, source: source, tags: tags, target_region: target_region, @@ -84,12 +92,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, target_region:: { - '#new':: d.fn(help='\n`azurerm.gallery_application_version.target_region.new` constructs a new object with attributes and blocks configured for the `target_region`\nTerraform sub block.\n\n\n\n**Args**:\n - `name` (`string`): Set the `name` field on the resulting object.\n - `regional_replica_count` (`number`): Set the `regional_replica_count` field on the resulting object.\n - `storage_account_type` (`string`): Set the `storage_account_type` field on the resulting object. When `null`, the `storage_account_type` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `target_region` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.gallery_application_version.target_region.new` constructs a new object with attributes and blocks configured for the `target_region`\nTerraform sub block.\n\n\n\n**Args**:\n - `exclude_from_latest` (`bool`): Set the `exclude_from_latest` field on the resulting object. When `null`, the `exclude_from_latest` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `regional_replica_count` (`number`): Set the `regional_replica_count` field on the resulting object.\n - `storage_account_type` (`string`): Set the `storage_account_type` field on the resulting object. When `null`, the `storage_account_type` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `target_region` sub block.\n', args=[]), new( name, regional_replica_count, + exclude_from_latest=null, storage_account_type=null ):: std.prune(a={ + exclude_from_latest: exclude_from_latest, name: name, regional_replica_count: regional_replica_count, storage_account_type: storage_account_type, @@ -109,6 +119,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); update: update, }), }, + '#withConfigFile':: d.fn(help='`azurerm.string.withConfigFile` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the config_file 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 `config_file` field.\n', args=[]), + withConfigFile(resourceLabel, value): { + resource+: { + azurerm_gallery_application_version+: { + [resourceLabel]+: { + config_file: value, + }, + }, + }, + }, '#withEnableHealthCheck':: d.fn(help='`azurerm.bool.withEnableHealthCheck` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the enable_health_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 `enable_health_check` field.\n', args=[]), withEnableHealthCheck(resourceLabel, value): { resource+: { @@ -189,6 +209,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withPackageFile':: d.fn(help='`azurerm.string.withPackageFile` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the package_file 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 `package_file` field.\n', args=[]), + withPackageFile(resourceLabel, value): { + resource+: { + azurerm_gallery_application_version+: { + [resourceLabel]+: { + package_file: value, + }, + }, + }, + }, '#withSource':: d.fn(help='`azurerm.list[obj].withSource` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the source 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].withSourceMixin](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 `source` field.\n', args=[]), withSource(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/hpc_cache_blob_nfs_target.libsonnet b/3.x/_gen/resources/hpc_cache_blob_nfs_target.libsonnet index 9b9f0107..789e149c 100644 --- a/3.x/_gen/resources/hpc_cache_blob_nfs_target.libsonnet +++ b/3.x/_gen/resources/hpc_cache_blob_nfs_target.libsonnet @@ -2,7 +2,7 @@ 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='hpc_cache_blob_nfs_target', url='', help='`hpc_cache_blob_nfs_target` represents the `azurerm_hpc_cache_blob_nfs_target` 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.hpc_cache_blob_nfs_target.new` injects a new `azurerm_hpc_cache_blob_nfs_target` 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.hpc_cache_blob_nfs_target.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.hpc_cache_blob_nfs_target` using the reference:\n\n $._ref.azurerm_hpc_cache_blob_nfs_target.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_hpc_cache_blob_nfs_target.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 - `access_policy_name` (`string`): Set the `access_policy_name` field on the resulting resource block. When `null`, the `access_policy_name` field will be omitted from the resulting object.\n - `cache_name` (`string`): Set the `cache_name` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `namespace_path` (`string`): Set the `namespace_path` field on the resulting resource block.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `storage_container_id` (`string`): Set the `storage_container_id` field on the resulting resource block.\n - `usage_model` (`string`): Set the `usage_model` 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.hpc_cache_blob_nfs_target.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.hpc_cache_blob_nfs_target.new` injects a new `azurerm_hpc_cache_blob_nfs_target` 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.hpc_cache_blob_nfs_target.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.hpc_cache_blob_nfs_target` using the reference:\n\n $._ref.azurerm_hpc_cache_blob_nfs_target.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_hpc_cache_blob_nfs_target.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 - `access_policy_name` (`string`): Set the `access_policy_name` field on the resulting resource block. When `null`, the `access_policy_name` field will be omitted from the resulting object.\n - `cache_name` (`string`): Set the `cache_name` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `namespace_path` (`string`): Set the `namespace_path` field on the resulting resource block.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `storage_container_id` (`string`): Set the `storage_container_id` field on the resulting resource block.\n - `usage_model` (`string`): Set the `usage_model` field on the resulting resource block.\n - `verification_timer_in_seconds` (`number`): Set the `verification_timer_in_seconds` field on the resulting resource block. When `null`, the `verification_timer_in_seconds` field will be omitted from the resulting object.\n - `write_back_timer_in_seconds` (`number`): Set the `write_back_timer_in_seconds` field on the resulting resource block. When `null`, the `write_back_timer_in_seconds` 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.hpc_cache_blob_nfs_target.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, cache_name, @@ -13,6 +13,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); usage_model, access_policy_name=null, timeouts=null, + verification_timer_in_seconds=null, + write_back_timer_in_seconds=null, _meta={} ):: tf.withResource( type='azurerm_hpc_cache_blob_nfs_target', @@ -25,11 +27,13 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); resource_group_name=resource_group_name, storage_container_id=storage_container_id, timeouts=timeouts, - usage_model=usage_model + usage_model=usage_model, + verification_timer_in_seconds=verification_timer_in_seconds, + write_back_timer_in_seconds=write_back_timer_in_seconds ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.hpc_cache_blob_nfs_target.newAttrs` constructs a new object with attributes and blocks configured for the `hpc_cache_blob_nfs_target`\nTerraform resource.\n\nUnlike [azurerm.hpc_cache_blob_nfs_target.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 - `access_policy_name` (`string`): Set the `access_policy_name` field on the resulting object. When `null`, the `access_policy_name` field will be omitted from the resulting object.\n - `cache_name` (`string`): Set the `cache_name` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `namespace_path` (`string`): Set the `namespace_path` field on the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `storage_container_id` (`string`): Set the `storage_container_id` field on the resulting object.\n - `usage_model` (`string`): Set the `usage_model` 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.hpc_cache_blob_nfs_target.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 `hpc_cache_blob_nfs_target` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.hpc_cache_blob_nfs_target.newAttrs` constructs a new object with attributes and blocks configured for the `hpc_cache_blob_nfs_target`\nTerraform resource.\n\nUnlike [azurerm.hpc_cache_blob_nfs_target.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 - `access_policy_name` (`string`): Set the `access_policy_name` field on the resulting object. When `null`, the `access_policy_name` field will be omitted from the resulting object.\n - `cache_name` (`string`): Set the `cache_name` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `namespace_path` (`string`): Set the `namespace_path` field on the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `storage_container_id` (`string`): Set the `storage_container_id` field on the resulting object.\n - `usage_model` (`string`): Set the `usage_model` field on the resulting object.\n - `verification_timer_in_seconds` (`number`): Set the `verification_timer_in_seconds` field on the resulting object. When `null`, the `verification_timer_in_seconds` field will be omitted from the resulting object.\n - `write_back_timer_in_seconds` (`number`): Set the `write_back_timer_in_seconds` field on the resulting object. When `null`, the `write_back_timer_in_seconds` 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.hpc_cache_blob_nfs_target.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 `hpc_cache_blob_nfs_target` resource into the root Terraform configuration.\n', args=[]), newAttrs( cache_name, name, @@ -38,7 +42,9 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); storage_container_id, usage_model, access_policy_name=null, - timeouts=null + timeouts=null, + verification_timer_in_seconds=null, + write_back_timer_in_seconds=null ):: std.prune(a={ access_policy_name: access_policy_name, cache_name: cache_name, @@ -48,6 +54,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); storage_container_id: storage_container_id, timeouts: timeouts, usage_model: usage_model, + verification_timer_in_seconds: verification_timer_in_seconds, + write_back_timer_in_seconds: write_back_timer_in_seconds, }), timeouts:: { '#new':: d.fn(help='\n`azurerm.hpc_cache_blob_nfs_target.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=[]), @@ -153,4 +161,24 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withVerificationTimerInSeconds':: d.fn(help='`azurerm.number.withVerificationTimerInSeconds` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the verification_timer_in_seconds 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 `verification_timer_in_seconds` field.\n', args=[]), + withVerificationTimerInSeconds(resourceLabel, value): { + resource+: { + azurerm_hpc_cache_blob_nfs_target+: { + [resourceLabel]+: { + verification_timer_in_seconds: value, + }, + }, + }, + }, + '#withWriteBackTimerInSeconds':: d.fn(help='`azurerm.number.withWriteBackTimerInSeconds` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the write_back_timer_in_seconds 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 `write_back_timer_in_seconds` field.\n', args=[]), + withWriteBackTimerInSeconds(resourceLabel, value): { + resource+: { + azurerm_hpc_cache_blob_nfs_target+: { + [resourceLabel]+: { + write_back_timer_in_seconds: value, + }, + }, + }, + }, } diff --git a/3.x/_gen/resources/hpc_cache_nfs_target.libsonnet b/3.x/_gen/resources/hpc_cache_nfs_target.libsonnet index b89051d3..3df2db9f 100644 --- a/3.x/_gen/resources/hpc_cache_nfs_target.libsonnet +++ b/3.x/_gen/resources/hpc_cache_nfs_target.libsonnet @@ -16,7 +16,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); target_path: target_path, }), }, - '#new':: d.fn(help="\n`azurerm.hpc_cache_nfs_target.new` injects a new `azurerm_hpc_cache_nfs_target` 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.hpc_cache_nfs_target.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.hpc_cache_nfs_target` using the reference:\n\n $._ref.azurerm_hpc_cache_nfs_target.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_hpc_cache_nfs_target.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 - `cache_name` (`string`): Set the `cache_name` 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 - `target_host_name` (`string`): Set the `target_host_name` field on the resulting resource block.\n - `usage_model` (`string`): Set the `usage_model` field on the resulting resource block.\n - `namespace_junction` (`list[obj]`): Set the `namespace_junction` field on the resulting resource block. When `null`, the `namespace_junction` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.hpc_cache_nfs_target.namespace_junction.new](#fn-namespace_junctionnew) 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.hpc_cache_nfs_target.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.hpc_cache_nfs_target.new` injects a new `azurerm_hpc_cache_nfs_target` 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.hpc_cache_nfs_target.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.hpc_cache_nfs_target` using the reference:\n\n $._ref.azurerm_hpc_cache_nfs_target.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_hpc_cache_nfs_target.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 - `cache_name` (`string`): Set the `cache_name` 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 - `target_host_name` (`string`): Set the `target_host_name` field on the resulting resource block.\n - `usage_model` (`string`): Set the `usage_model` field on the resulting resource block.\n - `verification_timer_in_seconds` (`number`): Set the `verification_timer_in_seconds` field on the resulting resource block. When `null`, the `verification_timer_in_seconds` field will be omitted from the resulting object.\n - `write_back_timer_in_seconds` (`number`): Set the `write_back_timer_in_seconds` field on the resulting resource block. When `null`, the `write_back_timer_in_seconds` field will be omitted from the resulting object.\n - `namespace_junction` (`list[obj]`): Set the `namespace_junction` field on the resulting resource block. When `null`, the `namespace_junction` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.hpc_cache_nfs_target.namespace_junction.new](#fn-namespace_junctionnew) 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.hpc_cache_nfs_target.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, cache_name, @@ -26,6 +26,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); usage_model, namespace_junction=null, timeouts=null, + verification_timer_in_seconds=null, + write_back_timer_in_seconds=null, _meta={} ):: tf.withResource( type='azurerm_hpc_cache_nfs_target', @@ -37,11 +39,13 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); resource_group_name=resource_group_name, target_host_name=target_host_name, timeouts=timeouts, - usage_model=usage_model + usage_model=usage_model, + verification_timer_in_seconds=verification_timer_in_seconds, + write_back_timer_in_seconds=write_back_timer_in_seconds ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.hpc_cache_nfs_target.newAttrs` constructs a new object with attributes and blocks configured for the `hpc_cache_nfs_target`\nTerraform resource.\n\nUnlike [azurerm.hpc_cache_nfs_target.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 - `cache_name` (`string`): Set the `cache_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 - `target_host_name` (`string`): Set the `target_host_name` field on the resulting object.\n - `usage_model` (`string`): Set the `usage_model` field on the resulting object.\n - `namespace_junction` (`list[obj]`): Set the `namespace_junction` field on the resulting object. When `null`, the `namespace_junction` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.hpc_cache_nfs_target.namespace_junction.new](#fn-namespace_junctionnew) 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.hpc_cache_nfs_target.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 `hpc_cache_nfs_target` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.hpc_cache_nfs_target.newAttrs` constructs a new object with attributes and blocks configured for the `hpc_cache_nfs_target`\nTerraform resource.\n\nUnlike [azurerm.hpc_cache_nfs_target.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 - `cache_name` (`string`): Set the `cache_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 - `target_host_name` (`string`): Set the `target_host_name` field on the resulting object.\n - `usage_model` (`string`): Set the `usage_model` field on the resulting object.\n - `verification_timer_in_seconds` (`number`): Set the `verification_timer_in_seconds` field on the resulting object. When `null`, the `verification_timer_in_seconds` field will be omitted from the resulting object.\n - `write_back_timer_in_seconds` (`number`): Set the `write_back_timer_in_seconds` field on the resulting object. When `null`, the `write_back_timer_in_seconds` field will be omitted from the resulting object.\n - `namespace_junction` (`list[obj]`): Set the `namespace_junction` field on the resulting object. When `null`, the `namespace_junction` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.hpc_cache_nfs_target.namespace_junction.new](#fn-namespace_junctionnew) 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.hpc_cache_nfs_target.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 `hpc_cache_nfs_target` resource into the root Terraform configuration.\n', args=[]), newAttrs( cache_name, name, @@ -49,7 +53,9 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); target_host_name, usage_model, namespace_junction=null, - timeouts=null + timeouts=null, + verification_timer_in_seconds=null, + write_back_timer_in_seconds=null ):: std.prune(a={ cache_name: cache_name, name: name, @@ -58,6 +64,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); target_host_name: target_host_name, timeouts: timeouts, usage_model: usage_model, + verification_timer_in_seconds: verification_timer_in_seconds, + write_back_timer_in_seconds: write_back_timer_in_seconds, }), timeouts:: { '#new':: d.fn(help='\n`azurerm.hpc_cache_nfs_target.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=[]), @@ -163,4 +171,24 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withVerificationTimerInSeconds':: d.fn(help='`azurerm.number.withVerificationTimerInSeconds` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the verification_timer_in_seconds 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 `verification_timer_in_seconds` field.\n', args=[]), + withVerificationTimerInSeconds(resourceLabel, value): { + resource+: { + azurerm_hpc_cache_nfs_target+: { + [resourceLabel]+: { + verification_timer_in_seconds: value, + }, + }, + }, + }, + '#withWriteBackTimerInSeconds':: d.fn(help='`azurerm.number.withWriteBackTimerInSeconds` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the write_back_timer_in_seconds 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 `write_back_timer_in_seconds` field.\n', args=[]), + withWriteBackTimerInSeconds(resourceLabel, value): { + resource+: { + azurerm_hpc_cache_nfs_target+: { + [resourceLabel]+: { + write_back_timer_in_seconds: value, + }, + }, + }, + }, } diff --git a/3.x/_gen/resources/iothub_consumer_group.libsonnet b/3.x/_gen/resources/iothub_consumer_group.libsonnet index 9d04a31c..32497452 100644 --- a/3.x/_gen/resources/iothub_consumer_group.libsonnet +++ b/3.x/_gen/resources/iothub_consumer_group.libsonnet @@ -38,17 +38,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.iothub_consumer_group.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':: d.fn(help='\n`azurerm.iothub_consumer_group.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withEventhubEndpointName':: d.fn(help='`azurerm.string.withEventhubEndpointName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the eventhub_endpoint_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 `eventhub_endpoint_name` field.\n', args=[]), diff --git a/3.x/_gen/resources/key_vault_managed_hardware_security_module_role_assignment.libsonnet b/3.x/_gen/resources/key_vault_managed_hardware_security_module_role_assignment.libsonnet new file mode 100644 index 00000000..b09b4fb3 --- /dev/null +++ b/3.x/_gen/resources/key_vault_managed_hardware_security_module_role_assignment.libsonnet @@ -0,0 +1,126 @@ +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='key_vault_managed_hardware_security_module_role_assignment', url='', help='`key_vault_managed_hardware_security_module_role_assignment` represents the `azurerm_key_vault_managed_hardware_security_module_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.key_vault_managed_hardware_security_module_role_assignment.new` injects a new `azurerm_key_vault_managed_hardware_security_module_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.key_vault_managed_hardware_security_module_role_assignment.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.key_vault_managed_hardware_security_module_role_assignment` using the reference:\n\n $._ref.azurerm_key_vault_managed_hardware_security_module_role_assignment.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_key_vault_managed_hardware_security_module_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 - `name` (`string`): Set the `name` field on the resulting resource block.\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.\n - `scope` (`string`): Set the `scope` field on the resulting resource block.\n - `vault_base_url` (`string`): Set the `vault_base_url` 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.key_vault_managed_hardware_security_module_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, + name, + principal_id, + role_definition_id, + scope, + vault_base_url, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_key_vault_managed_hardware_security_module_role_assignment', + label=resourceLabel, + attrs=self.newAttrs( + name=name, + principal_id=principal_id, + role_definition_id=role_definition_id, + scope=scope, + timeouts=timeouts, + vault_base_url=vault_base_url + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.key_vault_managed_hardware_security_module_role_assignment.newAttrs` constructs a new object with attributes and blocks configured for the `key_vault_managed_hardware_security_module_role_assignment`\nTerraform resource.\n\nUnlike [azurerm.key_vault_managed_hardware_security_module_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 - `name` (`string`): Set the `name` field on 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.\n - `scope` (`string`): Set the `scope` field on the resulting object.\n - `vault_base_url` (`string`): Set the `vault_base_url` 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.key_vault_managed_hardware_security_module_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 `key_vault_managed_hardware_security_module_role_assignment` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + name, + principal_id, + role_definition_id, + scope, + vault_base_url, + timeouts=null + ):: std.prune(a={ + name: name, + principal_id: principal_id, + role_definition_id: role_definition_id, + scope: scope, + timeouts: timeouts, + vault_base_url: vault_base_url, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.key_vault_managed_hardware_security_module_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, + }), + }, + '#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_key_vault_managed_hardware_security_module_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_key_vault_managed_hardware_security_module_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_key_vault_managed_hardware_security_module_role_assignment+: { + [resourceLabel]+: { + role_definition_id: value, + }, + }, + }, + }, + '#withScope':: d.fn(help='`azurerm.string.withScope` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the scope 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 `scope` field.\n', args=[]), + withScope(resourceLabel, value): { + resource+: { + azurerm_key_vault_managed_hardware_security_module_role_assignment+: { + [resourceLabel]+: { + scope: 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_key_vault_managed_hardware_security_module_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_key_vault_managed_hardware_security_module_role_assignment+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, + '#withVaultBaseUrl':: d.fn(help='`azurerm.string.withVaultBaseUrl` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the vault_base_url 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 `vault_base_url` field.\n', args=[]), + withVaultBaseUrl(resourceLabel, value): { + resource+: { + azurerm_key_vault_managed_hardware_security_module_role_assignment+: { + [resourceLabel]+: { + vault_base_url: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/key_vault_managed_hardware_security_module_role_definition.libsonnet b/3.x/_gen/resources/key_vault_managed_hardware_security_module_role_definition.libsonnet new file mode 100644 index 00000000..a8195dd6 --- /dev/null +++ b/3.x/_gen/resources/key_vault_managed_hardware_security_module_role_definition.libsonnet @@ -0,0 +1,152 @@ +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='key_vault_managed_hardware_security_module_role_definition', url='', help='`key_vault_managed_hardware_security_module_role_definition` represents the `azurerm_key_vault_managed_hardware_security_module_role_definition` 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.key_vault_managed_hardware_security_module_role_definition.new` injects a new `azurerm_key_vault_managed_hardware_security_module_role_definition` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.key_vault_managed_hardware_security_module_role_definition.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.key_vault_managed_hardware_security_module_role_definition` using the reference:\n\n $._ref.azurerm_key_vault_managed_hardware_security_module_role_definition.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_key_vault_managed_hardware_security_module_role_definition.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 - `name` (`string`): Set the `name` field on the resulting resource block.\n - `role_name` (`string`): Set the `role_name` field on the resulting resource block. When `null`, the `role_name` field will be omitted from the resulting object.\n - `vault_base_url` (`string`): Set the `vault_base_url` field on the resulting resource block.\n - `permission` (`list[obj]`): Set the `permission` field on the resulting resource block. When `null`, the `permission` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.key_vault_managed_hardware_security_module_role_definition.permission.new](#fn-permissionnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.key_vault_managed_hardware_security_module_role_definition.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + new( + resourceLabel, + name, + vault_base_url, + description=null, + permission=null, + role_name=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_key_vault_managed_hardware_security_module_role_definition', + label=resourceLabel, + attrs=self.newAttrs( + description=description, + name=name, + permission=permission, + role_name=role_name, + timeouts=timeouts, + vault_base_url=vault_base_url + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.key_vault_managed_hardware_security_module_role_definition.newAttrs` constructs a new object with attributes and blocks configured for the `key_vault_managed_hardware_security_module_role_definition`\nTerraform resource.\n\nUnlike [azurerm.key_vault_managed_hardware_security_module_role_definition.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 - `name` (`string`): Set the `name` field on the resulting object.\n - `role_name` (`string`): Set the `role_name` field on the resulting object. When `null`, the `role_name` field will be omitted from the resulting object.\n - `vault_base_url` (`string`): Set the `vault_base_url` field on the resulting object.\n - `permission` (`list[obj]`): Set the `permission` field on the resulting object. When `null`, the `permission` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.key_vault_managed_hardware_security_module_role_definition.permission.new](#fn-permissionnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.key_vault_managed_hardware_security_module_role_definition.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `key_vault_managed_hardware_security_module_role_definition` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + name, + vault_base_url, + description=null, + permission=null, + role_name=null, + timeouts=null + ):: std.prune(a={ + description: description, + name: name, + permission: permission, + role_name: role_name, + timeouts: timeouts, + vault_base_url: vault_base_url, + }), + permission:: { + '#new':: d.fn(help='\n`azurerm.key_vault_managed_hardware_security_module_role_definition.permission.new` constructs a new object with attributes and blocks configured for the `permission`\nTerraform sub block.\n\n\n\n**Args**:\n - `actions` (`list`): Set the `actions` field on the resulting object. When `null`, the `actions` field will be omitted from the resulting object.\n - `data_actions` (`list`): Set the `data_actions` field on the resulting object. When `null`, the `data_actions` field will be omitted from the resulting object.\n - `not_actions` (`list`): Set the `not_actions` field on the resulting object. When `null`, the `not_actions` field will be omitted from the resulting object.\n - `not_data_actions` (`list`): Set the `not_data_actions` field on the resulting object. When `null`, the `not_data_actions` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `permission` sub block.\n', args=[]), + new( + actions=null, + data_actions=null, + not_actions=null, + not_data_actions=null + ):: std.prune(a={ + actions: actions, + data_actions: data_actions, + not_actions: not_actions, + not_data_actions: not_data_actions, + }), + }, + timeouts:: { + '#new':: d.fn(help='\n`azurerm.key_vault_managed_hardware_security_module_role_definition.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, + }), + }, + '#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_key_vault_managed_hardware_security_module_role_definition+: { + [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_key_vault_managed_hardware_security_module_role_definition+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withPermission':: d.fn(help='`azurerm.list[obj].withPermission` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the permission 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].withPermissionMixin](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 `permission` field.\n', args=[]), + withPermission(resourceLabel, value): { + resource+: { + azurerm_key_vault_managed_hardware_security_module_role_definition+: { + [resourceLabel]+: { + permission: value, + }, + }, + }, + }, + '#withPermissionMixin':: d.fn(help='`azurerm.list[obj].withPermissionMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the permission 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].withPermission](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 `permission` field.\n', args=[]), + withPermissionMixin(resourceLabel, value): { + resource+: { + azurerm_key_vault_managed_hardware_security_module_role_definition+: { + [resourceLabel]+: { + permission+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withRoleName':: d.fn(help='`azurerm.string.withRoleName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the role_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_name` field.\n', args=[]), + withRoleName(resourceLabel, value): { + resource+: { + azurerm_key_vault_managed_hardware_security_module_role_definition+: { + [resourceLabel]+: { + role_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_key_vault_managed_hardware_security_module_role_definition+: { + [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_key_vault_managed_hardware_security_module_role_definition+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, + '#withVaultBaseUrl':: d.fn(help='`azurerm.string.withVaultBaseUrl` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the vault_base_url 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 `vault_base_url` field.\n', args=[]), + withVaultBaseUrl(resourceLabel, value): { + resource+: { + azurerm_key_vault_managed_hardware_security_module_role_definition+: { + [resourceLabel]+: { + vault_base_url: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/kubernetes_cluster.libsonnet b/3.x/_gen/resources/kubernetes_cluster.libsonnet index 7c4075b9..6059a102 100644 --- a/3.x/_gen/resources/kubernetes_cluster.libsonnet +++ b/3.x/_gen/resources/kubernetes_cluster.libsonnet @@ -195,7 +195,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, }, - '#new':: d.fn(help='\n`azurerm.kubernetes_cluster.default_node_pool.new` constructs a new object with attributes and blocks configured for the `default_node_pool`\nTerraform sub block.\n\n\n\n**Args**:\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 - `custom_ca_trust_enabled` (`bool`): Set the `custom_ca_trust_enabled` field on the resulting object. When `null`, the `custom_ca_trust_enabled` field will be omitted from the resulting object.\n - `enable_auto_scaling` (`bool`): Set the `enable_auto_scaling` field on the resulting object. When `null`, the `enable_auto_scaling` field will be omitted from the resulting object.\n - `enable_host_encryption` (`bool`): Set the `enable_host_encryption` field on the resulting object. When `null`, the `enable_host_encryption` field will be omitted from the resulting object.\n - `enable_node_public_ip` (`bool`): Set the `enable_node_public_ip` field on the resulting object. When `null`, the `enable_node_public_ip` field will be omitted from the resulting object.\n - `fips_enabled` (`bool`): Set the `fips_enabled` field on the resulting object. When `null`, the `fips_enabled` field will be omitted from the resulting object.\n - `host_group_id` (`string`): Set the `host_group_id` field on the resulting object. When `null`, the `host_group_id` field will be omitted from the resulting object.\n - `kubelet_disk_type` (`string`): Set the `kubelet_disk_type` field on the resulting object. When `null`, the `kubelet_disk_type` field will be omitted from the resulting object.\n - `max_count` (`number`): Set the `max_count` field on the resulting object. When `null`, the `max_count` field will be omitted from the resulting object.\n - `max_pods` (`number`): Set the `max_pods` field on the resulting object. When `null`, the `max_pods` field will be omitted from the resulting object.\n - `message_of_the_day` (`string`): Set the `message_of_the_day` field on the resulting object. When `null`, the `message_of_the_day` field will be omitted from the resulting object.\n - `min_count` (`number`): Set the `min_count` field on the resulting object. When `null`, the `min_count` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `node_count` (`number`): Set the `node_count` field on the resulting object. When `null`, the `node_count` field will be omitted from the resulting object.\n - `node_labels` (`obj`): Set the `node_labels` field on the resulting object. When `null`, the `node_labels` field will be omitted from the resulting object.\n - `node_public_ip_prefix_id` (`string`): Set the `node_public_ip_prefix_id` field on the resulting object. When `null`, the `node_public_ip_prefix_id` field will be omitted from the resulting object.\n - `node_taints` (`list`): Set the `node_taints` field on the resulting object. When `null`, the `node_taints` field will be omitted from the resulting object.\n - `only_critical_addons_enabled` (`bool`): Set the `only_critical_addons_enabled` field on the resulting object. When `null`, the `only_critical_addons_enabled` field will be omitted from the resulting object.\n - `orchestrator_version` (`string`): Set the `orchestrator_version` field on the resulting object. When `null`, the `orchestrator_version` field will be omitted from the resulting object.\n - `os_disk_size_gb` (`number`): Set the `os_disk_size_gb` field on the resulting object. When `null`, the `os_disk_size_gb` field will be omitted from the resulting object.\n - `os_disk_type` (`string`): Set the `os_disk_type` field on the resulting object. When `null`, the `os_disk_type` field will be omitted from the resulting object.\n - `os_sku` (`string`): Set the `os_sku` field on the resulting object. When `null`, the `os_sku` field will be omitted from the resulting object.\n - `pod_subnet_id` (`string`): Set the `pod_subnet_id` field on the resulting object. When `null`, the `pod_subnet_id` 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 - `scale_down_mode` (`string`): Set the `scale_down_mode` field on the resulting object. When `null`, the `scale_down_mode` field will be omitted from the resulting object.\n - `snapshot_id` (`string`): Set the `snapshot_id` field on the resulting object. When `null`, the `snapshot_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 - `temporary_name_for_rotation` (`string`): Set the `temporary_name_for_rotation` field on the resulting object. When `null`, the `temporary_name_for_rotation` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object. When `null`, the `type` field will be omitted from the resulting object.\n - `ultra_ssd_enabled` (`bool`): Set the `ultra_ssd_enabled` field on the resulting object. When `null`, the `ultra_ssd_enabled` field will be omitted from the resulting object.\n - `vm_size` (`string`): Set the `vm_size` field on the resulting object.\n - `vnet_subnet_id` (`string`): Set the `vnet_subnet_id` field on the resulting object. When `null`, the `vnet_subnet_id` field will be omitted from the resulting object.\n - `workload_runtime` (`string`): Set the `workload_runtime` field on the resulting object. When `null`, the `workload_runtime` 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 - `kubelet_config` (`list[obj]`): Set the `kubelet_config` field on the resulting object. When `null`, the `kubelet_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.default_node_pool.kubelet_config.new](#fn-default_node_poolkubelet_confignew) constructor.\n - `linux_os_config` (`list[obj]`): Set the `linux_os_config` field on the resulting object. When `null`, the `linux_os_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.default_node_pool.linux_os_config.new](#fn-default_node_poollinux_os_confignew) constructor.\n - `node_network_profile` (`list[obj]`): Set the `node_network_profile` field on the resulting object. When `null`, the `node_network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.default_node_pool.node_network_profile.new](#fn-default_node_poolnode_network_profilenew) constructor.\n - `upgrade_settings` (`list[obj]`): Set the `upgrade_settings` field on the resulting object. When `null`, the `upgrade_settings` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.default_node_pool.upgrade_settings.new](#fn-default_node_poolupgrade_settingsnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `default_node_pool` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.kubernetes_cluster.default_node_pool.new` constructs a new object with attributes and blocks configured for the `default_node_pool`\nTerraform sub block.\n\n\n\n**Args**:\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 - `custom_ca_trust_enabled` (`bool`): Set the `custom_ca_trust_enabled` field on the resulting object. When `null`, the `custom_ca_trust_enabled` field will be omitted from the resulting object.\n - `enable_auto_scaling` (`bool`): Set the `enable_auto_scaling` field on the resulting object. When `null`, the `enable_auto_scaling` field will be omitted from the resulting object.\n - `enable_host_encryption` (`bool`): Set the `enable_host_encryption` field on the resulting object. When `null`, the `enable_host_encryption` field will be omitted from the resulting object.\n - `enable_node_public_ip` (`bool`): Set the `enable_node_public_ip` field on the resulting object. When `null`, the `enable_node_public_ip` field will be omitted from the resulting object.\n - `fips_enabled` (`bool`): Set the `fips_enabled` field on the resulting object. When `null`, the `fips_enabled` field will be omitted from the resulting object.\n - `gpu_instance` (`string`): Set the `gpu_instance` field on the resulting object. When `null`, the `gpu_instance` field will be omitted from the resulting object.\n - `host_group_id` (`string`): Set the `host_group_id` field on the resulting object. When `null`, the `host_group_id` field will be omitted from the resulting object.\n - `kubelet_disk_type` (`string`): Set the `kubelet_disk_type` field on the resulting object. When `null`, the `kubelet_disk_type` field will be omitted from the resulting object.\n - `max_count` (`number`): Set the `max_count` field on the resulting object. When `null`, the `max_count` field will be omitted from the resulting object.\n - `max_pods` (`number`): Set the `max_pods` field on the resulting object. When `null`, the `max_pods` field will be omitted from the resulting object.\n - `message_of_the_day` (`string`): Set the `message_of_the_day` field on the resulting object. When `null`, the `message_of_the_day` field will be omitted from the resulting object.\n - `min_count` (`number`): Set the `min_count` field on the resulting object. When `null`, the `min_count` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `node_count` (`number`): Set the `node_count` field on the resulting object. When `null`, the `node_count` field will be omitted from the resulting object.\n - `node_labels` (`obj`): Set the `node_labels` field on the resulting object. When `null`, the `node_labels` field will be omitted from the resulting object.\n - `node_public_ip_prefix_id` (`string`): Set the `node_public_ip_prefix_id` field on the resulting object. When `null`, the `node_public_ip_prefix_id` field will be omitted from the resulting object.\n - `node_taints` (`list`): Set the `node_taints` field on the resulting object. When `null`, the `node_taints` field will be omitted from the resulting object.\n - `only_critical_addons_enabled` (`bool`): Set the `only_critical_addons_enabled` field on the resulting object. When `null`, the `only_critical_addons_enabled` field will be omitted from the resulting object.\n - `orchestrator_version` (`string`): Set the `orchestrator_version` field on the resulting object. When `null`, the `orchestrator_version` field will be omitted from the resulting object.\n - `os_disk_size_gb` (`number`): Set the `os_disk_size_gb` field on the resulting object. When `null`, the `os_disk_size_gb` field will be omitted from the resulting object.\n - `os_disk_type` (`string`): Set the `os_disk_type` field on the resulting object. When `null`, the `os_disk_type` field will be omitted from the resulting object.\n - `os_sku` (`string`): Set the `os_sku` field on the resulting object. When `null`, the `os_sku` field will be omitted from the resulting object.\n - `pod_subnet_id` (`string`): Set the `pod_subnet_id` field on the resulting object. When `null`, the `pod_subnet_id` 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 - `scale_down_mode` (`string`): Set the `scale_down_mode` field on the resulting object. When `null`, the `scale_down_mode` field will be omitted from the resulting object.\n - `snapshot_id` (`string`): Set the `snapshot_id` field on the resulting object. When `null`, the `snapshot_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 - `temporary_name_for_rotation` (`string`): Set the `temporary_name_for_rotation` field on the resulting object. When `null`, the `temporary_name_for_rotation` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object. When `null`, the `type` field will be omitted from the resulting object.\n - `ultra_ssd_enabled` (`bool`): Set the `ultra_ssd_enabled` field on the resulting object. When `null`, the `ultra_ssd_enabled` field will be omitted from the resulting object.\n - `vm_size` (`string`): Set the `vm_size` field on the resulting object.\n - `vnet_subnet_id` (`string`): Set the `vnet_subnet_id` field on the resulting object. When `null`, the `vnet_subnet_id` field will be omitted from the resulting object.\n - `workload_runtime` (`string`): Set the `workload_runtime` field on the resulting object. When `null`, the `workload_runtime` 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 - `kubelet_config` (`list[obj]`): Set the `kubelet_config` field on the resulting object. When `null`, the `kubelet_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.default_node_pool.kubelet_config.new](#fn-default_node_poolkubelet_confignew) constructor.\n - `linux_os_config` (`list[obj]`): Set the `linux_os_config` field on the resulting object. When `null`, the `linux_os_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.default_node_pool.linux_os_config.new](#fn-default_node_poollinux_os_confignew) constructor.\n - `node_network_profile` (`list[obj]`): Set the `node_network_profile` field on the resulting object. When `null`, the `node_network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.default_node_pool.node_network_profile.new](#fn-default_node_poolnode_network_profilenew) constructor.\n - `upgrade_settings` (`list[obj]`): Set the `upgrade_settings` field on the resulting object. When `null`, the `upgrade_settings` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.default_node_pool.upgrade_settings.new](#fn-default_node_poolupgrade_settingsnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `default_node_pool` sub block.\n', args=[]), new( name, vm_size, @@ -205,6 +205,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); enable_host_encryption=null, enable_node_public_ip=null, fips_enabled=null, + gpu_instance=null, host_group_id=null, kubelet_config=null, kubelet_disk_type=null, @@ -242,6 +243,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); enable_host_encryption: enable_host_encryption, enable_node_public_ip: enable_node_public_ip, fips_enabled: fips_enabled, + gpu_instance: gpu_instance, host_group_id: host_group_id, kubelet_config: kubelet_config, kubelet_disk_type: kubelet_disk_type, @@ -276,10 +278,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); zones: zones, }), node_network_profile:: { - '#new':: d.fn(help='\n`azurerm.kubernetes_cluster.default_node_pool.node_network_profile.new` constructs a new object with attributes and blocks configured for the `node_network_profile`\nTerraform sub block.\n\n\n\n**Args**:\n - `node_public_ip_tags` (`obj`): Set the `node_public_ip_tags` field on the resulting object. When `null`, the `node_public_ip_tags` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `node_network_profile` sub block.\n', args=[]), + allowed_host_ports:: { + '#new':: d.fn(help='\n`azurerm.kubernetes_cluster.default_node_pool.node_network_profile.allowed_host_ports.new` constructs a new object with attributes and blocks configured for the `allowed_host_ports`\nTerraform sub block.\n\n\n\n**Args**:\n - `port_end` (`number`): Set the `port_end` field on the resulting object. When `null`, the `port_end` field will be omitted from the resulting object.\n - `port_start` (`number`): Set the `port_start` field on the resulting object. When `null`, the `port_start` field will be omitted from the resulting object.\n - `protocol` (`string`): Set the `protocol` field on the resulting object. When `null`, the `protocol` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `allowed_host_ports` sub block.\n', args=[]), + new( + port_end=null, + port_start=null, + protocol=null + ):: std.prune(a={ + port_end: port_end, + port_start: port_start, + protocol: protocol, + }), + }, + '#new':: d.fn(help='\n`azurerm.kubernetes_cluster.default_node_pool.node_network_profile.new` constructs a new object with attributes and blocks configured for the `node_network_profile`\nTerraform sub block.\n\n\n\n**Args**:\n - `application_security_group_ids` (`list`): Set the `application_security_group_ids` field on the resulting object. When `null`, the `application_security_group_ids` field will be omitted from the resulting object.\n - `node_public_ip_tags` (`obj`): Set the `node_public_ip_tags` field on the resulting object. When `null`, the `node_public_ip_tags` field will be omitted from the resulting object.\n - `allowed_host_ports` (`list[obj]`): Set the `allowed_host_ports` field on the resulting object. When `null`, the `allowed_host_ports` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.default_node_pool.node_network_profile.allowed_host_ports.new](#fn-default_node_pooldefault_node_poolallowed_host_portsnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `node_network_profile` sub block.\n', args=[]), new( + allowed_host_ports=null, + application_security_group_ids=null, node_public_ip_tags=null ):: std.prune(a={ + allowed_host_ports: allowed_host_ports, + application_security_group_ids: application_security_group_ids, node_public_ip_tags: node_public_ip_tags, }), }, @@ -566,7 +584,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); service_cidrs: service_cidrs, }), }, - '#new':: d.fn(help="\n`azurerm.kubernetes_cluster.new` injects a new `azurerm_kubernetes_cluster` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.kubernetes_cluster.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.kubernetes_cluster` using the reference:\n\n $._ref.azurerm_kubernetes_cluster.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_kubernetes_cluster.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `api_server_authorized_ip_ranges` (`list`): Set the `api_server_authorized_ip_ranges` field on the resulting resource block. When `null`, the `api_server_authorized_ip_ranges` field will be omitted from the resulting object.\n - `automatic_channel_upgrade` (`string`): Set the `automatic_channel_upgrade` field on the resulting resource block. When `null`, the `automatic_channel_upgrade` field will be omitted from the resulting object.\n - `azure_policy_enabled` (`bool`): Set the `azure_policy_enabled` field on the resulting resource block. When `null`, the `azure_policy_enabled` field will be omitted from the resulting object.\n - `custom_ca_trust_certificates_base64` (`list`): Set the `custom_ca_trust_certificates_base64` field on the resulting resource block. When `null`, the `custom_ca_trust_certificates_base64` field will be omitted from the resulting object.\n - `disk_encryption_set_id` (`string`): Set the `disk_encryption_set_id` field on the resulting resource block. When `null`, the `disk_encryption_set_id` field will be omitted from the resulting object.\n - `dns_prefix` (`string`): Set the `dns_prefix` field on the resulting resource block. When `null`, the `dns_prefix` field will be omitted from the resulting object.\n - `dns_prefix_private_cluster` (`string`): Set the `dns_prefix_private_cluster` field on the resulting resource block. When `null`, the `dns_prefix_private_cluster` field will be omitted from the resulting object.\n - `edge_zone` (`string`): Set the `edge_zone` field on the resulting resource block. When `null`, the `edge_zone` field will be omitted from the resulting object.\n - `enable_pod_security_policy` (`bool`): Set the `enable_pod_security_policy` field on the resulting resource block. When `null`, the `enable_pod_security_policy` field will be omitted from the resulting object.\n - `http_application_routing_enabled` (`bool`): Set the `http_application_routing_enabled` field on the resulting resource block. When `null`, the `http_application_routing_enabled` field will be omitted from the resulting object.\n - `image_cleaner_enabled` (`bool`): Set the `image_cleaner_enabled` field on the resulting resource block. When `null`, the `image_cleaner_enabled` field will be omitted from the resulting object.\n - `image_cleaner_interval_hours` (`number`): Set the `image_cleaner_interval_hours` field on the resulting resource block. When `null`, the `image_cleaner_interval_hours` field will be omitted from the resulting object.\n - `kubernetes_version` (`string`): Set the `kubernetes_version` field on the resulting resource block. When `null`, the `kubernetes_version` field will be omitted from the resulting object.\n - `local_account_disabled` (`bool`): Set the `local_account_disabled` field on the resulting resource block. When `null`, the `local_account_disabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `node_os_channel_upgrade` (`string`): Set the `node_os_channel_upgrade` field on the resulting resource block. When `null`, the `node_os_channel_upgrade` field will be omitted from the resulting object.\n - `node_resource_group` (`string`): Set the `node_resource_group` field on the resulting resource block. When `null`, the `node_resource_group` field will be omitted from the resulting object.\n - `oidc_issuer_enabled` (`bool`): Set the `oidc_issuer_enabled` field on the resulting resource block. When `null`, the `oidc_issuer_enabled` field will be omitted from the resulting object.\n - `open_service_mesh_enabled` (`bool`): Set the `open_service_mesh_enabled` field on the resulting resource block. When `null`, the `open_service_mesh_enabled` field will be omitted from the resulting object.\n - `private_cluster_enabled` (`bool`): Set the `private_cluster_enabled` field on the resulting resource block. When `null`, the `private_cluster_enabled` field will be omitted from the resulting object.\n - `private_cluster_public_fqdn_enabled` (`bool`): Set the `private_cluster_public_fqdn_enabled` field on the resulting resource block. When `null`, the `private_cluster_public_fqdn_enabled` field will be omitted from the resulting object.\n - `private_dns_zone_id` (`string`): Set the `private_dns_zone_id` field on the resulting resource block. When `null`, the `private_dns_zone_id` field will be omitted from the resulting object.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `role_based_access_control_enabled` (`bool`): Set the `role_based_access_control_enabled` field on the resulting resource block. When `null`, the `role_based_access_control_enabled` field will be omitted from the resulting object.\n - `run_command_enabled` (`bool`): Set the `run_command_enabled` field on the resulting resource block. When `null`, the `run_command_enabled` field will be omitted from the resulting object.\n - `sku_tier` (`string`): Set the `sku_tier` field on the resulting resource block. When `null`, the `sku_tier` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `workload_identity_enabled` (`bool`): Set the `workload_identity_enabled` field on the resulting resource block. When `null`, the `workload_identity_enabled` field will be omitted from the resulting object.\n - `aci_connector_linux` (`list[obj]`): Set the `aci_connector_linux` field on the resulting resource block. When `null`, the `aci_connector_linux` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.aci_connector_linux.new](#fn-aci_connector_linuxnew) constructor.\n - `api_server_access_profile` (`list[obj]`): Set the `api_server_access_profile` field on the resulting resource block. When `null`, the `api_server_access_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.api_server_access_profile.new](#fn-api_server_access_profilenew) constructor.\n - `auto_scaler_profile` (`list[obj]`): Set the `auto_scaler_profile` field on the resulting resource block. When `null`, the `auto_scaler_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.auto_scaler_profile.new](#fn-auto_scaler_profilenew) constructor.\n - `azure_active_directory_role_based_access_control` (`list[obj]`): Set the `azure_active_directory_role_based_access_control` field on the resulting resource block. When `null`, the `azure_active_directory_role_based_access_control` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.azure_active_directory_role_based_access_control.new](#fn-azure_active_directory_role_based_access_controlnew) constructor.\n - `confidential_computing` (`list[obj]`): Set the `confidential_computing` field on the resulting resource block. When `null`, the `confidential_computing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.confidential_computing.new](#fn-confidential_computingnew) constructor.\n - `default_node_pool` (`list[obj]`): Set the `default_node_pool` field on the resulting resource block. When `null`, the `default_node_pool` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.default_node_pool.new](#fn-default_node_poolnew) constructor.\n - `http_proxy_config` (`list[obj]`): Set the `http_proxy_config` field on the resulting resource block. When `null`, the `http_proxy_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.http_proxy_config.new](#fn-http_proxy_confignew) constructor.\n - `identity` (`list[obj]`): Set the `identity` field on the resulting resource block. When `null`, the `identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.identity.new](#fn-identitynew) constructor.\n - `ingress_application_gateway` (`list[obj]`): Set the `ingress_application_gateway` field on the resulting resource block. When `null`, the `ingress_application_gateway` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.ingress_application_gateway.new](#fn-ingress_application_gatewaynew) constructor.\n - `key_management_service` (`list[obj]`): Set the `key_management_service` field on the resulting resource block. When `null`, the `key_management_service` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.key_management_service.new](#fn-key_management_servicenew) constructor.\n - `key_vault_secrets_provider` (`list[obj]`): Set the `key_vault_secrets_provider` field on the resulting resource block. When `null`, the `key_vault_secrets_provider` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.key_vault_secrets_provider.new](#fn-key_vault_secrets_providernew) constructor.\n - `kubelet_identity` (`list[obj]`): Set the `kubelet_identity` field on the resulting resource block. When `null`, the `kubelet_identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.kubelet_identity.new](#fn-kubelet_identitynew) constructor.\n - `linux_profile` (`list[obj]`): Set the `linux_profile` field on the resulting resource block. When `null`, the `linux_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.linux_profile.new](#fn-linux_profilenew) constructor.\n - `maintenance_window` (`list[obj]`): Set the `maintenance_window` field on the resulting resource block. When `null`, the `maintenance_window` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window.new](#fn-maintenance_windownew) constructor.\n - `maintenance_window_auto_upgrade` (`list[obj]`): Set the `maintenance_window_auto_upgrade` field on the resulting resource block. When `null`, the `maintenance_window_auto_upgrade` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_auto_upgrade.new](#fn-maintenance_window_auto_upgradenew) constructor.\n - `maintenance_window_node_os` (`list[obj]`): Set the `maintenance_window_node_os` field on the resulting resource block. When `null`, the `maintenance_window_node_os` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_node_os.new](#fn-maintenance_window_node_osnew) constructor.\n - `microsoft_defender` (`list[obj]`): Set the `microsoft_defender` field on the resulting resource block. When `null`, the `microsoft_defender` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.microsoft_defender.new](#fn-microsoft_defendernew) constructor.\n - `monitor_metrics` (`list[obj]`): Set the `monitor_metrics` field on the resulting resource block. When `null`, the `monitor_metrics` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.monitor_metrics.new](#fn-monitor_metricsnew) constructor.\n - `network_profile` (`list[obj]`): Set the `network_profile` field on the resulting resource block. When `null`, the `network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.network_profile.new](#fn-network_profilenew) constructor.\n - `oms_agent` (`list[obj]`): Set the `oms_agent` field on the resulting resource block. When `null`, the `oms_agent` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.oms_agent.new](#fn-oms_agentnew) constructor.\n - `service_mesh_profile` (`list[obj]`): Set the `service_mesh_profile` field on the resulting resource block. When `null`, the `service_mesh_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.service_mesh_profile.new](#fn-service_mesh_profilenew) constructor.\n - `service_principal` (`list[obj]`): Set the `service_principal` field on the resulting resource block. When `null`, the `service_principal` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.service_principal.new](#fn-service_principalnew) constructor.\n - `storage_profile` (`list[obj]`): Set the `storage_profile` field on the resulting resource block. When `null`, the `storage_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.storage_profile.new](#fn-storage_profilenew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.timeouts.new](#fn-timeoutsnew) constructor.\n - `web_app_routing` (`list[obj]`): Set the `web_app_routing` field on the resulting resource block. When `null`, the `web_app_routing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.web_app_routing.new](#fn-web_app_routingnew) constructor.\n - `windows_profile` (`list[obj]`): Set the `windows_profile` field on the resulting resource block. When `null`, the `windows_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.windows_profile.new](#fn-windows_profilenew) constructor.\n - `workload_autoscaler_profile` (`list[obj]`): Set the `workload_autoscaler_profile` field on the resulting resource block. When `null`, the `workload_autoscaler_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.workload_autoscaler_profile.new](#fn-workload_autoscaler_profilenew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`azurerm.kubernetes_cluster.new` injects a new `azurerm_kubernetes_cluster` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.kubernetes_cluster.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.kubernetes_cluster` using the reference:\n\n $._ref.azurerm_kubernetes_cluster.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_kubernetes_cluster.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `api_server_authorized_ip_ranges` (`list`): Set the `api_server_authorized_ip_ranges` field on the resulting resource block. When `null`, the `api_server_authorized_ip_ranges` field will be omitted from the resulting object.\n - `automatic_channel_upgrade` (`string`): Set the `automatic_channel_upgrade` field on the resulting resource block. When `null`, the `automatic_channel_upgrade` field will be omitted from the resulting object.\n - `azure_policy_enabled` (`bool`): Set the `azure_policy_enabled` field on the resulting resource block. When `null`, the `azure_policy_enabled` field will be omitted from the resulting object.\n - `custom_ca_trust_certificates_base64` (`list`): Set the `custom_ca_trust_certificates_base64` field on the resulting resource block. When `null`, the `custom_ca_trust_certificates_base64` field will be omitted from the resulting object.\n - `disk_encryption_set_id` (`string`): Set the `disk_encryption_set_id` field on the resulting resource block. When `null`, the `disk_encryption_set_id` field will be omitted from the resulting object.\n - `dns_prefix` (`string`): Set the `dns_prefix` field on the resulting resource block. When `null`, the `dns_prefix` field will be omitted from the resulting object.\n - `dns_prefix_private_cluster` (`string`): Set the `dns_prefix_private_cluster` field on the resulting resource block. When `null`, the `dns_prefix_private_cluster` field will be omitted from the resulting object.\n - `edge_zone` (`string`): Set the `edge_zone` field on the resulting resource block. When `null`, the `edge_zone` field will be omitted from the resulting object.\n - `enable_pod_security_policy` (`bool`): Set the `enable_pod_security_policy` field on the resulting resource block. When `null`, the `enable_pod_security_policy` field will be omitted from the resulting object.\n - `http_application_routing_enabled` (`bool`): Set the `http_application_routing_enabled` field on the resulting resource block. When `null`, the `http_application_routing_enabled` field will be omitted from the resulting object.\n - `image_cleaner_enabled` (`bool`): Set the `image_cleaner_enabled` field on the resulting resource block. When `null`, the `image_cleaner_enabled` field will be omitted from the resulting object.\n - `image_cleaner_interval_hours` (`number`): Set the `image_cleaner_interval_hours` field on the resulting resource block. When `null`, the `image_cleaner_interval_hours` field will be omitted from the resulting object.\n - `kubernetes_version` (`string`): Set the `kubernetes_version` field on the resulting resource block. When `null`, the `kubernetes_version` field will be omitted from the resulting object.\n - `local_account_disabled` (`bool`): Set the `local_account_disabled` field on the resulting resource block. When `null`, the `local_account_disabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `node_os_channel_upgrade` (`string`): Set the `node_os_channel_upgrade` field on the resulting resource block. When `null`, the `node_os_channel_upgrade` field will be omitted from the resulting object.\n - `node_resource_group` (`string`): Set the `node_resource_group` field on the resulting resource block. When `null`, the `node_resource_group` field will be omitted from the resulting object.\n - `oidc_issuer_enabled` (`bool`): Set the `oidc_issuer_enabled` field on the resulting resource block. When `null`, the `oidc_issuer_enabled` field will be omitted from the resulting object.\n - `open_service_mesh_enabled` (`bool`): Set the `open_service_mesh_enabled` field on the resulting resource block. When `null`, the `open_service_mesh_enabled` field will be omitted from the resulting object.\n - `private_cluster_enabled` (`bool`): Set the `private_cluster_enabled` field on the resulting resource block. When `null`, the `private_cluster_enabled` field will be omitted from the resulting object.\n - `private_cluster_public_fqdn_enabled` (`bool`): Set the `private_cluster_public_fqdn_enabled` field on the resulting resource block. When `null`, the `private_cluster_public_fqdn_enabled` field will be omitted from the resulting object.\n - `private_dns_zone_id` (`string`): Set the `private_dns_zone_id` field on the resulting resource block. When `null`, the `private_dns_zone_id` field will be omitted from the resulting object.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `role_based_access_control_enabled` (`bool`): Set the `role_based_access_control_enabled` field on the resulting resource block. When `null`, the `role_based_access_control_enabled` field will be omitted from the resulting object.\n - `run_command_enabled` (`bool`): Set the `run_command_enabled` field on the resulting resource block. When `null`, the `run_command_enabled` field will be omitted from the resulting object.\n - `sku_tier` (`string`): Set the `sku_tier` field on the resulting resource block. When `null`, the `sku_tier` field will be omitted from the resulting object.\n - `support_plan` (`string`): Set the `support_plan` field on the resulting resource block. When `null`, the `support_plan` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `workload_identity_enabled` (`bool`): Set the `workload_identity_enabled` field on the resulting resource block. When `null`, the `workload_identity_enabled` field will be omitted from the resulting object.\n - `aci_connector_linux` (`list[obj]`): Set the `aci_connector_linux` field on the resulting resource block. When `null`, the `aci_connector_linux` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.aci_connector_linux.new](#fn-aci_connector_linuxnew) constructor.\n - `api_server_access_profile` (`list[obj]`): Set the `api_server_access_profile` field on the resulting resource block. When `null`, the `api_server_access_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.api_server_access_profile.new](#fn-api_server_access_profilenew) constructor.\n - `auto_scaler_profile` (`list[obj]`): Set the `auto_scaler_profile` field on the resulting resource block. When `null`, the `auto_scaler_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.auto_scaler_profile.new](#fn-auto_scaler_profilenew) constructor.\n - `azure_active_directory_role_based_access_control` (`list[obj]`): Set the `azure_active_directory_role_based_access_control` field on the resulting resource block. When `null`, the `azure_active_directory_role_based_access_control` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.azure_active_directory_role_based_access_control.new](#fn-azure_active_directory_role_based_access_controlnew) constructor.\n - `confidential_computing` (`list[obj]`): Set the `confidential_computing` field on the resulting resource block. When `null`, the `confidential_computing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.confidential_computing.new](#fn-confidential_computingnew) constructor.\n - `default_node_pool` (`list[obj]`): Set the `default_node_pool` field on the resulting resource block. When `null`, the `default_node_pool` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.default_node_pool.new](#fn-default_node_poolnew) constructor.\n - `http_proxy_config` (`list[obj]`): Set the `http_proxy_config` field on the resulting resource block. When `null`, the `http_proxy_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.http_proxy_config.new](#fn-http_proxy_confignew) constructor.\n - `identity` (`list[obj]`): Set the `identity` field on the resulting resource block. When `null`, the `identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.identity.new](#fn-identitynew) constructor.\n - `ingress_application_gateway` (`list[obj]`): Set the `ingress_application_gateway` field on the resulting resource block. When `null`, the `ingress_application_gateway` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.ingress_application_gateway.new](#fn-ingress_application_gatewaynew) constructor.\n - `key_management_service` (`list[obj]`): Set the `key_management_service` field on the resulting resource block. When `null`, the `key_management_service` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.key_management_service.new](#fn-key_management_servicenew) constructor.\n - `key_vault_secrets_provider` (`list[obj]`): Set the `key_vault_secrets_provider` field on the resulting resource block. When `null`, the `key_vault_secrets_provider` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.key_vault_secrets_provider.new](#fn-key_vault_secrets_providernew) constructor.\n - `kubelet_identity` (`list[obj]`): Set the `kubelet_identity` field on the resulting resource block. When `null`, the `kubelet_identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.kubelet_identity.new](#fn-kubelet_identitynew) constructor.\n - `linux_profile` (`list[obj]`): Set the `linux_profile` field on the resulting resource block. When `null`, the `linux_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.linux_profile.new](#fn-linux_profilenew) constructor.\n - `maintenance_window` (`list[obj]`): Set the `maintenance_window` field on the resulting resource block. When `null`, the `maintenance_window` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window.new](#fn-maintenance_windownew) constructor.\n - `maintenance_window_auto_upgrade` (`list[obj]`): Set the `maintenance_window_auto_upgrade` field on the resulting resource block. When `null`, the `maintenance_window_auto_upgrade` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_auto_upgrade.new](#fn-maintenance_window_auto_upgradenew) constructor.\n - `maintenance_window_node_os` (`list[obj]`): Set the `maintenance_window_node_os` field on the resulting resource block. When `null`, the `maintenance_window_node_os` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_node_os.new](#fn-maintenance_window_node_osnew) constructor.\n - `microsoft_defender` (`list[obj]`): Set the `microsoft_defender` field on the resulting resource block. When `null`, the `microsoft_defender` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.microsoft_defender.new](#fn-microsoft_defendernew) constructor.\n - `monitor_metrics` (`list[obj]`): Set the `monitor_metrics` field on the resulting resource block. When `null`, the `monitor_metrics` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.monitor_metrics.new](#fn-monitor_metricsnew) constructor.\n - `network_profile` (`list[obj]`): Set the `network_profile` field on the resulting resource block. When `null`, the `network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.network_profile.new](#fn-network_profilenew) constructor.\n - `oms_agent` (`list[obj]`): Set the `oms_agent` field on the resulting resource block. When `null`, the `oms_agent` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.oms_agent.new](#fn-oms_agentnew) constructor.\n - `service_mesh_profile` (`list[obj]`): Set the `service_mesh_profile` field on the resulting resource block. When `null`, the `service_mesh_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.service_mesh_profile.new](#fn-service_mesh_profilenew) constructor.\n - `service_principal` (`list[obj]`): Set the `service_principal` field on the resulting resource block. When `null`, the `service_principal` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.service_principal.new](#fn-service_principalnew) constructor.\n - `storage_profile` (`list[obj]`): Set the `storage_profile` field on the resulting resource block. When `null`, the `storage_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.storage_profile.new](#fn-storage_profilenew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.timeouts.new](#fn-timeoutsnew) constructor.\n - `web_app_routing` (`list[obj]`): Set the `web_app_routing` field on the resulting resource block. When `null`, the `web_app_routing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.web_app_routing.new](#fn-web_app_routingnew) constructor.\n - `windows_profile` (`list[obj]`): Set the `windows_profile` field on the resulting resource block. When `null`, the `windows_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.windows_profile.new](#fn-windows_profilenew) constructor.\n - `workload_autoscaler_profile` (`list[obj]`): Set the `workload_autoscaler_profile` field on the resulting resource block. When `null`, the `workload_autoscaler_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.workload_autoscaler_profile.new](#fn-workload_autoscaler_profilenew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, location, @@ -620,6 +638,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); service_principal=null, sku_tier=null, storage_profile=null, + support_plan=null, tags=null, timeouts=null, web_app_routing=null, @@ -682,6 +701,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); service_principal=service_principal, sku_tier=sku_tier, storage_profile=storage_profile, + support_plan=support_plan, tags=tags, timeouts=timeouts, web_app_routing=web_app_routing, @@ -691,7 +711,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.kubernetes_cluster.newAttrs` constructs a new object with attributes and blocks configured for the `kubernetes_cluster`\nTerraform resource.\n\nUnlike [azurerm.kubernetes_cluster.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `api_server_authorized_ip_ranges` (`list`): Set the `api_server_authorized_ip_ranges` field on the resulting object. When `null`, the `api_server_authorized_ip_ranges` field will be omitted from the resulting object.\n - `automatic_channel_upgrade` (`string`): Set the `automatic_channel_upgrade` field on the resulting object. When `null`, the `automatic_channel_upgrade` field will be omitted from the resulting object.\n - `azure_policy_enabled` (`bool`): Set the `azure_policy_enabled` field on the resulting object. When `null`, the `azure_policy_enabled` field will be omitted from the resulting object.\n - `custom_ca_trust_certificates_base64` (`list`): Set the `custom_ca_trust_certificates_base64` field on the resulting object. When `null`, the `custom_ca_trust_certificates_base64` field will be omitted from the resulting object.\n - `disk_encryption_set_id` (`string`): Set the `disk_encryption_set_id` field on the resulting object. When `null`, the `disk_encryption_set_id` field will be omitted from the resulting object.\n - `dns_prefix` (`string`): Set the `dns_prefix` field on the resulting object. When `null`, the `dns_prefix` field will be omitted from the resulting object.\n - `dns_prefix_private_cluster` (`string`): Set the `dns_prefix_private_cluster` field on the resulting object. When `null`, the `dns_prefix_private_cluster` field will be omitted from the resulting object.\n - `edge_zone` (`string`): Set the `edge_zone` field on the resulting object. When `null`, the `edge_zone` field will be omitted from the resulting object.\n - `enable_pod_security_policy` (`bool`): Set the `enable_pod_security_policy` field on the resulting object. When `null`, the `enable_pod_security_policy` field will be omitted from the resulting object.\n - `http_application_routing_enabled` (`bool`): Set the `http_application_routing_enabled` field on the resulting object. When `null`, the `http_application_routing_enabled` field will be omitted from the resulting object.\n - `image_cleaner_enabled` (`bool`): Set the `image_cleaner_enabled` field on the resulting object. When `null`, the `image_cleaner_enabled` field will be omitted from the resulting object.\n - `image_cleaner_interval_hours` (`number`): Set the `image_cleaner_interval_hours` field on the resulting object. When `null`, the `image_cleaner_interval_hours` field will be omitted from the resulting object.\n - `kubernetes_version` (`string`): Set the `kubernetes_version` field on the resulting object. When `null`, the `kubernetes_version` field will be omitted from the resulting object.\n - `local_account_disabled` (`bool`): Set the `local_account_disabled` field on the resulting object. When `null`, the `local_account_disabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `node_os_channel_upgrade` (`string`): Set the `node_os_channel_upgrade` field on the resulting object. When `null`, the `node_os_channel_upgrade` field will be omitted from the resulting object.\n - `node_resource_group` (`string`): Set the `node_resource_group` field on the resulting object. When `null`, the `node_resource_group` field will be omitted from the resulting object.\n - `oidc_issuer_enabled` (`bool`): Set the `oidc_issuer_enabled` field on the resulting object. When `null`, the `oidc_issuer_enabled` field will be omitted from the resulting object.\n - `open_service_mesh_enabled` (`bool`): Set the `open_service_mesh_enabled` field on the resulting object. When `null`, the `open_service_mesh_enabled` field will be omitted from the resulting object.\n - `private_cluster_enabled` (`bool`): Set the `private_cluster_enabled` field on the resulting object. When `null`, the `private_cluster_enabled` field will be omitted from the resulting object.\n - `private_cluster_public_fqdn_enabled` (`bool`): Set the `private_cluster_public_fqdn_enabled` field on the resulting object. When `null`, the `private_cluster_public_fqdn_enabled` field will be omitted from the resulting object.\n - `private_dns_zone_id` (`string`): Set the `private_dns_zone_id` field on the resulting object. When `null`, the `private_dns_zone_id` field will be omitted from the resulting object.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting object. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `role_based_access_control_enabled` (`bool`): Set the `role_based_access_control_enabled` field on the resulting object. When `null`, the `role_based_access_control_enabled` field will be omitted from the resulting object.\n - `run_command_enabled` (`bool`): Set the `run_command_enabled` field on the resulting object. When `null`, the `run_command_enabled` field will be omitted from the resulting object.\n - `sku_tier` (`string`): Set the `sku_tier` field on the resulting object. When `null`, the `sku_tier` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n - `workload_identity_enabled` (`bool`): Set the `workload_identity_enabled` field on the resulting object. When `null`, the `workload_identity_enabled` field will be omitted from the resulting object.\n - `aci_connector_linux` (`list[obj]`): Set the `aci_connector_linux` field on the resulting object. When `null`, the `aci_connector_linux` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.aci_connector_linux.new](#fn-aci_connector_linuxnew) constructor.\n - `api_server_access_profile` (`list[obj]`): Set the `api_server_access_profile` field on the resulting object. When `null`, the `api_server_access_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.api_server_access_profile.new](#fn-api_server_access_profilenew) constructor.\n - `auto_scaler_profile` (`list[obj]`): Set the `auto_scaler_profile` field on the resulting object. When `null`, the `auto_scaler_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.auto_scaler_profile.new](#fn-auto_scaler_profilenew) constructor.\n - `azure_active_directory_role_based_access_control` (`list[obj]`): Set the `azure_active_directory_role_based_access_control` field on the resulting object. When `null`, the `azure_active_directory_role_based_access_control` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.azure_active_directory_role_based_access_control.new](#fn-azure_active_directory_role_based_access_controlnew) constructor.\n - `confidential_computing` (`list[obj]`): Set the `confidential_computing` field on the resulting object. When `null`, the `confidential_computing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.confidential_computing.new](#fn-confidential_computingnew) constructor.\n - `default_node_pool` (`list[obj]`): Set the `default_node_pool` field on the resulting object. When `null`, the `default_node_pool` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.default_node_pool.new](#fn-default_node_poolnew) constructor.\n - `http_proxy_config` (`list[obj]`): Set the `http_proxy_config` field on the resulting object. When `null`, the `http_proxy_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.http_proxy_config.new](#fn-http_proxy_confignew) constructor.\n - `identity` (`list[obj]`): Set the `identity` field on the resulting object. When `null`, the `identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.identity.new](#fn-identitynew) constructor.\n - `ingress_application_gateway` (`list[obj]`): Set the `ingress_application_gateway` field on the resulting object. When `null`, the `ingress_application_gateway` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.ingress_application_gateway.new](#fn-ingress_application_gatewaynew) constructor.\n - `key_management_service` (`list[obj]`): Set the `key_management_service` field on the resulting object. When `null`, the `key_management_service` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.key_management_service.new](#fn-key_management_servicenew) constructor.\n - `key_vault_secrets_provider` (`list[obj]`): Set the `key_vault_secrets_provider` field on the resulting object. When `null`, the `key_vault_secrets_provider` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.key_vault_secrets_provider.new](#fn-key_vault_secrets_providernew) constructor.\n - `kubelet_identity` (`list[obj]`): Set the `kubelet_identity` field on the resulting object. When `null`, the `kubelet_identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.kubelet_identity.new](#fn-kubelet_identitynew) constructor.\n - `linux_profile` (`list[obj]`): Set the `linux_profile` field on the resulting object. When `null`, the `linux_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.linux_profile.new](#fn-linux_profilenew) constructor.\n - `maintenance_window` (`list[obj]`): Set the `maintenance_window` field on the resulting object. When `null`, the `maintenance_window` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window.new](#fn-maintenance_windownew) constructor.\n - `maintenance_window_auto_upgrade` (`list[obj]`): Set the `maintenance_window_auto_upgrade` field on the resulting object. When `null`, the `maintenance_window_auto_upgrade` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_auto_upgrade.new](#fn-maintenance_window_auto_upgradenew) constructor.\n - `maintenance_window_node_os` (`list[obj]`): Set the `maintenance_window_node_os` field on the resulting object. When `null`, the `maintenance_window_node_os` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_node_os.new](#fn-maintenance_window_node_osnew) constructor.\n - `microsoft_defender` (`list[obj]`): Set the `microsoft_defender` field on the resulting object. When `null`, the `microsoft_defender` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.microsoft_defender.new](#fn-microsoft_defendernew) constructor.\n - `monitor_metrics` (`list[obj]`): Set the `monitor_metrics` field on the resulting object. When `null`, the `monitor_metrics` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.monitor_metrics.new](#fn-monitor_metricsnew) constructor.\n - `network_profile` (`list[obj]`): Set the `network_profile` field on the resulting object. When `null`, the `network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.network_profile.new](#fn-network_profilenew) constructor.\n - `oms_agent` (`list[obj]`): Set the `oms_agent` field on the resulting object. When `null`, the `oms_agent` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.oms_agent.new](#fn-oms_agentnew) constructor.\n - `service_mesh_profile` (`list[obj]`): Set the `service_mesh_profile` field on the resulting object. When `null`, the `service_mesh_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.service_mesh_profile.new](#fn-service_mesh_profilenew) constructor.\n - `service_principal` (`list[obj]`): Set the `service_principal` field on the resulting object. When `null`, the `service_principal` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.service_principal.new](#fn-service_principalnew) constructor.\n - `storage_profile` (`list[obj]`): Set the `storage_profile` field on the resulting object. When `null`, the `storage_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.storage_profile.new](#fn-storage_profilenew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.timeouts.new](#fn-timeoutsnew) constructor.\n - `web_app_routing` (`list[obj]`): Set the `web_app_routing` field on the resulting object. When `null`, the `web_app_routing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.web_app_routing.new](#fn-web_app_routingnew) constructor.\n - `windows_profile` (`list[obj]`): Set the `windows_profile` field on the resulting object. When `null`, the `windows_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.windows_profile.new](#fn-windows_profilenew) constructor.\n - `workload_autoscaler_profile` (`list[obj]`): Set the `workload_autoscaler_profile` field on the resulting object. When `null`, the `workload_autoscaler_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.workload_autoscaler_profile.new](#fn-workload_autoscaler_profilenew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `kubernetes_cluster` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.kubernetes_cluster.newAttrs` constructs a new object with attributes and blocks configured for the `kubernetes_cluster`\nTerraform resource.\n\nUnlike [azurerm.kubernetes_cluster.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `api_server_authorized_ip_ranges` (`list`): Set the `api_server_authorized_ip_ranges` field on the resulting object. When `null`, the `api_server_authorized_ip_ranges` field will be omitted from the resulting object.\n - `automatic_channel_upgrade` (`string`): Set the `automatic_channel_upgrade` field on the resulting object. When `null`, the `automatic_channel_upgrade` field will be omitted from the resulting object.\n - `azure_policy_enabled` (`bool`): Set the `azure_policy_enabled` field on the resulting object. When `null`, the `azure_policy_enabled` field will be omitted from the resulting object.\n - `custom_ca_trust_certificates_base64` (`list`): Set the `custom_ca_trust_certificates_base64` field on the resulting object. When `null`, the `custom_ca_trust_certificates_base64` field will be omitted from the resulting object.\n - `disk_encryption_set_id` (`string`): Set the `disk_encryption_set_id` field on the resulting object. When `null`, the `disk_encryption_set_id` field will be omitted from the resulting object.\n - `dns_prefix` (`string`): Set the `dns_prefix` field on the resulting object. When `null`, the `dns_prefix` field will be omitted from the resulting object.\n - `dns_prefix_private_cluster` (`string`): Set the `dns_prefix_private_cluster` field on the resulting object. When `null`, the `dns_prefix_private_cluster` field will be omitted from the resulting object.\n - `edge_zone` (`string`): Set the `edge_zone` field on the resulting object. When `null`, the `edge_zone` field will be omitted from the resulting object.\n - `enable_pod_security_policy` (`bool`): Set the `enable_pod_security_policy` field on the resulting object. When `null`, the `enable_pod_security_policy` field will be omitted from the resulting object.\n - `http_application_routing_enabled` (`bool`): Set the `http_application_routing_enabled` field on the resulting object. When `null`, the `http_application_routing_enabled` field will be omitted from the resulting object.\n - `image_cleaner_enabled` (`bool`): Set the `image_cleaner_enabled` field on the resulting object. When `null`, the `image_cleaner_enabled` field will be omitted from the resulting object.\n - `image_cleaner_interval_hours` (`number`): Set the `image_cleaner_interval_hours` field on the resulting object. When `null`, the `image_cleaner_interval_hours` field will be omitted from the resulting object.\n - `kubernetes_version` (`string`): Set the `kubernetes_version` field on the resulting object. When `null`, the `kubernetes_version` field will be omitted from the resulting object.\n - `local_account_disabled` (`bool`): Set the `local_account_disabled` field on the resulting object. When `null`, the `local_account_disabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `node_os_channel_upgrade` (`string`): Set the `node_os_channel_upgrade` field on the resulting object. When `null`, the `node_os_channel_upgrade` field will be omitted from the resulting object.\n - `node_resource_group` (`string`): Set the `node_resource_group` field on the resulting object. When `null`, the `node_resource_group` field will be omitted from the resulting object.\n - `oidc_issuer_enabled` (`bool`): Set the `oidc_issuer_enabled` field on the resulting object. When `null`, the `oidc_issuer_enabled` field will be omitted from the resulting object.\n - `open_service_mesh_enabled` (`bool`): Set the `open_service_mesh_enabled` field on the resulting object. When `null`, the `open_service_mesh_enabled` field will be omitted from the resulting object.\n - `private_cluster_enabled` (`bool`): Set the `private_cluster_enabled` field on the resulting object. When `null`, the `private_cluster_enabled` field will be omitted from the resulting object.\n - `private_cluster_public_fqdn_enabled` (`bool`): Set the `private_cluster_public_fqdn_enabled` field on the resulting object. When `null`, the `private_cluster_public_fqdn_enabled` field will be omitted from the resulting object.\n - `private_dns_zone_id` (`string`): Set the `private_dns_zone_id` field on the resulting object. When `null`, the `private_dns_zone_id` field will be omitted from the resulting object.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting object. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `role_based_access_control_enabled` (`bool`): Set the `role_based_access_control_enabled` field on the resulting object. When `null`, the `role_based_access_control_enabled` field will be omitted from the resulting object.\n - `run_command_enabled` (`bool`): Set the `run_command_enabled` field on the resulting object. When `null`, the `run_command_enabled` field will be omitted from the resulting object.\n - `sku_tier` (`string`): Set the `sku_tier` field on the resulting object. When `null`, the `sku_tier` field will be omitted from the resulting object.\n - `support_plan` (`string`): Set the `support_plan` field on the resulting object. When `null`, the `support_plan` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n - `workload_identity_enabled` (`bool`): Set the `workload_identity_enabled` field on the resulting object. When `null`, the `workload_identity_enabled` field will be omitted from the resulting object.\n - `aci_connector_linux` (`list[obj]`): Set the `aci_connector_linux` field on the resulting object. When `null`, the `aci_connector_linux` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.aci_connector_linux.new](#fn-aci_connector_linuxnew) constructor.\n - `api_server_access_profile` (`list[obj]`): Set the `api_server_access_profile` field on the resulting object. When `null`, the `api_server_access_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.api_server_access_profile.new](#fn-api_server_access_profilenew) constructor.\n - `auto_scaler_profile` (`list[obj]`): Set the `auto_scaler_profile` field on the resulting object. When `null`, the `auto_scaler_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.auto_scaler_profile.new](#fn-auto_scaler_profilenew) constructor.\n - `azure_active_directory_role_based_access_control` (`list[obj]`): Set the `azure_active_directory_role_based_access_control` field on the resulting object. When `null`, the `azure_active_directory_role_based_access_control` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.azure_active_directory_role_based_access_control.new](#fn-azure_active_directory_role_based_access_controlnew) constructor.\n - `confidential_computing` (`list[obj]`): Set the `confidential_computing` field on the resulting object. When `null`, the `confidential_computing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.confidential_computing.new](#fn-confidential_computingnew) constructor.\n - `default_node_pool` (`list[obj]`): Set the `default_node_pool` field on the resulting object. When `null`, the `default_node_pool` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.default_node_pool.new](#fn-default_node_poolnew) constructor.\n - `http_proxy_config` (`list[obj]`): Set the `http_proxy_config` field on the resulting object. When `null`, the `http_proxy_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.http_proxy_config.new](#fn-http_proxy_confignew) constructor.\n - `identity` (`list[obj]`): Set the `identity` field on the resulting object. When `null`, the `identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.identity.new](#fn-identitynew) constructor.\n - `ingress_application_gateway` (`list[obj]`): Set the `ingress_application_gateway` field on the resulting object. When `null`, the `ingress_application_gateway` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.ingress_application_gateway.new](#fn-ingress_application_gatewaynew) constructor.\n - `key_management_service` (`list[obj]`): Set the `key_management_service` field on the resulting object. When `null`, the `key_management_service` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.key_management_service.new](#fn-key_management_servicenew) constructor.\n - `key_vault_secrets_provider` (`list[obj]`): Set the `key_vault_secrets_provider` field on the resulting object. When `null`, the `key_vault_secrets_provider` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.key_vault_secrets_provider.new](#fn-key_vault_secrets_providernew) constructor.\n - `kubelet_identity` (`list[obj]`): Set the `kubelet_identity` field on the resulting object. When `null`, the `kubelet_identity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.kubelet_identity.new](#fn-kubelet_identitynew) constructor.\n - `linux_profile` (`list[obj]`): Set the `linux_profile` field on the resulting object. When `null`, the `linux_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.linux_profile.new](#fn-linux_profilenew) constructor.\n - `maintenance_window` (`list[obj]`): Set the `maintenance_window` field on the resulting object. When `null`, the `maintenance_window` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window.new](#fn-maintenance_windownew) constructor.\n - `maintenance_window_auto_upgrade` (`list[obj]`): Set the `maintenance_window_auto_upgrade` field on the resulting object. When `null`, the `maintenance_window_auto_upgrade` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_auto_upgrade.new](#fn-maintenance_window_auto_upgradenew) constructor.\n - `maintenance_window_node_os` (`list[obj]`): Set the `maintenance_window_node_os` field on the resulting object. When `null`, the `maintenance_window_node_os` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.maintenance_window_node_os.new](#fn-maintenance_window_node_osnew) constructor.\n - `microsoft_defender` (`list[obj]`): Set the `microsoft_defender` field on the resulting object. When `null`, the `microsoft_defender` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.microsoft_defender.new](#fn-microsoft_defendernew) constructor.\n - `monitor_metrics` (`list[obj]`): Set the `monitor_metrics` field on the resulting object. When `null`, the `monitor_metrics` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.monitor_metrics.new](#fn-monitor_metricsnew) constructor.\n - `network_profile` (`list[obj]`): Set the `network_profile` field on the resulting object. When `null`, the `network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.network_profile.new](#fn-network_profilenew) constructor.\n - `oms_agent` (`list[obj]`): Set the `oms_agent` field on the resulting object. When `null`, the `oms_agent` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.oms_agent.new](#fn-oms_agentnew) constructor.\n - `service_mesh_profile` (`list[obj]`): Set the `service_mesh_profile` field on the resulting object. When `null`, the `service_mesh_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.service_mesh_profile.new](#fn-service_mesh_profilenew) constructor.\n - `service_principal` (`list[obj]`): Set the `service_principal` field on the resulting object. When `null`, the `service_principal` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.service_principal.new](#fn-service_principalnew) constructor.\n - `storage_profile` (`list[obj]`): Set the `storage_profile` field on the resulting object. When `null`, the `storage_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.storage_profile.new](#fn-storage_profilenew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.timeouts.new](#fn-timeoutsnew) constructor.\n - `web_app_routing` (`list[obj]`): Set the `web_app_routing` field on the resulting object. When `null`, the `web_app_routing` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.web_app_routing.new](#fn-web_app_routingnew) constructor.\n - `windows_profile` (`list[obj]`): Set the `windows_profile` field on the resulting object. When `null`, the `windows_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.windows_profile.new](#fn-windows_profilenew) constructor.\n - `workload_autoscaler_profile` (`list[obj]`): Set the `workload_autoscaler_profile` field on the resulting object. When `null`, the `workload_autoscaler_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.workload_autoscaler_profile.new](#fn-workload_autoscaler_profilenew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `kubernetes_cluster` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, @@ -744,6 +764,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); service_principal=null, sku_tier=null, storage_profile=null, + support_plan=null, tags=null, timeouts=null, web_app_routing=null, @@ -802,6 +823,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); service_principal: service_principal, sku_tier: sku_tier, storage_profile: storage_profile, + support_plan: support_plan, tags: tags, timeouts: timeouts, web_app_routing: web_app_routing, @@ -1643,6 +1665,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withSupportPlan':: d.fn(help='`azurerm.string.withSupportPlan` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the support_plan 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 `support_plan` field.\n', args=[]), + withSupportPlan(resourceLabel, value): { + resource+: { + azurerm_kubernetes_cluster+: { + [resourceLabel]+: { + support_plan: 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/kubernetes_cluster_node_pool.libsonnet b/3.x/_gen/resources/kubernetes_cluster_node_pool.libsonnet index 4e6a72e6..0df13a4e 100644 --- a/3.x/_gen/resources/kubernetes_cluster_node_pool.libsonnet +++ b/3.x/_gen/resources/kubernetes_cluster_node_pool.libsonnet @@ -106,7 +106,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, }, - '#new':: d.fn(help="\n`azurerm.kubernetes_cluster_node_pool.new` injects a new `azurerm_kubernetes_cluster_node_pool` 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_node_pool.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.kubernetes_cluster_node_pool` using the reference:\n\n $._ref.azurerm_kubernetes_cluster_node_pool.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_kubernetes_cluster_node_pool.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 - `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 - `custom_ca_trust_enabled` (`bool`): Set the `custom_ca_trust_enabled` field on the resulting resource block. When `null`, the `custom_ca_trust_enabled` field will be omitted from the resulting object.\n - `enable_auto_scaling` (`bool`): Set the `enable_auto_scaling` field on the resulting resource block. When `null`, the `enable_auto_scaling` field will be omitted from the resulting object.\n - `enable_host_encryption` (`bool`): Set the `enable_host_encryption` field on the resulting resource block. When `null`, the `enable_host_encryption` field will be omitted from the resulting object.\n - `enable_node_public_ip` (`bool`): Set the `enable_node_public_ip` field on the resulting resource block. When `null`, the `enable_node_public_ip` 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 - `fips_enabled` (`bool`): Set the `fips_enabled` field on the resulting resource block. When `null`, the `fips_enabled` field will be omitted from the resulting object.\n - `host_group_id` (`string`): Set the `host_group_id` field on the resulting resource block. When `null`, the `host_group_id` field will be omitted from the resulting object.\n - `kubelet_disk_type` (`string`): Set the `kubelet_disk_type` field on the resulting resource block. When `null`, the `kubelet_disk_type` field will be omitted from the resulting object.\n - `kubernetes_cluster_id` (`string`): Set the `kubernetes_cluster_id` field on the resulting resource block.\n - `max_count` (`number`): Set the `max_count` field on the resulting resource block. When `null`, the `max_count` field will be omitted from the resulting object.\n - `max_pods` (`number`): Set the `max_pods` field on the resulting resource block. When `null`, the `max_pods` field will be omitted from the resulting object.\n - `message_of_the_day` (`string`): Set the `message_of_the_day` field on the resulting resource block. When `null`, the `message_of_the_day` field will be omitted from the resulting object.\n - `min_count` (`number`): Set the `min_count` field on the resulting resource block. When `null`, the `min_count` field will be omitted from the resulting object.\n - `mode` (`string`): Set the `mode` field on the resulting resource block. When `null`, the `mode` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `node_count` (`number`): Set the `node_count` field on the resulting resource block. When `null`, the `node_count` field will be omitted from the resulting object.\n - `node_labels` (`obj`): Set the `node_labels` field on the resulting resource block. When `null`, the `node_labels` field will be omitted from the resulting object.\n - `node_public_ip_prefix_id` (`string`): Set the `node_public_ip_prefix_id` field on the resulting resource block. When `null`, the `node_public_ip_prefix_id` field will be omitted from the resulting object.\n - `node_taints` (`list`): Set the `node_taints` field on the resulting resource block. When `null`, the `node_taints` field will be omitted from the resulting object.\n - `orchestrator_version` (`string`): Set the `orchestrator_version` field on the resulting resource block. When `null`, the `orchestrator_version` field will be omitted from the resulting object.\n - `os_disk_size_gb` (`number`): Set the `os_disk_size_gb` field on the resulting resource block. When `null`, the `os_disk_size_gb` field will be omitted from the resulting object.\n - `os_disk_type` (`string`): Set the `os_disk_type` field on the resulting resource block. When `null`, the `os_disk_type` field will be omitted from the resulting object.\n - `os_sku` (`string`): Set the `os_sku` field on the resulting resource block. When `null`, the `os_sku` field will be omitted from the resulting object.\n - `os_type` (`string`): Set the `os_type` field on the resulting resource block. When `null`, the `os_type` field will be omitted from the resulting object.\n - `pod_subnet_id` (`string`): Set the `pod_subnet_id` field on the resulting resource block. When `null`, the `pod_subnet_id` 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 - `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 - `scale_down_mode` (`string`): Set the `scale_down_mode` field on the resulting resource block. When `null`, the `scale_down_mode` field will be omitted from the resulting object.\n - `snapshot_id` (`string`): Set the `snapshot_id` field on the resulting resource block. When `null`, the `snapshot_id` field will be omitted from the resulting object.\n - `spot_max_price` (`number`): Set the `spot_max_price` field on the resulting resource block. When `null`, the `spot_max_price` 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 - `ultra_ssd_enabled` (`bool`): Set the `ultra_ssd_enabled` field on the resulting resource block. When `null`, the `ultra_ssd_enabled` field will be omitted from the resulting object.\n - `vm_size` (`string`): Set the `vm_size` field on the resulting resource block.\n - `vnet_subnet_id` (`string`): Set the `vnet_subnet_id` field on the resulting resource block. When `null`, the `vnet_subnet_id` field will be omitted from the resulting object.\n - `workload_runtime` (`string`): Set the `workload_runtime` field on the resulting resource block. When `null`, the `workload_runtime` 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 - `kubelet_config` (`list[obj]`): Set the `kubelet_config` field on the resulting resource block. When `null`, the `kubelet_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.kubelet_config.new](#fn-kubelet_confignew) constructor.\n - `linux_os_config` (`list[obj]`): Set the `linux_os_config` field on the resulting resource block. When `null`, the `linux_os_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.linux_os_config.new](#fn-linux_os_confignew) constructor.\n - `node_network_profile` (`list[obj]`): Set the `node_network_profile` field on the resulting resource block. When `null`, the `node_network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.node_network_profile.new](#fn-node_network_profilenew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.timeouts.new](#fn-timeoutsnew) constructor.\n - `upgrade_settings` (`list[obj]`): Set the `upgrade_settings` field on the resulting resource block. When `null`, the `upgrade_settings` 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_node_pool.upgrade_settings.new](#fn-upgrade_settingsnew) constructor.\n - `windows_profile` (`list[obj]`): Set the `windows_profile` field on the resulting resource block. When `null`, the `windows_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.windows_profile.new](#fn-windows_profilenew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`azurerm.kubernetes_cluster_node_pool.new` injects a new `azurerm_kubernetes_cluster_node_pool` 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_node_pool.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.kubernetes_cluster_node_pool` using the reference:\n\n $._ref.azurerm_kubernetes_cluster_node_pool.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_kubernetes_cluster_node_pool.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 - `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 - `custom_ca_trust_enabled` (`bool`): Set the `custom_ca_trust_enabled` field on the resulting resource block. When `null`, the `custom_ca_trust_enabled` field will be omitted from the resulting object.\n - `enable_auto_scaling` (`bool`): Set the `enable_auto_scaling` field on the resulting resource block. When `null`, the `enable_auto_scaling` field will be omitted from the resulting object.\n - `enable_host_encryption` (`bool`): Set the `enable_host_encryption` field on the resulting resource block. When `null`, the `enable_host_encryption` field will be omitted from the resulting object.\n - `enable_node_public_ip` (`bool`): Set the `enable_node_public_ip` field on the resulting resource block. When `null`, the `enable_node_public_ip` 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 - `fips_enabled` (`bool`): Set the `fips_enabled` field on the resulting resource block. When `null`, the `fips_enabled` field will be omitted from the resulting object.\n - `gpu_instance` (`string`): Set the `gpu_instance` field on the resulting resource block. When `null`, the `gpu_instance` field will be omitted from the resulting object.\n - `host_group_id` (`string`): Set the `host_group_id` field on the resulting resource block. When `null`, the `host_group_id` field will be omitted from the resulting object.\n - `kubelet_disk_type` (`string`): Set the `kubelet_disk_type` field on the resulting resource block. When `null`, the `kubelet_disk_type` field will be omitted from the resulting object.\n - `kubernetes_cluster_id` (`string`): Set the `kubernetes_cluster_id` field on the resulting resource block.\n - `max_count` (`number`): Set the `max_count` field on the resulting resource block. When `null`, the `max_count` field will be omitted from the resulting object.\n - `max_pods` (`number`): Set the `max_pods` field on the resulting resource block. When `null`, the `max_pods` field will be omitted from the resulting object.\n - `message_of_the_day` (`string`): Set the `message_of_the_day` field on the resulting resource block. When `null`, the `message_of_the_day` field will be omitted from the resulting object.\n - `min_count` (`number`): Set the `min_count` field on the resulting resource block. When `null`, the `min_count` field will be omitted from the resulting object.\n - `mode` (`string`): Set the `mode` field on the resulting resource block. When `null`, the `mode` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `node_count` (`number`): Set the `node_count` field on the resulting resource block. When `null`, the `node_count` field will be omitted from the resulting object.\n - `node_labels` (`obj`): Set the `node_labels` field on the resulting resource block. When `null`, the `node_labels` field will be omitted from the resulting object.\n - `node_public_ip_prefix_id` (`string`): Set the `node_public_ip_prefix_id` field on the resulting resource block. When `null`, the `node_public_ip_prefix_id` field will be omitted from the resulting object.\n - `node_taints` (`list`): Set the `node_taints` field on the resulting resource block. When `null`, the `node_taints` field will be omitted from the resulting object.\n - `orchestrator_version` (`string`): Set the `orchestrator_version` field on the resulting resource block. When `null`, the `orchestrator_version` field will be omitted from the resulting object.\n - `os_disk_size_gb` (`number`): Set the `os_disk_size_gb` field on the resulting resource block. When `null`, the `os_disk_size_gb` field will be omitted from the resulting object.\n - `os_disk_type` (`string`): Set the `os_disk_type` field on the resulting resource block. When `null`, the `os_disk_type` field will be omitted from the resulting object.\n - `os_sku` (`string`): Set the `os_sku` field on the resulting resource block. When `null`, the `os_sku` field will be omitted from the resulting object.\n - `os_type` (`string`): Set the `os_type` field on the resulting resource block. When `null`, the `os_type` field will be omitted from the resulting object.\n - `pod_subnet_id` (`string`): Set the `pod_subnet_id` field on the resulting resource block. When `null`, the `pod_subnet_id` 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 - `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 - `scale_down_mode` (`string`): Set the `scale_down_mode` field on the resulting resource block. When `null`, the `scale_down_mode` field will be omitted from the resulting object.\n - `snapshot_id` (`string`): Set the `snapshot_id` field on the resulting resource block. When `null`, the `snapshot_id` field will be omitted from the resulting object.\n - `spot_max_price` (`number`): Set the `spot_max_price` field on the resulting resource block. When `null`, the `spot_max_price` 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 - `ultra_ssd_enabled` (`bool`): Set the `ultra_ssd_enabled` field on the resulting resource block. When `null`, the `ultra_ssd_enabled` field will be omitted from the resulting object.\n - `vm_size` (`string`): Set the `vm_size` field on the resulting resource block.\n - `vnet_subnet_id` (`string`): Set the `vnet_subnet_id` field on the resulting resource block. When `null`, the `vnet_subnet_id` field will be omitted from the resulting object.\n - `workload_runtime` (`string`): Set the `workload_runtime` field on the resulting resource block. When `null`, the `workload_runtime` 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 - `kubelet_config` (`list[obj]`): Set the `kubelet_config` field on the resulting resource block. When `null`, the `kubelet_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.kubelet_config.new](#fn-kubelet_confignew) constructor.\n - `linux_os_config` (`list[obj]`): Set the `linux_os_config` field on the resulting resource block. When `null`, the `linux_os_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.linux_os_config.new](#fn-linux_os_confignew) constructor.\n - `node_network_profile` (`list[obj]`): Set the `node_network_profile` field on the resulting resource block. When `null`, the `node_network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.node_network_profile.new](#fn-node_network_profilenew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.timeouts.new](#fn-timeoutsnew) constructor.\n - `upgrade_settings` (`list[obj]`): Set the `upgrade_settings` field on the resulting resource block. When `null`, the `upgrade_settings` 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_node_pool.upgrade_settings.new](#fn-upgrade_settingsnew) constructor.\n - `windows_profile` (`list[obj]`): Set the `windows_profile` field on the resulting resource block. When `null`, the `windows_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.windows_profile.new](#fn-windows_profilenew) 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, @@ -119,6 +119,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); enable_node_public_ip=null, eviction_policy=null, fips_enabled=null, + gpu_instance=null, host_group_id=null, kubelet_config=null, kubelet_disk_type=null, @@ -164,6 +165,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); enable_node_public_ip=enable_node_public_ip, eviction_policy=eviction_policy, fips_enabled=fips_enabled, + gpu_instance=gpu_instance, host_group_id=host_group_id, kubelet_config=kubelet_config, kubelet_disk_type=kubelet_disk_type, @@ -203,7 +205,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.kubernetes_cluster_node_pool.newAttrs` constructs a new object with attributes and blocks configured for the `kubernetes_cluster_node_pool`\nTerraform resource.\n\nUnlike [azurerm.kubernetes_cluster_node_pool.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 - `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 - `custom_ca_trust_enabled` (`bool`): Set the `custom_ca_trust_enabled` field on the resulting object. When `null`, the `custom_ca_trust_enabled` field will be omitted from the resulting object.\n - `enable_auto_scaling` (`bool`): Set the `enable_auto_scaling` field on the resulting object. When `null`, the `enable_auto_scaling` field will be omitted from the resulting object.\n - `enable_host_encryption` (`bool`): Set the `enable_host_encryption` field on the resulting object. When `null`, the `enable_host_encryption` field will be omitted from the resulting object.\n - `enable_node_public_ip` (`bool`): Set the `enable_node_public_ip` field on the resulting object. When `null`, the `enable_node_public_ip` 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 - `fips_enabled` (`bool`): Set the `fips_enabled` field on the resulting object. When `null`, the `fips_enabled` field will be omitted from the resulting object.\n - `host_group_id` (`string`): Set the `host_group_id` field on the resulting object. When `null`, the `host_group_id` field will be omitted from the resulting object.\n - `kubelet_disk_type` (`string`): Set the `kubelet_disk_type` field on the resulting object. When `null`, the `kubelet_disk_type` field will be omitted from the resulting object.\n - `kubernetes_cluster_id` (`string`): Set the `kubernetes_cluster_id` field on the resulting object.\n - `max_count` (`number`): Set the `max_count` field on the resulting object. When `null`, the `max_count` field will be omitted from the resulting object.\n - `max_pods` (`number`): Set the `max_pods` field on the resulting object. When `null`, the `max_pods` field will be omitted from the resulting object.\n - `message_of_the_day` (`string`): Set the `message_of_the_day` field on the resulting object. When `null`, the `message_of_the_day` field will be omitted from the resulting object.\n - `min_count` (`number`): Set the `min_count` field on the resulting object. When `null`, the `min_count` 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 - `name` (`string`): Set the `name` field on the resulting object.\n - `node_count` (`number`): Set the `node_count` field on the resulting object. When `null`, the `node_count` field will be omitted from the resulting object.\n - `node_labels` (`obj`): Set the `node_labels` field on the resulting object. When `null`, the `node_labels` field will be omitted from the resulting object.\n - `node_public_ip_prefix_id` (`string`): Set the `node_public_ip_prefix_id` field on the resulting object. When `null`, the `node_public_ip_prefix_id` field will be omitted from the resulting object.\n - `node_taints` (`list`): Set the `node_taints` field on the resulting object. When `null`, the `node_taints` field will be omitted from the resulting object.\n - `orchestrator_version` (`string`): Set the `orchestrator_version` field on the resulting object. When `null`, the `orchestrator_version` field will be omitted from the resulting object.\n - `os_disk_size_gb` (`number`): Set the `os_disk_size_gb` field on the resulting object. When `null`, the `os_disk_size_gb` field will be omitted from the resulting object.\n - `os_disk_type` (`string`): Set the `os_disk_type` field on the resulting object. When `null`, the `os_disk_type` field will be omitted from the resulting object.\n - `os_sku` (`string`): Set the `os_sku` field on the resulting object. When `null`, the `os_sku` 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 - `pod_subnet_id` (`string`): Set the `pod_subnet_id` field on the resulting object. When `null`, the `pod_subnet_id` 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 - `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 - `scale_down_mode` (`string`): Set the `scale_down_mode` field on the resulting object. When `null`, the `scale_down_mode` field will be omitted from the resulting object.\n - `snapshot_id` (`string`): Set the `snapshot_id` field on the resulting object. When `null`, the `snapshot_id` field will be omitted from the resulting object.\n - `spot_max_price` (`number`): Set the `spot_max_price` field on the resulting object. When `null`, the `spot_max_price` 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 - `ultra_ssd_enabled` (`bool`): Set the `ultra_ssd_enabled` field on the resulting object. When `null`, the `ultra_ssd_enabled` field will be omitted from the resulting object.\n - `vm_size` (`string`): Set the `vm_size` field on the resulting object.\n - `vnet_subnet_id` (`string`): Set the `vnet_subnet_id` field on the resulting object. When `null`, the `vnet_subnet_id` field will be omitted from the resulting object.\n - `workload_runtime` (`string`): Set the `workload_runtime` field on the resulting object. When `null`, the `workload_runtime` 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 - `kubelet_config` (`list[obj]`): Set the `kubelet_config` field on the resulting object. When `null`, the `kubelet_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.kubelet_config.new](#fn-kubelet_confignew) constructor.\n - `linux_os_config` (`list[obj]`): Set the `linux_os_config` field on the resulting object. When `null`, the `linux_os_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.linux_os_config.new](#fn-linux_os_confignew) constructor.\n - `node_network_profile` (`list[obj]`): Set the `node_network_profile` field on the resulting object. When `null`, the `node_network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.node_network_profile.new](#fn-node_network_profilenew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.timeouts.new](#fn-timeoutsnew) constructor.\n - `upgrade_settings` (`list[obj]`): Set the `upgrade_settings` field on the resulting object. When `null`, the `upgrade_settings` 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_node_pool.upgrade_settings.new](#fn-upgrade_settingsnew) constructor.\n - `windows_profile` (`list[obj]`): Set the `windows_profile` field on the resulting object. When `null`, the `windows_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.windows_profile.new](#fn-windows_profilenew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `kubernetes_cluster_node_pool` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.kubernetes_cluster_node_pool.newAttrs` constructs a new object with attributes and blocks configured for the `kubernetes_cluster_node_pool`\nTerraform resource.\n\nUnlike [azurerm.kubernetes_cluster_node_pool.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 - `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 - `custom_ca_trust_enabled` (`bool`): Set the `custom_ca_trust_enabled` field on the resulting object. When `null`, the `custom_ca_trust_enabled` field will be omitted from the resulting object.\n - `enable_auto_scaling` (`bool`): Set the `enable_auto_scaling` field on the resulting object. When `null`, the `enable_auto_scaling` field will be omitted from the resulting object.\n - `enable_host_encryption` (`bool`): Set the `enable_host_encryption` field on the resulting object. When `null`, the `enable_host_encryption` field will be omitted from the resulting object.\n - `enable_node_public_ip` (`bool`): Set the `enable_node_public_ip` field on the resulting object. When `null`, the `enable_node_public_ip` 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 - `fips_enabled` (`bool`): Set the `fips_enabled` field on the resulting object. When `null`, the `fips_enabled` field will be omitted from the resulting object.\n - `gpu_instance` (`string`): Set the `gpu_instance` field on the resulting object. When `null`, the `gpu_instance` field will be omitted from the resulting object.\n - `host_group_id` (`string`): Set the `host_group_id` field on the resulting object. When `null`, the `host_group_id` field will be omitted from the resulting object.\n - `kubelet_disk_type` (`string`): Set the `kubelet_disk_type` field on the resulting object. When `null`, the `kubelet_disk_type` field will be omitted from the resulting object.\n - `kubernetes_cluster_id` (`string`): Set the `kubernetes_cluster_id` field on the resulting object.\n - `max_count` (`number`): Set the `max_count` field on the resulting object. When `null`, the `max_count` field will be omitted from the resulting object.\n - `max_pods` (`number`): Set the `max_pods` field on the resulting object. When `null`, the `max_pods` field will be omitted from the resulting object.\n - `message_of_the_day` (`string`): Set the `message_of_the_day` field on the resulting object. When `null`, the `message_of_the_day` field will be omitted from the resulting object.\n - `min_count` (`number`): Set the `min_count` field on the resulting object. When `null`, the `min_count` 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 - `name` (`string`): Set the `name` field on the resulting object.\n - `node_count` (`number`): Set the `node_count` field on the resulting object. When `null`, the `node_count` field will be omitted from the resulting object.\n - `node_labels` (`obj`): Set the `node_labels` field on the resulting object. When `null`, the `node_labels` field will be omitted from the resulting object.\n - `node_public_ip_prefix_id` (`string`): Set the `node_public_ip_prefix_id` field on the resulting object. When `null`, the `node_public_ip_prefix_id` field will be omitted from the resulting object.\n - `node_taints` (`list`): Set the `node_taints` field on the resulting object. When `null`, the `node_taints` field will be omitted from the resulting object.\n - `orchestrator_version` (`string`): Set the `orchestrator_version` field on the resulting object. When `null`, the `orchestrator_version` field will be omitted from the resulting object.\n - `os_disk_size_gb` (`number`): Set the `os_disk_size_gb` field on the resulting object. When `null`, the `os_disk_size_gb` field will be omitted from the resulting object.\n - `os_disk_type` (`string`): Set the `os_disk_type` field on the resulting object. When `null`, the `os_disk_type` field will be omitted from the resulting object.\n - `os_sku` (`string`): Set the `os_sku` field on the resulting object. When `null`, the `os_sku` 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 - `pod_subnet_id` (`string`): Set the `pod_subnet_id` field on the resulting object. When `null`, the `pod_subnet_id` 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 - `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 - `scale_down_mode` (`string`): Set the `scale_down_mode` field on the resulting object. When `null`, the `scale_down_mode` field will be omitted from the resulting object.\n - `snapshot_id` (`string`): Set the `snapshot_id` field on the resulting object. When `null`, the `snapshot_id` field will be omitted from the resulting object.\n - `spot_max_price` (`number`): Set the `spot_max_price` field on the resulting object. When `null`, the `spot_max_price` 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 - `ultra_ssd_enabled` (`bool`): Set the `ultra_ssd_enabled` field on the resulting object. When `null`, the `ultra_ssd_enabled` field will be omitted from the resulting object.\n - `vm_size` (`string`): Set the `vm_size` field on the resulting object.\n - `vnet_subnet_id` (`string`): Set the `vnet_subnet_id` field on the resulting object. When `null`, the `vnet_subnet_id` field will be omitted from the resulting object.\n - `workload_runtime` (`string`): Set the `workload_runtime` field on the resulting object. When `null`, the `workload_runtime` 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 - `kubelet_config` (`list[obj]`): Set the `kubelet_config` field on the resulting object. When `null`, the `kubelet_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.kubelet_config.new](#fn-kubelet_confignew) constructor.\n - `linux_os_config` (`list[obj]`): Set the `linux_os_config` field on the resulting object. When `null`, the `linux_os_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.linux_os_config.new](#fn-linux_os_confignew) constructor.\n - `node_network_profile` (`list[obj]`): Set the `node_network_profile` field on the resulting object. When `null`, the `node_network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.node_network_profile.new](#fn-node_network_profilenew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.timeouts.new](#fn-timeoutsnew) constructor.\n - `upgrade_settings` (`list[obj]`): Set the `upgrade_settings` field on the resulting object. When `null`, the `upgrade_settings` 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_node_pool.upgrade_settings.new](#fn-upgrade_settingsnew) constructor.\n - `windows_profile` (`list[obj]`): Set the `windows_profile` field on the resulting object. When `null`, the `windows_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster_node_pool.windows_profile.new](#fn-windows_profilenew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `kubernetes_cluster_node_pool` resource into the root Terraform configuration.\n', args=[]), newAttrs( kubernetes_cluster_id, name, @@ -215,6 +217,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); enable_node_public_ip=null, eviction_policy=null, fips_enabled=null, + gpu_instance=null, host_group_id=null, kubelet_config=null, kubelet_disk_type=null, @@ -256,6 +259,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); enable_node_public_ip: enable_node_public_ip, eviction_policy: eviction_policy, fips_enabled: fips_enabled, + gpu_instance: gpu_instance, host_group_id: host_group_id, kubelet_config: kubelet_config, kubelet_disk_type: kubelet_disk_type, @@ -294,10 +298,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); zones: zones, }), node_network_profile:: { - '#new':: d.fn(help='\n`azurerm.kubernetes_cluster_node_pool.node_network_profile.new` constructs a new object with attributes and blocks configured for the `node_network_profile`\nTerraform sub block.\n\n\n\n**Args**:\n - `node_public_ip_tags` (`obj`): Set the `node_public_ip_tags` field on the resulting object. When `null`, the `node_public_ip_tags` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `node_network_profile` sub block.\n', args=[]), + allowed_host_ports:: { + '#new':: d.fn(help='\n`azurerm.kubernetes_cluster_node_pool.node_network_profile.allowed_host_ports.new` constructs a new object with attributes and blocks configured for the `allowed_host_ports`\nTerraform sub block.\n\n\n\n**Args**:\n - `port_end` (`number`): Set the `port_end` field on the resulting object. When `null`, the `port_end` field will be omitted from the resulting object.\n - `port_start` (`number`): Set the `port_start` field on the resulting object. When `null`, the `port_start` field will be omitted from the resulting object.\n - `protocol` (`string`): Set the `protocol` field on the resulting object. When `null`, the `protocol` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `allowed_host_ports` sub block.\n', args=[]), + new( + port_end=null, + port_start=null, + protocol=null + ):: std.prune(a={ + port_end: port_end, + port_start: port_start, + protocol: protocol, + }), + }, + '#new':: d.fn(help='\n`azurerm.kubernetes_cluster_node_pool.node_network_profile.new` constructs a new object with attributes and blocks configured for the `node_network_profile`\nTerraform sub block.\n\n\n\n**Args**:\n - `application_security_group_ids` (`list`): Set the `application_security_group_ids` field on the resulting object. When `null`, the `application_security_group_ids` field will be omitted from the resulting object.\n - `node_public_ip_tags` (`obj`): Set the `node_public_ip_tags` field on the resulting object. When `null`, the `node_public_ip_tags` field will be omitted from the resulting object.\n - `allowed_host_ports` (`list[obj]`): Set the `allowed_host_ports` field on the resulting object. When `null`, the `allowed_host_ports` 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_node_pool.node_network_profile.allowed_host_ports.new](#fn-node_network_profileallowed_host_portsnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `node_network_profile` sub block.\n', args=[]), new( + allowed_host_ports=null, + application_security_group_ids=null, node_public_ip_tags=null ):: std.prune(a={ + allowed_host_ports: allowed_host_ports, + application_security_group_ids: application_security_group_ids, node_public_ip_tags: node_public_ip_tags, }), }, @@ -401,6 +421,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withGpuInstance':: d.fn(help='`azurerm.string.withGpuInstance` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the gpu_instance 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 `gpu_instance` field.\n', args=[]), + withGpuInstance(resourceLabel, value): { + resource+: { + azurerm_kubernetes_cluster_node_pool+: { + [resourceLabel]+: { + gpu_instance: value, + }, + }, + }, + }, '#withHostGroupId':: d.fn(help='`azurerm.string.withHostGroupId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the host_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 `host_group_id` field.\n', args=[]), withHostGroupId(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/kubernetes_fleet_update_strategy.libsonnet b/3.x/_gen/resources/kubernetes_fleet_update_strategy.libsonnet new file mode 100644 index 00000000..5163a5f9 --- /dev/null +++ b/3.x/_gen/resources/kubernetes_fleet_update_strategy.libsonnet @@ -0,0 +1,130 @@ +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_fleet_update_strategy', url='', help='`kubernetes_fleet_update_strategy` represents the `azurerm_kubernetes_fleet_update_strategy` 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_fleet_update_strategy.new` injects a new `azurerm_kubernetes_fleet_update_strategy` 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_fleet_update_strategy.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.kubernetes_fleet_update_strategy` using the reference:\n\n $._ref.azurerm_kubernetes_fleet_update_strategy.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_kubernetes_fleet_update_strategy.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_fleet_manager_id` (`string`): Set the `kubernetes_fleet_manager_id` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `stage` (`list[obj]`): Set the `stage` field on the resulting resource block. When `null`, the `stage` 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_fleet_update_strategy.stage.new](#fn-stagenew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_fleet_update_strategy.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_fleet_manager_id, + name, + stage=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_kubernetes_fleet_update_strategy', + label=resourceLabel, + attrs=self.newAttrs( + kubernetes_fleet_manager_id=kubernetes_fleet_manager_id, + name=name, + stage=stage, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.kubernetes_fleet_update_strategy.newAttrs` constructs a new object with attributes and blocks configured for the `kubernetes_fleet_update_strategy`\nTerraform resource.\n\nUnlike [azurerm.kubernetes_fleet_update_strategy.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_fleet_manager_id` (`string`): Set the `kubernetes_fleet_manager_id` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `stage` (`list[obj]`): Set the `stage` field on the resulting object. When `null`, the `stage` 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_fleet_update_strategy.stage.new](#fn-stagenew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_fleet_update_strategy.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_fleet_update_strategy` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + kubernetes_fleet_manager_id, + name, + stage=null, + timeouts=null + ):: std.prune(a={ + kubernetes_fleet_manager_id: kubernetes_fleet_manager_id, + name: name, + stage: stage, + timeouts: timeouts, + }), + stage:: { + group:: { + '#new':: d.fn(help='\n`azurerm.kubernetes_fleet_update_strategy.stage.group.new` constructs a new object with attributes and blocks configured for the `group`\nTerraform sub block.\n\n\n\n**Args**:\n - `name` (`string`): Set the `name` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `group` sub block.\n', args=[]), + new( + name + ):: std.prune(a={ + name: name, + }), + }, + '#new':: d.fn(help='\n`azurerm.kubernetes_fleet_update_strategy.stage.new` constructs a new object with attributes and blocks configured for the `stage`\nTerraform sub block.\n\n\n\n**Args**:\n - `after_stage_wait_in_seconds` (`number`): Set the `after_stage_wait_in_seconds` field on the resulting object. When `null`, the `after_stage_wait_in_seconds` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `group` (`list[obj]`): Set the `group` field on the resulting object. When `null`, the `group` 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_fleet_update_strategy.stage.group.new](#fn-stagegroupnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `stage` sub block.\n', args=[]), + new( + name, + after_stage_wait_in_seconds=null, + group=null + ):: std.prune(a={ + after_stage_wait_in_seconds: after_stage_wait_in_seconds, + group: group, + name: name, + }), + }, + timeouts:: { + '#new':: d.fn(help='\n`azurerm.kubernetes_fleet_update_strategy.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, + }), + }, + '#withKubernetesFleetManagerId':: d.fn(help='`azurerm.string.withKubernetesFleetManagerId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the kubernetes_fleet_manager_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_fleet_manager_id` field.\n', args=[]), + withKubernetesFleetManagerId(resourceLabel, value): { + resource+: { + azurerm_kubernetes_fleet_update_strategy+: { + [resourceLabel]+: { + kubernetes_fleet_manager_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_fleet_update_strategy+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withStage':: d.fn(help='`azurerm.list[obj].withStage` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the stage 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].withStageMixin](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 `stage` field.\n', args=[]), + withStage(resourceLabel, value): { + resource+: { + azurerm_kubernetes_fleet_update_strategy+: { + [resourceLabel]+: { + stage: value, + }, + }, + }, + }, + '#withStageMixin':: d.fn(help='`azurerm.list[obj].withStageMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the stage 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].withStage](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 `stage` field.\n', args=[]), + withStageMixin(resourceLabel, value): { + resource+: { + azurerm_kubernetes_fleet_update_strategy+: { + [resourceLabel]+: { + stage+: 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_kubernetes_fleet_update_strategy+: { + [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_fleet_update_strategy+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/kusto_cluster_principal_assignment.libsonnet b/3.x/_gen/resources/kusto_cluster_principal_assignment.libsonnet index 69f99b0e..e35c9842 100644 --- a/3.x/_gen/resources/kusto_cluster_principal_assignment.libsonnet +++ b/3.x/_gen/resources/kusto_cluster_principal_assignment.libsonnet @@ -50,17 +50,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.kusto_cluster_principal_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 - `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':: d.fn(help='\n`azurerm.kusto_cluster_principal_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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withClusterName':: d.fn(help='`azurerm.string.withClusterName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the cluster_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 `cluster_name` field.\n', args=[]), diff --git a/3.x/_gen/resources/linux_function_app.libsonnet b/3.x/_gen/resources/linux_function_app.libsonnet index cbcb1a97..55c7a3b1 100644 --- a/3.x/_gen/resources/linux_function_app.libsonnet +++ b/3.x/_gen/resources/linux_function_app.libsonnet @@ -378,7 +378,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); type: type, }), }, - '#new':: d.fn(help="\n`azurerm.linux_function_app.new` injects a new `azurerm_linux_function_app` 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_function_app.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.linux_function_app` using the reference:\n\n $._ref.azurerm_linux_function_app.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_linux_function_app.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 - `app_settings` (`obj`): A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `builtin_logging_enabled` (`bool`): Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting When `null`, the `builtin_logging_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Should the function app use Client Certificates When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): The mode of the Function App\u0026#39;s client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser` When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object.\n - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object.\n - `enabled` (`bool`): Is the Linux Function App enabled. When `null`, the `enabled` field will be omitted from the resulting object.\n - `functions_extension_version` (`string`): The runtime version associated with the Function App. When `null`, the `functions_extension_version` field will be omitted from the resulting object.\n - `https_only` (`bool`): Can the Function App only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Specifies the name of the Function App.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `service_plan_id` (`string`): The ID of the App Service Plan within which to create this Function App\n - `storage_account_access_key` (`string`): The access key which will be used to access the storage account for the Function App. When `null`, the `storage_account_access_key` field will be omitted from the resulting object.\n - `storage_account_name` (`string`): The backend storage account name which will be used by this Function App. When `null`, the `storage_account_name` field will be omitted from the resulting object.\n - `storage_key_vault_secret_id` (`string`): The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App. When `null`, the `storage_key_vault_secret_id` field will be omitted from the resulting object.\n - `storage_uses_managed_identity` (`bool`): Should the Function App use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Linux Function App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_function_app.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_function_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` 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_function_app.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting resource block. When `null`, the `connection_string` 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_function_app.connection_string.new](#fn-connection_stringnew) 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_function_app.identity.new](#fn-identitynew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting resource block. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_function_app.site_config.new](#fn-site_confignew) constructor.\n - `sticky_settings` (`list[obj]`): Set the `sticky_settings` field on the resulting resource block. When `null`, the `sticky_settings` 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_function_app.sticky_settings.new](#fn-sticky_settingsnew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting resource block. When `null`, the `storage_account` 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_function_app.storage_account.new](#fn-storage_accountnew) 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_function_app.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_function_app.new` injects a new `azurerm_linux_function_app` 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_function_app.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.linux_function_app` using the reference:\n\n $._ref.azurerm_linux_function_app.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_linux_function_app.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 - `app_settings` (`obj`): A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `builtin_logging_enabled` (`bool`): Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting When `null`, the `builtin_logging_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Should the function app use Client Certificates When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): The mode of the Function App\u0026#39;s client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser` When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object.\n - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object.\n - `enabled` (`bool`): Is the Linux Function App enabled. When `null`, the `enabled` field will be omitted from the resulting object.\n - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `functions_extension_version` (`string`): The runtime version associated with the Function App. When `null`, the `functions_extension_version` field will be omitted from the resulting object.\n - `https_only` (`bool`): Can the Function App only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Specifies the name of the Function App.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `service_plan_id` (`string`): The ID of the App Service Plan within which to create this Function App\n - `storage_account_access_key` (`string`): The access key which will be used to access the storage account for the Function App. When `null`, the `storage_account_access_key` field will be omitted from the resulting object.\n - `storage_account_name` (`string`): The backend storage account name which will be used by this Function App. When `null`, the `storage_account_name` field will be omitted from the resulting object.\n - `storage_key_vault_secret_id` (`string`): The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App. When `null`, the `storage_key_vault_secret_id` field will be omitted from the resulting object.\n - `storage_uses_managed_identity` (`bool`): Should the Function App use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Linux Function App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_function_app.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_function_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` 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_function_app.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting resource block. When `null`, the `connection_string` 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_function_app.connection_string.new](#fn-connection_stringnew) 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_function_app.identity.new](#fn-identitynew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting resource block. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_function_app.site_config.new](#fn-site_confignew) constructor.\n - `sticky_settings` (`list[obj]`): Set the `sticky_settings` field on the resulting resource block. When `null`, the `sticky_settings` 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_function_app.sticky_settings.new](#fn-sticky_settingsnew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting resource block. When `null`, the `storage_account` 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_function_app.storage_account.new](#fn-storage_accountnew) 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_function_app.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, @@ -397,6 +397,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); content_share_force_disabled=null, daily_memory_time_quota=null, enabled=null, + ftp_publish_basic_authentication_enabled=null, functions_extension_version=null, https_only=null, identity=null, @@ -412,6 +413,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=null, timeouts=null, virtual_network_subnet_id=null, + webdeploy_publish_basic_authentication_enabled=null, zip_deploy_file=null, _meta={} ):: tf.withResource( @@ -430,6 +432,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); content_share_force_disabled=content_share_force_disabled, daily_memory_time_quota=daily_memory_time_quota, enabled=enabled, + ftp_publish_basic_authentication_enabled=ftp_publish_basic_authentication_enabled, functions_extension_version=functions_extension_version, https_only=https_only, identity=identity, @@ -449,11 +452,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=tags, timeouts=timeouts, virtual_network_subnet_id=virtual_network_subnet_id, + webdeploy_publish_basic_authentication_enabled=webdeploy_publish_basic_authentication_enabled, zip_deploy_file=zip_deploy_file ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.linux_function_app.newAttrs` constructs a new object with attributes and blocks configured for the `linux_function_app`\nTerraform resource.\n\nUnlike [azurerm.linux_function_app.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 - `app_settings` (`obj`): A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `builtin_logging_enabled` (`bool`): Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting When `null`, the `builtin_logging_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Should the function app use Client Certificates When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): The mode of the Function App's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser` When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object.\n - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object.\n - `enabled` (`bool`): Is the Linux Function App enabled. When `null`, the `enabled` field will be omitted from the resulting object.\n - `functions_extension_version` (`string`): The runtime version associated with the Function App. When `null`, the `functions_extension_version` field will be omitted from the resulting object.\n - `https_only` (`bool`): Can the Function App only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Specifies the name of the Function App.\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 - `service_plan_id` (`string`): The ID of the App Service Plan within which to create this Function App\n - `storage_account_access_key` (`string`): The access key which will be used to access the storage account for the Function App. When `null`, the `storage_account_access_key` field will be omitted from the resulting object.\n - `storage_account_name` (`string`): The backend storage account name which will be used by this Function App. When `null`, the `storage_account_name` field will be omitted from the resulting object.\n - `storage_key_vault_secret_id` (`string`): The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App. When `null`, the `storage_key_vault_secret_id` field will be omitted from the resulting object.\n - `storage_uses_managed_identity` (`bool`): Should the Function App use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Linux Function App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_function_app.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_function_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` 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_function_app.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting object. When `null`, the `connection_string` 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_function_app.connection_string.new](#fn-connection_stringnew) 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_function_app.identity.new](#fn-identitynew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting object. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_function_app.site_config.new](#fn-site_confignew) constructor.\n - `sticky_settings` (`list[obj]`): Set the `sticky_settings` field on the resulting object. When `null`, the `sticky_settings` 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_function_app.sticky_settings.new](#fn-sticky_settingsnew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting object. When `null`, the `storage_account` 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_function_app.storage_account.new](#fn-storage_accountnew) 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_function_app.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_function_app` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.linux_function_app.newAttrs` constructs a new object with attributes and blocks configured for the `linux_function_app`\nTerraform resource.\n\nUnlike [azurerm.linux_function_app.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 - `app_settings` (`obj`): A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `builtin_logging_enabled` (`bool`): Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting When `null`, the `builtin_logging_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Should the function app use Client Certificates When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): The mode of the Function App's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser` When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object.\n - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object.\n - `enabled` (`bool`): Is the Linux Function App enabled. When `null`, the `enabled` field will be omitted from the resulting object.\n - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `functions_extension_version` (`string`): The runtime version associated with the Function App. When `null`, the `functions_extension_version` field will be omitted from the resulting object.\n - `https_only` (`bool`): Can the Function App only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Specifies the name of the Function App.\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 - `service_plan_id` (`string`): The ID of the App Service Plan within which to create this Function App\n - `storage_account_access_key` (`string`): The access key which will be used to access the storage account for the Function App. When `null`, the `storage_account_access_key` field will be omitted from the resulting object.\n - `storage_account_name` (`string`): The backend storage account name which will be used by this Function App. When `null`, the `storage_account_name` field will be omitted from the resulting object.\n - `storage_key_vault_secret_id` (`string`): The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App. When `null`, the `storage_key_vault_secret_id` field will be omitted from the resulting object.\n - `storage_uses_managed_identity` (`bool`): Should the Function App use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Linux Function App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_function_app.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_function_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` 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_function_app.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting object. When `null`, the `connection_string` 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_function_app.connection_string.new](#fn-connection_stringnew) 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_function_app.identity.new](#fn-identitynew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting object. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_function_app.site_config.new](#fn-site_confignew) constructor.\n - `sticky_settings` (`list[obj]`): Set the `sticky_settings` field on the resulting object. When `null`, the `sticky_settings` 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_function_app.sticky_settings.new](#fn-sticky_settingsnew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting object. When `null`, the `storage_account` 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_function_app.storage_account.new](#fn-storage_accountnew) 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_function_app.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_function_app` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, @@ -471,6 +475,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); content_share_force_disabled=null, daily_memory_time_quota=null, enabled=null, + ftp_publish_basic_authentication_enabled=null, functions_extension_version=null, https_only=null, identity=null, @@ -486,6 +491,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=null, timeouts=null, virtual_network_subnet_id=null, + webdeploy_publish_basic_authentication_enabled=null, zip_deploy_file=null ):: std.prune(a={ app_settings: app_settings, @@ -500,6 +506,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); content_share_force_disabled: content_share_force_disabled, daily_memory_time_quota: daily_memory_time_quota, enabled: enabled, + ftp_publish_basic_authentication_enabled: ftp_publish_basic_authentication_enabled, functions_extension_version: functions_extension_version, https_only: https_only, identity: identity, @@ -519,6 +526,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags: tags, timeouts: timeouts, virtual_network_subnet_id: virtual_network_subnet_id, + webdeploy_publish_basic_authentication_enabled: webdeploy_publish_basic_authentication_enabled, zip_deploy_file: zip_deploy_file, }), site_config:: { @@ -549,7 +557,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); registry_username: registry_username, }), }, - '#new':: d.fn(help='\n`azurerm.linux_function_app.site_config.application_stack.new` constructs a new object with attributes and blocks configured for the `application_stack`\nTerraform sub block.\n\n\n\n**Args**:\n - `dotnet_version` (`string`): The version of .Net. Possible values are `3.1`, `6.0` and `7.0` When `null`, the `dotnet_version` field will be omitted from the resulting object.\n - `java_version` (`string`): The version of Java to use. Possible values are `8`, `11`, and `17` When `null`, the `java_version` field will be omitted from the resulting object.\n - `node_version` (`string`): The version of Node to use. Possible values include `12`, `14`, `16` and `18` When `null`, the `node_version` field will be omitted from the resulting object.\n - `powershell_core_version` (`string`): The version of PowerShell Core to use. Possibles values are `7`, and `7.2` When `null`, the `powershell_core_version` field will be omitted from the resulting object.\n - `python_version` (`string`): The version of Python to use. Possible values include `3.11`, `3.10`, `3.9`, `3.8`, and `3.7`. When `null`, the `python_version` field will be omitted from the resulting object.\n - `use_custom_runtime` (`bool`): Set the `use_custom_runtime` field on the resulting object. When `null`, the `use_custom_runtime` field will be omitted from the resulting object.\n - `use_dotnet_isolated_runtime` (`bool`): Should the DotNet process use an isolated runtime. Defaults to `false`. When `null`, the `use_dotnet_isolated_runtime` field will be omitted from the resulting object.\n - `docker` (`list[obj]`): A docker block When `null`, the `docker` 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_function_app.site_config.application_stack.docker.new](#fn-site_configsite_configdockernew) constructor.\n\n**Returns**:\n - An attribute object that represents the `application_stack` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.linux_function_app.site_config.application_stack.new` constructs a new object with attributes and blocks configured for the `application_stack`\nTerraform sub block.\n\n\n\n**Args**:\n - `dotnet_version` (`string`): The version of .Net. Possible values are `3.1`, `6.0` and `7.0` When `null`, the `dotnet_version` field will be omitted from the resulting object.\n - `java_version` (`string`): The version of Java to use. Possible values are `8`, `11`, and `17` When `null`, the `java_version` field will be omitted from the resulting object.\n - `node_version` (`string`): The version of Node to use. Possible values include `12`, `14`, `16` and `18` When `null`, the `node_version` field will be omitted from the resulting object.\n - `powershell_core_version` (`string`): The version of PowerShell Core to use. Possibles values are `7`, and `7.2` When `null`, the `powershell_core_version` field will be omitted from the resulting object.\n - `python_version` (`string`): The version of Python to use. Possible values include `3.12`, `3.11`, `3.10`, `3.9`, `3.8`, and `3.7`. When `null`, the `python_version` field will be omitted from the resulting object.\n - `use_custom_runtime` (`bool`): Set the `use_custom_runtime` field on the resulting object. When `null`, the `use_custom_runtime` field will be omitted from the resulting object.\n - `use_dotnet_isolated_runtime` (`bool`): Should the DotNet process use an isolated runtime. Defaults to `false`. When `null`, the `use_dotnet_isolated_runtime` field will be omitted from the resulting object.\n - `docker` (`list[obj]`): A docker block When `null`, the `docker` 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_function_app.site_config.application_stack.docker.new](#fn-site_configsite_configdockernew) constructor.\n\n**Returns**:\n - An attribute object that represents the `application_stack` sub block.\n', args=[]), new( docker=null, dotnet_version=null, @@ -893,6 +901,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withFtpPublishBasicAuthenticationEnabled':: d.fn(help='`azurerm.bool.withFtpPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the ftp_publish_basic_authentication_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 `ftp_publish_basic_authentication_enabled` field.\n', args=[]), + withFtpPublishBasicAuthenticationEnabled(resourceLabel, value): { + resource+: { + azurerm_linux_function_app+: { + [resourceLabel]+: { + ftp_publish_basic_authentication_enabled: value, + }, + }, + }, + }, '#withFunctionsExtensionVersion':: d.fn(help='`azurerm.string.withFunctionsExtensionVersion` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the functions_extension_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 `functions_extension_version` field.\n', args=[]), withFunctionsExtensionVersion(resourceLabel, value): { resource+: { @@ -1133,6 +1151,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withWebdeployPublishBasicAuthenticationEnabled':: d.fn(help='`azurerm.bool.withWebdeployPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the webdeploy_publish_basic_authentication_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 `webdeploy_publish_basic_authentication_enabled` field.\n', args=[]), + withWebdeployPublishBasicAuthenticationEnabled(resourceLabel, value): { + resource+: { + azurerm_linux_function_app+: { + [resourceLabel]+: { + webdeploy_publish_basic_authentication_enabled: value, + }, + }, + }, + }, '#withZipDeployFile':: d.fn(help='`azurerm.string.withZipDeployFile` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the zip_deploy_file 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 `zip_deploy_file` field.\n', args=[]), withZipDeployFile(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/linux_function_app_slot.libsonnet b/3.x/_gen/resources/linux_function_app_slot.libsonnet index 5baed239..33d81dda 100644 --- a/3.x/_gen/resources/linux_function_app_slot.libsonnet +++ b/3.x/_gen/resources/linux_function_app_slot.libsonnet @@ -378,7 +378,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); type: type, }), }, - '#new':: d.fn(help="\n`azurerm.linux_function_app_slot.new` injects a new `azurerm_linux_function_app_slot` 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_function_app_slot.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.linux_function_app_slot` using the reference:\n\n $._ref.azurerm_linux_function_app_slot.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_linux_function_app_slot.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 - `app_settings` (`obj`): A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `builtin_logging_enabled` (`bool`): Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting. When `null`, the `builtin_logging_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Should the Function App Slot use Client Certificates. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): The mode of the Function App Slot\u0026#39;s client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object.\n - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object.\n - `enabled` (`bool`): Is the Linux Function App Slot enabled. When `null`, the `enabled` field will be omitted from the resulting object.\n - `function_app_id` (`string`): The ID of the Linux Function App this Slot is a member of.\n - `functions_extension_version` (`string`): The runtime version associated with the Function App Slot. When `null`, the `functions_extension_version` field will be omitted from the resulting object.\n - `https_only` (`bool`): Can the Function App Slot only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `name` (`string`): Specifies the name of the Function App Slot.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting resource block. When `null`, the `service_plan_id` field will be omitted from the resulting object.\n - `storage_account_access_key` (`string`): The access key which will be used to access the storage account for the Function App Slot. When `null`, the `storage_account_access_key` field will be omitted from the resulting object.\n - `storage_account_name` (`string`): The backend storage account name which will be used by this Function App Slot. When `null`, the `storage_account_name` field will be omitted from the resulting object.\n - `storage_key_vault_secret_id` (`string`): The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App. When `null`, the `storage_key_vault_secret_id` field will be omitted from the resulting object.\n - `storage_uses_managed_identity` (`bool`): Should the Function App Slot use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_function_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_function_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` 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_function_app_slot.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting resource block. When `null`, the `connection_string` 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_function_app_slot.connection_string.new](#fn-connection_stringnew) 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_function_app_slot.identity.new](#fn-identitynew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting resource block. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_function_app_slot.site_config.new](#fn-site_confignew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting resource block. When `null`, the `storage_account` 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_function_app_slot.storage_account.new](#fn-storage_accountnew) 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_function_app_slot.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_function_app_slot.new` injects a new `azurerm_linux_function_app_slot` 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_function_app_slot.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.linux_function_app_slot` using the reference:\n\n $._ref.azurerm_linux_function_app_slot.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_linux_function_app_slot.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 - `app_settings` (`obj`): A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `builtin_logging_enabled` (`bool`): Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting. When `null`, the `builtin_logging_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Should the Function App Slot use Client Certificates. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): The mode of the Function App Slot\u0026#39;s client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object.\n - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object.\n - `enabled` (`bool`): Is the Linux Function App Slot enabled. When `null`, the `enabled` field will be omitted from the resulting object.\n - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `function_app_id` (`string`): The ID of the Linux Function App this Slot is a member of.\n - `functions_extension_version` (`string`): The runtime version associated with the Function App Slot. When `null`, the `functions_extension_version` field will be omitted from the resulting object.\n - `https_only` (`bool`): Can the Function App Slot only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `name` (`string`): Specifies the name of the Function App Slot.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting resource block. When `null`, the `service_plan_id` field will be omitted from the resulting object.\n - `storage_account_access_key` (`string`): The access key which will be used to access the storage account for the Function App Slot. When `null`, the `storage_account_access_key` field will be omitted from the resulting object.\n - `storage_account_name` (`string`): The backend storage account name which will be used by this Function App Slot. When `null`, the `storage_account_name` field will be omitted from the resulting object.\n - `storage_key_vault_secret_id` (`string`): The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App. When `null`, the `storage_key_vault_secret_id` field will be omitted from the resulting object.\n - `storage_uses_managed_identity` (`bool`): Should the Function App Slot use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_function_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_function_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` 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_function_app_slot.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting resource block. When `null`, the `connection_string` 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_function_app_slot.connection_string.new](#fn-connection_stringnew) 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_function_app_slot.identity.new](#fn-identitynew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting resource block. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_function_app_slot.site_config.new](#fn-site_confignew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting resource block. When `null`, the `storage_account` 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_function_app_slot.storage_account.new](#fn-storage_accountnew) 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_function_app_slot.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, function_app_id, @@ -395,6 +395,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); content_share_force_disabled=null, daily_memory_time_quota=null, enabled=null, + ftp_publish_basic_authentication_enabled=null, functions_extension_version=null, https_only=null, identity=null, @@ -410,6 +411,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=null, timeouts=null, virtual_network_subnet_id=null, + webdeploy_publish_basic_authentication_enabled=null, _meta={} ):: tf.withResource( type='azurerm_linux_function_app_slot', @@ -427,6 +429,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); content_share_force_disabled=content_share_force_disabled, daily_memory_time_quota=daily_memory_time_quota, enabled=enabled, + ftp_publish_basic_authentication_enabled=ftp_publish_basic_authentication_enabled, function_app_id=function_app_id, functions_extension_version=functions_extension_version, https_only=https_only, @@ -443,11 +446,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); storage_uses_managed_identity=storage_uses_managed_identity, tags=tags, timeouts=timeouts, - virtual_network_subnet_id=virtual_network_subnet_id + virtual_network_subnet_id=virtual_network_subnet_id, + webdeploy_publish_basic_authentication_enabled=webdeploy_publish_basic_authentication_enabled ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.linux_function_app_slot.newAttrs` constructs a new object with attributes and blocks configured for the `linux_function_app_slot`\nTerraform resource.\n\nUnlike [azurerm.linux_function_app_slot.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 - `app_settings` (`obj`): A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `builtin_logging_enabled` (`bool`): Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting. When `null`, the `builtin_logging_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Should the Function App Slot use Client Certificates. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): The mode of the Function App Slot's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object.\n - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object.\n - `enabled` (`bool`): Is the Linux Function App Slot enabled. When `null`, the `enabled` field will be omitted from the resulting object.\n - `function_app_id` (`string`): The ID of the Linux Function App this Slot is a member of.\n - `functions_extension_version` (`string`): The runtime version associated with the Function App Slot. When `null`, the `functions_extension_version` field will be omitted from the resulting object.\n - `https_only` (`bool`): Can the Function App Slot only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `name` (`string`): Specifies the name of the Function App Slot.\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 - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting object. When `null`, the `service_plan_id` field will be omitted from the resulting object.\n - `storage_account_access_key` (`string`): The access key which will be used to access the storage account for the Function App Slot. When `null`, the `storage_account_access_key` field will be omitted from the resulting object.\n - `storage_account_name` (`string`): The backend storage account name which will be used by this Function App Slot. When `null`, the `storage_account_name` field will be omitted from the resulting object.\n - `storage_key_vault_secret_id` (`string`): The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App. When `null`, the `storage_key_vault_secret_id` field will be omitted from the resulting object.\n - `storage_uses_managed_identity` (`bool`): Should the Function App Slot use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_function_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_function_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` 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_function_app_slot.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting object. When `null`, the `connection_string` 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_function_app_slot.connection_string.new](#fn-connection_stringnew) 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_function_app_slot.identity.new](#fn-identitynew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting object. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_function_app_slot.site_config.new](#fn-site_confignew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting object. When `null`, the `storage_account` 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_function_app_slot.storage_account.new](#fn-storage_accountnew) 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_function_app_slot.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_function_app_slot` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.linux_function_app_slot.newAttrs` constructs a new object with attributes and blocks configured for the `linux_function_app_slot`\nTerraform resource.\n\nUnlike [azurerm.linux_function_app_slot.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 - `app_settings` (`obj`): A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `builtin_logging_enabled` (`bool`): Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting. When `null`, the `builtin_logging_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Should the Function App Slot use Client Certificates. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): The mode of the Function App Slot's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object.\n - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object.\n - `enabled` (`bool`): Is the Linux Function App Slot enabled. When `null`, the `enabled` field will be omitted from the resulting object.\n - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `function_app_id` (`string`): The ID of the Linux Function App this Slot is a member of.\n - `functions_extension_version` (`string`): The runtime version associated with the Function App Slot. When `null`, the `functions_extension_version` field will be omitted from the resulting object.\n - `https_only` (`bool`): Can the Function App Slot only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `name` (`string`): Specifies the name of the Function App Slot.\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 - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting object. When `null`, the `service_plan_id` field will be omitted from the resulting object.\n - `storage_account_access_key` (`string`): The access key which will be used to access the storage account for the Function App Slot. When `null`, the `storage_account_access_key` field will be omitted from the resulting object.\n - `storage_account_name` (`string`): The backend storage account name which will be used by this Function App Slot. When `null`, the `storage_account_name` field will be omitted from the resulting object.\n - `storage_key_vault_secret_id` (`string`): The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App. When `null`, the `storage_key_vault_secret_id` field will be omitted from the resulting object.\n - `storage_uses_managed_identity` (`bool`): Should the Function App Slot use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_function_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_function_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` 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_function_app_slot.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting object. When `null`, the `connection_string` 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_function_app_slot.connection_string.new](#fn-connection_stringnew) 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_function_app_slot.identity.new](#fn-identitynew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting object. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_function_app_slot.site_config.new](#fn-site_confignew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting object. When `null`, the `storage_account` 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_function_app_slot.storage_account.new](#fn-storage_accountnew) 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_function_app_slot.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_function_app_slot` resource into the root Terraform configuration.\n', args=[]), newAttrs( function_app_id, name, @@ -463,6 +467,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); content_share_force_disabled=null, daily_memory_time_quota=null, enabled=null, + ftp_publish_basic_authentication_enabled=null, functions_extension_version=null, https_only=null, identity=null, @@ -477,7 +482,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); storage_uses_managed_identity=null, tags=null, timeouts=null, - virtual_network_subnet_id=null + virtual_network_subnet_id=null, + webdeploy_publish_basic_authentication_enabled=null ):: std.prune(a={ app_settings: app_settings, auth_settings: auth_settings, @@ -491,6 +497,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); content_share_force_disabled: content_share_force_disabled, daily_memory_time_quota: daily_memory_time_quota, enabled: enabled, + ftp_publish_basic_authentication_enabled: ftp_publish_basic_authentication_enabled, function_app_id: function_app_id, functions_extension_version: functions_extension_version, https_only: https_only, @@ -508,6 +515,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags: tags, timeouts: timeouts, virtual_network_subnet_id: virtual_network_subnet_id, + webdeploy_publish_basic_authentication_enabled: webdeploy_publish_basic_authentication_enabled, }), site_config:: { app_service_logs:: { @@ -537,7 +545,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); registry_username: registry_username, }), }, - '#new':: d.fn(help='\n`azurerm.linux_function_app_slot.site_config.application_stack.new` constructs a new object with attributes and blocks configured for the `application_stack`\nTerraform sub block.\n\n\n\n**Args**:\n - `dotnet_version` (`string`): The version of .Net. Possible values are `3.1`, `6.0` and `7.0` When `null`, the `dotnet_version` field will be omitted from the resulting object.\n - `java_version` (`string`): The version of Java to use. Possible values are `8`, `11`, and `17` When `null`, the `java_version` field will be omitted from the resulting object.\n - `node_version` (`string`): The version of Node to use. Possible values include `12`, `14`, `16` and `18` When `null`, the `node_version` field will be omitted from the resulting object.\n - `powershell_core_version` (`string`): The version of PowerShell Core to use. Possibles values are `7`, and `7.2` When `null`, the `powershell_core_version` field will be omitted from the resulting object.\n - `python_version` (`string`): The version of Python to use. Possible values include `3.11`, `3.10`, `3.9`, `3.8`, and `3.7`. When `null`, the `python_version` field will be omitted from the resulting object.\n - `use_custom_runtime` (`bool`): Set the `use_custom_runtime` field on the resulting object. When `null`, the `use_custom_runtime` field will be omitted from the resulting object.\n - `use_dotnet_isolated_runtime` (`bool`): Should the DotNet process use an isolated runtime. Defaults to `false`. When `null`, the `use_dotnet_isolated_runtime` field will be omitted from the resulting object.\n - `docker` (`list[obj]`): A docker block When `null`, the `docker` 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_function_app_slot.site_config.application_stack.docker.new](#fn-site_configsite_configdockernew) constructor.\n\n**Returns**:\n - An attribute object that represents the `application_stack` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.linux_function_app_slot.site_config.application_stack.new` constructs a new object with attributes and blocks configured for the `application_stack`\nTerraform sub block.\n\n\n\n**Args**:\n - `dotnet_version` (`string`): The version of .Net. Possible values are `3.1`, `6.0` and `7.0` When `null`, the `dotnet_version` field will be omitted from the resulting object.\n - `java_version` (`string`): The version of Java to use. Possible values are `8`, `11`, and `17` When `null`, the `java_version` field will be omitted from the resulting object.\n - `node_version` (`string`): The version of Node to use. Possible values include `12`, `14`, `16` and `18` When `null`, the `node_version` field will be omitted from the resulting object.\n - `powershell_core_version` (`string`): The version of PowerShell Core to use. Possibles values are `7`, and `7.2` When `null`, the `powershell_core_version` field will be omitted from the resulting object.\n - `python_version` (`string`): The version of Python to use. Possible values include `3.12`, `3.11`, `3.10`, `3.9`, `3.8`, and `3.7`. When `null`, the `python_version` field will be omitted from the resulting object.\n - `use_custom_runtime` (`bool`): Set the `use_custom_runtime` field on the resulting object. When `null`, the `use_custom_runtime` field will be omitted from the resulting object.\n - `use_dotnet_isolated_runtime` (`bool`): Should the DotNet process use an isolated runtime. Defaults to `false`. When `null`, the `use_dotnet_isolated_runtime` field will be omitted from the resulting object.\n - `docker` (`list[obj]`): A docker block When `null`, the `docker` 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_function_app_slot.site_config.application_stack.docker.new](#fn-site_configsite_configdockernew) constructor.\n\n**Returns**:\n - An attribute object that represents the `application_stack` sub block.\n', args=[]), new( docker=null, dotnet_version=null, @@ -873,6 +881,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withFtpPublishBasicAuthenticationEnabled':: d.fn(help='`azurerm.bool.withFtpPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the ftp_publish_basic_authentication_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 `ftp_publish_basic_authentication_enabled` field.\n', args=[]), + withFtpPublishBasicAuthenticationEnabled(resourceLabel, value): { + resource+: { + azurerm_linux_function_app_slot+: { + [resourceLabel]+: { + ftp_publish_basic_authentication_enabled: value, + }, + }, + }, + }, '#withFunctionAppId':: d.fn(help='`azurerm.string.withFunctionAppId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the function_app_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 `function_app_id` field.\n', args=[]), withFunctionAppId(resourceLabel, value): { resource+: { @@ -1083,4 +1101,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withWebdeployPublishBasicAuthenticationEnabled':: d.fn(help='`azurerm.bool.withWebdeployPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the webdeploy_publish_basic_authentication_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 `webdeploy_publish_basic_authentication_enabled` field.\n', args=[]), + withWebdeployPublishBasicAuthenticationEnabled(resourceLabel, value): { + resource+: { + azurerm_linux_function_app_slot+: { + [resourceLabel]+: { + webdeploy_publish_basic_authentication_enabled: value, + }, + }, + }, + }, } diff --git a/3.x/_gen/resources/linux_web_app.libsonnet b/3.x/_gen/resources/linux_web_app.libsonnet index ce22b533..f988c33b 100644 --- a/3.x/_gen/resources/linux_web_app.libsonnet +++ b/3.x/_gen/resources/linux_web_app.libsonnet @@ -444,7 +444,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); http_logs: http_logs, }), }, - '#new':: d.fn(help="\n`azurerm.linux_web_app.new` injects a new `azurerm_linux_web_app` 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_web_app.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.linux_web_app` using the reference:\n\n $._ref.azurerm_linux_web_app.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_linux_web_app.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 - `app_settings` (`obj`): Set the `app_settings` field on the resulting resource block. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `client_affinity_enabled` (`bool`): Set the `client_affinity_enabled` field on the resulting resource block. When `null`, the `client_affinity_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Set the `client_certificate_enabled` field on the resulting resource block. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting resource block. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting resource block. When `null`, the `enabled` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting resource block. When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting resource block. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `service_plan_id` (`string`): Set the `service_plan_id` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Linux Web App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_web_app.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_web_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` 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_web_app.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting resource block. When `null`, the `connection_string` 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_web_app.connection_string.new](#fn-connection_stringnew) 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_web_app.identity.new](#fn-identitynew) constructor.\n - `logs` (`list[obj]`): Set the `logs` field on the resulting resource block. When `null`, the `logs` 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_web_app.logs.new](#fn-logsnew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting resource block. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_web_app.site_config.new](#fn-site_confignew) constructor.\n - `sticky_settings` (`list[obj]`): Set the `sticky_settings` field on the resulting resource block. When `null`, the `sticky_settings` 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_web_app.sticky_settings.new](#fn-sticky_settingsnew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting resource block. When `null`, the `storage_account` 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_web_app.storage_account.new](#fn-storage_accountnew) 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_web_app.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_web_app.new` injects a new `azurerm_linux_web_app` 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_web_app.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.linux_web_app` using the reference:\n\n $._ref.azurerm_linux_web_app.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_linux_web_app.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 - `app_settings` (`obj`): Set the `app_settings` field on the resulting resource block. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `client_affinity_enabled` (`bool`): Set the `client_affinity_enabled` field on the resulting resource block. When `null`, the `client_affinity_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Set the `client_certificate_enabled` field on the resulting resource block. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting resource block. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting resource block. When `null`, the `enabled` field will be omitted from the resulting object.\n - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting resource block. When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting resource block. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `service_plan_id` (`string`): Set the `service_plan_id` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Linux Web App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_web_app.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_web_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` 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_web_app.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting resource block. When `null`, the `connection_string` 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_web_app.connection_string.new](#fn-connection_stringnew) 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_web_app.identity.new](#fn-identitynew) constructor.\n - `logs` (`list[obj]`): Set the `logs` field on the resulting resource block. When `null`, the `logs` 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_web_app.logs.new](#fn-logsnew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting resource block. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_web_app.site_config.new](#fn-site_confignew) constructor.\n - `sticky_settings` (`list[obj]`): Set the `sticky_settings` field on the resulting resource block. When `null`, the `sticky_settings` 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_web_app.sticky_settings.new](#fn-sticky_settingsnew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting resource block. When `null`, the `storage_account` 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_web_app.storage_account.new](#fn-storage_accountnew) 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_web_app.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, @@ -461,6 +461,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); client_certificate_mode=null, connection_string=null, enabled=null, + ftp_publish_basic_authentication_enabled=null, https_only=null, identity=null, key_vault_reference_identity_id=null, @@ -472,6 +473,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=null, timeouts=null, virtual_network_subnet_id=null, + webdeploy_publish_basic_authentication_enabled=null, zip_deploy_file=null, _meta={} ):: tf.withResource( @@ -488,6 +490,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); client_certificate_mode=client_certificate_mode, connection_string=connection_string, enabled=enabled, + ftp_publish_basic_authentication_enabled=ftp_publish_basic_authentication_enabled, https_only=https_only, identity=identity, key_vault_reference_identity_id=key_vault_reference_identity_id, @@ -503,11 +506,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=tags, timeouts=timeouts, virtual_network_subnet_id=virtual_network_subnet_id, + webdeploy_publish_basic_authentication_enabled=webdeploy_publish_basic_authentication_enabled, zip_deploy_file=zip_deploy_file ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.linux_web_app.newAttrs` constructs a new object with attributes and blocks configured for the `linux_web_app`\nTerraform resource.\n\nUnlike [azurerm.linux_web_app.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 - `app_settings` (`obj`): Set the `app_settings` field on the resulting object. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `client_affinity_enabled` (`bool`): Set the `client_affinity_enabled` field on the resulting object. When `null`, the `client_affinity_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Set the `client_certificate_enabled` field on the resulting object. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting object. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting object. When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting object. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting object. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `service_plan_id` (`string`): Set the `service_plan_id` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Linux Web App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_web_app.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_web_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` 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_web_app.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting object. When `null`, the `connection_string` 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_web_app.connection_string.new](#fn-connection_stringnew) 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_web_app.identity.new](#fn-identitynew) constructor.\n - `logs` (`list[obj]`): Set the `logs` field on the resulting object. When `null`, the `logs` 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_web_app.logs.new](#fn-logsnew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting object. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_web_app.site_config.new](#fn-site_confignew) constructor.\n - `sticky_settings` (`list[obj]`): Set the `sticky_settings` field on the resulting object. When `null`, the `sticky_settings` 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_web_app.sticky_settings.new](#fn-sticky_settingsnew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting object. When `null`, the `storage_account` 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_web_app.storage_account.new](#fn-storage_accountnew) 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_web_app.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_web_app` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.linux_web_app.newAttrs` constructs a new object with attributes and blocks configured for the `linux_web_app`\nTerraform resource.\n\nUnlike [azurerm.linux_web_app.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 - `app_settings` (`obj`): Set the `app_settings` field on the resulting object. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `client_affinity_enabled` (`bool`): Set the `client_affinity_enabled` field on the resulting object. When `null`, the `client_affinity_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Set the `client_certificate_enabled` field on the resulting object. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting object. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object.\n - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting object. When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting object. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting object. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `service_plan_id` (`string`): Set the `service_plan_id` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Linux Web App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_web_app.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_web_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` 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_web_app.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting object. When `null`, the `connection_string` 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_web_app.connection_string.new](#fn-connection_stringnew) 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_web_app.identity.new](#fn-identitynew) constructor.\n - `logs` (`list[obj]`): Set the `logs` field on the resulting object. When `null`, the `logs` 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_web_app.logs.new](#fn-logsnew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting object. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_web_app.site_config.new](#fn-site_confignew) constructor.\n - `sticky_settings` (`list[obj]`): Set the `sticky_settings` field on the resulting object. When `null`, the `sticky_settings` 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_web_app.sticky_settings.new](#fn-sticky_settingsnew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting object. When `null`, the `storage_account` 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_web_app.storage_account.new](#fn-storage_accountnew) 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_web_app.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_web_app` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, @@ -523,6 +527,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); client_certificate_mode=null, connection_string=null, enabled=null, + ftp_publish_basic_authentication_enabled=null, https_only=null, identity=null, key_vault_reference_identity_id=null, @@ -534,6 +539,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=null, timeouts=null, virtual_network_subnet_id=null, + webdeploy_publish_basic_authentication_enabled=null, zip_deploy_file=null ):: std.prune(a={ app_settings: app_settings, @@ -546,6 +552,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); client_certificate_mode: client_certificate_mode, connection_string: connection_string, enabled: enabled, + ftp_publish_basic_authentication_enabled: ftp_publish_basic_authentication_enabled, https_only: https_only, identity: identity, key_vault_reference_identity_id: key_vault_reference_identity_id, @@ -561,6 +568,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags: tags, timeouts: timeouts, virtual_network_subnet_id: virtual_network_subnet_id, + webdeploy_publish_basic_authentication_enabled: webdeploy_publish_basic_authentication_enabled, zip_deploy_file: zip_deploy_file, }), site_config:: { @@ -969,6 +977,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withFtpPublishBasicAuthenticationEnabled':: d.fn(help='`azurerm.bool.withFtpPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the ftp_publish_basic_authentication_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 `ftp_publish_basic_authentication_enabled` field.\n', args=[]), + withFtpPublishBasicAuthenticationEnabled(resourceLabel, value): { + resource+: { + azurerm_linux_web_app+: { + [resourceLabel]+: { + ftp_publish_basic_authentication_enabled: value, + }, + }, + }, + }, '#withHttpsOnly':: d.fn(help='`azurerm.bool.withHttpsOnly` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the https_only 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 `https_only` field.\n', args=[]), withHttpsOnly(resourceLabel, value): { resource+: { @@ -1179,6 +1197,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withWebdeployPublishBasicAuthenticationEnabled':: d.fn(help='`azurerm.bool.withWebdeployPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the webdeploy_publish_basic_authentication_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 `webdeploy_publish_basic_authentication_enabled` field.\n', args=[]), + withWebdeployPublishBasicAuthenticationEnabled(resourceLabel, value): { + resource+: { + azurerm_linux_web_app+: { + [resourceLabel]+: { + webdeploy_publish_basic_authentication_enabled: value, + }, + }, + }, + }, '#withZipDeployFile':: d.fn(help='`azurerm.string.withZipDeployFile` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the zip_deploy_file 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 `zip_deploy_file` field.\n', args=[]), withZipDeployFile(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/linux_web_app_slot.libsonnet b/3.x/_gen/resources/linux_web_app_slot.libsonnet index 5460cd76..89fcc311 100644 --- a/3.x/_gen/resources/linux_web_app_slot.libsonnet +++ b/3.x/_gen/resources/linux_web_app_slot.libsonnet @@ -444,7 +444,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); http_logs: http_logs, }), }, - '#new':: d.fn(help="\n`azurerm.linux_web_app_slot.new` injects a new `azurerm_linux_web_app_slot` 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_web_app_slot.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.linux_web_app_slot` using the reference:\n\n $._ref.azurerm_linux_web_app_slot.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_linux_web_app_slot.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 - `app_service_id` (`string`): Set the `app_service_id` field on the resulting resource block.\n - `app_settings` (`obj`): Set the `app_settings` field on the resulting resource block. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `client_affinity_enabled` (`bool`): Set the `client_affinity_enabled` field on the resulting resource block. When `null`, the `client_affinity_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Set the `client_certificate_enabled` field on the resulting resource block. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting resource block. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting resource block. When `null`, the `enabled` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting resource block. When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting resource block. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting resource block. When `null`, the `service_plan_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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_web_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_web_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` 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_web_app_slot.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting resource block. When `null`, the `connection_string` 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_web_app_slot.connection_string.new](#fn-connection_stringnew) 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_web_app_slot.identity.new](#fn-identitynew) constructor.\n - `logs` (`list[obj]`): Set the `logs` field on the resulting resource block. When `null`, the `logs` 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_web_app_slot.logs.new](#fn-logsnew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting resource block. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_web_app_slot.site_config.new](#fn-site_confignew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting resource block. When `null`, the `storage_account` 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_web_app_slot.storage_account.new](#fn-storage_accountnew) 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_web_app_slot.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_web_app_slot.new` injects a new `azurerm_linux_web_app_slot` 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_web_app_slot.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.linux_web_app_slot` using the reference:\n\n $._ref.azurerm_linux_web_app_slot.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_linux_web_app_slot.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 - `app_service_id` (`string`): Set the `app_service_id` field on the resulting resource block.\n - `app_settings` (`obj`): Set the `app_settings` field on the resulting resource block. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `client_affinity_enabled` (`bool`): Set the `client_affinity_enabled` field on the resulting resource block. When `null`, the `client_affinity_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Set the `client_certificate_enabled` field on the resulting resource block. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting resource block. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting resource block. When `null`, the `enabled` field will be omitted from the resulting object.\n - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting resource block. When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting resource block. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting resource block. When `null`, the `service_plan_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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_web_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_web_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` 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_web_app_slot.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting resource block. When `null`, the `connection_string` 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_web_app_slot.connection_string.new](#fn-connection_stringnew) 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_web_app_slot.identity.new](#fn-identitynew) constructor.\n - `logs` (`list[obj]`): Set the `logs` field on the resulting resource block. When `null`, the `logs` 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_web_app_slot.logs.new](#fn-logsnew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting resource block. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_web_app_slot.site_config.new](#fn-site_confignew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting resource block. When `null`, the `storage_account` 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_web_app_slot.storage_account.new](#fn-storage_accountnew) 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_web_app_slot.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, app_service_id, @@ -459,6 +459,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); client_certificate_mode=null, connection_string=null, enabled=null, + ftp_publish_basic_authentication_enabled=null, https_only=null, identity=null, key_vault_reference_identity_id=null, @@ -470,6 +471,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=null, timeouts=null, virtual_network_subnet_id=null, + webdeploy_publish_basic_authentication_enabled=null, zip_deploy_file=null, _meta={} ):: tf.withResource( @@ -487,6 +489,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); client_certificate_mode=client_certificate_mode, connection_string=connection_string, enabled=enabled, + ftp_publish_basic_authentication_enabled=ftp_publish_basic_authentication_enabled, https_only=https_only, identity=identity, key_vault_reference_identity_id=key_vault_reference_identity_id, @@ -499,11 +502,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=tags, timeouts=timeouts, virtual_network_subnet_id=virtual_network_subnet_id, + webdeploy_publish_basic_authentication_enabled=webdeploy_publish_basic_authentication_enabled, zip_deploy_file=zip_deploy_file ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.linux_web_app_slot.newAttrs` constructs a new object with attributes and blocks configured for the `linux_web_app_slot`\nTerraform resource.\n\nUnlike [azurerm.linux_web_app_slot.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 - `app_service_id` (`string`): Set the `app_service_id` field on the resulting object.\n - `app_settings` (`obj`): Set the `app_settings` field on the resulting object. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `client_affinity_enabled` (`bool`): Set the `client_affinity_enabled` field on the resulting object. When `null`, the `client_affinity_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Set the `client_certificate_enabled` field on the resulting object. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting object. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting object. When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting object. When `null`, the `key_vault_reference_identity_id` 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 - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting object. When `null`, the `service_plan_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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_web_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_web_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` 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_web_app_slot.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting object. When `null`, the `connection_string` 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_web_app_slot.connection_string.new](#fn-connection_stringnew) 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_web_app_slot.identity.new](#fn-identitynew) constructor.\n - `logs` (`list[obj]`): Set the `logs` field on the resulting object. When `null`, the `logs` 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_web_app_slot.logs.new](#fn-logsnew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting object. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_web_app_slot.site_config.new](#fn-site_confignew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting object. When `null`, the `storage_account` 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_web_app_slot.storage_account.new](#fn-storage_accountnew) 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_web_app_slot.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_web_app_slot` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.linux_web_app_slot.newAttrs` constructs a new object with attributes and blocks configured for the `linux_web_app_slot`\nTerraform resource.\n\nUnlike [azurerm.linux_web_app_slot.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 - `app_service_id` (`string`): Set the `app_service_id` field on the resulting object.\n - `app_settings` (`obj`): Set the `app_settings` field on the resulting object. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `client_affinity_enabled` (`bool`): Set the `client_affinity_enabled` field on the resulting object. When `null`, the `client_affinity_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Set the `client_certificate_enabled` field on the resulting object. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting object. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object.\n - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting object. When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting object. When `null`, the `key_vault_reference_identity_id` 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 - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting object. When `null`, the `service_plan_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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_web_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_web_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` 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_web_app_slot.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting object. When `null`, the `connection_string` 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_web_app_slot.connection_string.new](#fn-connection_stringnew) 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_web_app_slot.identity.new](#fn-identitynew) constructor.\n - `logs` (`list[obj]`): Set the `logs` field on the resulting object. When `null`, the `logs` 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_web_app_slot.logs.new](#fn-logsnew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting object. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.linux_web_app_slot.site_config.new](#fn-site_confignew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting object. When `null`, the `storage_account` 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_web_app_slot.storage_account.new](#fn-storage_accountnew) 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_web_app_slot.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_web_app_slot` resource into the root Terraform configuration.\n', args=[]), newAttrs( app_service_id, name, @@ -517,6 +521,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); client_certificate_mode=null, connection_string=null, enabled=null, + ftp_publish_basic_authentication_enabled=null, https_only=null, identity=null, key_vault_reference_identity_id=null, @@ -528,6 +533,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=null, timeouts=null, virtual_network_subnet_id=null, + webdeploy_publish_basic_authentication_enabled=null, zip_deploy_file=null ):: std.prune(a={ app_service_id: app_service_id, @@ -541,6 +547,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); client_certificate_mode: client_certificate_mode, connection_string: connection_string, enabled: enabled, + ftp_publish_basic_authentication_enabled: ftp_publish_basic_authentication_enabled, https_only: https_only, identity: identity, key_vault_reference_identity_id: key_vault_reference_identity_id, @@ -553,6 +560,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags: tags, timeouts: timeouts, virtual_network_subnet_id: virtual_network_subnet_id, + webdeploy_publish_basic_authentication_enabled: webdeploy_publish_basic_authentication_enabled, zip_deploy_file: zip_deploy_file, }), site_config:: { @@ -963,6 +971,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withFtpPublishBasicAuthenticationEnabled':: d.fn(help='`azurerm.bool.withFtpPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the ftp_publish_basic_authentication_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 `ftp_publish_basic_authentication_enabled` field.\n', args=[]), + withFtpPublishBasicAuthenticationEnabled(resourceLabel, value): { + resource+: { + azurerm_linux_web_app_slot+: { + [resourceLabel]+: { + ftp_publish_basic_authentication_enabled: value, + }, + }, + }, + }, '#withHttpsOnly':: d.fn(help='`azurerm.bool.withHttpsOnly` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the https_only 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 `https_only` field.\n', args=[]), withHttpsOnly(resourceLabel, value): { resource+: { @@ -1133,6 +1151,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withWebdeployPublishBasicAuthenticationEnabled':: d.fn(help='`azurerm.bool.withWebdeployPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the webdeploy_publish_basic_authentication_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 `webdeploy_publish_basic_authentication_enabled` field.\n', args=[]), + withWebdeployPublishBasicAuthenticationEnabled(resourceLabel, value): { + resource+: { + azurerm_linux_web_app_slot+: { + [resourceLabel]+: { + webdeploy_publish_basic_authentication_enabled: value, + }, + }, + }, + }, '#withZipDeployFile':: d.fn(help='`azurerm.string.withZipDeployFile` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the zip_deploy_file 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 `zip_deploy_file` field.\n', args=[]), withZipDeployFile(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/log_analytics_saved_search.libsonnet b/3.x/_gen/resources/log_analytics_saved_search.libsonnet index a2b401be..c7dd5981 100644 --- a/3.x/_gen/resources/log_analytics_saved_search.libsonnet +++ b/3.x/_gen/resources/log_analytics_saved_search.libsonnet @@ -54,17 +54,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.log_analytics_saved_search.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':: d.fn(help='\n`azurerm.log_analytics_saved_search.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withCategory':: d.fn(help='`azurerm.string.withCategory` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the category 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 `category` field.\n', args=[]), diff --git a/3.x/_gen/resources/log_analytics_workspace.libsonnet b/3.x/_gen/resources/log_analytics_workspace.libsonnet index 8babec88..19199b41 100644 --- a/3.x/_gen/resources/log_analytics_workspace.libsonnet +++ b/3.x/_gen/resources/log_analytics_workspace.libsonnet @@ -2,7 +2,17 @@ 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='log_analytics_workspace', url='', help='`log_analytics_workspace` represents the `azurerm_log_analytics_workspace` 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.log_analytics_workspace.new` injects a new `azurerm_log_analytics_workspace` 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.log_analytics_workspace.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.log_analytics_workspace` using the reference:\n\n $._ref.azurerm_log_analytics_workspace.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_log_analytics_workspace.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 - `allow_resource_only_permissions` (`bool`): Set the `allow_resource_only_permissions` field on the resulting resource block. When `null`, the `allow_resource_only_permissions` field will be omitted from the resulting object.\n - `cmk_for_query_forced` (`bool`): Set the `cmk_for_query_forced` field on the resulting resource block. When `null`, the `cmk_for_query_forced` field will be omitted from the resulting object.\n - `daily_quota_gb` (`number`): Set the `daily_quota_gb` field on the resulting resource block. When `null`, the `daily_quota_gb` field will be omitted from the resulting object.\n - `data_collection_rule_id` (`string`): Set the `data_collection_rule_id` field on the resulting resource block. When `null`, the `data_collection_rule_id` field will be omitted from the resulting object.\n - `internet_ingestion_enabled` (`bool`): Set the `internet_ingestion_enabled` field on the resulting resource block. When `null`, the `internet_ingestion_enabled` field will be omitted from the resulting object.\n - `internet_query_enabled` (`bool`): Set the `internet_query_enabled` field on the resulting resource block. When `null`, the `internet_query_enabled` field will be omitted from the resulting object.\n - `local_authentication_disabled` (`bool`): Set the `local_authentication_disabled` field on the resulting resource block. When `null`, the `local_authentication_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 - `reservation_capacity_in_gb_per_day` (`number`): Set the `reservation_capacity_in_gb_per_day` field on the resulting resource block. When `null`, the `reservation_capacity_in_gb_per_day` 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 - `retention_in_days` (`number`): Set the `retention_in_days` field on the resulting resource block. When `null`, the `retention_in_days` field will be omitted from the resulting object.\n - `sku` (`string`): Set the `sku` field on the resulting resource block. When `null`, the `sku` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `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.log_analytics_workspace.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + identity:: { + '#new':: d.fn(help='\n`azurerm.log_analytics_workspace.identity.new` constructs a new object with attributes and blocks configured for the `identity`\nTerraform sub block.\n\n\n\n**Args**:\n - `identity_ids` (`list`): Set the `identity_ids` field on the resulting object. When `null`, the `identity_ids` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `identity` sub block.\n', args=[]), + new( + type, + identity_ids=null + ):: std.prune(a={ + identity_ids: identity_ids, + type: type, + }), + }, + '#new':: d.fn(help="\n`azurerm.log_analytics_workspace.new` injects a new `azurerm_log_analytics_workspace` 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.log_analytics_workspace.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.log_analytics_workspace` using the reference:\n\n $._ref.azurerm_log_analytics_workspace.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_log_analytics_workspace.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 - `allow_resource_only_permissions` (`bool`): Set the `allow_resource_only_permissions` field on the resulting resource block. When `null`, the `allow_resource_only_permissions` field will be omitted from the resulting object.\n - `cmk_for_query_forced` (`bool`): Set the `cmk_for_query_forced` field on the resulting resource block. When `null`, the `cmk_for_query_forced` field will be omitted from the resulting object.\n - `daily_quota_gb` (`number`): Set the `daily_quota_gb` field on the resulting resource block. When `null`, the `daily_quota_gb` field will be omitted from the resulting object.\n - `data_collection_rule_id` (`string`): Set the `data_collection_rule_id` field on the resulting resource block. When `null`, the `data_collection_rule_id` field will be omitted from the resulting object.\n - `immediate_data_purge_on_30_days_enabled` (`bool`): Set the `immediate_data_purge_on_30_days_enabled` field on the resulting resource block. When `null`, the `immediate_data_purge_on_30_days_enabled` field will be omitted from the resulting object.\n - `internet_ingestion_enabled` (`bool`): Set the `internet_ingestion_enabled` field on the resulting resource block. When `null`, the `internet_ingestion_enabled` field will be omitted from the resulting object.\n - `internet_query_enabled` (`bool`): Set the `internet_query_enabled` field on the resulting resource block. When `null`, the `internet_query_enabled` field will be omitted from the resulting object.\n - `local_authentication_disabled` (`bool`): Set the `local_authentication_disabled` field on the resulting resource block. When `null`, the `local_authentication_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 - `reservation_capacity_in_gb_per_day` (`number`): Set the `reservation_capacity_in_gb_per_day` field on the resulting resource block. When `null`, the `reservation_capacity_in_gb_per_day` 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 - `retention_in_days` (`number`): Set the `retention_in_days` field on the resulting resource block. When `null`, the `retention_in_days` field will be omitted from the resulting object.\n - `sku` (`string`): Set the `sku` field on the resulting resource block. When `null`, the `sku` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `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.log_analytics_workspace.identity.new](#fn-identitynew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.log_analytics_workspace.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, @@ -12,6 +22,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); cmk_for_query_forced=null, daily_quota_gb=null, data_collection_rule_id=null, + identity=null, + immediate_data_purge_on_30_days_enabled=null, internet_ingestion_enabled=null, internet_query_enabled=null, local_authentication_disabled=null, @@ -29,6 +41,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); cmk_for_query_forced=cmk_for_query_forced, daily_quota_gb=daily_quota_gb, data_collection_rule_id=data_collection_rule_id, + identity=identity, + immediate_data_purge_on_30_days_enabled=immediate_data_purge_on_30_days_enabled, internet_ingestion_enabled=internet_ingestion_enabled, internet_query_enabled=internet_query_enabled, local_authentication_disabled=local_authentication_disabled, @@ -43,7 +57,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.log_analytics_workspace.newAttrs` constructs a new object with attributes and blocks configured for the `log_analytics_workspace`\nTerraform resource.\n\nUnlike [azurerm.log_analytics_workspace.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 - `allow_resource_only_permissions` (`bool`): Set the `allow_resource_only_permissions` field on the resulting object. When `null`, the `allow_resource_only_permissions` field will be omitted from the resulting object.\n - `cmk_for_query_forced` (`bool`): Set the `cmk_for_query_forced` field on the resulting object. When `null`, the `cmk_for_query_forced` field will be omitted from the resulting object.\n - `daily_quota_gb` (`number`): Set the `daily_quota_gb` field on the resulting object. When `null`, the `daily_quota_gb` field will be omitted from the resulting object.\n - `data_collection_rule_id` (`string`): Set the `data_collection_rule_id` field on the resulting object. When `null`, the `data_collection_rule_id` field will be omitted from the resulting object.\n - `internet_ingestion_enabled` (`bool`): Set the `internet_ingestion_enabled` field on the resulting object. When `null`, the `internet_ingestion_enabled` field will be omitted from the resulting object.\n - `internet_query_enabled` (`bool`): Set the `internet_query_enabled` field on the resulting object. When `null`, the `internet_query_enabled` field will be omitted from the resulting object.\n - `local_authentication_disabled` (`bool`): Set the `local_authentication_disabled` field on the resulting object. When `null`, the `local_authentication_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 - `reservation_capacity_in_gb_per_day` (`number`): Set the `reservation_capacity_in_gb_per_day` field on the resulting object. When `null`, the `reservation_capacity_in_gb_per_day` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `retention_in_days` (`number`): Set the `retention_in_days` field on the resulting object. When `null`, the `retention_in_days` field will be omitted from the resulting object.\n - `sku` (`string`): Set the `sku` field on the resulting object. When `null`, the `sku` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n - `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.log_analytics_workspace.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 `log_analytics_workspace` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.log_analytics_workspace.newAttrs` constructs a new object with attributes and blocks configured for the `log_analytics_workspace`\nTerraform resource.\n\nUnlike [azurerm.log_analytics_workspace.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 - `allow_resource_only_permissions` (`bool`): Set the `allow_resource_only_permissions` field on the resulting object. When `null`, the `allow_resource_only_permissions` field will be omitted from the resulting object.\n - `cmk_for_query_forced` (`bool`): Set the `cmk_for_query_forced` field on the resulting object. When `null`, the `cmk_for_query_forced` field will be omitted from the resulting object.\n - `daily_quota_gb` (`number`): Set the `daily_quota_gb` field on the resulting object. When `null`, the `daily_quota_gb` field will be omitted from the resulting object.\n - `data_collection_rule_id` (`string`): Set the `data_collection_rule_id` field on the resulting object. When `null`, the `data_collection_rule_id` field will be omitted from the resulting object.\n - `immediate_data_purge_on_30_days_enabled` (`bool`): Set the `immediate_data_purge_on_30_days_enabled` field on the resulting object. When `null`, the `immediate_data_purge_on_30_days_enabled` field will be omitted from the resulting object.\n - `internet_ingestion_enabled` (`bool`): Set the `internet_ingestion_enabled` field on the resulting object. When `null`, the `internet_ingestion_enabled` field will be omitted from the resulting object.\n - `internet_query_enabled` (`bool`): Set the `internet_query_enabled` field on the resulting object. When `null`, the `internet_query_enabled` field will be omitted from the resulting object.\n - `local_authentication_disabled` (`bool`): Set the `local_authentication_disabled` field on the resulting object. When `null`, the `local_authentication_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 - `reservation_capacity_in_gb_per_day` (`number`): Set the `reservation_capacity_in_gb_per_day` field on the resulting object. When `null`, the `reservation_capacity_in_gb_per_day` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `retention_in_days` (`number`): Set the `retention_in_days` field on the resulting object. When `null`, the `retention_in_days` field will be omitted from the resulting object.\n - `sku` (`string`): Set the `sku` field on the resulting object. When `null`, the `sku` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n - `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.log_analytics_workspace.identity.new](#fn-identitynew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.log_analytics_workspace.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 `log_analytics_workspace` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, @@ -52,6 +66,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); cmk_for_query_forced=null, daily_quota_gb=null, data_collection_rule_id=null, + identity=null, + immediate_data_purge_on_30_days_enabled=null, internet_ingestion_enabled=null, internet_query_enabled=null, local_authentication_disabled=null, @@ -65,6 +81,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); cmk_for_query_forced: cmk_for_query_forced, daily_quota_gb: daily_quota_gb, data_collection_rule_id: data_collection_rule_id, + identity: identity, + immediate_data_purge_on_30_days_enabled: immediate_data_purge_on_30_days_enabled, internet_ingestion_enabled: internet_ingestion_enabled, internet_query_enabled: internet_query_enabled, local_authentication_disabled: local_authentication_disabled, @@ -131,6 +149,36 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withIdentity':: d.fn(help='`azurerm.list[obj].withIdentity` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the identity field.\n\nThis function will replace the array with the passed in `value`. If you wish to instead append the\npassed in value to the existing array, use the [azurerm.list[obj].withIdentityMixin](TODO) function.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `identity` field.\n', args=[]), + withIdentity(resourceLabel, value): { + resource+: { + azurerm_log_analytics_workspace+: { + [resourceLabel]+: { + identity: value, + }, + }, + }, + }, + '#withIdentityMixin':: d.fn(help='`azurerm.list[obj].withIdentityMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the identity field.\n\nThis function will 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].withIdentity](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 `identity` field.\n', args=[]), + withIdentityMixin(resourceLabel, value): { + resource+: { + azurerm_log_analytics_workspace+: { + [resourceLabel]+: { + identity+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withImmediateDataPurgeOn30DaysEnabled':: d.fn(help='`azurerm.bool.withImmediateDataPurgeOn30DaysEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the immediate_data_purge_on_30_days_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 `immediate_data_purge_on_30_days_enabled` field.\n', args=[]), + withImmediateDataPurgeOn30DaysEnabled(resourceLabel, value): { + resource+: { + azurerm_log_analytics_workspace+: { + [resourceLabel]+: { + immediate_data_purge_on_30_days_enabled: value, + }, + }, + }, + }, '#withInternetIngestionEnabled':: d.fn(help='`azurerm.bool.withInternetIngestionEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the internet_ingestion_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 `internet_ingestion_enabled` field.\n', args=[]), withInternetIngestionEnabled(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/log_analytics_workspace_table.libsonnet b/3.x/_gen/resources/log_analytics_workspace_table.libsonnet new file mode 100644 index 00000000..8469dc0e --- /dev/null +++ b/3.x/_gen/resources/log_analytics_workspace_table.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='log_analytics_workspace_table', url='', help='`log_analytics_workspace_table` represents the `azurerm_log_analytics_workspace_table` 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.log_analytics_workspace_table.new` injects a new `azurerm_log_analytics_workspace_table` 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.log_analytics_workspace_table.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.log_analytics_workspace_table` using the reference:\n\n $._ref.azurerm_log_analytics_workspace_table.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_log_analytics_workspace_table.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `plan` (`string`): Set the `plan` field on the resulting resource block. When `null`, the `plan` field will be omitted from the resulting object.\n - `retention_in_days` (`number`): Set the `retention_in_days` field on the resulting resource block. When `null`, the `retention_in_days` field will be omitted from the resulting object.\n - `workspace_id` (`string`): Set the `workspace_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.log_analytics_workspace_table.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + new( + resourceLabel, + name, + workspace_id, + plan=null, + retention_in_days=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_log_analytics_workspace_table', + label=resourceLabel, + attrs=self.newAttrs( + name=name, + plan=plan, + retention_in_days=retention_in_days, + timeouts=timeouts, + workspace_id=workspace_id + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.log_analytics_workspace_table.newAttrs` constructs a new object with attributes and blocks configured for the `log_analytics_workspace_table`\nTerraform resource.\n\nUnlike [azurerm.log_analytics_workspace_table.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `name` (`string`): Set the `name` field on the resulting object.\n - `plan` (`string`): Set the `plan` field on the resulting object. When `null`, the `plan` field will be omitted from the resulting object.\n - `retention_in_days` (`number`): Set the `retention_in_days` field on the resulting object. When `null`, the `retention_in_days` field will be omitted from the resulting object.\n - `workspace_id` (`string`): Set the `workspace_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.log_analytics_workspace_table.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 `log_analytics_workspace_table` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + name, + workspace_id, + plan=null, + retention_in_days=null, + timeouts=null + ):: std.prune(a={ + name: name, + plan: plan, + retention_in_days: retention_in_days, + timeouts: timeouts, + workspace_id: workspace_id, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.log_analytics_workspace_table.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, + }), + }, + '#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_log_analytics_workspace_table+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withPlan':: d.fn(help='`azurerm.string.withPlan` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the plan 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 `plan` field.\n', args=[]), + withPlan(resourceLabel, value): { + resource+: { + azurerm_log_analytics_workspace_table+: { + [resourceLabel]+: { + plan: value, + }, + }, + }, + }, + '#withRetentionInDays':: d.fn(help='`azurerm.number.withRetentionInDays` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the retention_in_days 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 `retention_in_days` field.\n', args=[]), + withRetentionInDays(resourceLabel, value): { + resource+: { + azurerm_log_analytics_workspace_table+: { + [resourceLabel]+: { + retention_in_days: 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_log_analytics_workspace_table+: { + [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_log_analytics_workspace_table+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, + '#withWorkspaceId':: d.fn(help='`azurerm.string.withWorkspaceId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the workspace_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 `workspace_id` field.\n', args=[]), + withWorkspaceId(resourceLabel, value): { + resource+: { + azurerm_log_analytics_workspace_table+: { + [resourceLabel]+: { + workspace_id: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/logic_app_standard.libsonnet b/3.x/_gen/resources/logic_app_standard.libsonnet index ecb40ff2..a4674285 100644 --- a/3.x/_gen/resources/logic_app_standard.libsonnet +++ b/3.x/_gen/resources/logic_app_standard.libsonnet @@ -134,7 +134,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); support_credentials: support_credentials, }), }, - '#new':: d.fn(help='\n`azurerm.logic_app_standard.site_config.new` constructs a new object with attributes and blocks configured for the `site_config`\nTerraform sub block.\n\n\n\n**Args**:\n - `always_on` (`bool`): Set the `always_on` field on the resulting object. When `null`, the `always_on` field will be omitted from the resulting object.\n - `app_scale_limit` (`number`): Set the `app_scale_limit` field on the resulting object. When `null`, the `app_scale_limit` field will be omitted from the resulting object.\n - `dotnet_framework_version` (`string`): Set the `dotnet_framework_version` field on the resulting object. When `null`, the `dotnet_framework_version` field will be omitted from the resulting object.\n - `elastic_instance_minimum` (`number`): Set the `elastic_instance_minimum` field on the resulting object. When `null`, the `elastic_instance_minimum` field will be omitted from the resulting object.\n - `ftps_state` (`string`): Set the `ftps_state` field on the resulting object. When `null`, the `ftps_state` field will be omitted from the resulting object.\n - `health_check_path` (`string`): Set the `health_check_path` field on the resulting object. When `null`, the `health_check_path` field will be omitted from the resulting object.\n - `http2_enabled` (`bool`): Set the `http2_enabled` field on the resulting object. When `null`, the `http2_enabled` field will be omitted from the resulting object.\n - `ip_restriction` (`list`): Set the `ip_restriction` field on the resulting object. When `null`, the `ip_restriction` field will be omitted from the resulting object.\n - `linux_fx_version` (`string`): Set the `linux_fx_version` field on the resulting object. When `null`, the `linux_fx_version` field will be omitted from the resulting object.\n - `min_tls_version` (`string`): Set the `min_tls_version` field on the resulting object. When `null`, the `min_tls_version` field will be omitted from the resulting object.\n - `pre_warmed_instance_count` (`number`): Set the `pre_warmed_instance_count` field on the resulting object. When `null`, the `pre_warmed_instance_count` field will be omitted from the resulting object.\n - `runtime_scale_monitoring_enabled` (`bool`): Set the `runtime_scale_monitoring_enabled` field on the resulting object. When `null`, the `runtime_scale_monitoring_enabled` field will be omitted from the resulting object.\n - `scm_ip_restriction` (`list`): Set the `scm_ip_restriction` field on the resulting object. When `null`, the `scm_ip_restriction` field will be omitted from the resulting object.\n - `scm_min_tls_version` (`string`): Set the `scm_min_tls_version` field on the resulting object. When `null`, the `scm_min_tls_version` field will be omitted from the resulting object.\n - `scm_type` (`string`): Set the `scm_type` field on the resulting object. When `null`, the `scm_type` field will be omitted from the resulting object.\n - `scm_use_main_ip_restriction` (`bool`): Set the `scm_use_main_ip_restriction` field on the resulting object. When `null`, the `scm_use_main_ip_restriction` field will be omitted from the resulting object.\n - `use_32_bit_worker_process` (`bool`): Set the `use_32_bit_worker_process` field on the resulting object. When `null`, the `use_32_bit_worker_process` field will be omitted from the resulting object.\n - `vnet_route_all_enabled` (`bool`): Set the `vnet_route_all_enabled` field on the resulting object. When `null`, the `vnet_route_all_enabled` field will be omitted from the resulting object.\n - `websockets_enabled` (`bool`): Set the `websockets_enabled` field on the resulting object. When `null`, the `websockets_enabled` field will be omitted from the resulting object.\n - `cors` (`list[obj]`): Set the `cors` field on the resulting object. When `null`, the `cors` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.logic_app_standard.site_config.cors.new](#fn-site_configcorsnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `site_config` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.logic_app_standard.site_config.new` constructs a new object with attributes and blocks configured for the `site_config`\nTerraform sub block.\n\n\n\n**Args**:\n - `always_on` (`bool`): Set the `always_on` field on the resulting object. When `null`, the `always_on` field will be omitted from the resulting object.\n - `app_scale_limit` (`number`): Set the `app_scale_limit` field on the resulting object. When `null`, the `app_scale_limit` field will be omitted from the resulting object.\n - `dotnet_framework_version` (`string`): Set the `dotnet_framework_version` field on the resulting object. When `null`, the `dotnet_framework_version` field will be omitted from the resulting object.\n - `elastic_instance_minimum` (`number`): Set the `elastic_instance_minimum` field on the resulting object. When `null`, the `elastic_instance_minimum` field will be omitted from the resulting object.\n - `ftps_state` (`string`): Set the `ftps_state` field on the resulting object. When `null`, the `ftps_state` field will be omitted from the resulting object.\n - `health_check_path` (`string`): Set the `health_check_path` field on the resulting object. When `null`, the `health_check_path` field will be omitted from the resulting object.\n - `http2_enabled` (`bool`): Set the `http2_enabled` field on the resulting object. When `null`, the `http2_enabled` field will be omitted from the resulting object.\n - `ip_restriction` (`list`): Set the `ip_restriction` field on the resulting object. When `null`, the `ip_restriction` field will be omitted from the resulting object.\n - `linux_fx_version` (`string`): Set the `linux_fx_version` field on the resulting object. When `null`, the `linux_fx_version` field will be omitted from the resulting object.\n - `min_tls_version` (`string`): Set the `min_tls_version` field on the resulting object. When `null`, the `min_tls_version` field will be omitted from the resulting object.\n - `pre_warmed_instance_count` (`number`): Set the `pre_warmed_instance_count` field on the resulting object. When `null`, the `pre_warmed_instance_count` field will be omitted from the resulting object.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting object. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `runtime_scale_monitoring_enabled` (`bool`): Set the `runtime_scale_monitoring_enabled` field on the resulting object. When `null`, the `runtime_scale_monitoring_enabled` field will be omitted from the resulting object.\n - `scm_ip_restriction` (`list`): Set the `scm_ip_restriction` field on the resulting object. When `null`, the `scm_ip_restriction` field will be omitted from the resulting object.\n - `scm_min_tls_version` (`string`): Set the `scm_min_tls_version` field on the resulting object. When `null`, the `scm_min_tls_version` field will be omitted from the resulting object.\n - `scm_type` (`string`): Set the `scm_type` field on the resulting object. When `null`, the `scm_type` field will be omitted from the resulting object.\n - `scm_use_main_ip_restriction` (`bool`): Set the `scm_use_main_ip_restriction` field on the resulting object. When `null`, the `scm_use_main_ip_restriction` field will be omitted from the resulting object.\n - `use_32_bit_worker_process` (`bool`): Set the `use_32_bit_worker_process` field on the resulting object. When `null`, the `use_32_bit_worker_process` field will be omitted from the resulting object.\n - `vnet_route_all_enabled` (`bool`): Set the `vnet_route_all_enabled` field on the resulting object. When `null`, the `vnet_route_all_enabled` field will be omitted from the resulting object.\n - `websockets_enabled` (`bool`): Set the `websockets_enabled` field on the resulting object. When `null`, the `websockets_enabled` field will be omitted from the resulting object.\n - `cors` (`list[obj]`): Set the `cors` field on the resulting object. When `null`, the `cors` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.logic_app_standard.site_config.cors.new](#fn-site_configcorsnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `site_config` sub block.\n', args=[]), new( always_on=null, app_scale_limit=null, @@ -148,6 +148,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); linux_fx_version=null, min_tls_version=null, pre_warmed_instance_count=null, + public_network_access_enabled=null, runtime_scale_monitoring_enabled=null, scm_ip_restriction=null, scm_min_tls_version=null, @@ -169,6 +170,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); linux_fx_version: linux_fx_version, min_tls_version: min_tls_version, pre_warmed_instance_count: pre_warmed_instance_count, + public_network_access_enabled: public_network_access_enabled, runtime_scale_monitoring_enabled: runtime_scale_monitoring_enabled, scm_ip_restriction: scm_ip_restriction, scm_min_tls_version: scm_min_tls_version, diff --git a/3.x/_gen/resources/machine_learning_inference_cluster.libsonnet b/3.x/_gen/resources/machine_learning_inference_cluster.libsonnet index 19ce7423..cf76dea3 100644 --- a/3.x/_gen/resources/machine_learning_inference_cluster.libsonnet +++ b/3.x/_gen/resources/machine_learning_inference_cluster.libsonnet @@ -84,17 +84,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, timeouts:: { - '#new':: d.fn(help='\n`azurerm.machine_learning_inference_cluster.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':: d.fn(help='\n`azurerm.machine_learning_inference_cluster.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withClusterPurpose':: d.fn(help='`azurerm.string.withClusterPurpose` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the cluster_purpose 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 `cluster_purpose` field.\n', args=[]), diff --git a/3.x/_gen/resources/mariadb_configuration.libsonnet b/3.x/_gen/resources/mariadb_configuration.libsonnet index 5208d913..79c51640 100644 --- a/3.x/_gen/resources/mariadb_configuration.libsonnet +++ b/3.x/_gen/resources/mariadb_configuration.libsonnet @@ -38,17 +38,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); value: value, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.mariadb_configuration.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':: d.fn(help='\n`azurerm.mariadb_configuration.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#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=[]), diff --git a/3.x/_gen/resources/mariadb_database.libsonnet b/3.x/_gen/resources/mariadb_database.libsonnet index a4b22daa..341511ee 100644 --- a/3.x/_gen/resources/mariadb_database.libsonnet +++ b/3.x/_gen/resources/mariadb_database.libsonnet @@ -42,17 +42,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.mariadb_database.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':: d.fn(help='\n`azurerm.mariadb_database.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withCharset':: d.fn(help='`azurerm.string.withCharset` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the charset 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 `charset` field.\n', args=[]), diff --git a/3.x/_gen/resources/marketplace_agreement.libsonnet b/3.x/_gen/resources/marketplace_agreement.libsonnet index 46b14712..06623801 100644 --- a/3.x/_gen/resources/marketplace_agreement.libsonnet +++ b/3.x/_gen/resources/marketplace_agreement.libsonnet @@ -34,17 +34,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.marketplace_agreement.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':: d.fn(help='\n`azurerm.marketplace_agreement.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withOffer':: d.fn(help='`azurerm.string.withOffer` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the offer 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 `offer` field.\n', args=[]), diff --git a/3.x/_gen/resources/media_live_event_output.libsonnet b/3.x/_gen/resources/media_live_event_output.libsonnet index e8b1df54..ecf1862e 100644 --- a/3.x/_gen/resources/media_live_event_output.libsonnet +++ b/3.x/_gen/resources/media_live_event_output.libsonnet @@ -58,17 +58,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.media_live_event_output.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':: d.fn(help='\n`azurerm.media_live_event_output.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withArchiveWindowDuration':: d.fn(help='`azurerm.string.withArchiveWindowDuration` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the archive_window_duration 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 `archive_window_duration` field.\n', args=[]), diff --git a/3.x/_gen/resources/monitor_private_link_scoped_service.libsonnet b/3.x/_gen/resources/monitor_private_link_scoped_service.libsonnet index 9cb662f8..e028bfac 100644 --- a/3.x/_gen/resources/monitor_private_link_scoped_service.libsonnet +++ b/3.x/_gen/resources/monitor_private_link_scoped_service.libsonnet @@ -38,17 +38,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.monitor_private_link_scoped_service.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':: d.fn(help='\n`azurerm.monitor_private_link_scoped_service.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withLinkedResourceId':: d.fn(help='`azurerm.string.withLinkedResourceId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the linked_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 `linked_resource_id` field.\n', args=[]), diff --git a/3.x/_gen/resources/mssql_database.libsonnet b/3.x/_gen/resources/mssql_database.libsonnet index c8077739..2412ef63 100644 --- a/3.x/_gen/resources/mssql_database.libsonnet +++ b/3.x/_gen/resources/mssql_database.libsonnet @@ -2,6 +2,16 @@ 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='mssql_database', url='', help='`mssql_database` represents the `azurerm_mssql_database` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + identity:: { + '#new':: d.fn(help='\n`azurerm.mssql_database.identity.new` constructs a new object with attributes and blocks configured for the `identity`\nTerraform sub block.\n\n\n\n**Args**:\n - `identity_ids` (`list`): Set the `identity_ids` field on the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `identity` sub block.\n', args=[]), + new( + identity_ids, + type + ):: std.prune(a={ + identity_ids: identity_ids, + type: type, + }), + }, 'import':: { '#new':: d.fn(help='\n`azurerm.mssql_database.import.new` constructs a new object with attributes and blocks configured for the `import`\nTerraform sub block.\n\n\n\n**Args**:\n - `administrator_login` (`string`): Set the `administrator_login` field on the resulting object.\n - `administrator_login_password` (`string`): Set the `administrator_login_password` field on the resulting object.\n - `authentication_type` (`string`): Set the `authentication_type` field on the resulting object.\n - `storage_account_id` (`string`): Set the `storage_account_id` field on the resulting object. When `null`, the `storage_account_id` field will be omitted from the resulting object.\n - `storage_key` (`string`): Set the `storage_key` field on the resulting object.\n - `storage_key_type` (`string`): Set the `storage_key_type` field on the resulting object.\n - `storage_uri` (`string`): Set the `storage_uri` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `import` sub block.\n', args=[]), new( @@ -23,20 +33,22 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, long_term_retention_policy:: { - '#new':: d.fn(help='\n`azurerm.mssql_database.long_term_retention_policy.new` constructs a new object with attributes and blocks configured for the `long_term_retention_policy`\nTerraform sub block.\n\n\n\n**Args**:\n - `monthly_retention` (`string`): Set the `monthly_retention` field on the resulting object. When `null`, the `monthly_retention` field will be omitted from the resulting object.\n - `week_of_year` (`number`): Set the `week_of_year` field on the resulting object. When `null`, the `week_of_year` field will be omitted from the resulting object.\n - `weekly_retention` (`string`): Set the `weekly_retention` field on the resulting object. When `null`, the `weekly_retention` field will be omitted from the resulting object.\n - `yearly_retention` (`string`): Set the `yearly_retention` field on the resulting object. When `null`, the `yearly_retention` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `long_term_retention_policy` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.mssql_database.long_term_retention_policy.new` constructs a new object with attributes and blocks configured for the `long_term_retention_policy`\nTerraform sub block.\n\n\n\n**Args**:\n - `immutable_backups_enabled` (`bool`): Set the `immutable_backups_enabled` field on the resulting object. When `null`, the `immutable_backups_enabled` field will be omitted from the resulting object.\n - `monthly_retention` (`string`): Set the `monthly_retention` field on the resulting object. When `null`, the `monthly_retention` field will be omitted from the resulting object.\n - `week_of_year` (`number`): Set the `week_of_year` field on the resulting object. When `null`, the `week_of_year` field will be omitted from the resulting object.\n - `weekly_retention` (`string`): Set the `weekly_retention` field on the resulting object. When `null`, the `weekly_retention` field will be omitted from the resulting object.\n - `yearly_retention` (`string`): Set the `yearly_retention` field on the resulting object. When `null`, the `yearly_retention` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `long_term_retention_policy` sub block.\n', args=[]), new( + immutable_backups_enabled=null, monthly_retention=null, week_of_year=null, weekly_retention=null, yearly_retention=null ):: std.prune(a={ + immutable_backups_enabled: immutable_backups_enabled, monthly_retention: monthly_retention, week_of_year: week_of_year, weekly_retention: weekly_retention, yearly_retention: yearly_retention, }), }, - '#new':: d.fn(help="\n`azurerm.mssql_database.new` injects a new `azurerm_mssql_database` 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.mssql_database.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.mssql_database` using the reference:\n\n $._ref.azurerm_mssql_database.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_mssql_database.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 - `auto_pause_delay_in_minutes` (`number`): Set the `auto_pause_delay_in_minutes` field on the resulting resource block. When `null`, the `auto_pause_delay_in_minutes` field will be omitted from the resulting object.\n - `collation` (`string`): Set the `collation` field on the resulting resource block. When `null`, the `collation` field will be omitted from the resulting object.\n - `create_mode` (`string`): Set the `create_mode` field on the resulting resource block. When `null`, the `create_mode` field will be omitted from the resulting object.\n - `creation_source_database_id` (`string`): Set the `creation_source_database_id` field on the resulting resource block. When `null`, the `creation_source_database_id` field will be omitted from the resulting object.\n - `elastic_pool_id` (`string`): Set the `elastic_pool_id` field on the resulting resource block. When `null`, the `elastic_pool_id` field will be omitted from the resulting object.\n - `geo_backup_enabled` (`bool`): Set the `geo_backup_enabled` field on the resulting resource block. When `null`, the `geo_backup_enabled` field will be omitted from the resulting object.\n - `ledger_enabled` (`bool`): Set the `ledger_enabled` field on the resulting resource block. When `null`, the `ledger_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 - `maintenance_configuration_name` (`string`): Set the `maintenance_configuration_name` field on the resulting resource block. When `null`, the `maintenance_configuration_name` field will be omitted from the resulting object.\n - `max_size_gb` (`number`): Set the `max_size_gb` field on the resulting resource block. When `null`, the `max_size_gb` field will be omitted from the resulting object.\n - `min_capacity` (`number`): Set the `min_capacity` field on the resulting resource block. When `null`, the `min_capacity` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `read_replica_count` (`number`): Set the `read_replica_count` field on the resulting resource block. When `null`, the `read_replica_count` field will be omitted from the resulting object.\n - `read_scale` (`bool`): Set the `read_scale` field on the resulting resource block. When `null`, the `read_scale` field will be omitted from the resulting object.\n - `recover_database_id` (`string`): Set the `recover_database_id` field on the resulting resource block. When `null`, the `recover_database_id` field will be omitted from the resulting object.\n - `restore_dropped_database_id` (`string`): Set the `restore_dropped_database_id` field on the resulting resource block. When `null`, the `restore_dropped_database_id` field will be omitted from the resulting object.\n - `restore_point_in_time` (`string`): Set the `restore_point_in_time` field on the resulting resource block. When `null`, the `restore_point_in_time` field will be omitted from the resulting object.\n - `sample_name` (`string`): Set the `sample_name` field on the resulting resource block. When `null`, the `sample_name` field will be omitted from the resulting object.\n - `server_id` (`string`): Set the `server_id` field on the resulting resource block.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting resource block. When `null`, the `sku_name` field will be omitted from the resulting object.\n - `storage_account_type` (`string`): Set the `storage_account_type` field on the resulting resource block. When `null`, the `storage_account_type` 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 - `transparent_data_encryption_enabled` (`bool`): Set the `transparent_data_encryption_enabled` field on the resulting resource block. When `null`, the `transparent_data_encryption_enabled` field will be omitted from the resulting object.\n - `zone_redundant` (`bool`): Set the `zone_redundant` field on the resulting resource block. When `null`, the `zone_redundant` field will be omitted from the resulting object.\n - `import_` (`list[obj]`): Set the `import_` field on the resulting resource block. When `null`, the `import_` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.import_.new](#fn-import_new) constructor.\n - `long_term_retention_policy` (`list[obj]`): Set the `long_term_retention_policy` field on the resulting resource block. When `null`, the `long_term_retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.long_term_retention_policy.new](#fn-long_term_retention_policynew) constructor.\n - `short_term_retention_policy` (`list[obj]`): Set the `short_term_retention_policy` field on the resulting resource block. When `null`, the `short_term_retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.short_term_retention_policy.new](#fn-short_term_retention_policynew) constructor.\n - `threat_detection_policy` (`list[obj]`): Set the `threat_detection_policy` field on the resulting resource block. When `null`, the `threat_detection_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.threat_detection_policy.new](#fn-threat_detection_policynew) 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.mssql_database.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.mssql_database.new` injects a new `azurerm_mssql_database` 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.mssql_database.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.mssql_database` using the reference:\n\n $._ref.azurerm_mssql_database.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_mssql_database.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 - `auto_pause_delay_in_minutes` (`number`): Set the `auto_pause_delay_in_minutes` field on the resulting resource block. When `null`, the `auto_pause_delay_in_minutes` field will be omitted from the resulting object.\n - `collation` (`string`): Set the `collation` field on the resulting resource block. When `null`, the `collation` field will be omitted from the resulting object.\n - `create_mode` (`string`): Set the `create_mode` field on the resulting resource block. When `null`, the `create_mode` field will be omitted from the resulting object.\n - `creation_source_database_id` (`string`): Set the `creation_source_database_id` field on the resulting resource block. When `null`, the `creation_source_database_id` field will be omitted from the resulting object.\n - `elastic_pool_id` (`string`): Set the `elastic_pool_id` field on the resulting resource block. When `null`, the `elastic_pool_id` field will be omitted from the resulting object.\n - `enclave_type` (`string`): Set the `enclave_type` field on the resulting resource block. When `null`, the `enclave_type` field will be omitted from the resulting object.\n - `geo_backup_enabled` (`bool`): Set the `geo_backup_enabled` field on the resulting resource block. When `null`, the `geo_backup_enabled` field will be omitted from the resulting object.\n - `ledger_enabled` (`bool`): Set the `ledger_enabled` field on the resulting resource block. When `null`, the `ledger_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 - `maintenance_configuration_name` (`string`): Set the `maintenance_configuration_name` field on the resulting resource block. When `null`, the `maintenance_configuration_name` field will be omitted from the resulting object.\n - `max_size_gb` (`number`): Set the `max_size_gb` field on the resulting resource block. When `null`, the `max_size_gb` field will be omitted from the resulting object.\n - `min_capacity` (`number`): Set the `min_capacity` field on the resulting resource block. When `null`, the `min_capacity` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `read_replica_count` (`number`): Set the `read_replica_count` field on the resulting resource block. When `null`, the `read_replica_count` field will be omitted from the resulting object.\n - `read_scale` (`bool`): Set the `read_scale` field on the resulting resource block. When `null`, the `read_scale` field will be omitted from the resulting object.\n - `recover_database_id` (`string`): Set the `recover_database_id` field on the resulting resource block. When `null`, the `recover_database_id` field will be omitted from the resulting object.\n - `restore_dropped_database_id` (`string`): Set the `restore_dropped_database_id` field on the resulting resource block. When `null`, the `restore_dropped_database_id` field will be omitted from the resulting object.\n - `restore_point_in_time` (`string`): Set the `restore_point_in_time` field on the resulting resource block. When `null`, the `restore_point_in_time` field will be omitted from the resulting object.\n - `sample_name` (`string`): Set the `sample_name` field on the resulting resource block. When `null`, the `sample_name` field will be omitted from the resulting object.\n - `server_id` (`string`): Set the `server_id` field on the resulting resource block.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting resource block. When `null`, the `sku_name` field will be omitted from the resulting object.\n - `storage_account_type` (`string`): Set the `storage_account_type` field on the resulting resource block. When `null`, the `storage_account_type` 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 - `transparent_data_encryption_enabled` (`bool`): Set the `transparent_data_encryption_enabled` field on the resulting resource block. When `null`, the `transparent_data_encryption_enabled` field will be omitted from the resulting object.\n - `transparent_data_encryption_key_automatic_rotation_enabled` (`bool`): Set the `transparent_data_encryption_key_automatic_rotation_enabled` field on the resulting resource block. When `null`, the `transparent_data_encryption_key_automatic_rotation_enabled` field will be omitted from the resulting object.\n - `transparent_data_encryption_key_vault_key_id` (`string`): Set the `transparent_data_encryption_key_vault_key_id` field on the resulting resource block. When `null`, the `transparent_data_encryption_key_vault_key_id` field will be omitted from the resulting object.\n - `zone_redundant` (`bool`): Set the `zone_redundant` field on the resulting resource block. When `null`, the `zone_redundant` field will be omitted from the resulting object.\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.mssql_database.identity.new](#fn-identitynew) constructor.\n - `import_` (`list[obj]`): Set the `import_` field on the resulting resource block. When `null`, the `import_` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.import_.new](#fn-import_new) constructor.\n - `long_term_retention_policy` (`list[obj]`): Set the `long_term_retention_policy` field on the resulting resource block. When `null`, the `long_term_retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.long_term_retention_policy.new](#fn-long_term_retention_policynew) constructor.\n - `short_term_retention_policy` (`list[obj]`): Set the `short_term_retention_policy` field on the resulting resource block. When `null`, the `short_term_retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.short_term_retention_policy.new](#fn-short_term_retention_policynew) constructor.\n - `threat_detection_policy` (`list[obj]`): Set the `threat_detection_policy` field on the resulting resource block. When `null`, the `threat_detection_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.threat_detection_policy.new](#fn-threat_detection_policynew) 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.mssql_database.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, name, @@ -46,7 +58,9 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); create_mode=null, creation_source_database_id=null, elastic_pool_id=null, + enclave_type=null, geo_backup_enabled=null, + identity=null, import_=null, ledger_enabled=null, license_type=null, @@ -67,6 +81,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); threat_detection_policy=null, timeouts=null, transparent_data_encryption_enabled=null, + transparent_data_encryption_key_automatic_rotation_enabled=null, + transparent_data_encryption_key_vault_key_id=null, zone_redundant=null, _meta={} ):: tf.withResource( @@ -78,7 +94,9 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); create_mode=create_mode, creation_source_database_id=creation_source_database_id, elastic_pool_id=elastic_pool_id, + enclave_type=enclave_type, geo_backup_enabled=geo_backup_enabled, + identity=identity, import_=import_, ledger_enabled=ledger_enabled, license_type=license_type, @@ -101,11 +119,13 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); threat_detection_policy=threat_detection_policy, timeouts=timeouts, transparent_data_encryption_enabled=transparent_data_encryption_enabled, + transparent_data_encryption_key_automatic_rotation_enabled=transparent_data_encryption_key_automatic_rotation_enabled, + transparent_data_encryption_key_vault_key_id=transparent_data_encryption_key_vault_key_id, zone_redundant=zone_redundant ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.mssql_database.newAttrs` constructs a new object with attributes and blocks configured for the `mssql_database`\nTerraform resource.\n\nUnlike [azurerm.mssql_database.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 - `auto_pause_delay_in_minutes` (`number`): Set the `auto_pause_delay_in_minutes` field on the resulting object. When `null`, the `auto_pause_delay_in_minutes` field will be omitted from the resulting object.\n - `collation` (`string`): Set the `collation` field on the resulting object. When `null`, the `collation` field will be omitted from the resulting object.\n - `create_mode` (`string`): Set the `create_mode` field on the resulting object. When `null`, the `create_mode` field will be omitted from the resulting object.\n - `creation_source_database_id` (`string`): Set the `creation_source_database_id` field on the resulting object. When `null`, the `creation_source_database_id` field will be omitted from the resulting object.\n - `elastic_pool_id` (`string`): Set the `elastic_pool_id` field on the resulting object. When `null`, the `elastic_pool_id` field will be omitted from the resulting object.\n - `geo_backup_enabled` (`bool`): Set the `geo_backup_enabled` field on the resulting object. When `null`, the `geo_backup_enabled` field will be omitted from the resulting object.\n - `ledger_enabled` (`bool`): Set the `ledger_enabled` field on the resulting object. When `null`, the `ledger_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 - `maintenance_configuration_name` (`string`): Set the `maintenance_configuration_name` field on the resulting object. When `null`, the `maintenance_configuration_name` field will be omitted from the resulting object.\n - `max_size_gb` (`number`): Set the `max_size_gb` field on the resulting object. When `null`, the `max_size_gb` field will be omitted from the resulting object.\n - `min_capacity` (`number`): Set the `min_capacity` field on the resulting object. When `null`, the `min_capacity` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `read_replica_count` (`number`): Set the `read_replica_count` field on the resulting object. When `null`, the `read_replica_count` field will be omitted from the resulting object.\n - `read_scale` (`bool`): Set the `read_scale` field on the resulting object. When `null`, the `read_scale` field will be omitted from the resulting object.\n - `recover_database_id` (`string`): Set the `recover_database_id` field on the resulting object. When `null`, the `recover_database_id` field will be omitted from the resulting object.\n - `restore_dropped_database_id` (`string`): Set the `restore_dropped_database_id` field on the resulting object. When `null`, the `restore_dropped_database_id` field will be omitted from the resulting object.\n - `restore_point_in_time` (`string`): Set the `restore_point_in_time` field on the resulting object. When `null`, the `restore_point_in_time` field will be omitted from the resulting object.\n - `sample_name` (`string`): Set the `sample_name` field on the resulting object. When `null`, the `sample_name` field will be omitted from the resulting object.\n - `server_id` (`string`): Set the `server_id` field on the resulting object.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting object. When `null`, the `sku_name` field will be omitted from the resulting object.\n - `storage_account_type` (`string`): Set the `storage_account_type` field on the resulting object. When `null`, the `storage_account_type` 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 - `transparent_data_encryption_enabled` (`bool`): Set the `transparent_data_encryption_enabled` field on the resulting object. When `null`, the `transparent_data_encryption_enabled` field will be omitted from the resulting object.\n - `zone_redundant` (`bool`): Set the `zone_redundant` field on the resulting object. When `null`, the `zone_redundant` field will be omitted from the resulting object.\n - `import_` (`list[obj]`): Set the `import_` field on the resulting object. When `null`, the `import_` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.import_.new](#fn-import_new) constructor.\n - `long_term_retention_policy` (`list[obj]`): Set the `long_term_retention_policy` field on the resulting object. When `null`, the `long_term_retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.long_term_retention_policy.new](#fn-long_term_retention_policynew) constructor.\n - `short_term_retention_policy` (`list[obj]`): Set the `short_term_retention_policy` field on the resulting object. When `null`, the `short_term_retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.short_term_retention_policy.new](#fn-short_term_retention_policynew) constructor.\n - `threat_detection_policy` (`list[obj]`): Set the `threat_detection_policy` field on the resulting object. When `null`, the `threat_detection_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.threat_detection_policy.new](#fn-threat_detection_policynew) 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.mssql_database.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 `mssql_database` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.mssql_database.newAttrs` constructs a new object with attributes and blocks configured for the `mssql_database`\nTerraform resource.\n\nUnlike [azurerm.mssql_database.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 - `auto_pause_delay_in_minutes` (`number`): Set the `auto_pause_delay_in_minutes` field on the resulting object. When `null`, the `auto_pause_delay_in_minutes` field will be omitted from the resulting object.\n - `collation` (`string`): Set the `collation` field on the resulting object. When `null`, the `collation` field will be omitted from the resulting object.\n - `create_mode` (`string`): Set the `create_mode` field on the resulting object. When `null`, the `create_mode` field will be omitted from the resulting object.\n - `creation_source_database_id` (`string`): Set the `creation_source_database_id` field on the resulting object. When `null`, the `creation_source_database_id` field will be omitted from the resulting object.\n - `elastic_pool_id` (`string`): Set the `elastic_pool_id` field on the resulting object. When `null`, the `elastic_pool_id` field will be omitted from the resulting object.\n - `enclave_type` (`string`): Set the `enclave_type` field on the resulting object. When `null`, the `enclave_type` field will be omitted from the resulting object.\n - `geo_backup_enabled` (`bool`): Set the `geo_backup_enabled` field on the resulting object. When `null`, the `geo_backup_enabled` field will be omitted from the resulting object.\n - `ledger_enabled` (`bool`): Set the `ledger_enabled` field on the resulting object. When `null`, the `ledger_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 - `maintenance_configuration_name` (`string`): Set the `maintenance_configuration_name` field on the resulting object. When `null`, the `maintenance_configuration_name` field will be omitted from the resulting object.\n - `max_size_gb` (`number`): Set the `max_size_gb` field on the resulting object. When `null`, the `max_size_gb` field will be omitted from the resulting object.\n - `min_capacity` (`number`): Set the `min_capacity` field on the resulting object. When `null`, the `min_capacity` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `read_replica_count` (`number`): Set the `read_replica_count` field on the resulting object. When `null`, the `read_replica_count` field will be omitted from the resulting object.\n - `read_scale` (`bool`): Set the `read_scale` field on the resulting object. When `null`, the `read_scale` field will be omitted from the resulting object.\n - `recover_database_id` (`string`): Set the `recover_database_id` field on the resulting object. When `null`, the `recover_database_id` field will be omitted from the resulting object.\n - `restore_dropped_database_id` (`string`): Set the `restore_dropped_database_id` field on the resulting object. When `null`, the `restore_dropped_database_id` field will be omitted from the resulting object.\n - `restore_point_in_time` (`string`): Set the `restore_point_in_time` field on the resulting object. When `null`, the `restore_point_in_time` field will be omitted from the resulting object.\n - `sample_name` (`string`): Set the `sample_name` field on the resulting object. When `null`, the `sample_name` field will be omitted from the resulting object.\n - `server_id` (`string`): Set the `server_id` field on the resulting object.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting object. When `null`, the `sku_name` field will be omitted from the resulting object.\n - `storage_account_type` (`string`): Set the `storage_account_type` field on the resulting object. When `null`, the `storage_account_type` 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 - `transparent_data_encryption_enabled` (`bool`): Set the `transparent_data_encryption_enabled` field on the resulting object. When `null`, the `transparent_data_encryption_enabled` field will be omitted from the resulting object.\n - `transparent_data_encryption_key_automatic_rotation_enabled` (`bool`): Set the `transparent_data_encryption_key_automatic_rotation_enabled` field on the resulting object. When `null`, the `transparent_data_encryption_key_automatic_rotation_enabled` field will be omitted from the resulting object.\n - `transparent_data_encryption_key_vault_key_id` (`string`): Set the `transparent_data_encryption_key_vault_key_id` field on the resulting object. When `null`, the `transparent_data_encryption_key_vault_key_id` field will be omitted from the resulting object.\n - `zone_redundant` (`bool`): Set the `zone_redundant` field on the resulting object. When `null`, the `zone_redundant` field will be omitted from the resulting object.\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.mssql_database.identity.new](#fn-identitynew) constructor.\n - `import_` (`list[obj]`): Set the `import_` field on the resulting object. When `null`, the `import_` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.import_.new](#fn-import_new) constructor.\n - `long_term_retention_policy` (`list[obj]`): Set the `long_term_retention_policy` field on the resulting object. When `null`, the `long_term_retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.long_term_retention_policy.new](#fn-long_term_retention_policynew) constructor.\n - `short_term_retention_policy` (`list[obj]`): Set the `short_term_retention_policy` field on the resulting object. When `null`, the `short_term_retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.short_term_retention_policy.new](#fn-short_term_retention_policynew) constructor.\n - `threat_detection_policy` (`list[obj]`): Set the `threat_detection_policy` field on the resulting object. When `null`, the `threat_detection_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.threat_detection_policy.new](#fn-threat_detection_policynew) 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.mssql_database.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 `mssql_database` resource into the root Terraform configuration.\n', args=[]), newAttrs( name, server_id, @@ -114,7 +134,9 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); create_mode=null, creation_source_database_id=null, elastic_pool_id=null, + enclave_type=null, geo_backup_enabled=null, + identity=null, import_=null, ledger_enabled=null, license_type=null, @@ -135,6 +157,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); threat_detection_policy=null, timeouts=null, transparent_data_encryption_enabled=null, + transparent_data_encryption_key_automatic_rotation_enabled=null, + transparent_data_encryption_key_vault_key_id=null, zone_redundant=null ):: std.prune(a={ auto_pause_delay_in_minutes: auto_pause_delay_in_minutes, @@ -142,7 +166,9 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); create_mode: create_mode, creation_source_database_id: creation_source_database_id, elastic_pool_id: elastic_pool_id, + enclave_type: enclave_type, geo_backup_enabled: geo_backup_enabled, + identity: identity, 'import': import_, ledger_enabled: ledger_enabled, license_type: license_type, @@ -165,6 +191,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); threat_detection_policy: threat_detection_policy, timeouts: timeouts, transparent_data_encryption_enabled: transparent_data_encryption_enabled, + transparent_data_encryption_key_automatic_rotation_enabled: transparent_data_encryption_key_automatic_rotation_enabled, + transparent_data_encryption_key_vault_key_id: transparent_data_encryption_key_vault_key_id, zone_redundant: zone_redundant, }), short_term_retention_policy:: { @@ -261,6 +289,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withEnclaveType':: d.fn(help='`azurerm.string.withEnclaveType` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the enclave_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 `enclave_type` field.\n', args=[]), + withEnclaveType(resourceLabel, value): { + resource+: { + azurerm_mssql_database+: { + [resourceLabel]+: { + enclave_type: value, + }, + }, + }, + }, '#withGeoBackupEnabled':: d.fn(help='`azurerm.bool.withGeoBackupEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the geo_backup_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 `geo_backup_enabled` field.\n', args=[]), withGeoBackupEnabled(resourceLabel, value): { resource+: { @@ -271,6 +309,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withIdentity':: d.fn(help='`azurerm.list[obj].withIdentity` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the identity field.\n\nThis function will replace the array with the passed in `value`. If you wish to instead append the\npassed in value to the existing array, use the [azurerm.list[obj].withIdentityMixin](TODO) function.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `identity` field.\n', args=[]), + withIdentity(resourceLabel, value): { + resource+: { + azurerm_mssql_database+: { + [resourceLabel]+: { + identity: value, + }, + }, + }, + }, + '#withIdentityMixin':: d.fn(help='`azurerm.list[obj].withIdentityMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the identity field.\n\nThis function will 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].withIdentity](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 `identity` field.\n', args=[]), + withIdentityMixin(resourceLabel, value): { + resource+: { + azurerm_mssql_database+: { + [resourceLabel]+: { + identity+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, '#withImport':: d.fn(help='`azurerm.list[obj].withImport` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the import 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].withImportMixin](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 `import` field.\n', args=[]), withImport(resourceLabel, value): { resource+: { @@ -541,6 +599,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withTransparentDataEncryptionKeyAutomaticRotationEnabled':: d.fn(help='`azurerm.bool.withTransparentDataEncryptionKeyAutomaticRotationEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the transparent_data_encryption_key_automatic_rotation_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 `transparent_data_encryption_key_automatic_rotation_enabled` field.\n', args=[]), + withTransparentDataEncryptionKeyAutomaticRotationEnabled(resourceLabel, value): { + resource+: { + azurerm_mssql_database+: { + [resourceLabel]+: { + transparent_data_encryption_key_automatic_rotation_enabled: value, + }, + }, + }, + }, + '#withTransparentDataEncryptionKeyVaultKeyId':: d.fn(help='`azurerm.string.withTransparentDataEncryptionKeyVaultKeyId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the transparent_data_encryption_key_vault_key_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 `transparent_data_encryption_key_vault_key_id` field.\n', args=[]), + withTransparentDataEncryptionKeyVaultKeyId(resourceLabel, value): { + resource+: { + azurerm_mssql_database+: { + [resourceLabel]+: { + transparent_data_encryption_key_vault_key_id: value, + }, + }, + }, + }, '#withZoneRedundant':: d.fn(help='`azurerm.bool.withZoneRedundant` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the zone_redundant 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 `zone_redundant` field.\n', args=[]), withZoneRedundant(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/mssql_elasticpool.libsonnet b/3.x/_gen/resources/mssql_elasticpool.libsonnet index 09444a91..21a9c44f 100644 --- a/3.x/_gen/resources/mssql_elasticpool.libsonnet +++ b/3.x/_gen/resources/mssql_elasticpool.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='mssql_elasticpool', url='', help='`mssql_elasticpool` represents the `azurerm_mssql_elasticpool` 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.mssql_elasticpool.new` injects a new `azurerm_mssql_elasticpool` 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.mssql_elasticpool.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.mssql_elasticpool` using the reference:\n\n $._ref.azurerm_mssql_elasticpool.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_mssql_elasticpool.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 - `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 - `maintenance_configuration_name` (`string`): Set the `maintenance_configuration_name` field on the resulting resource block. When `null`, the `maintenance_configuration_name` field will be omitted from the resulting object.\n - `max_size_bytes` (`number`): Set the `max_size_bytes` field on the resulting resource block. When `null`, the `max_size_bytes` field will be omitted from the resulting object.\n - `max_size_gb` (`number`): Set the `max_size_gb` field on the resulting resource block. When `null`, the `max_size_gb` 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 - `server_name` (`string`): Set the `server_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 - `zone_redundant` (`bool`): Set the `zone_redundant` field on the resulting resource block. When `null`, the `zone_redundant` field will be omitted from the resulting object.\n - `per_database_settings` (`list[obj]`): Set the `per_database_settings` field on the resulting resource block. When `null`, the `per_database_settings` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_elasticpool.per_database_settings.new](#fn-per_database_settingsnew) constructor.\n - `sku` (`list[obj]`): Set the `sku` field on the resulting resource block. When `null`, the `sku` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_elasticpool.sku.new](#fn-skunew) 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.mssql_elasticpool.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.mssql_elasticpool.new` injects a new `azurerm_mssql_elasticpool` 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.mssql_elasticpool.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.mssql_elasticpool` using the reference:\n\n $._ref.azurerm_mssql_elasticpool.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_mssql_elasticpool.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 - `enclave_type` (`string`): Set the `enclave_type` field on the resulting resource block. When `null`, the `enclave_type` 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 - `maintenance_configuration_name` (`string`): Set the `maintenance_configuration_name` field on the resulting resource block. When `null`, the `maintenance_configuration_name` field will be omitted from the resulting object.\n - `max_size_bytes` (`number`): Set the `max_size_bytes` field on the resulting resource block. When `null`, the `max_size_bytes` field will be omitted from the resulting object.\n - `max_size_gb` (`number`): Set the `max_size_gb` field on the resulting resource block. When `null`, the `max_size_gb` 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 - `server_name` (`string`): Set the `server_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 - `zone_redundant` (`bool`): Set the `zone_redundant` field on the resulting resource block. When `null`, the `zone_redundant` field will be omitted from the resulting object.\n - `per_database_settings` (`list[obj]`): Set the `per_database_settings` field on the resulting resource block. When `null`, the `per_database_settings` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_elasticpool.per_database_settings.new](#fn-per_database_settingsnew) constructor.\n - `sku` (`list[obj]`): Set the `sku` field on the resulting resource block. When `null`, the `sku` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_elasticpool.sku.new](#fn-skunew) 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.mssql_elasticpool.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, server_name, + enclave_type=null, license_type=null, maintenance_configuration_name=null, max_size_bytes=null, @@ -23,6 +24,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); type='azurerm_mssql_elasticpool', label=resourceLabel, attrs=self.newAttrs( + enclave_type=enclave_type, license_type=license_type, location=location, maintenance_configuration_name=maintenance_configuration_name, @@ -39,12 +41,13 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.mssql_elasticpool.newAttrs` constructs a new object with attributes and blocks configured for the `mssql_elasticpool`\nTerraform resource.\n\nUnlike [azurerm.mssql_elasticpool.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 - `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 - `maintenance_configuration_name` (`string`): Set the `maintenance_configuration_name` field on the resulting object. When `null`, the `maintenance_configuration_name` field will be omitted from the resulting object.\n - `max_size_bytes` (`number`): Set the `max_size_bytes` field on the resulting object. When `null`, the `max_size_bytes` field will be omitted from the resulting object.\n - `max_size_gb` (`number`): Set the `max_size_gb` field on the resulting object. When `null`, the `max_size_gb` 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 - `server_name` (`string`): Set the `server_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 - `zone_redundant` (`bool`): Set the `zone_redundant` field on the resulting object. When `null`, the `zone_redundant` field will be omitted from the resulting object.\n - `per_database_settings` (`list[obj]`): Set the `per_database_settings` field on the resulting object. When `null`, the `per_database_settings` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_elasticpool.per_database_settings.new](#fn-per_database_settingsnew) constructor.\n - `sku` (`list[obj]`): Set the `sku` field on the resulting object. When `null`, the `sku` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_elasticpool.sku.new](#fn-skunew) 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.mssql_elasticpool.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 `mssql_elasticpool` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.mssql_elasticpool.newAttrs` constructs a new object with attributes and blocks configured for the `mssql_elasticpool`\nTerraform resource.\n\nUnlike [azurerm.mssql_elasticpool.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 - `enclave_type` (`string`): Set the `enclave_type` field on the resulting object. When `null`, the `enclave_type` 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 - `maintenance_configuration_name` (`string`): Set the `maintenance_configuration_name` field on the resulting object. When `null`, the `maintenance_configuration_name` field will be omitted from the resulting object.\n - `max_size_bytes` (`number`): Set the `max_size_bytes` field on the resulting object. When `null`, the `max_size_bytes` field will be omitted from the resulting object.\n - `max_size_gb` (`number`): Set the `max_size_gb` field on the resulting object. When `null`, the `max_size_gb` 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 - `server_name` (`string`): Set the `server_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 - `zone_redundant` (`bool`): Set the `zone_redundant` field on the resulting object. When `null`, the `zone_redundant` field will be omitted from the resulting object.\n - `per_database_settings` (`list[obj]`): Set the `per_database_settings` field on the resulting object. When `null`, the `per_database_settings` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_elasticpool.per_database_settings.new](#fn-per_database_settingsnew) constructor.\n - `sku` (`list[obj]`): Set the `sku` field on the resulting object. When `null`, the `sku` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_elasticpool.sku.new](#fn-skunew) 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.mssql_elasticpool.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 `mssql_elasticpool` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, resource_group_name, server_name, + enclave_type=null, license_type=null, maintenance_configuration_name=null, max_size_bytes=null, @@ -55,6 +58,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts=null, zone_redundant=null ):: std.prune(a={ + enclave_type: enclave_type, license_type: license_type, location: location, maintenance_configuration_name: maintenance_configuration_name, @@ -107,6 +111,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); update: update, }), }, + '#withEnclaveType':: d.fn(help='`azurerm.string.withEnclaveType` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the enclave_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 `enclave_type` field.\n', args=[]), + withEnclaveType(resourceLabel, value): { + resource+: { + azurerm_mssql_elasticpool+: { + [resourceLabel]+: { + enclave_type: value, + }, + }, + }, + }, '#withLicenseType':: d.fn(help='`azurerm.string.withLicenseType` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the license_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 `license_type` field.\n', args=[]), withLicenseType(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/mssql_managed_database.libsonnet b/3.x/_gen/resources/mssql_managed_database.libsonnet index 53af3305..c936f398 100644 --- a/3.x/_gen/resources/mssql_managed_database.libsonnet +++ b/3.x/_gen/resources/mssql_managed_database.libsonnet @@ -3,25 +3,28 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); { '#':: d.pkg(name='mssql_managed_database', url='', help='`mssql_managed_database` represents the `azurerm_mssql_managed_database` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), long_term_retention_policy:: { - '#new':: d.fn(help='\n`azurerm.mssql_managed_database.long_term_retention_policy.new` constructs a new object with attributes and blocks configured for the `long_term_retention_policy`\nTerraform sub block.\n\n\n\n**Args**:\n - `monthly_retention` (`string`): Set the `monthly_retention` field on the resulting object. When `null`, the `monthly_retention` field will be omitted from the resulting object.\n - `week_of_year` (`number`): Set the `week_of_year` field on the resulting object. When `null`, the `week_of_year` field will be omitted from the resulting object.\n - `weekly_retention` (`string`): Set the `weekly_retention` field on the resulting object. When `null`, the `weekly_retention` field will be omitted from the resulting object.\n - `yearly_retention` (`string`): Set the `yearly_retention` field on the resulting object. When `null`, the `yearly_retention` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `long_term_retention_policy` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.mssql_managed_database.long_term_retention_policy.new` constructs a new object with attributes and blocks configured for the `long_term_retention_policy`\nTerraform sub block.\n\n\n\n**Args**:\n - `immutable_backups_enabled` (`bool`): Set the `immutable_backups_enabled` field on the resulting object. When `null`, the `immutable_backups_enabled` field will be omitted from the resulting object.\n - `monthly_retention` (`string`): Set the `monthly_retention` field on the resulting object. When `null`, the `monthly_retention` field will be omitted from the resulting object.\n - `week_of_year` (`number`): Set the `week_of_year` field on the resulting object. When `null`, the `week_of_year` field will be omitted from the resulting object.\n - `weekly_retention` (`string`): Set the `weekly_retention` field on the resulting object. When `null`, the `weekly_retention` field will be omitted from the resulting object.\n - `yearly_retention` (`string`): Set the `yearly_retention` field on the resulting object. When `null`, the `yearly_retention` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `long_term_retention_policy` sub block.\n', args=[]), new( + immutable_backups_enabled=null, monthly_retention=null, week_of_year=null, weekly_retention=null, yearly_retention=null ):: std.prune(a={ + immutable_backups_enabled: immutable_backups_enabled, monthly_retention: monthly_retention, week_of_year: week_of_year, weekly_retention: weekly_retention, yearly_retention: yearly_retention, }), }, - '#new':: d.fn(help="\n`azurerm.mssql_managed_database.new` injects a new `azurerm_mssql_managed_database` 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.mssql_managed_database.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.mssql_managed_database` using the reference:\n\n $._ref.azurerm_mssql_managed_database.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_mssql_managed_database.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 - `managed_instance_id` (`string`): Set the `managed_instance_id` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `short_term_retention_days` (`number`): Set the `short_term_retention_days` field on the resulting resource block. When `null`, the `short_term_retention_days` field will be omitted from the resulting object.\n - `long_term_retention_policy` (`list[obj]`): Set the `long_term_retention_policy` field on the resulting resource block. When `null`, the `long_term_retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_managed_database.long_term_retention_policy.new](#fn-long_term_retention_policynew) 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.mssql_managed_database.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.mssql_managed_database.new` injects a new `azurerm_mssql_managed_database` 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.mssql_managed_database.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.mssql_managed_database` using the reference:\n\n $._ref.azurerm_mssql_managed_database.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_mssql_managed_database.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 - `managed_instance_id` (`string`): Set the `managed_instance_id` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `short_term_retention_days` (`number`): Set the `short_term_retention_days` field on the resulting resource block. When `null`, the `short_term_retention_days` field will be omitted from the resulting object.\n - `long_term_retention_policy` (`list[obj]`): Set the `long_term_retention_policy` field on the resulting resource block. When `null`, the `long_term_retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_managed_database.long_term_retention_policy.new](#fn-long_term_retention_policynew) constructor.\n - `point_in_time_restore` (`list[obj]`): Set the `point_in_time_restore` field on the resulting resource block. When `null`, the `point_in_time_restore` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_managed_database.point_in_time_restore.new](#fn-point_in_time_restorenew) 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.mssql_managed_database.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, managed_instance_id, name, long_term_retention_policy=null, + point_in_time_restore=null, short_term_retention_days=null, timeouts=null, _meta={} @@ -32,25 +35,38 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); long_term_retention_policy=long_term_retention_policy, managed_instance_id=managed_instance_id, name=name, + point_in_time_restore=point_in_time_restore, short_term_retention_days=short_term_retention_days, timeouts=timeouts ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.mssql_managed_database.newAttrs` constructs a new object with attributes and blocks configured for the `mssql_managed_database`\nTerraform resource.\n\nUnlike [azurerm.mssql_managed_database.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 - `managed_instance_id` (`string`): Set the `managed_instance_id` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `short_term_retention_days` (`number`): Set the `short_term_retention_days` field on the resulting object. When `null`, the `short_term_retention_days` field will be omitted from the resulting object.\n - `long_term_retention_policy` (`list[obj]`): Set the `long_term_retention_policy` field on the resulting object. When `null`, the `long_term_retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_managed_database.long_term_retention_policy.new](#fn-long_term_retention_policynew) 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.mssql_managed_database.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 `mssql_managed_database` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.mssql_managed_database.newAttrs` constructs a new object with attributes and blocks configured for the `mssql_managed_database`\nTerraform resource.\n\nUnlike [azurerm.mssql_managed_database.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 - `managed_instance_id` (`string`): Set the `managed_instance_id` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `short_term_retention_days` (`number`): Set the `short_term_retention_days` field on the resulting object. When `null`, the `short_term_retention_days` field will be omitted from the resulting object.\n - `long_term_retention_policy` (`list[obj]`): Set the `long_term_retention_policy` field on the resulting object. When `null`, the `long_term_retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_managed_database.long_term_retention_policy.new](#fn-long_term_retention_policynew) constructor.\n - `point_in_time_restore` (`list[obj]`): Set the `point_in_time_restore` field on the resulting object. When `null`, the `point_in_time_restore` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_managed_database.point_in_time_restore.new](#fn-point_in_time_restorenew) 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.mssql_managed_database.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 `mssql_managed_database` resource into the root Terraform configuration.\n', args=[]), newAttrs( managed_instance_id, name, long_term_retention_policy=null, + point_in_time_restore=null, short_term_retention_days=null, timeouts=null ):: std.prune(a={ long_term_retention_policy: long_term_retention_policy, managed_instance_id: managed_instance_id, name: name, + point_in_time_restore: point_in_time_restore, short_term_retention_days: short_term_retention_days, timeouts: timeouts, }), + point_in_time_restore:: { + '#new':: d.fn(help='\n`azurerm.mssql_managed_database.point_in_time_restore.new` constructs a new object with attributes and blocks configured for the `point_in_time_restore`\nTerraform sub block.\n\n\n\n**Args**:\n - `restore_point_in_time` (`string`): Set the `restore_point_in_time` field on the resulting object.\n - `source_database_id` (`string`): Set the `source_database_id` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `point_in_time_restore` sub block.\n', args=[]), + new( + restore_point_in_time, + source_database_id + ):: std.prune(a={ + restore_point_in_time: restore_point_in_time, + source_database_id: source_database_id, + }), + }, timeouts:: { '#new':: d.fn(help='\n`azurerm.mssql_managed_database.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( @@ -105,6 +121,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withPointInTimeRestore':: d.fn(help='`azurerm.list[obj].withPointInTimeRestore` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the point_in_time_restore 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].withPointInTimeRestoreMixin](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 `point_in_time_restore` field.\n', args=[]), + withPointInTimeRestore(resourceLabel, value): { + resource+: { + azurerm_mssql_managed_database+: { + [resourceLabel]+: { + point_in_time_restore: value, + }, + }, + }, + }, + '#withPointInTimeRestoreMixin':: d.fn(help='`azurerm.list[obj].withPointInTimeRestoreMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the point_in_time_restore 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].withPointInTimeRestore](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 `point_in_time_restore` field.\n', args=[]), + withPointInTimeRestoreMixin(resourceLabel, value): { + resource+: { + azurerm_mssql_managed_database+: { + [resourceLabel]+: { + point_in_time_restore+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, '#withShortTermRetentionDays':: d.fn(help='`azurerm.number.withShortTermRetentionDays` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the short_term_retention_days 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 `short_term_retention_days` field.\n', args=[]), withShortTermRetentionDays(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/mssql_outbound_firewall_rule.libsonnet b/3.x/_gen/resources/mssql_outbound_firewall_rule.libsonnet index c7b52f0e..9a7a4afa 100644 --- a/3.x/_gen/resources/mssql_outbound_firewall_rule.libsonnet +++ b/3.x/_gen/resources/mssql_outbound_firewall_rule.libsonnet @@ -26,17 +26,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.mssql_outbound_firewall_rule.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':: d.fn(help='\n`azurerm.mssql_outbound_firewall_rule.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#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=[]), diff --git a/3.x/_gen/resources/mysql_configuration.libsonnet b/3.x/_gen/resources/mysql_configuration.libsonnet index 9b0d5d7e..29c65958 100644 --- a/3.x/_gen/resources/mysql_configuration.libsonnet +++ b/3.x/_gen/resources/mysql_configuration.libsonnet @@ -38,17 +38,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); value: value, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.mysql_configuration.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':: d.fn(help='\n`azurerm.mysql_configuration.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#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=[]), diff --git a/3.x/_gen/resources/mysql_database.libsonnet b/3.x/_gen/resources/mysql_database.libsonnet index f6006628..c78ff011 100644 --- a/3.x/_gen/resources/mysql_database.libsonnet +++ b/3.x/_gen/resources/mysql_database.libsonnet @@ -42,17 +42,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.mysql_database.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':: d.fn(help='\n`azurerm.mysql_database.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withCharset':: d.fn(help='`azurerm.string.withCharset` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the charset 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 `charset` field.\n', args=[]), diff --git a/3.x/_gen/resources/mysql_flexible_database.libsonnet b/3.x/_gen/resources/mysql_flexible_database.libsonnet index 5f55f26a..14ed56d6 100644 --- a/3.x/_gen/resources/mysql_flexible_database.libsonnet +++ b/3.x/_gen/resources/mysql_flexible_database.libsonnet @@ -42,17 +42,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.mysql_flexible_database.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':: d.fn(help='\n`azurerm.mysql_flexible_database.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withCharset':: d.fn(help='`azurerm.string.withCharset` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the charset 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 `charset` field.\n', args=[]), diff --git a/3.x/_gen/resources/netapp_account.libsonnet b/3.x/_gen/resources/netapp_account.libsonnet index fe2a4a38..a57e2f44 100644 --- a/3.x/_gen/resources/netapp_account.libsonnet +++ b/3.x/_gen/resources/netapp_account.libsonnet @@ -20,13 +20,24 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); username: username, }), }, - '#new':: d.fn(help="\n`azurerm.netapp_account.new` injects a new `azurerm_netapp_account` 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.netapp_account.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.netapp_account` using the reference:\n\n $._ref.azurerm_netapp_account.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_netapp_account.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 - `active_directory` (`list[obj]`): Set the `active_directory` field on the resulting resource block. When `null`, the `active_directory` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.netapp_account.active_directory.new](#fn-active_directorynew) 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.netapp_account.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + identity:: { + '#new':: d.fn(help='\n`azurerm.netapp_account.identity.new` constructs a new object with attributes and blocks configured for the `identity`\nTerraform sub block.\n\n\n\n**Args**:\n - `identity_ids` (`list`): Set the `identity_ids` field on the resulting object. When `null`, the `identity_ids` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `identity` sub block.\n', args=[]), + new( + type, + identity_ids=null + ):: std.prune(a={ + identity_ids: identity_ids, + type: type, + }), + }, + '#new':: d.fn(help="\n`azurerm.netapp_account.new` injects a new `azurerm_netapp_account` 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.netapp_account.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.netapp_account` using the reference:\n\n $._ref.azurerm_netapp_account.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_netapp_account.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 - `active_directory` (`list[obj]`): Set the `active_directory` field on the resulting resource block. When `null`, the `active_directory` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.netapp_account.active_directory.new](#fn-active_directorynew) 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.netapp_account.identity.new](#fn-identitynew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.netapp_account.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, active_directory=null, + identity=null, tags=null, timeouts=null, _meta={} @@ -35,6 +46,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); label=resourceLabel, attrs=self.newAttrs( active_directory=active_directory, + identity=identity, location=location, name=name, resource_group_name=resource_group_name, @@ -43,16 +55,18 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.netapp_account.newAttrs` constructs a new object with attributes and blocks configured for the `netapp_account`\nTerraform resource.\n\nUnlike [azurerm.netapp_account.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 - `active_directory` (`list[obj]`): Set the `active_directory` field on the resulting object. When `null`, the `active_directory` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.netapp_account.active_directory.new](#fn-active_directorynew) 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.netapp_account.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 `netapp_account` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.netapp_account.newAttrs` constructs a new object with attributes and blocks configured for the `netapp_account`\nTerraform resource.\n\nUnlike [azurerm.netapp_account.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 - `active_directory` (`list[obj]`): Set the `active_directory` field on the resulting object. When `null`, the `active_directory` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.netapp_account.active_directory.new](#fn-active_directorynew) 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.netapp_account.identity.new](#fn-identitynew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.netapp_account.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 `netapp_account` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, resource_group_name, active_directory=null, + identity=null, tags=null, timeouts=null ):: std.prune(a={ active_directory: active_directory, + identity: identity, location: location, name: name, resource_group_name: resource_group_name, @@ -93,6 +107,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withIdentity':: d.fn(help='`azurerm.list[obj].withIdentity` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the identity field.\n\nThis function will replace the array with the passed in `value`. If you wish to instead append the\npassed in value to the existing array, use the [azurerm.list[obj].withIdentityMixin](TODO) function.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `identity` field.\n', args=[]), + withIdentity(resourceLabel, value): { + resource+: { + azurerm_netapp_account+: { + [resourceLabel]+: { + identity: value, + }, + }, + }, + }, + '#withIdentityMixin':: d.fn(help='`azurerm.list[obj].withIdentityMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the identity field.\n\nThis function will 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].withIdentity](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 `identity` field.\n', args=[]), + withIdentityMixin(resourceLabel, value): { + resource+: { + azurerm_netapp_account+: { + [resourceLabel]+: { + identity+: if std.isArray(v=value) then value else [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+: { diff --git a/3.x/_gen/resources/netapp_account_encryption.libsonnet b/3.x/_gen/resources/netapp_account_encryption.libsonnet new file mode 100644 index 00000000..27e95c42 --- /dev/null +++ b/3.x/_gen/resources/netapp_account_encryption.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='netapp_account_encryption', url='', help='`netapp_account_encryption` represents the `azurerm_netapp_account_encryption` 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.netapp_account_encryption.new` injects a new `azurerm_netapp_account_encryption` 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.netapp_account_encryption.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.netapp_account_encryption` using the reference:\n\n $._ref.azurerm_netapp_account_encryption.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_netapp_account_encryption.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 - `encryption_key` (`string`): The versionless encryption key url.\n - `netapp_account_id` (`string`): The ID of the NetApp Account where encryption will be set.\n - `system_assigned_identity_principal_id` (`string`): The Principal ID of the System Assigned Identity to use for encryption. When `null`, the `system_assigned_identity_principal_id` field will be omitted from the resulting object.\n - `user_assigned_identity_id` (`string`): The resource ID of the User Assigned Identity to use for encryption. When `null`, the `user_assigned_identity_id` 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.netapp_account_encryption.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, + encryption_key, + netapp_account_id, + system_assigned_identity_principal_id=null, + timeouts=null, + user_assigned_identity_id=null, + _meta={} + ):: tf.withResource( + type='azurerm_netapp_account_encryption', + label=resourceLabel, + attrs=self.newAttrs( + encryption_key=encryption_key, + netapp_account_id=netapp_account_id, + system_assigned_identity_principal_id=system_assigned_identity_principal_id, + timeouts=timeouts, + user_assigned_identity_id=user_assigned_identity_id + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.netapp_account_encryption.newAttrs` constructs a new object with attributes and blocks configured for the `netapp_account_encryption`\nTerraform resource.\n\nUnlike [azurerm.netapp_account_encryption.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 - `encryption_key` (`string`): The versionless encryption key url.\n - `netapp_account_id` (`string`): The ID of the NetApp Account where encryption will be set.\n - `system_assigned_identity_principal_id` (`string`): The Principal ID of the System Assigned Identity to use for encryption. When `null`, the `system_assigned_identity_principal_id` field will be omitted from the resulting object.\n - `user_assigned_identity_id` (`string`): The resource ID of the User Assigned Identity to use for encryption. When `null`, the `user_assigned_identity_id` 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.netapp_account_encryption.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 `netapp_account_encryption` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + encryption_key, + netapp_account_id, + system_assigned_identity_principal_id=null, + timeouts=null, + user_assigned_identity_id=null + ):: std.prune(a={ + encryption_key: encryption_key, + netapp_account_id: netapp_account_id, + system_assigned_identity_principal_id: system_assigned_identity_principal_id, + timeouts: timeouts, + user_assigned_identity_id: user_assigned_identity_id, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.netapp_account_encryption.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, + }), + }, + '#withEncryptionKey':: d.fn(help='`azurerm.string.withEncryptionKey` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the encryption_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 `encryption_key` field.\n', args=[]), + withEncryptionKey(resourceLabel, value): { + resource+: { + azurerm_netapp_account_encryption+: { + [resourceLabel]+: { + encryption_key: value, + }, + }, + }, + }, + '#withNetappAccountId':: d.fn(help='`azurerm.string.withNetappAccountId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the netapp_account_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 `netapp_account_id` field.\n', args=[]), + withNetappAccountId(resourceLabel, value): { + resource+: { + azurerm_netapp_account_encryption+: { + [resourceLabel]+: { + netapp_account_id: value, + }, + }, + }, + }, + '#withSystemAssignedIdentityPrincipalId':: d.fn(help='`azurerm.string.withSystemAssignedIdentityPrincipalId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the system_assigned_identity_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 `system_assigned_identity_principal_id` field.\n', args=[]), + withSystemAssignedIdentityPrincipalId(resourceLabel, value): { + resource+: { + azurerm_netapp_account_encryption+: { + [resourceLabel]+: { + system_assigned_identity_principal_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_netapp_account_encryption+: { + [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_netapp_account_encryption+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, + '#withUserAssignedIdentityId':: d.fn(help='`azurerm.string.withUserAssignedIdentityId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the user_assigned_identity_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 `user_assigned_identity_id` field.\n', args=[]), + withUserAssignedIdentityId(resourceLabel, value): { + resource+: { + azurerm_netapp_account_encryption+: { + [resourceLabel]+: { + user_assigned_identity_id: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/netapp_snapshot.libsonnet b/3.x/_gen/resources/netapp_snapshot.libsonnet index 79c26e89..bfe9f25e 100644 --- a/3.x/_gen/resources/netapp_snapshot.libsonnet +++ b/3.x/_gen/resources/netapp_snapshot.libsonnet @@ -46,17 +46,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); volume_name: volume_name, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.netapp_snapshot.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':: d.fn(help='\n`azurerm.netapp_snapshot.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withAccountName':: d.fn(help='`azurerm.string.withAccountName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the 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 `account_name` field.\n', args=[]), diff --git a/3.x/_gen/resources/netapp_volume.libsonnet b/3.x/_gen/resources/netapp_volume.libsonnet index 7c48be7e..f5a55400 100644 --- a/3.x/_gen/resources/netapp_volume.libsonnet +++ b/3.x/_gen/resources/netapp_volume.libsonnet @@ -42,7 +42,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); unix_read_write: unix_read_write, }), }, - '#new':: d.fn(help="\n`azurerm.netapp_volume.new` injects a new `azurerm_netapp_volume` 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.netapp_volume.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.netapp_volume` using the reference:\n\n $._ref.azurerm_netapp_volume.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_netapp_volume.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 - `account_name` (`string`): Set the `account_name` field on the resulting resource block.\n - `azure_vmware_data_store_enabled` (`bool`): Set the `azure_vmware_data_store_enabled` field on the resulting resource block. When `null`, the `azure_vmware_data_store_enabled` field will be omitted from the resulting object.\n - `create_from_snapshot_resource_id` (`string`): Set the `create_from_snapshot_resource_id` field on the resulting resource block. When `null`, the `create_from_snapshot_resource_id` 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 - `network_features` (`string`): Set the `network_features` field on the resulting resource block. When `null`, the `network_features` field will be omitted from the resulting object.\n - `pool_name` (`string`): Set the `pool_name` field on the resulting resource block.\n - `protocols` (`list`): Set the `protocols` field on the resulting resource block. When `null`, the `protocols` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `security_style` (`string`): Set the `security_style` field on the resulting resource block. When `null`, the `security_style` field will be omitted from the resulting object.\n - `service_level` (`string`): Set the `service_level` field on the resulting resource block.\n - `snapshot_directory_visible` (`bool`): Set the `snapshot_directory_visible` field on the resulting resource block. When `null`, the `snapshot_directory_visible` field will be omitted from the resulting object.\n - `storage_quota_in_gb` (`number`): Set the `storage_quota_in_gb` field on the resulting resource block.\n - `subnet_id` (`string`): Set the `subnet_id` 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 - `throughput_in_mibps` (`number`): Set the `throughput_in_mibps` field on the resulting resource block. When `null`, the `throughput_in_mibps` field will be omitted from the resulting object.\n - `volume_path` (`string`): Set the `volume_path` field on the resulting resource block.\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 - `data_protection_replication` (`list[obj]`): Set the `data_protection_replication` field on the resulting resource block. When `null`, the `data_protection_replication` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.netapp_volume.data_protection_replication.new](#fn-data_protection_replicationnew) constructor.\n - `data_protection_snapshot_policy` (`list[obj]`): Set the `data_protection_snapshot_policy` field on the resulting resource block. When `null`, the `data_protection_snapshot_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.netapp_volume.data_protection_snapshot_policy.new](#fn-data_protection_snapshot_policynew) constructor.\n - `export_policy_rule` (`list[obj]`): Set the `export_policy_rule` field on the resulting resource block. When `null`, the `export_policy_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.netapp_volume.export_policy_rule.new](#fn-export_policy_rulenew) 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.netapp_volume.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.netapp_volume.new` injects a new `azurerm_netapp_volume` 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.netapp_volume.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.netapp_volume` using the reference:\n\n $._ref.azurerm_netapp_volume.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_netapp_volume.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 - `account_name` (`string`): Set the `account_name` field on the resulting resource block.\n - `azure_vmware_data_store_enabled` (`bool`): Set the `azure_vmware_data_store_enabled` field on the resulting resource block. When `null`, the `azure_vmware_data_store_enabled` field will be omitted from the resulting object.\n - `create_from_snapshot_resource_id` (`string`): Set the `create_from_snapshot_resource_id` field on the resulting resource block. When `null`, the `create_from_snapshot_resource_id` field will be omitted from the resulting object.\n - `encryption_key_source` (`string`): Set the `encryption_key_source` field on the resulting resource block. When `null`, the `encryption_key_source` field will be omitted from the resulting object.\n - `key_vault_private_endpoint_id` (`string`): Set the `key_vault_private_endpoint_id` field on the resulting resource block. When `null`, the `key_vault_private_endpoint_id` 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 - `network_features` (`string`): Set the `network_features` field on the resulting resource block. When `null`, the `network_features` field will be omitted from the resulting object.\n - `pool_name` (`string`): Set the `pool_name` field on the resulting resource block.\n - `protocols` (`list`): Set the `protocols` field on the resulting resource block. When `null`, the `protocols` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `security_style` (`string`): Set the `security_style` field on the resulting resource block. When `null`, the `security_style` field will be omitted from the resulting object.\n - `service_level` (`string`): Set the `service_level` field on the resulting resource block.\n - `snapshot_directory_visible` (`bool`): Set the `snapshot_directory_visible` field on the resulting resource block. When `null`, the `snapshot_directory_visible` field will be omitted from the resulting object.\n - `storage_quota_in_gb` (`number`): Set the `storage_quota_in_gb` field on the resulting resource block.\n - `subnet_id` (`string`): Set the `subnet_id` 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 - `throughput_in_mibps` (`number`): Set the `throughput_in_mibps` field on the resulting resource block. When `null`, the `throughput_in_mibps` field will be omitted from the resulting object.\n - `volume_path` (`string`): Set the `volume_path` field on the resulting resource block.\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 - `data_protection_replication` (`list[obj]`): Set the `data_protection_replication` field on the resulting resource block. When `null`, the `data_protection_replication` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.netapp_volume.data_protection_replication.new](#fn-data_protection_replicationnew) constructor.\n - `data_protection_snapshot_policy` (`list[obj]`): Set the `data_protection_snapshot_policy` field on the resulting resource block. When `null`, the `data_protection_snapshot_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.netapp_volume.data_protection_snapshot_policy.new](#fn-data_protection_snapshot_policynew) constructor.\n - `export_policy_rule` (`list[obj]`): Set the `export_policy_rule` field on the resulting resource block. When `null`, the `export_policy_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.netapp_volume.export_policy_rule.new](#fn-export_policy_rulenew) 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.netapp_volume.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, account_name, @@ -58,7 +58,9 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); create_from_snapshot_resource_id=null, data_protection_replication=null, data_protection_snapshot_policy=null, + encryption_key_source=null, export_policy_rule=null, + key_vault_private_endpoint_id=null, network_features=null, protocols=null, security_style=null, @@ -77,7 +79,9 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); create_from_snapshot_resource_id=create_from_snapshot_resource_id, data_protection_replication=data_protection_replication, data_protection_snapshot_policy=data_protection_snapshot_policy, + encryption_key_source=encryption_key_source, export_policy_rule=export_policy_rule, + key_vault_private_endpoint_id=key_vault_private_endpoint_id, location=location, name=name, network_features=network_features, @@ -97,7 +101,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.netapp_volume.newAttrs` constructs a new object with attributes and blocks configured for the `netapp_volume`\nTerraform resource.\n\nUnlike [azurerm.netapp_volume.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 - `account_name` (`string`): Set the `account_name` field on the resulting object.\n - `azure_vmware_data_store_enabled` (`bool`): Set the `azure_vmware_data_store_enabled` field on the resulting object. When `null`, the `azure_vmware_data_store_enabled` field will be omitted from the resulting object.\n - `create_from_snapshot_resource_id` (`string`): Set the `create_from_snapshot_resource_id` field on the resulting object. When `null`, the `create_from_snapshot_resource_id` 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 - `network_features` (`string`): Set the `network_features` field on the resulting object. When `null`, the `network_features` field will be omitted from the resulting object.\n - `pool_name` (`string`): Set the `pool_name` field on the resulting object.\n - `protocols` (`list`): Set the `protocols` field on the resulting object. When `null`, the `protocols` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `security_style` (`string`): Set the `security_style` field on the resulting object. When `null`, the `security_style` field will be omitted from the resulting object.\n - `service_level` (`string`): Set the `service_level` field on the resulting object.\n - `snapshot_directory_visible` (`bool`): Set the `snapshot_directory_visible` field on the resulting object. When `null`, the `snapshot_directory_visible` field will be omitted from the resulting object.\n - `storage_quota_in_gb` (`number`): Set the `storage_quota_in_gb` field on the resulting object.\n - `subnet_id` (`string`): Set the `subnet_id` 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 - `throughput_in_mibps` (`number`): Set the `throughput_in_mibps` field on the resulting object. When `null`, the `throughput_in_mibps` field will be omitted from the resulting object.\n - `volume_path` (`string`): Set the `volume_path` field on 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 - `data_protection_replication` (`list[obj]`): Set the `data_protection_replication` field on the resulting object. When `null`, the `data_protection_replication` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.netapp_volume.data_protection_replication.new](#fn-data_protection_replicationnew) constructor.\n - `data_protection_snapshot_policy` (`list[obj]`): Set the `data_protection_snapshot_policy` field on the resulting object. When `null`, the `data_protection_snapshot_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.netapp_volume.data_protection_snapshot_policy.new](#fn-data_protection_snapshot_policynew) constructor.\n - `export_policy_rule` (`list[obj]`): Set the `export_policy_rule` field on the resulting object. When `null`, the `export_policy_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.netapp_volume.export_policy_rule.new](#fn-export_policy_rulenew) 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.netapp_volume.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 `netapp_volume` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.netapp_volume.newAttrs` constructs a new object with attributes and blocks configured for the `netapp_volume`\nTerraform resource.\n\nUnlike [azurerm.netapp_volume.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 - `account_name` (`string`): Set the `account_name` field on the resulting object.\n - `azure_vmware_data_store_enabled` (`bool`): Set the `azure_vmware_data_store_enabled` field on the resulting object. When `null`, the `azure_vmware_data_store_enabled` field will be omitted from the resulting object.\n - `create_from_snapshot_resource_id` (`string`): Set the `create_from_snapshot_resource_id` field on the resulting object. When `null`, the `create_from_snapshot_resource_id` field will be omitted from the resulting object.\n - `encryption_key_source` (`string`): Set the `encryption_key_source` field on the resulting object. When `null`, the `encryption_key_source` field will be omitted from the resulting object.\n - `key_vault_private_endpoint_id` (`string`): Set the `key_vault_private_endpoint_id` field on the resulting object. When `null`, the `key_vault_private_endpoint_id` 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 - `network_features` (`string`): Set the `network_features` field on the resulting object. When `null`, the `network_features` field will be omitted from the resulting object.\n - `pool_name` (`string`): Set the `pool_name` field on the resulting object.\n - `protocols` (`list`): Set the `protocols` field on the resulting object. When `null`, the `protocols` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `security_style` (`string`): Set the `security_style` field on the resulting object. When `null`, the `security_style` field will be omitted from the resulting object.\n - `service_level` (`string`): Set the `service_level` field on the resulting object.\n - `snapshot_directory_visible` (`bool`): Set the `snapshot_directory_visible` field on the resulting object. When `null`, the `snapshot_directory_visible` field will be omitted from the resulting object.\n - `storage_quota_in_gb` (`number`): Set the `storage_quota_in_gb` field on the resulting object.\n - `subnet_id` (`string`): Set the `subnet_id` 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 - `throughput_in_mibps` (`number`): Set the `throughput_in_mibps` field on the resulting object. When `null`, the `throughput_in_mibps` field will be omitted from the resulting object.\n - `volume_path` (`string`): Set the `volume_path` field on 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 - `data_protection_replication` (`list[obj]`): Set the `data_protection_replication` field on the resulting object. When `null`, the `data_protection_replication` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.netapp_volume.data_protection_replication.new](#fn-data_protection_replicationnew) constructor.\n - `data_protection_snapshot_policy` (`list[obj]`): Set the `data_protection_snapshot_policy` field on the resulting object. When `null`, the `data_protection_snapshot_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.netapp_volume.data_protection_snapshot_policy.new](#fn-data_protection_snapshot_policynew) constructor.\n - `export_policy_rule` (`list[obj]`): Set the `export_policy_rule` field on the resulting object. When `null`, the `export_policy_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.netapp_volume.export_policy_rule.new](#fn-export_policy_rulenew) 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.netapp_volume.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 `netapp_volume` resource into the root Terraform configuration.\n', args=[]), newAttrs( account_name, location, @@ -112,7 +116,9 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); create_from_snapshot_resource_id=null, data_protection_replication=null, data_protection_snapshot_policy=null, + encryption_key_source=null, export_policy_rule=null, + key_vault_private_endpoint_id=null, network_features=null, protocols=null, security_style=null, @@ -127,7 +133,9 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); create_from_snapshot_resource_id: create_from_snapshot_resource_id, data_protection_replication: data_protection_replication, data_protection_snapshot_policy: data_protection_snapshot_policy, + encryption_key_source: encryption_key_source, export_policy_rule: export_policy_rule, + key_vault_private_endpoint_id: key_vault_private_endpoint_id, location: location, name: name, network_features: network_features, @@ -229,6 +237,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withEncryptionKeySource':: d.fn(help='`azurerm.string.withEncryptionKeySource` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the encryption_key_source 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 `encryption_key_source` field.\n', args=[]), + withEncryptionKeySource(resourceLabel, value): { + resource+: { + azurerm_netapp_volume+: { + [resourceLabel]+: { + encryption_key_source: value, + }, + }, + }, + }, '#withExportPolicyRule':: d.fn(help='`azurerm.list[obj].withExportPolicyRule` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the export_policy_rule 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].withExportPolicyRuleMixin](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 `export_policy_rule` field.\n', args=[]), withExportPolicyRule(resourceLabel, value): { resource+: { @@ -249,6 +267,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withKeyVaultPrivateEndpointId':: d.fn(help='`azurerm.string.withKeyVaultPrivateEndpointId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the key_vault_private_endpoint_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 `key_vault_private_endpoint_id` field.\n', args=[]), + withKeyVaultPrivateEndpointId(resourceLabel, value): { + resource+: { + azurerm_netapp_volume+: { + [resourceLabel]+: { + key_vault_private_endpoint_id: 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+: { diff --git a/3.x/_gen/resources/network_interface_application_gateway_backend_address_pool_association.libsonnet b/3.x/_gen/resources/network_interface_application_gateway_backend_address_pool_association.libsonnet index ee7167c7..00fa78ee 100644 --- a/3.x/_gen/resources/network_interface_application_gateway_backend_address_pool_association.libsonnet +++ b/3.x/_gen/resources/network_interface_application_gateway_backend_address_pool_association.libsonnet @@ -34,17 +34,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.network_interface_application_gateway_backend_address_pool_association.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':: d.fn(help='\n`azurerm.network_interface_application_gateway_backend_address_pool_association.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withBackendAddressPoolId':: d.fn(help='`azurerm.string.withBackendAddressPoolId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the backend_address_pool_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 `backend_address_pool_id` field.\n', args=[]), diff --git a/3.x/_gen/resources/network_interface_application_security_group_association.libsonnet b/3.x/_gen/resources/network_interface_application_security_group_association.libsonnet index 149efbba..5b1ea37d 100644 --- a/3.x/_gen/resources/network_interface_application_security_group_association.libsonnet +++ b/3.x/_gen/resources/network_interface_application_security_group_association.libsonnet @@ -26,17 +26,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.network_interface_application_security_group_association.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':: d.fn(help='\n`azurerm.network_interface_application_security_group_association.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withApplicationSecurityGroupId':: d.fn(help='`azurerm.string.withApplicationSecurityGroupId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the application_security_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 `application_security_group_id` field.\n', args=[]), diff --git a/3.x/_gen/resources/network_interface_backend_address_pool_association.libsonnet b/3.x/_gen/resources/network_interface_backend_address_pool_association.libsonnet index bb3d3fb5..f6e81e5c 100644 --- a/3.x/_gen/resources/network_interface_backend_address_pool_association.libsonnet +++ b/3.x/_gen/resources/network_interface_backend_address_pool_association.libsonnet @@ -34,17 +34,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.network_interface_backend_address_pool_association.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':: d.fn(help='\n`azurerm.network_interface_backend_address_pool_association.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withBackendAddressPoolId':: d.fn(help='`azurerm.string.withBackendAddressPoolId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the backend_address_pool_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 `backend_address_pool_id` field.\n', args=[]), diff --git a/3.x/_gen/resources/network_interface_nat_rule_association.libsonnet b/3.x/_gen/resources/network_interface_nat_rule_association.libsonnet index 1816da1d..3407451a 100644 --- a/3.x/_gen/resources/network_interface_nat_rule_association.libsonnet +++ b/3.x/_gen/resources/network_interface_nat_rule_association.libsonnet @@ -34,17 +34,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.network_interface_nat_rule_association.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':: d.fn(help='\n`azurerm.network_interface_nat_rule_association.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withIpConfigurationName':: d.fn(help='`azurerm.string.withIpConfigurationName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the ip_configuration_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 `ip_configuration_name` field.\n', args=[]), diff --git a/3.x/_gen/resources/network_interface_security_group_association.libsonnet b/3.x/_gen/resources/network_interface_security_group_association.libsonnet index 31e04b54..a4582041 100644 --- a/3.x/_gen/resources/network_interface_security_group_association.libsonnet +++ b/3.x/_gen/resources/network_interface_security_group_association.libsonnet @@ -26,17 +26,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.network_interface_security_group_association.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':: d.fn(help='\n`azurerm.network_interface_security_group_association.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withNetworkInterfaceId':: d.fn(help='`azurerm.string.withNetworkInterfaceId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the network_interface_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 `network_interface_id` field.\n', args=[]), diff --git a/3.x/_gen/resources/network_packet_capture.libsonnet b/3.x/_gen/resources/network_packet_capture.libsonnet index 76452aa4..9fc50446 100644 --- a/3.x/_gen/resources/network_packet_capture.libsonnet +++ b/3.x/_gen/resources/network_packet_capture.libsonnet @@ -84,17 +84,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, timeouts:: { - '#new':: d.fn(help='\n`azurerm.network_packet_capture.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':: d.fn(help='\n`azurerm.network_packet_capture.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withFilter':: d.fn(help='`azurerm.list[obj].withFilter` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the filter 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].withFilterMixin](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 `filter` field.\n', args=[]), diff --git a/3.x/_gen/resources/palo_alto_next_generation_firewall_virtual_hub_local_rulestack.libsonnet b/3.x/_gen/resources/palo_alto_next_generation_firewall_virtual_hub_local_rulestack.libsonnet index 6baa5bdb..ec39ea10 100644 --- a/3.x/_gen/resources/palo_alto_next_generation_firewall_virtual_hub_local_rulestack.libsonnet +++ b/3.x/_gen/resources/palo_alto_next_generation_firewall_virtual_hub_local_rulestack.libsonnet @@ -47,16 +47,18 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, network_profile:: { - '#new':: d.fn(help='\n`azurerm.palo_alto_next_generation_firewall_virtual_hub_local_rulestack.network_profile.new` constructs a new object with attributes and blocks configured for the `network_profile`\nTerraform sub block.\n\n\n\n**Args**:\n - `egress_nat_ip_address_ids` (`list`): Set the `egress_nat_ip_address_ids` field on the resulting object. When `null`, the `egress_nat_ip_address_ids` field will be omitted from the resulting object.\n - `network_virtual_appliance_id` (`string`): Set the `network_virtual_appliance_id` field on the resulting object.\n - `public_ip_address_ids` (`list`): Set the `public_ip_address_ids` field on the resulting object.\n - `virtual_hub_id` (`string`): Set the `virtual_hub_id` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `network_profile` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.palo_alto_next_generation_firewall_virtual_hub_local_rulestack.network_profile.new` constructs a new object with attributes and blocks configured for the `network_profile`\nTerraform sub block.\n\n\n\n**Args**:\n - `egress_nat_ip_address_ids` (`list`): Set the `egress_nat_ip_address_ids` field on the resulting object. When `null`, the `egress_nat_ip_address_ids` field will be omitted from the resulting object.\n - `network_virtual_appliance_id` (`string`): Set the `network_virtual_appliance_id` field on the resulting object.\n - `public_ip_address_ids` (`list`): Set the `public_ip_address_ids` field on the resulting object.\n - `trusted_address_ranges` (`list`): Set the `trusted_address_ranges` field on the resulting object. When `null`, the `trusted_address_ranges` field will be omitted from the resulting object.\n - `virtual_hub_id` (`string`): Set the `virtual_hub_id` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `network_profile` sub block.\n', args=[]), new( network_virtual_appliance_id, public_ip_address_ids, virtual_hub_id, - egress_nat_ip_address_ids=null + egress_nat_ip_address_ids=null, + trusted_address_ranges=null ):: std.prune(a={ egress_nat_ip_address_ids: egress_nat_ip_address_ids, network_virtual_appliance_id: network_virtual_appliance_id, public_ip_address_ids: public_ip_address_ids, + trusted_address_ranges: trusted_address_ranges, virtual_hub_id: virtual_hub_id, }), }, diff --git a/3.x/_gen/resources/palo_alto_next_generation_firewall_virtual_hub_panorama.libsonnet b/3.x/_gen/resources/palo_alto_next_generation_firewall_virtual_hub_panorama.libsonnet index 9f8ae855..43a1978c 100644 --- a/3.x/_gen/resources/palo_alto_next_generation_firewall_virtual_hub_panorama.libsonnet +++ b/3.x/_gen/resources/palo_alto_next_generation_firewall_virtual_hub_panorama.libsonnet @@ -47,16 +47,18 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, network_profile:: { - '#new':: d.fn(help='\n`azurerm.palo_alto_next_generation_firewall_virtual_hub_panorama.network_profile.new` constructs a new object with attributes and blocks configured for the `network_profile`\nTerraform sub block.\n\n\n\n**Args**:\n - `egress_nat_ip_address_ids` (`list`): Set the `egress_nat_ip_address_ids` field on the resulting object. When `null`, the `egress_nat_ip_address_ids` field will be omitted from the resulting object.\n - `network_virtual_appliance_id` (`string`): Set the `network_virtual_appliance_id` field on the resulting object.\n - `public_ip_address_ids` (`list`): Set the `public_ip_address_ids` field on the resulting object.\n - `virtual_hub_id` (`string`): Set the `virtual_hub_id` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `network_profile` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.palo_alto_next_generation_firewall_virtual_hub_panorama.network_profile.new` constructs a new object with attributes and blocks configured for the `network_profile`\nTerraform sub block.\n\n\n\n**Args**:\n - `egress_nat_ip_address_ids` (`list`): Set the `egress_nat_ip_address_ids` field on the resulting object. When `null`, the `egress_nat_ip_address_ids` field will be omitted from the resulting object.\n - `network_virtual_appliance_id` (`string`): Set the `network_virtual_appliance_id` field on the resulting object.\n - `public_ip_address_ids` (`list`): Set the `public_ip_address_ids` field on the resulting object.\n - `trusted_address_ranges` (`list`): Set the `trusted_address_ranges` field on the resulting object. When `null`, the `trusted_address_ranges` field will be omitted from the resulting object.\n - `virtual_hub_id` (`string`): Set the `virtual_hub_id` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `network_profile` sub block.\n', args=[]), new( network_virtual_appliance_id, public_ip_address_ids, virtual_hub_id, - egress_nat_ip_address_ids=null + egress_nat_ip_address_ids=null, + trusted_address_ranges=null ):: std.prune(a={ egress_nat_ip_address_ids: egress_nat_ip_address_ids, network_virtual_appliance_id: network_virtual_appliance_id, public_ip_address_ids: public_ip_address_ids, + trusted_address_ranges: trusted_address_ranges, virtual_hub_id: virtual_hub_id, }), }, diff --git a/3.x/_gen/resources/palo_alto_next_generation_firewall_virtual_network_local_rulestack.libsonnet b/3.x/_gen/resources/palo_alto_next_generation_firewall_virtual_network_local_rulestack.libsonnet index 7c20049f..80f72302 100644 --- a/3.x/_gen/resources/palo_alto_next_generation_firewall_virtual_network_local_rulestack.libsonnet +++ b/3.x/_gen/resources/palo_alto_next_generation_firewall_virtual_network_local_rulestack.libsonnet @@ -47,14 +47,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, network_profile:: { - '#new':: d.fn(help='\n`azurerm.palo_alto_next_generation_firewall_virtual_network_local_rulestack.network_profile.new` constructs a new object with attributes and blocks configured for the `network_profile`\nTerraform sub block.\n\n\n\n**Args**:\n - `egress_nat_ip_address_ids` (`list`): Set the `egress_nat_ip_address_ids` field on the resulting object. When `null`, the `egress_nat_ip_address_ids` field will be omitted from the resulting object.\n - `public_ip_address_ids` (`list`): Set the `public_ip_address_ids` field on the resulting object.\n - `vnet_configuration` (`list[obj]`): Set the `vnet_configuration` field on the resulting object. When `null`, the `vnet_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.palo_alto_next_generation_firewall_virtual_network_local_rulestack.network_profile.vnet_configuration.new](#fn-network_profilevnet_configurationnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `network_profile` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.palo_alto_next_generation_firewall_virtual_network_local_rulestack.network_profile.new` constructs a new object with attributes and blocks configured for the `network_profile`\nTerraform sub block.\n\n\n\n**Args**:\n - `egress_nat_ip_address_ids` (`list`): Set the `egress_nat_ip_address_ids` field on the resulting object. When `null`, the `egress_nat_ip_address_ids` field will be omitted from the resulting object.\n - `public_ip_address_ids` (`list`): Set the `public_ip_address_ids` field on the resulting object.\n - `trusted_address_ranges` (`list`): Set the `trusted_address_ranges` field on the resulting object. When `null`, the `trusted_address_ranges` field will be omitted from the resulting object.\n - `vnet_configuration` (`list[obj]`): Set the `vnet_configuration` field on the resulting object. When `null`, the `vnet_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.palo_alto_next_generation_firewall_virtual_network_local_rulestack.network_profile.vnet_configuration.new](#fn-network_profilevnet_configurationnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `network_profile` sub block.\n', args=[]), new( public_ip_address_ids, egress_nat_ip_address_ids=null, + trusted_address_ranges=null, vnet_configuration=null ):: std.prune(a={ egress_nat_ip_address_ids: egress_nat_ip_address_ids, public_ip_address_ids: public_ip_address_ids, + trusted_address_ranges: trusted_address_ranges, vnet_configuration: vnet_configuration, }), vnet_configuration:: { diff --git a/3.x/_gen/resources/palo_alto_next_generation_firewall_virtual_network_panorama.libsonnet b/3.x/_gen/resources/palo_alto_next_generation_firewall_virtual_network_panorama.libsonnet index c076a3e8..ff5c393f 100644 --- a/3.x/_gen/resources/palo_alto_next_generation_firewall_virtual_network_panorama.libsonnet +++ b/3.x/_gen/resources/palo_alto_next_generation_firewall_virtual_network_panorama.libsonnet @@ -47,14 +47,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, network_profile:: { - '#new':: d.fn(help='\n`azurerm.palo_alto_next_generation_firewall_virtual_network_panorama.network_profile.new` constructs a new object with attributes and blocks configured for the `network_profile`\nTerraform sub block.\n\n\n\n**Args**:\n - `egress_nat_ip_address_ids` (`list`): Set the `egress_nat_ip_address_ids` field on the resulting object. When `null`, the `egress_nat_ip_address_ids` field will be omitted from the resulting object.\n - `public_ip_address_ids` (`list`): Set the `public_ip_address_ids` field on the resulting object.\n - `vnet_configuration` (`list[obj]`): Set the `vnet_configuration` field on the resulting object. When `null`, the `vnet_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.palo_alto_next_generation_firewall_virtual_network_panorama.network_profile.vnet_configuration.new](#fn-network_profilevnet_configurationnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `network_profile` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.palo_alto_next_generation_firewall_virtual_network_panorama.network_profile.new` constructs a new object with attributes and blocks configured for the `network_profile`\nTerraform sub block.\n\n\n\n**Args**:\n - `egress_nat_ip_address_ids` (`list`): Set the `egress_nat_ip_address_ids` field on the resulting object. When `null`, the `egress_nat_ip_address_ids` field will be omitted from the resulting object.\n - `public_ip_address_ids` (`list`): Set the `public_ip_address_ids` field on the resulting object.\n - `trusted_address_ranges` (`list`): Set the `trusted_address_ranges` field on the resulting object. When `null`, the `trusted_address_ranges` field will be omitted from the resulting object.\n - `vnet_configuration` (`list[obj]`): Set the `vnet_configuration` field on the resulting object. When `null`, the `vnet_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.palo_alto_next_generation_firewall_virtual_network_panorama.network_profile.vnet_configuration.new](#fn-network_profilevnet_configurationnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `network_profile` sub block.\n', args=[]), new( public_ip_address_ids, egress_nat_ip_address_ids=null, + trusted_address_ranges=null, vnet_configuration=null ):: std.prune(a={ egress_nat_ip_address_ids: egress_nat_ip_address_ids, public_ip_address_ids: public_ip_address_ids, + trusted_address_ranges: trusted_address_ranges, vnet_configuration: vnet_configuration, }), vnet_configuration:: { diff --git a/3.x/_gen/resources/postgresql_configuration.libsonnet b/3.x/_gen/resources/postgresql_configuration.libsonnet index 9aca5e3f..010d4821 100644 --- a/3.x/_gen/resources/postgresql_configuration.libsonnet +++ b/3.x/_gen/resources/postgresql_configuration.libsonnet @@ -38,17 +38,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); value: value, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.postgresql_configuration.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':: d.fn(help='\n`azurerm.postgresql_configuration.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#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=[]), diff --git a/3.x/_gen/resources/postgresql_database.libsonnet b/3.x/_gen/resources/postgresql_database.libsonnet index 7bb39ac5..7ae5d8dc 100644 --- a/3.x/_gen/resources/postgresql_database.libsonnet +++ b/3.x/_gen/resources/postgresql_database.libsonnet @@ -42,17 +42,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.postgresql_database.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':: d.fn(help='\n`azurerm.postgresql_database.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withCharset':: d.fn(help='`azurerm.string.withCharset` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the charset 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 `charset` field.\n', args=[]), diff --git a/3.x/_gen/resources/postgresql_firewall_rule.libsonnet b/3.x/_gen/resources/postgresql_firewall_rule.libsonnet index 0c66909b..516a682c 100644 --- a/3.x/_gen/resources/postgresql_firewall_rule.libsonnet +++ b/3.x/_gen/resources/postgresql_firewall_rule.libsonnet @@ -42,17 +42,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.postgresql_firewall_rule.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':: d.fn(help='\n`azurerm.postgresql_firewall_rule.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withEndIpAddress':: d.fn(help='`azurerm.string.withEndIpAddress` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the end_ip_address 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 `end_ip_address` field.\n', args=[]), diff --git a/3.x/_gen/resources/postgresql_flexible_server_active_directory_administrator.libsonnet b/3.x/_gen/resources/postgresql_flexible_server_active_directory_administrator.libsonnet index 83313303..77a83ab9 100644 --- a/3.x/_gen/resources/postgresql_flexible_server_active_directory_administrator.libsonnet +++ b/3.x/_gen/resources/postgresql_flexible_server_active_directory_administrator.libsonnet @@ -46,17 +46,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.postgresql_flexible_server_active_directory_administrator.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':: d.fn(help='\n`azurerm.postgresql_flexible_server_active_directory_administrator.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withObjectId':: d.fn(help='`azurerm.string.withObjectId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the object_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 `object_id` field.\n', args=[]), diff --git a/3.x/_gen/resources/redhat_openshift_cluster.libsonnet b/3.x/_gen/resources/redhat_openshift_cluster.libsonnet new file mode 100644 index 00000000..0137c6cb --- /dev/null +++ b/3.x/_gen/resources/redhat_openshift_cluster.libsonnet @@ -0,0 +1,366 @@ +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='redhat_openshift_cluster', url='', help='`redhat_openshift_cluster` represents the `azurerm_redhat_openshift_cluster` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + api_server_profile:: { + '#new':: d.fn(help='\n`azurerm.redhat_openshift_cluster.api_server_profile.new` constructs a new object with attributes and blocks configured for the `api_server_profile`\nTerraform sub block.\n\n\n\n**Args**:\n - `visibility` (`string`): Set the `visibility` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `api_server_profile` sub block.\n', args=[]), + new( + visibility + ):: std.prune(a={ + visibility: visibility, + }), + }, + cluster_profile:: { + '#new':: d.fn(help='\n`azurerm.redhat_openshift_cluster.cluster_profile.new` constructs a new object with attributes and blocks configured for the `cluster_profile`\nTerraform sub block.\n\n\n\n**Args**:\n - `domain` (`string`): Set the `domain` field on the resulting object.\n - `fips_enabled` (`bool`): Set the `fips_enabled` field on the resulting object. When `null`, the `fips_enabled` field will be omitted from the resulting object.\n - `pull_secret` (`string`): Set the `pull_secret` field on the resulting object. When `null`, the `pull_secret` field will be omitted from the resulting object.\n - `version` (`string`): Set the `version` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `cluster_profile` sub block.\n', args=[]), + new( + domain, + version, + fips_enabled=null, + pull_secret=null + ):: std.prune(a={ + domain: domain, + fips_enabled: fips_enabled, + pull_secret: pull_secret, + version: version, + }), + }, + ingress_profile:: { + '#new':: d.fn(help='\n`azurerm.redhat_openshift_cluster.ingress_profile.new` constructs a new object with attributes and blocks configured for the `ingress_profile`\nTerraform sub block.\n\n\n\n**Args**:\n - `visibility` (`string`): Set the `visibility` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `ingress_profile` sub block.\n', args=[]), + new( + visibility + ):: std.prune(a={ + visibility: visibility, + }), + }, + main_profile:: { + '#new':: d.fn(help='\n`azurerm.redhat_openshift_cluster.main_profile.new` constructs a new object with attributes and blocks configured for the `main_profile`\nTerraform sub block.\n\n\n\n**Args**:\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 - `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 - `subnet_id` (`string`): Set the `subnet_id` field on the resulting object.\n - `vm_size` (`string`): Set the `vm_size` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `main_profile` sub block.\n', args=[]), + new( + subnet_id, + vm_size, + disk_encryption_set_id=null, + encryption_at_host_enabled=null + ):: std.prune(a={ + disk_encryption_set_id: disk_encryption_set_id, + encryption_at_host_enabled: encryption_at_host_enabled, + subnet_id: subnet_id, + vm_size: vm_size, + }), + }, + network_profile:: { + '#new':: d.fn(help='\n`azurerm.redhat_openshift_cluster.network_profile.new` constructs a new object with attributes and blocks configured for the `network_profile`\nTerraform sub block.\n\n\n\n**Args**:\n - `outbound_type` (`string`): Set the `outbound_type` field on the resulting object. When `null`, the `outbound_type` field will be omitted from the resulting object.\n - `pod_cidr` (`string`): Set the `pod_cidr` field on the resulting object.\n - `service_cidr` (`string`): Set the `service_cidr` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `network_profile` sub block.\n', args=[]), + new( + pod_cidr, + service_cidr, + outbound_type=null + ):: std.prune(a={ + outbound_type: outbound_type, + pod_cidr: pod_cidr, + service_cidr: service_cidr, + }), + }, + '#new':: d.fn(help="\n`azurerm.redhat_openshift_cluster.new` injects a new `azurerm_redhat_openshift_cluster` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.redhat_openshift_cluster.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.redhat_openshift_cluster` using the reference:\n\n $._ref.azurerm_redhat_openshift_cluster.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_redhat_openshift_cluster.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `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 - `api_server_profile` (`list[obj]`): Set the `api_server_profile` field on the resulting resource block. When `null`, the `api_server_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.api_server_profile.new](#fn-api_server_profilenew) constructor.\n - `cluster_profile` (`list[obj]`): Set the `cluster_profile` field on the resulting resource block. When `null`, the `cluster_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.cluster_profile.new](#fn-cluster_profilenew) constructor.\n - `ingress_profile` (`list[obj]`): Set the `ingress_profile` field on the resulting resource block. When `null`, the `ingress_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.ingress_profile.new](#fn-ingress_profilenew) constructor.\n - `main_profile` (`list[obj]`): Set the `main_profile` field on the resulting resource block. When `null`, the `main_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.main_profile.new](#fn-main_profilenew) constructor.\n - `network_profile` (`list[obj]`): Set the `network_profile` field on the resulting resource block. When `null`, the `network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.network_profile.new](#fn-network_profilenew) constructor.\n - `service_principal` (`list[obj]`): Set the `service_principal` field on the resulting resource block. When `null`, the `service_principal` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.service_principal.new](#fn-service_principalnew) 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.redhat_openshift_cluster.timeouts.new](#fn-timeoutsnew) constructor.\n - `worker_profile` (`list[obj]`): Set the `worker_profile` field on the resulting resource block. When `null`, the `worker_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.worker_profile.new](#fn-worker_profilenew) 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, + api_server_profile=null, + cluster_profile=null, + ingress_profile=null, + main_profile=null, + network_profile=null, + service_principal=null, + tags=null, + timeouts=null, + worker_profile=null, + _meta={} + ):: tf.withResource( + type='azurerm_redhat_openshift_cluster', + label=resourceLabel, + attrs=self.newAttrs( + api_server_profile=api_server_profile, + cluster_profile=cluster_profile, + ingress_profile=ingress_profile, + location=location, + main_profile=main_profile, + name=name, + network_profile=network_profile, + resource_group_name=resource_group_name, + service_principal=service_principal, + tags=tags, + timeouts=timeouts, + worker_profile=worker_profile + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.redhat_openshift_cluster.newAttrs` constructs a new object with attributes and blocks configured for the `redhat_openshift_cluster`\nTerraform resource.\n\nUnlike [azurerm.redhat_openshift_cluster.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `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 - `api_server_profile` (`list[obj]`): Set the `api_server_profile` field on the resulting object. When `null`, the `api_server_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.api_server_profile.new](#fn-api_server_profilenew) constructor.\n - `cluster_profile` (`list[obj]`): Set the `cluster_profile` field on the resulting object. When `null`, the `cluster_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.cluster_profile.new](#fn-cluster_profilenew) constructor.\n - `ingress_profile` (`list[obj]`): Set the `ingress_profile` field on the resulting object. When `null`, the `ingress_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.ingress_profile.new](#fn-ingress_profilenew) constructor.\n - `main_profile` (`list[obj]`): Set the `main_profile` field on the resulting object. When `null`, the `main_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.main_profile.new](#fn-main_profilenew) constructor.\n - `network_profile` (`list[obj]`): Set the `network_profile` field on the resulting object. When `null`, the `network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.network_profile.new](#fn-network_profilenew) constructor.\n - `service_principal` (`list[obj]`): Set the `service_principal` field on the resulting object. When `null`, the `service_principal` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.service_principal.new](#fn-service_principalnew) 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.redhat_openshift_cluster.timeouts.new](#fn-timeoutsnew) constructor.\n - `worker_profile` (`list[obj]`): Set the `worker_profile` field on the resulting object. When `null`, the `worker_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.worker_profile.new](#fn-worker_profilenew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `redhat_openshift_cluster` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + location, + name, + resource_group_name, + api_server_profile=null, + cluster_profile=null, + ingress_profile=null, + main_profile=null, + network_profile=null, + service_principal=null, + tags=null, + timeouts=null, + worker_profile=null + ):: std.prune(a={ + api_server_profile: api_server_profile, + cluster_profile: cluster_profile, + ingress_profile: ingress_profile, + location: location, + main_profile: main_profile, + name: name, + network_profile: network_profile, + resource_group_name: resource_group_name, + service_principal: service_principal, + tags: tags, + timeouts: timeouts, + worker_profile: worker_profile, + }), + service_principal:: { + '#new':: d.fn(help='\n`azurerm.redhat_openshift_cluster.service_principal.new` constructs a new object with attributes and blocks configured for the `service_principal`\nTerraform sub block.\n\n\n\n**Args**:\n - `client_id` (`string`): Set the `client_id` field on the resulting object.\n - `client_secret` (`string`): Set the `client_secret` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `service_principal` sub block.\n', args=[]), + new( + client_id, + client_secret + ):: std.prune(a={ + client_id: client_id, + client_secret: client_secret, + }), + }, + timeouts:: { + '#new':: d.fn(help='\n`azurerm.redhat_openshift_cluster.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, + }), + }, + '#withApiServerProfile':: d.fn(help='`azurerm.list[obj].withApiServerProfile` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the api_server_profile 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].withApiServerProfileMixin](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 `api_server_profile` field.\n', args=[]), + withApiServerProfile(resourceLabel, value): { + resource+: { + azurerm_redhat_openshift_cluster+: { + [resourceLabel]+: { + api_server_profile: value, + }, + }, + }, + }, + '#withApiServerProfileMixin':: d.fn(help='`azurerm.list[obj].withApiServerProfileMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the api_server_profile 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].withApiServerProfile](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 `api_server_profile` field.\n', args=[]), + withApiServerProfileMixin(resourceLabel, value): { + resource+: { + azurerm_redhat_openshift_cluster+: { + [resourceLabel]+: { + api_server_profile+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withClusterProfile':: d.fn(help='`azurerm.list[obj].withClusterProfile` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the cluster_profile 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].withClusterProfileMixin](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 `cluster_profile` field.\n', args=[]), + withClusterProfile(resourceLabel, value): { + resource+: { + azurerm_redhat_openshift_cluster+: { + [resourceLabel]+: { + cluster_profile: value, + }, + }, + }, + }, + '#withClusterProfileMixin':: d.fn(help='`azurerm.list[obj].withClusterProfileMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the cluster_profile 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].withClusterProfile](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 `cluster_profile` field.\n', args=[]), + withClusterProfileMixin(resourceLabel, value): { + resource+: { + azurerm_redhat_openshift_cluster+: { + [resourceLabel]+: { + cluster_profile+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withIngressProfile':: d.fn(help='`azurerm.list[obj].withIngressProfile` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the ingress_profile 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].withIngressProfileMixin](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 `ingress_profile` field.\n', args=[]), + withIngressProfile(resourceLabel, value): { + resource+: { + azurerm_redhat_openshift_cluster+: { + [resourceLabel]+: { + ingress_profile: value, + }, + }, + }, + }, + '#withIngressProfileMixin':: d.fn(help='`azurerm.list[obj].withIngressProfileMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the ingress_profile 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].withIngressProfile](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 `ingress_profile` field.\n', args=[]), + withIngressProfileMixin(resourceLabel, value): { + resource+: { + azurerm_redhat_openshift_cluster+: { + [resourceLabel]+: { + ingress_profile+: if std.isArray(v=value) then value else [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_redhat_openshift_cluster+: { + [resourceLabel]+: { + location: value, + }, + }, + }, + }, + '#withMainProfile':: d.fn(help='`azurerm.list[obj].withMainProfile` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the main_profile 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].withMainProfileMixin](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 `main_profile` field.\n', args=[]), + withMainProfile(resourceLabel, value): { + resource+: { + azurerm_redhat_openshift_cluster+: { + [resourceLabel]+: { + main_profile: value, + }, + }, + }, + }, + '#withMainProfileMixin':: d.fn(help='`azurerm.list[obj].withMainProfileMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the main_profile 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].withMainProfile](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 `main_profile` field.\n', args=[]), + withMainProfileMixin(resourceLabel, value): { + resource+: { + azurerm_redhat_openshift_cluster+: { + [resourceLabel]+: { + main_profile+: if std.isArray(v=value) then value else [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_redhat_openshift_cluster+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withNetworkProfile':: d.fn(help='`azurerm.list[obj].withNetworkProfile` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the network_profile 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].withNetworkProfileMixin](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 `network_profile` field.\n', args=[]), + withNetworkProfile(resourceLabel, value): { + resource+: { + azurerm_redhat_openshift_cluster+: { + [resourceLabel]+: { + network_profile: value, + }, + }, + }, + }, + '#withNetworkProfileMixin':: d.fn(help='`azurerm.list[obj].withNetworkProfileMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the network_profile 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].withNetworkProfile](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 `network_profile` field.\n', args=[]), + withNetworkProfileMixin(resourceLabel, value): { + resource+: { + azurerm_redhat_openshift_cluster+: { + [resourceLabel]+: { + network_profile+: if std.isArray(v=value) then value else [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_redhat_openshift_cluster+: { + [resourceLabel]+: { + resource_group_name: value, + }, + }, + }, + }, + '#withServicePrincipal':: d.fn(help='`azurerm.list[obj].withServicePrincipal` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the service_principal 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].withServicePrincipalMixin](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 `service_principal` field.\n', args=[]), + withServicePrincipal(resourceLabel, value): { + resource+: { + azurerm_redhat_openshift_cluster+: { + [resourceLabel]+: { + service_principal: value, + }, + }, + }, + }, + '#withServicePrincipalMixin':: d.fn(help='`azurerm.list[obj].withServicePrincipalMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the service_principal 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].withServicePrincipal](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 `service_principal` field.\n', args=[]), + withServicePrincipalMixin(resourceLabel, value): { + resource+: { + azurerm_redhat_openshift_cluster+: { + [resourceLabel]+: { + service_principal+: 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+: { + azurerm_redhat_openshift_cluster+: { + [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_redhat_openshift_cluster+: { + [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_redhat_openshift_cluster+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, + '#withWorkerProfile':: d.fn(help='`azurerm.list[obj].withWorkerProfile` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the worker_profile 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].withWorkerProfileMixin](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 `worker_profile` field.\n', args=[]), + withWorkerProfile(resourceLabel, value): { + resource+: { + azurerm_redhat_openshift_cluster+: { + [resourceLabel]+: { + worker_profile: value, + }, + }, + }, + }, + '#withWorkerProfileMixin':: d.fn(help='`azurerm.list[obj].withWorkerProfileMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the worker_profile 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].withWorkerProfile](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 `worker_profile` field.\n', args=[]), + withWorkerProfileMixin(resourceLabel, value): { + resource+: { + azurerm_redhat_openshift_cluster+: { + [resourceLabel]+: { + worker_profile+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + worker_profile:: { + '#new':: d.fn(help='\n`azurerm.redhat_openshift_cluster.worker_profile.new` constructs a new object with attributes and blocks configured for the `worker_profile`\nTerraform sub block.\n\n\n\n**Args**:\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 - `disk_size_gb` (`number`): Set the `disk_size_gb` field on 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 - `node_count` (`number`): Set the `node_count` field on the resulting object.\n - `subnet_id` (`string`): Set the `subnet_id` field on the resulting object.\n - `vm_size` (`string`): Set the `vm_size` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `worker_profile` sub block.\n', args=[]), + new( + disk_size_gb, + node_count, + subnet_id, + vm_size, + disk_encryption_set_id=null, + encryption_at_host_enabled=null + ):: std.prune(a={ + disk_encryption_set_id: disk_encryption_set_id, + disk_size_gb: disk_size_gb, + encryption_at_host_enabled: encryption_at_host_enabled, + node_count: node_count, + subnet_id: subnet_id, + vm_size: vm_size, + }), + }, +} diff --git a/3.x/_gen/resources/redis_cache.libsonnet b/3.x/_gen/resources/redis_cache.libsonnet index 7e32e75b..e16c43e4 100644 --- a/3.x/_gen/resources/redis_cache.libsonnet +++ b/3.x/_gen/resources/redis_cache.libsonnet @@ -128,8 +128,9 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, redis_configuration:: { - '#new':: d.fn(help='\n`azurerm.redis_cache.redis_configuration.new` constructs a new object with attributes and blocks configured for the `redis_configuration`\nTerraform sub block.\n\n\n\n**Args**:\n - `aof_backup_enabled` (`bool`): Set the `aof_backup_enabled` field on the resulting object. When `null`, the `aof_backup_enabled` field will be omitted from the resulting object.\n - `aof_storage_connection_string_0` (`string`): Set the `aof_storage_connection_string_0` field on the resulting object. When `null`, the `aof_storage_connection_string_0` field will be omitted from the resulting object.\n - `aof_storage_connection_string_1` (`string`): Set the `aof_storage_connection_string_1` field on the resulting object. When `null`, the `aof_storage_connection_string_1` field will be omitted from the resulting object.\n - `enable_authentication` (`bool`): Set the `enable_authentication` field on the resulting object. When `null`, the `enable_authentication` field will be omitted from the resulting object.\n - `maxfragmentationmemory_reserved` (`number`): Set the `maxfragmentationmemory_reserved` field on the resulting object. When `null`, the `maxfragmentationmemory_reserved` field will be omitted from the resulting object.\n - `maxmemory_delta` (`number`): Set the `maxmemory_delta` field on the resulting object. When `null`, the `maxmemory_delta` field will be omitted from the resulting object.\n - `maxmemory_policy` (`string`): Set the `maxmemory_policy` field on the resulting object. When `null`, the `maxmemory_policy` field will be omitted from the resulting object.\n - `maxmemory_reserved` (`number`): Set the `maxmemory_reserved` field on the resulting object. When `null`, the `maxmemory_reserved` field will be omitted from the resulting object.\n - `notify_keyspace_events` (`string`): Set the `notify_keyspace_events` field on the resulting object. When `null`, the `notify_keyspace_events` field will be omitted from the resulting object.\n - `rdb_backup_enabled` (`bool`): Set the `rdb_backup_enabled` field on the resulting object. When `null`, the `rdb_backup_enabled` field will be omitted from the resulting object.\n - `rdb_backup_frequency` (`number`): Set the `rdb_backup_frequency` field on the resulting object. When `null`, the `rdb_backup_frequency` field will be omitted from the resulting object.\n - `rdb_backup_max_snapshot_count` (`number`): Set the `rdb_backup_max_snapshot_count` field on the resulting object. When `null`, the `rdb_backup_max_snapshot_count` field will be omitted from the resulting object.\n - `rdb_storage_connection_string` (`string`): Set the `rdb_storage_connection_string` field on the resulting object. When `null`, the `rdb_storage_connection_string` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `redis_configuration` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.redis_cache.redis_configuration.new` constructs a new object with attributes and blocks configured for the `redis_configuration`\nTerraform sub block.\n\n\n\n**Args**:\n - `active_directory_authentication_enabled` (`bool`): Set the `active_directory_authentication_enabled` field on the resulting object. When `null`, the `active_directory_authentication_enabled` field will be omitted from the resulting object.\n - `aof_backup_enabled` (`bool`): Set the `aof_backup_enabled` field on the resulting object. When `null`, the `aof_backup_enabled` field will be omitted from the resulting object.\n - `aof_storage_connection_string_0` (`string`): Set the `aof_storage_connection_string_0` field on the resulting object. When `null`, the `aof_storage_connection_string_0` field will be omitted from the resulting object.\n - `aof_storage_connection_string_1` (`string`): Set the `aof_storage_connection_string_1` field on the resulting object. When `null`, the `aof_storage_connection_string_1` field will be omitted from the resulting object.\n - `enable_authentication` (`bool`): Set the `enable_authentication` field on the resulting object. When `null`, the `enable_authentication` field will be omitted from the resulting object.\n - `maxfragmentationmemory_reserved` (`number`): Set the `maxfragmentationmemory_reserved` field on the resulting object. When `null`, the `maxfragmentationmemory_reserved` field will be omitted from the resulting object.\n - `maxmemory_delta` (`number`): Set the `maxmemory_delta` field on the resulting object. When `null`, the `maxmemory_delta` field will be omitted from the resulting object.\n - `maxmemory_policy` (`string`): Set the `maxmemory_policy` field on the resulting object. When `null`, the `maxmemory_policy` field will be omitted from the resulting object.\n - `maxmemory_reserved` (`number`): Set the `maxmemory_reserved` field on the resulting object. When `null`, the `maxmemory_reserved` field will be omitted from the resulting object.\n - `notify_keyspace_events` (`string`): Set the `notify_keyspace_events` field on the resulting object. When `null`, the `notify_keyspace_events` field will be omitted from the resulting object.\n - `rdb_backup_enabled` (`bool`): Set the `rdb_backup_enabled` field on the resulting object. When `null`, the `rdb_backup_enabled` field will be omitted from the resulting object.\n - `rdb_backup_frequency` (`number`): Set the `rdb_backup_frequency` field on the resulting object. When `null`, the `rdb_backup_frequency` field will be omitted from the resulting object.\n - `rdb_backup_max_snapshot_count` (`number`): Set the `rdb_backup_max_snapshot_count` field on the resulting object. When `null`, the `rdb_backup_max_snapshot_count` field will be omitted from the resulting object.\n - `rdb_storage_connection_string` (`string`): Set the `rdb_storage_connection_string` field on the resulting object. When `null`, the `rdb_storage_connection_string` field will be omitted from the resulting object.\n - `storage_account_subscription_id` (`string`): Set the `storage_account_subscription_id` field on the resulting object. When `null`, the `storage_account_subscription_id` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `redis_configuration` sub block.\n', args=[]), new( + active_directory_authentication_enabled=null, aof_backup_enabled=null, aof_storage_connection_string_0=null, aof_storage_connection_string_1=null, @@ -142,8 +143,10 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); rdb_backup_enabled=null, rdb_backup_frequency=null, rdb_backup_max_snapshot_count=null, - rdb_storage_connection_string=null + rdb_storage_connection_string=null, + storage_account_subscription_id=null ):: std.prune(a={ + active_directory_authentication_enabled: active_directory_authentication_enabled, aof_backup_enabled: aof_backup_enabled, aof_storage_connection_string_0: aof_storage_connection_string_0, aof_storage_connection_string_1: aof_storage_connection_string_1, @@ -157,6 +160,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); rdb_backup_frequency: rdb_backup_frequency, rdb_backup_max_snapshot_count: rdb_backup_max_snapshot_count, rdb_storage_connection_string: rdb_storage_connection_string, + storage_account_subscription_id: storage_account_subscription_id, }), }, timeouts:: { diff --git a/3.x/_gen/resources/redis_linked_server.libsonnet b/3.x/_gen/resources/redis_linked_server.libsonnet index 8b21ec7c..f3b3e707 100644 --- a/3.x/_gen/resources/redis_linked_server.libsonnet +++ b/3.x/_gen/resources/redis_linked_server.libsonnet @@ -42,17 +42,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.redis_linked_server.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':: d.fn(help='\n`azurerm.redis_linked_server.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withLinkedRedisCacheId':: d.fn(help='`azurerm.string.withLinkedRedisCacheId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the linked_redis_cache_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 `linked_redis_cache_id` field.\n', args=[]), diff --git a/3.x/_gen/resources/role_assignment.libsonnet b/3.x/_gen/resources/role_assignment.libsonnet index 8e066e13..3ddd3403 100644 --- a/3.x/_gen/resources/role_assignment.libsonnet +++ b/3.x/_gen/resources/role_assignment.libsonnet @@ -2,7 +2,7 @@ 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='role_assignment', url='', help='`role_assignment` represents the `azurerm_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.role_assignment.new` injects a new `azurerm_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.role_assignment.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.role_assignment` using the reference:\n\n $._ref.azurerm_role_assignment.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_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 - `scope` (`string`): Set the `scope` field on the resulting resource block.\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.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':: d.fn(help="\n`azurerm.role_assignment.new` injects a new `azurerm_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.role_assignment.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.role_assignment` using the reference:\n\n $._ref.azurerm_role_assignment.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_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 - `principal_type` (`string`): Set the `principal_type` field on the resulting resource block. When `null`, the `principal_type` field will be omitted from the resulting object.\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 - `scope` (`string`): Set the `scope` field on the resulting resource block.\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.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, @@ -12,6 +12,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); delegated_managed_identity_resource_id=null, description=null, name=null, + principal_type=null, role_definition_id=null, role_definition_name=null, skip_service_principal_aad_check=null, @@ -27,6 +28,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); description=description, name=name, principal_id=principal_id, + principal_type=principal_type, role_definition_id=role_definition_id, role_definition_name=role_definition_name, scope=scope, @@ -35,7 +37,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.role_assignment.newAttrs` constructs a new object with attributes and blocks configured for the `role_assignment`\nTerraform resource.\n\nUnlike [azurerm.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 - `scope` (`string`): Set the `scope` field on 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.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 `role_assignment` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.role_assignment.newAttrs` constructs a new object with attributes and blocks configured for the `role_assignment`\nTerraform resource.\n\nUnlike [azurerm.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 - `principal_type` (`string`): Set the `principal_type` field on the resulting object. When `null`, the `principal_type` field will be omitted from 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 - `scope` (`string`): Set the `scope` field on 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.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 `role_assignment` resource into the root Terraform configuration.\n', args=[]), newAttrs( principal_id, scope, @@ -44,6 +46,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); delegated_managed_identity_resource_id=null, description=null, name=null, + principal_type=null, role_definition_id=null, role_definition_name=null, skip_service_principal_aad_check=null, @@ -55,6 +58,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); description: description, name: name, principal_id: principal_id, + principal_type: principal_type, role_definition_id: role_definition_id, role_definition_name: role_definition_name, scope: scope, @@ -62,17 +66,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.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 - `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':: d.fn(help='\n`azurerm.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#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=[]), @@ -135,6 +137,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withPrincipalType':: d.fn(help='`azurerm.string.withPrincipalType` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the principal_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 `principal_type` field.\n', args=[]), + withPrincipalType(resourceLabel, value): { + resource+: { + azurerm_role_assignment+: { + [resourceLabel]+: { + principal_type: 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+: { diff --git a/3.x/_gen/resources/security_center_server_vulnerability_assessments_setting.libsonnet b/3.x/_gen/resources/security_center_server_vulnerability_assessments_setting.libsonnet new file mode 100644 index 00000000..dac38568 --- /dev/null +++ b/3.x/_gen/resources/security_center_server_vulnerability_assessments_setting.libsonnet @@ -0,0 +1,69 @@ +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='security_center_server_vulnerability_assessments_setting', url='', help='`security_center_server_vulnerability_assessments_setting` represents the `azurerm_security_center_server_vulnerability_assessments_setting` 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.security_center_server_vulnerability_assessments_setting.new` injects a new `azurerm_security_center_server_vulnerability_assessments_setting` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.security_center_server_vulnerability_assessments_setting.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.security_center_server_vulnerability_assessments_setting` using the reference:\n\n $._ref.azurerm_security_center_server_vulnerability_assessments_setting.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_security_center_server_vulnerability_assessments_setting.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `vulnerability_assessment_provider` (`string`): Set the `vulnerability_assessment_provider` 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.security_center_server_vulnerability_assessments_setting.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + new( + resourceLabel, + vulnerability_assessment_provider, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_security_center_server_vulnerability_assessments_setting', + label=resourceLabel, + attrs=self.newAttrs(timeouts=timeouts, vulnerability_assessment_provider=vulnerability_assessment_provider), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.security_center_server_vulnerability_assessments_setting.newAttrs` constructs a new object with attributes and blocks configured for the `security_center_server_vulnerability_assessments_setting`\nTerraform resource.\n\nUnlike [azurerm.security_center_server_vulnerability_assessments_setting.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `vulnerability_assessment_provider` (`string`): Set the `vulnerability_assessment_provider` 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.security_center_server_vulnerability_assessments_setting.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `security_center_server_vulnerability_assessments_setting` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + vulnerability_assessment_provider, + timeouts=null + ):: std.prune(a={ + timeouts: timeouts, + vulnerability_assessment_provider: vulnerability_assessment_provider, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.security_center_server_vulnerability_assessments_setting.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, + }), + }, + '#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_security_center_server_vulnerability_assessments_setting+: { + [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_security_center_server_vulnerability_assessments_setting+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, + '#withVulnerabilityAssessmentProvider':: d.fn(help='`azurerm.string.withVulnerabilityAssessmentProvider` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the vulnerability_assessment_provider 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 `vulnerability_assessment_provider` field.\n', args=[]), + withVulnerabilityAssessmentProvider(resourceLabel, value): { + resource+: { + azurerm_security_center_server_vulnerability_assessments_setting+: { + [resourceLabel]+: { + vulnerability_assessment_provider: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/shared_image.libsonnet b/3.x/_gen/resources/shared_image.libsonnet index c659d496..9130e4ba 100644 --- a/3.x/_gen/resources/shared_image.libsonnet +++ b/3.x/_gen/resources/shared_image.libsonnet @@ -14,7 +14,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); sku: sku, }), }, - '#new':: d.fn(help="\n`azurerm.shared_image.new` injects a new `azurerm_shared_image` 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.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.shared_image` using the reference:\n\n $._ref.azurerm_shared_image.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_shared_image.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 - `accelerated_network_support_enabled` (`bool`): Set the `accelerated_network_support_enabled` field on the resulting resource block. When `null`, the `accelerated_network_support_enabled` field will be omitted from the resulting object.\n - `architecture` (`string`): Set the `architecture` field on the resulting resource block. When `null`, the `architecture` field will be omitted from the resulting object.\n - `confidential_vm_enabled` (`bool`): Set the `confidential_vm_enabled` field on the resulting resource block. When `null`, the `confidential_vm_enabled` field will be omitted from the resulting object.\n - `confidential_vm_supported` (`bool`): Set the `confidential_vm_supported` field on the resulting resource block. When `null`, the `confidential_vm_supported` 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 - `disk_types_not_allowed` (`list`): Set the `disk_types_not_allowed` field on the resulting resource block. When `null`, the `disk_types_not_allowed` field will be omitted from the resulting object.\n - `end_of_life_date` (`string`): Set the `end_of_life_date` field on the resulting resource block. When `null`, the `end_of_life_date` field will be omitted from the resulting object.\n - `eula` (`string`): Set the `eula` field on the resulting resource block. When `null`, the `eula` field will be omitted from the resulting object.\n - `gallery_name` (`string`): Set the `gallery_name` field on the resulting resource block.\n - `hyper_v_generation` (`string`): Set the `hyper_v_generation` field on the resulting resource block. When `null`, the `hyper_v_generation` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `max_recommended_memory_in_gb` (`number`): Set the `max_recommended_memory_in_gb` field on the resulting resource block. When `null`, the `max_recommended_memory_in_gb` field will be omitted from the resulting object.\n - `max_recommended_vcpu_count` (`number`): Set the `max_recommended_vcpu_count` field on the resulting resource block. When `null`, the `max_recommended_vcpu_count` field will be omitted from the resulting object.\n - `min_recommended_memory_in_gb` (`number`): Set the `min_recommended_memory_in_gb` field on the resulting resource block. When `null`, the `min_recommended_memory_in_gb` field will be omitted from the resulting object.\n - `min_recommended_vcpu_count` (`number`): Set the `min_recommended_vcpu_count` field on the resulting resource block. When `null`, the `min_recommended_vcpu_count` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `os_type` (`string`): Set the `os_type` field on the resulting resource block.\n - `privacy_statement_uri` (`string`): Set the `privacy_statement_uri` field on the resulting resource block. When `null`, the `privacy_statement_uri` field will be omitted from the resulting object.\n - `release_note_uri` (`string`): Set the `release_note_uri` field on the resulting resource block. When `null`, the `release_note_uri` 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 - `specialized` (`bool`): Set the `specialized` field on the resulting resource block. When `null`, the `specialized` 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 - `trusted_launch_enabled` (`bool`): Set the `trusted_launch_enabled` field on the resulting resource block. When `null`, the `trusted_launch_enabled` field will be omitted from the resulting object.\n - `identifier` (`list[obj]`): Set the `identifier` field on the resulting resource block. When `null`, the `identifier` 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.identifier.new](#fn-identifiernew) constructor.\n - `purchase_plan` (`list[obj]`): Set the `purchase_plan` field on the resulting resource block. When `null`, the `purchase_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.shared_image.purchase_plan.new](#fn-purchase_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.shared_image.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.new` injects a new `azurerm_shared_image` 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.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.shared_image` using the reference:\n\n $._ref.azurerm_shared_image.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_shared_image.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 - `accelerated_network_support_enabled` (`bool`): Set the `accelerated_network_support_enabled` field on the resulting resource block. When `null`, the `accelerated_network_support_enabled` field will be omitted from the resulting object.\n - `architecture` (`string`): Set the `architecture` field on the resulting resource block. When `null`, the `architecture` field will be omitted from the resulting object.\n - `confidential_vm_enabled` (`bool`): Set the `confidential_vm_enabled` field on the resulting resource block. When `null`, the `confidential_vm_enabled` field will be omitted from the resulting object.\n - `confidential_vm_supported` (`bool`): Set the `confidential_vm_supported` field on the resulting resource block. When `null`, the `confidential_vm_supported` 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 - `disk_types_not_allowed` (`list`): Set the `disk_types_not_allowed` field on the resulting resource block. When `null`, the `disk_types_not_allowed` field will be omitted from the resulting object.\n - `end_of_life_date` (`string`): Set the `end_of_life_date` field on the resulting resource block. When `null`, the `end_of_life_date` field will be omitted from the resulting object.\n - `eula` (`string`): Set the `eula` field on the resulting resource block. When `null`, the `eula` field will be omitted from the resulting object.\n - `gallery_name` (`string`): Set the `gallery_name` field on the resulting resource block.\n - `hyper_v_generation` (`string`): Set the `hyper_v_generation` field on the resulting resource block. When `null`, the `hyper_v_generation` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `max_recommended_memory_in_gb` (`number`): Set the `max_recommended_memory_in_gb` field on the resulting resource block. When `null`, the `max_recommended_memory_in_gb` field will be omitted from the resulting object.\n - `max_recommended_vcpu_count` (`number`): Set the `max_recommended_vcpu_count` field on the resulting resource block. When `null`, the `max_recommended_vcpu_count` field will be omitted from the resulting object.\n - `min_recommended_memory_in_gb` (`number`): Set the `min_recommended_memory_in_gb` field on the resulting resource block. When `null`, the `min_recommended_memory_in_gb` field will be omitted from the resulting object.\n - `min_recommended_vcpu_count` (`number`): Set the `min_recommended_vcpu_count` field on the resulting resource block. When `null`, the `min_recommended_vcpu_count` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `os_type` (`string`): Set the `os_type` field on the resulting resource block.\n - `privacy_statement_uri` (`string`): Set the `privacy_statement_uri` field on the resulting resource block. When `null`, the `privacy_statement_uri` field will be omitted from the resulting object.\n - `release_note_uri` (`string`): Set the `release_note_uri` field on the resulting resource block. When `null`, the `release_note_uri` 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 - `specialized` (`bool`): Set the `specialized` field on the resulting resource block. When `null`, the `specialized` 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 - `trusted_launch_enabled` (`bool`): Set the `trusted_launch_enabled` field on the resulting resource block. When `null`, the `trusted_launch_enabled` field will be omitted from the resulting object.\n - `trusted_launch_supported` (`bool`): Set the `trusted_launch_supported` field on the resulting resource block. When `null`, the `trusted_launch_supported` field will be omitted from the resulting object.\n - `identifier` (`list[obj]`): Set the `identifier` field on the resulting resource block. When `null`, the `identifier` 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.identifier.new](#fn-identifiernew) constructor.\n - `purchase_plan` (`list[obj]`): Set the `purchase_plan` field on the resulting resource block. When `null`, the `purchase_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.shared_image.purchase_plan.new](#fn-purchase_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.shared_image.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, gallery_name, @@ -43,6 +43,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=null, timeouts=null, trusted_launch_enabled=null, + trusted_launch_supported=null, _meta={} ):: tf.withResource( type='azurerm_shared_image', @@ -73,11 +74,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); specialized=specialized, tags=tags, timeouts=timeouts, - trusted_launch_enabled=trusted_launch_enabled + trusted_launch_enabled=trusted_launch_enabled, + trusted_launch_supported=trusted_launch_supported ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.shared_image.newAttrs` constructs a new object with attributes and blocks configured for the `shared_image`\nTerraform resource.\n\nUnlike [azurerm.shared_image.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 - `accelerated_network_support_enabled` (`bool`): Set the `accelerated_network_support_enabled` field on the resulting object. When `null`, the `accelerated_network_support_enabled` field will be omitted from the resulting object.\n - `architecture` (`string`): Set the `architecture` field on the resulting object. When `null`, the `architecture` field will be omitted from the resulting object.\n - `confidential_vm_enabled` (`bool`): Set the `confidential_vm_enabled` field on the resulting object. When `null`, the `confidential_vm_enabled` field will be omitted from the resulting object.\n - `confidential_vm_supported` (`bool`): Set the `confidential_vm_supported` field on the resulting object. When `null`, the `confidential_vm_supported` 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 - `disk_types_not_allowed` (`list`): Set the `disk_types_not_allowed` field on the resulting object. When `null`, the `disk_types_not_allowed` field will be omitted from the resulting object.\n - `end_of_life_date` (`string`): Set the `end_of_life_date` field on the resulting object. When `null`, the `end_of_life_date` field will be omitted from the resulting object.\n - `eula` (`string`): Set the `eula` field on the resulting object. When `null`, the `eula` field will be omitted from the resulting object.\n - `gallery_name` (`string`): Set the `gallery_name` field on the resulting object.\n - `hyper_v_generation` (`string`): Set the `hyper_v_generation` field on the resulting object. When `null`, the `hyper_v_generation` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `max_recommended_memory_in_gb` (`number`): Set the `max_recommended_memory_in_gb` field on the resulting object. When `null`, the `max_recommended_memory_in_gb` field will be omitted from the resulting object.\n - `max_recommended_vcpu_count` (`number`): Set the `max_recommended_vcpu_count` field on the resulting object. When `null`, the `max_recommended_vcpu_count` field will be omitted from the resulting object.\n - `min_recommended_memory_in_gb` (`number`): Set the `min_recommended_memory_in_gb` field on the resulting object. When `null`, the `min_recommended_memory_in_gb` field will be omitted from the resulting object.\n - `min_recommended_vcpu_count` (`number`): Set the `min_recommended_vcpu_count` field on the resulting object. When `null`, the `min_recommended_vcpu_count` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `os_type` (`string`): Set the `os_type` field on the resulting object.\n - `privacy_statement_uri` (`string`): Set the `privacy_statement_uri` field on the resulting object. When `null`, the `privacy_statement_uri` field will be omitted from the resulting object.\n - `release_note_uri` (`string`): Set the `release_note_uri` field on the resulting object. When `null`, the `release_note_uri` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `specialized` (`bool`): Set the `specialized` field on the resulting object. When `null`, the `specialized` 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 - `trusted_launch_enabled` (`bool`): Set the `trusted_launch_enabled` field on the resulting object. When `null`, the `trusted_launch_enabled` field will be omitted from the resulting object.\n - `identifier` (`list[obj]`): Set the `identifier` field on the resulting object. When `null`, the `identifier` 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.identifier.new](#fn-identifiernew) constructor.\n - `purchase_plan` (`list[obj]`): Set the `purchase_plan` field on the resulting object. When `null`, the `purchase_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.shared_image.purchase_plan.new](#fn-purchase_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.shared_image.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` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.shared_image.newAttrs` constructs a new object with attributes and blocks configured for the `shared_image`\nTerraform resource.\n\nUnlike [azurerm.shared_image.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 - `accelerated_network_support_enabled` (`bool`): Set the `accelerated_network_support_enabled` field on the resulting object. When `null`, the `accelerated_network_support_enabled` field will be omitted from the resulting object.\n - `architecture` (`string`): Set the `architecture` field on the resulting object. When `null`, the `architecture` field will be omitted from the resulting object.\n - `confidential_vm_enabled` (`bool`): Set the `confidential_vm_enabled` field on the resulting object. When `null`, the `confidential_vm_enabled` field will be omitted from the resulting object.\n - `confidential_vm_supported` (`bool`): Set the `confidential_vm_supported` field on the resulting object. When `null`, the `confidential_vm_supported` 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 - `disk_types_not_allowed` (`list`): Set the `disk_types_not_allowed` field on the resulting object. When `null`, the `disk_types_not_allowed` field will be omitted from the resulting object.\n - `end_of_life_date` (`string`): Set the `end_of_life_date` field on the resulting object. When `null`, the `end_of_life_date` field will be omitted from the resulting object.\n - `eula` (`string`): Set the `eula` field on the resulting object. When `null`, the `eula` field will be omitted from the resulting object.\n - `gallery_name` (`string`): Set the `gallery_name` field on the resulting object.\n - `hyper_v_generation` (`string`): Set the `hyper_v_generation` field on the resulting object. When `null`, the `hyper_v_generation` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `max_recommended_memory_in_gb` (`number`): Set the `max_recommended_memory_in_gb` field on the resulting object. When `null`, the `max_recommended_memory_in_gb` field will be omitted from the resulting object.\n - `max_recommended_vcpu_count` (`number`): Set the `max_recommended_vcpu_count` field on the resulting object. When `null`, the `max_recommended_vcpu_count` field will be omitted from the resulting object.\n - `min_recommended_memory_in_gb` (`number`): Set the `min_recommended_memory_in_gb` field on the resulting object. When `null`, the `min_recommended_memory_in_gb` field will be omitted from the resulting object.\n - `min_recommended_vcpu_count` (`number`): Set the `min_recommended_vcpu_count` field on the resulting object. When `null`, the `min_recommended_vcpu_count` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `os_type` (`string`): Set the `os_type` field on the resulting object.\n - `privacy_statement_uri` (`string`): Set the `privacy_statement_uri` field on the resulting object. When `null`, the `privacy_statement_uri` field will be omitted from the resulting object.\n - `release_note_uri` (`string`): Set the `release_note_uri` field on the resulting object. When `null`, the `release_note_uri` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `specialized` (`bool`): Set the `specialized` field on the resulting object. When `null`, the `specialized` 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 - `trusted_launch_enabled` (`bool`): Set the `trusted_launch_enabled` field on the resulting object. When `null`, the `trusted_launch_enabled` field will be omitted from the resulting object.\n - `trusted_launch_supported` (`bool`): Set the `trusted_launch_supported` field on the resulting object. When `null`, the `trusted_launch_supported` field will be omitted from the resulting object.\n - `identifier` (`list[obj]`): Set the `identifier` field on the resulting object. When `null`, the `identifier` 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.identifier.new](#fn-identifiernew) constructor.\n - `purchase_plan` (`list[obj]`): Set the `purchase_plan` field on the resulting object. When `null`, the `purchase_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.shared_image.purchase_plan.new](#fn-purchase_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.shared_image.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` resource into the root Terraform configuration.\n', args=[]), newAttrs( gallery_name, location, @@ -104,7 +106,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); specialized=null, tags=null, timeouts=null, - trusted_launch_enabled=null + trusted_launch_enabled=null, + trusted_launch_supported=null ):: std.prune(a={ accelerated_network_support_enabled: accelerated_network_support_enabled, architecture: architecture, @@ -132,6 +135,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags: tags, timeouts: timeouts, trusted_launch_enabled: trusted_launch_enabled, + trusted_launch_supported: trusted_launch_supported, }), purchase_plan:: { '#new':: d.fn(help='\n`azurerm.shared_image.purchase_plan.new` constructs a new object with attributes and blocks configured for the `purchase_plan`\nTerraform sub block.\n\n\n\n**Args**:\n - `name` (`string`): Set the `name` field on the resulting object.\n - `product` (`string`): Set the `product` field on the resulting object. When `null`, the `product` field will be omitted from the resulting object.\n - `publisher` (`string`): Set the `publisher` field on the resulting object. When `null`, the `publisher` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `purchase_plan` sub block.\n', args=[]), @@ -449,4 +453,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withTrustedLaunchSupported':: d.fn(help='`azurerm.bool.withTrustedLaunchSupported` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the trusted_launch_supported 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 `trusted_launch_supported` field.\n', args=[]), + withTrustedLaunchSupported(resourceLabel, value): { + resource+: { + azurerm_shared_image+: { + [resourceLabel]+: { + trusted_launch_supported: value, + }, + }, + }, + }, } diff --git a/3.x/_gen/resources/site_recovery_fabric.libsonnet b/3.x/_gen/resources/site_recovery_fabric.libsonnet index 5a09da58..0a58074d 100644 --- a/3.x/_gen/resources/site_recovery_fabric.libsonnet +++ b/3.x/_gen/resources/site_recovery_fabric.libsonnet @@ -38,17 +38,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.site_recovery_fabric.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':: d.fn(help='\n`azurerm.site_recovery_fabric.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, - update=null + read=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=[]), diff --git a/3.x/_gen/resources/site_recovery_network_mapping.libsonnet b/3.x/_gen/resources/site_recovery_network_mapping.libsonnet index 56219e6a..3cab88d4 100644 --- a/3.x/_gen/resources/site_recovery_network_mapping.libsonnet +++ b/3.x/_gen/resources/site_recovery_network_mapping.libsonnet @@ -50,17 +50,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.site_recovery_network_mapping.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':: d.fn(help='\n`azurerm.site_recovery_network_mapping.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#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=[]), diff --git a/3.x/_gen/resources/site_recovery_protection_container.libsonnet b/3.x/_gen/resources/site_recovery_protection_container.libsonnet index 76b8e5b8..68242533 100644 --- a/3.x/_gen/resources/site_recovery_protection_container.libsonnet +++ b/3.x/_gen/resources/site_recovery_protection_container.libsonnet @@ -38,17 +38,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.site_recovery_protection_container.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':: d.fn(help='\n`azurerm.site_recovery_protection_container.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#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=[]), diff --git a/3.x/_gen/resources/site_recovery_vmware_replicated_vm.libsonnet b/3.x/_gen/resources/site_recovery_vmware_replicated_vm.libsonnet new file mode 100644 index 00000000..21e97974 --- /dev/null +++ b/3.x/_gen/resources/site_recovery_vmware_replicated_vm.libsonnet @@ -0,0 +1,416 @@ +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='site_recovery_vmware_replicated_vm', url='', help='`site_recovery_vmware_replicated_vm` represents the `azurerm_site_recovery_vmware_replicated_vm` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + managed_disk:: { + '#new':: d.fn(help='\n`azurerm.site_recovery_vmware_replicated_vm.managed_disk.new` constructs a new object with attributes and blocks configured for the `managed_disk`\nTerraform sub block.\n\n\n\n**Args**:\n - `disk_id` (`string`): Set the `disk_id` field on the resulting object.\n - `log_storage_account_id` (`string`): Set the `log_storage_account_id` field on the resulting object. When `null`, the `log_storage_account_id` field will be omitted from the resulting object.\n - `target_disk_encryption_set_id` (`string`): Set the `target_disk_encryption_set_id` field on the resulting object. When `null`, the `target_disk_encryption_set_id` field will be omitted from the resulting object.\n - `target_disk_type` (`string`): Set the `target_disk_type` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `managed_disk` sub block.\n', args=[]), + new( + disk_id, + target_disk_type, + log_storage_account_id=null, + target_disk_encryption_set_id=null + ):: std.prune(a={ + disk_id: disk_id, + log_storage_account_id: log_storage_account_id, + target_disk_encryption_set_id: target_disk_encryption_set_id, + target_disk_type: target_disk_type, + }), + }, + network_interface:: { + '#new':: d.fn(help='\n`azurerm.site_recovery_vmware_replicated_vm.network_interface.new` constructs a new object with attributes and blocks configured for the `network_interface`\nTerraform sub block.\n\n\n\n**Args**:\n - `is_primary` (`bool`): Set the `is_primary` field on the resulting object.\n - `source_mac_address` (`string`): Set the `source_mac_address` field on the resulting object.\n - `target_static_ip` (`string`): Set the `target_static_ip` field on the resulting object. When `null`, the `target_static_ip` field will be omitted from the resulting object.\n - `target_subnet_name` (`string`): Set the `target_subnet_name` field on the resulting object. When `null`, the `target_subnet_name` field will be omitted from the resulting object.\n - `test_subnet_name` (`string`): Set the `test_subnet_name` field on the resulting object. When `null`, the `test_subnet_name` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `network_interface` sub block.\n', args=[]), + new( + is_primary, + source_mac_address, + target_static_ip=null, + target_subnet_name=null, + test_subnet_name=null + ):: std.prune(a={ + is_primary: is_primary, + source_mac_address: source_mac_address, + target_static_ip: target_static_ip, + target_subnet_name: target_subnet_name, + test_subnet_name: test_subnet_name, + }), + }, + '#new':: d.fn(help="\n`azurerm.site_recovery_vmware_replicated_vm.new` injects a new `azurerm_site_recovery_vmware_replicated_vm` 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.site_recovery_vmware_replicated_vm.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.site_recovery_vmware_replicated_vm` using the reference:\n\n $._ref.azurerm_site_recovery_vmware_replicated_vm.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_site_recovery_vmware_replicated_vm.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 - `appliance_name` (`string`): Set the `appliance_name` field on the resulting resource block.\n - `default_log_storage_account_id` (`string`): Set the `default_log_storage_account_id` field on the resulting resource block. When `null`, the `default_log_storage_account_id` field will be omitted from the resulting object.\n - `default_recovery_disk_type` (`string`): Set the `default_recovery_disk_type` field on the resulting resource block. When `null`, the `default_recovery_disk_type` field will be omitted from the resulting object.\n - `default_target_disk_encryption_set_id` (`string`): Set the `default_target_disk_encryption_set_id` field on the resulting resource block. When `null`, the `default_target_disk_encryption_set_id` 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 - `multi_vm_group_name` (`string`): Set the `multi_vm_group_name` field on the resulting resource block. When `null`, the `multi_vm_group_name` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `physical_server_credential_name` (`string`): Set the `physical_server_credential_name` field on the resulting resource block.\n - `recovery_replication_policy_id` (`string`): Set the `recovery_replication_policy_id` field on the resulting resource block.\n - `recovery_vault_id` (`string`): Set the `recovery_vault_id` field on the resulting resource block.\n - `source_vm_name` (`string`): Set the `source_vm_name` field on the resulting resource block.\n - `target_availability_set_id` (`string`): Set the `target_availability_set_id` field on the resulting resource block. When `null`, the `target_availability_set_id` field will be omitted from the resulting object.\n - `target_boot_diagnostics_storage_account_id` (`string`): Set the `target_boot_diagnostics_storage_account_id` field on the resulting resource block. When `null`, the `target_boot_diagnostics_storage_account_id` field will be omitted from the resulting object.\n - `target_network_id` (`string`): Set the `target_network_id` field on the resulting resource block. When `null`, the `target_network_id` field will be omitted from the resulting object.\n - `target_proximity_placement_group_id` (`string`): Set the `target_proximity_placement_group_id` field on the resulting resource block. When `null`, the `target_proximity_placement_group_id` field will be omitted from the resulting object.\n - `target_resource_group_id` (`string`): Set the `target_resource_group_id` field on the resulting resource block.\n - `target_vm_name` (`string`): Set the `target_vm_name` field on the resulting resource block.\n - `target_vm_size` (`string`): Set the `target_vm_size` field on the resulting resource block. When `null`, the `target_vm_size` field will be omitted from the resulting object.\n - `target_zone` (`string`): Set the `target_zone` field on the resulting resource block. When `null`, the `target_zone` field will be omitted from the resulting object.\n - `test_network_id` (`string`): Set the `test_network_id` field on the resulting resource block. When `null`, the `test_network_id` field will be omitted from the resulting object.\n - `managed_disk` (`list[obj]`): Set the `managed_disk` field on the resulting resource block. When `null`, the `managed_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.site_recovery_vmware_replicated_vm.managed_disk.new](#fn-managed_disknew) constructor.\n - `network_interface` (`list[obj]`): Set the `network_interface` field on the resulting resource block. When `null`, the `network_interface` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.site_recovery_vmware_replicated_vm.network_interface.new](#fn-network_interfacenew) 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.site_recovery_vmware_replicated_vm.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, + appliance_name, + name, + physical_server_credential_name, + recovery_replication_policy_id, + recovery_vault_id, + source_vm_name, + target_resource_group_id, + target_vm_name, + default_log_storage_account_id=null, + default_recovery_disk_type=null, + default_target_disk_encryption_set_id=null, + license_type=null, + managed_disk=null, + multi_vm_group_name=null, + network_interface=null, + target_availability_set_id=null, + target_boot_diagnostics_storage_account_id=null, + target_network_id=null, + target_proximity_placement_group_id=null, + target_vm_size=null, + target_zone=null, + test_network_id=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_site_recovery_vmware_replicated_vm', + label=resourceLabel, + attrs=self.newAttrs( + appliance_name=appliance_name, + default_log_storage_account_id=default_log_storage_account_id, + default_recovery_disk_type=default_recovery_disk_type, + default_target_disk_encryption_set_id=default_target_disk_encryption_set_id, + license_type=license_type, + managed_disk=managed_disk, + multi_vm_group_name=multi_vm_group_name, + name=name, + network_interface=network_interface, + physical_server_credential_name=physical_server_credential_name, + recovery_replication_policy_id=recovery_replication_policy_id, + recovery_vault_id=recovery_vault_id, + source_vm_name=source_vm_name, + target_availability_set_id=target_availability_set_id, + target_boot_diagnostics_storage_account_id=target_boot_diagnostics_storage_account_id, + target_network_id=target_network_id, + target_proximity_placement_group_id=target_proximity_placement_group_id, + target_resource_group_id=target_resource_group_id, + target_vm_name=target_vm_name, + target_vm_size=target_vm_size, + target_zone=target_zone, + test_network_id=test_network_id, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.site_recovery_vmware_replicated_vm.newAttrs` constructs a new object with attributes and blocks configured for the `site_recovery_vmware_replicated_vm`\nTerraform resource.\n\nUnlike [azurerm.site_recovery_vmware_replicated_vm.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 - `appliance_name` (`string`): Set the `appliance_name` field on the resulting object.\n - `default_log_storage_account_id` (`string`): Set the `default_log_storage_account_id` field on the resulting object. When `null`, the `default_log_storage_account_id` field will be omitted from the resulting object.\n - `default_recovery_disk_type` (`string`): Set the `default_recovery_disk_type` field on the resulting object. When `null`, the `default_recovery_disk_type` field will be omitted from the resulting object.\n - `default_target_disk_encryption_set_id` (`string`): Set the `default_target_disk_encryption_set_id` field on the resulting object. When `null`, the `default_target_disk_encryption_set_id` 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 - `multi_vm_group_name` (`string`): Set the `multi_vm_group_name` field on the resulting object. When `null`, the `multi_vm_group_name` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `physical_server_credential_name` (`string`): Set the `physical_server_credential_name` field on the resulting object.\n - `recovery_replication_policy_id` (`string`): Set the `recovery_replication_policy_id` field on the resulting object.\n - `recovery_vault_id` (`string`): Set the `recovery_vault_id` field on the resulting object.\n - `source_vm_name` (`string`): Set the `source_vm_name` field on the resulting object.\n - `target_availability_set_id` (`string`): Set the `target_availability_set_id` field on the resulting object. When `null`, the `target_availability_set_id` field will be omitted from the resulting object.\n - `target_boot_diagnostics_storage_account_id` (`string`): Set the `target_boot_diagnostics_storage_account_id` field on the resulting object. When `null`, the `target_boot_diagnostics_storage_account_id` field will be omitted from the resulting object.\n - `target_network_id` (`string`): Set the `target_network_id` field on the resulting object. When `null`, the `target_network_id` field will be omitted from the resulting object.\n - `target_proximity_placement_group_id` (`string`): Set the `target_proximity_placement_group_id` field on the resulting object. When `null`, the `target_proximity_placement_group_id` field will be omitted from the resulting object.\n - `target_resource_group_id` (`string`): Set the `target_resource_group_id` field on the resulting object.\n - `target_vm_name` (`string`): Set the `target_vm_name` field on the resulting object.\n - `target_vm_size` (`string`): Set the `target_vm_size` field on the resulting object. When `null`, the `target_vm_size` field will be omitted from the resulting object.\n - `target_zone` (`string`): Set the `target_zone` field on the resulting object. When `null`, the `target_zone` field will be omitted from the resulting object.\n - `test_network_id` (`string`): Set the `test_network_id` field on the resulting object. When `null`, the `test_network_id` field will be omitted from the resulting object.\n - `managed_disk` (`list[obj]`): Set the `managed_disk` field on the resulting object. When `null`, the `managed_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.site_recovery_vmware_replicated_vm.managed_disk.new](#fn-managed_disknew) constructor.\n - `network_interface` (`list[obj]`): Set the `network_interface` field on the resulting object. When `null`, the `network_interface` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.site_recovery_vmware_replicated_vm.network_interface.new](#fn-network_interfacenew) 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.site_recovery_vmware_replicated_vm.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 `site_recovery_vmware_replicated_vm` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + appliance_name, + name, + physical_server_credential_name, + recovery_replication_policy_id, + recovery_vault_id, + source_vm_name, + target_resource_group_id, + target_vm_name, + default_log_storage_account_id=null, + default_recovery_disk_type=null, + default_target_disk_encryption_set_id=null, + license_type=null, + managed_disk=null, + multi_vm_group_name=null, + network_interface=null, + target_availability_set_id=null, + target_boot_diagnostics_storage_account_id=null, + target_network_id=null, + target_proximity_placement_group_id=null, + target_vm_size=null, + target_zone=null, + test_network_id=null, + timeouts=null + ):: std.prune(a={ + appliance_name: appliance_name, + default_log_storage_account_id: default_log_storage_account_id, + default_recovery_disk_type: default_recovery_disk_type, + default_target_disk_encryption_set_id: default_target_disk_encryption_set_id, + license_type: license_type, + managed_disk: managed_disk, + multi_vm_group_name: multi_vm_group_name, + name: name, + network_interface: network_interface, + physical_server_credential_name: physical_server_credential_name, + recovery_replication_policy_id: recovery_replication_policy_id, + recovery_vault_id: recovery_vault_id, + source_vm_name: source_vm_name, + target_availability_set_id: target_availability_set_id, + target_boot_diagnostics_storage_account_id: target_boot_diagnostics_storage_account_id, + target_network_id: target_network_id, + target_proximity_placement_group_id: target_proximity_placement_group_id, + target_resource_group_id: target_resource_group_id, + target_vm_name: target_vm_name, + target_vm_size: target_vm_size, + target_zone: target_zone, + test_network_id: test_network_id, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.site_recovery_vmware_replicated_vm.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, + }), + }, + '#withApplianceName':: d.fn(help='`azurerm.string.withApplianceName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the appliance_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 `appliance_name` field.\n', args=[]), + withApplianceName(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + appliance_name: value, + }, + }, + }, + }, + '#withDefaultLogStorageAccountId':: d.fn(help='`azurerm.string.withDefaultLogStorageAccountId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the default_log_storage_account_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 `default_log_storage_account_id` field.\n', args=[]), + withDefaultLogStorageAccountId(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + default_log_storage_account_id: value, + }, + }, + }, + }, + '#withDefaultRecoveryDiskType':: d.fn(help='`azurerm.string.withDefaultRecoveryDiskType` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the default_recovery_disk_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 `default_recovery_disk_type` field.\n', args=[]), + withDefaultRecoveryDiskType(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + default_recovery_disk_type: value, + }, + }, + }, + }, + '#withDefaultTargetDiskEncryptionSetId':: d.fn(help='`azurerm.string.withDefaultTargetDiskEncryptionSetId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the default_target_disk_encryption_set_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 `default_target_disk_encryption_set_id` field.\n', args=[]), + withDefaultTargetDiskEncryptionSetId(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + default_target_disk_encryption_set_id: value, + }, + }, + }, + }, + '#withLicenseType':: d.fn(help='`azurerm.string.withLicenseType` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the license_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 `license_type` field.\n', args=[]), + withLicenseType(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + license_type: value, + }, + }, + }, + }, + '#withManagedDisk':: d.fn(help='`azurerm.list[obj].withManagedDisk` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the managed_disk 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].withManagedDiskMixin](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 `managed_disk` field.\n', args=[]), + withManagedDisk(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + managed_disk: value, + }, + }, + }, + }, + '#withManagedDiskMixin':: d.fn(help='`azurerm.list[obj].withManagedDiskMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the managed_disk 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].withManagedDisk](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 `managed_disk` field.\n', args=[]), + withManagedDiskMixin(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + managed_disk+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withMultiVmGroupName':: d.fn(help='`azurerm.string.withMultiVmGroupName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the multi_vm_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 `multi_vm_group_name` field.\n', args=[]), + withMultiVmGroupName(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + multi_vm_group_name: 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_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withNetworkInterface':: d.fn(help='`azurerm.list[obj].withNetworkInterface` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the network_interface 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].withNetworkInterfaceMixin](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 `network_interface` field.\n', args=[]), + withNetworkInterface(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + network_interface: value, + }, + }, + }, + }, + '#withNetworkInterfaceMixin':: d.fn(help='`azurerm.list[obj].withNetworkInterfaceMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the network_interface 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].withNetworkInterface](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 `network_interface` field.\n', args=[]), + withNetworkInterfaceMixin(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + network_interface+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withPhysicalServerCredentialName':: d.fn(help='`azurerm.string.withPhysicalServerCredentialName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the physical_server_credential_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 `physical_server_credential_name` field.\n', args=[]), + withPhysicalServerCredentialName(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + physical_server_credential_name: value, + }, + }, + }, + }, + '#withRecoveryReplicationPolicyId':: d.fn(help='`azurerm.string.withRecoveryReplicationPolicyId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the recovery_replication_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 `recovery_replication_policy_id` field.\n', args=[]), + withRecoveryReplicationPolicyId(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + recovery_replication_policy_id: value, + }, + }, + }, + }, + '#withRecoveryVaultId':: d.fn(help='`azurerm.string.withRecoveryVaultId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the recovery_vault_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 `recovery_vault_id` field.\n', args=[]), + withRecoveryVaultId(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + recovery_vault_id: value, + }, + }, + }, + }, + '#withSourceVmName':: d.fn(help='`azurerm.string.withSourceVmName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the source_vm_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 `source_vm_name` field.\n', args=[]), + withSourceVmName(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + source_vm_name: value, + }, + }, + }, + }, + '#withTargetAvailabilitySetId':: d.fn(help='`azurerm.string.withTargetAvailabilitySetId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the target_availability_set_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 `target_availability_set_id` field.\n', args=[]), + withTargetAvailabilitySetId(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + target_availability_set_id: value, + }, + }, + }, + }, + '#withTargetBootDiagnosticsStorageAccountId':: d.fn(help='`azurerm.string.withTargetBootDiagnosticsStorageAccountId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the target_boot_diagnostics_storage_account_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 `target_boot_diagnostics_storage_account_id` field.\n', args=[]), + withTargetBootDiagnosticsStorageAccountId(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + target_boot_diagnostics_storage_account_id: value, + }, + }, + }, + }, + '#withTargetNetworkId':: d.fn(help='`azurerm.string.withTargetNetworkId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the target_network_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 `target_network_id` field.\n', args=[]), + withTargetNetworkId(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + target_network_id: value, + }, + }, + }, + }, + '#withTargetProximityPlacementGroupId':: d.fn(help='`azurerm.string.withTargetProximityPlacementGroupId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the target_proximity_placement_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 `target_proximity_placement_group_id` field.\n', args=[]), + withTargetProximityPlacementGroupId(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + target_proximity_placement_group_id: value, + }, + }, + }, + }, + '#withTargetResourceGroupId':: d.fn(help='`azurerm.string.withTargetResourceGroupId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the target_resource_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 `target_resource_group_id` field.\n', args=[]), + withTargetResourceGroupId(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + target_resource_group_id: value, + }, + }, + }, + }, + '#withTargetVmName':: d.fn(help='`azurerm.string.withTargetVmName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the target_vm_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 `target_vm_name` field.\n', args=[]), + withTargetVmName(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + target_vm_name: value, + }, + }, + }, + }, + '#withTargetVmSize':: d.fn(help='`azurerm.string.withTargetVmSize` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the target_vm_size 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 `target_vm_size` field.\n', args=[]), + withTargetVmSize(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + target_vm_size: value, + }, + }, + }, + }, + '#withTargetZone':: d.fn(help='`azurerm.string.withTargetZone` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the target_zone 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 `target_zone` field.\n', args=[]), + withTargetZone(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + target_zone: value, + }, + }, + }, + }, + '#withTestNetworkId':: d.fn(help='`azurerm.string.withTestNetworkId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the test_network_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 `test_network_id` field.\n', args=[]), + withTestNetworkId(resourceLabel, value): { + resource+: { + azurerm_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + test_network_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_site_recovery_vmware_replicated_vm+: { + [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_site_recovery_vmware_replicated_vm+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/spring_cloud_api_portal.libsonnet b/3.x/_gen/resources/spring_cloud_api_portal.libsonnet index f2a76f0b..55513728 100644 --- a/3.x/_gen/resources/spring_cloud_api_portal.libsonnet +++ b/3.x/_gen/resources/spring_cloud_api_portal.libsonnet @@ -2,11 +2,12 @@ local tf = (import 'github.com/tf-libsonnet/core/main.libsonnet'); local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); { '#':: d.pkg(name='spring_cloud_api_portal', url='', help='`spring_cloud_api_portal` represents the `azurerm_spring_cloud_api_portal` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), - '#new':: d.fn(help="\n`azurerm.spring_cloud_api_portal.new` injects a new `azurerm_spring_cloud_api_portal` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.spring_cloud_api_portal.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.spring_cloud_api_portal` using the reference:\n\n $._ref.azurerm_spring_cloud_api_portal.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_spring_cloud_api_portal.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 - `gateway_ids` (`list`): Set the `gateway_ids` field on the resulting resource block. When `null`, the `gateway_ids` field will be omitted from the resulting object.\n - `https_only_enabled` (`bool`): Set the `https_only_enabled` field on the resulting resource block. When `null`, the `https_only_enabled` field will be omitted from the resulting object.\n - `instance_count` (`number`): Set the `instance_count` field on the resulting resource block. When `null`, the `instance_count` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting resource block.\n - `sso` (`list[obj]`): Set the `sso` field on the resulting resource block. When `null`, the `sso` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_api_portal.sso.new](#fn-ssonew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_api_portal.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`azurerm.spring_cloud_api_portal.new` injects a new `azurerm_spring_cloud_api_portal` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.spring_cloud_api_portal.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.spring_cloud_api_portal` using the reference:\n\n $._ref.azurerm_spring_cloud_api_portal.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_spring_cloud_api_portal.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `api_try_out_enabled` (`bool`): Set the `api_try_out_enabled` field on the resulting resource block. When `null`, the `api_try_out_enabled` field will be omitted from the resulting object.\n - `gateway_ids` (`list`): Set the `gateway_ids` field on the resulting resource block. When `null`, the `gateway_ids` field will be omitted from the resulting object.\n - `https_only_enabled` (`bool`): Set the `https_only_enabled` field on the resulting resource block. When `null`, the `https_only_enabled` field will be omitted from the resulting object.\n - `instance_count` (`number`): Set the `instance_count` field on the resulting resource block. When `null`, the `instance_count` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting resource block.\n - `sso` (`list[obj]`): Set the `sso` field on the resulting resource block. When `null`, the `sso` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_api_portal.sso.new](#fn-ssonew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_api_portal.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, name, spring_cloud_service_id, + api_try_out_enabled=null, gateway_ids=null, https_only_enabled=null, instance_count=null, @@ -18,6 +19,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); type='azurerm_spring_cloud_api_portal', label=resourceLabel, attrs=self.newAttrs( + api_try_out_enabled=api_try_out_enabled, gateway_ids=gateway_ids, https_only_enabled=https_only_enabled, instance_count=instance_count, @@ -29,10 +31,11 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.spring_cloud_api_portal.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_api_portal`\nTerraform resource.\n\nUnlike [azurerm.spring_cloud_api_portal.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 - `gateway_ids` (`list`): Set the `gateway_ids` field on the resulting object. When `null`, the `gateway_ids` field will be omitted from the resulting object.\n - `https_only_enabled` (`bool`): Set the `https_only_enabled` field on the resulting object. When `null`, the `https_only_enabled` field will be omitted from the resulting object.\n - `instance_count` (`number`): Set the `instance_count` field on the resulting object. When `null`, the `instance_count` 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 - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting object.\n - `sso` (`list[obj]`): Set the `sso` field on the resulting object. When `null`, the `sso` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_api_portal.sso.new](#fn-ssonew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_api_portal.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `spring_cloud_api_portal` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.spring_cloud_api_portal.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_api_portal`\nTerraform resource.\n\nUnlike [azurerm.spring_cloud_api_portal.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `api_try_out_enabled` (`bool`): Set the `api_try_out_enabled` field on the resulting object. When `null`, the `api_try_out_enabled` field will be omitted from the resulting object.\n - `gateway_ids` (`list`): Set the `gateway_ids` field on the resulting object. When `null`, the `gateway_ids` field will be omitted from the resulting object.\n - `https_only_enabled` (`bool`): Set the `https_only_enabled` field on the resulting object. When `null`, the `https_only_enabled` field will be omitted from the resulting object.\n - `instance_count` (`number`): Set the `instance_count` field on the resulting object. When `null`, the `instance_count` 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 - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting object.\n - `sso` (`list[obj]`): Set the `sso` field on the resulting object. When `null`, the `sso` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_api_portal.sso.new](#fn-ssonew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_api_portal.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `spring_cloud_api_portal` resource into the root Terraform configuration.\n', args=[]), newAttrs( name, spring_cloud_service_id, + api_try_out_enabled=null, gateway_ids=null, https_only_enabled=null, instance_count=null, @@ -40,6 +43,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); sso=null, timeouts=null ):: std.prune(a={ + api_try_out_enabled: api_try_out_enabled, gateway_ids: gateway_ids, https_only_enabled: https_only_enabled, instance_count: instance_count, @@ -77,6 +81,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); update: update, }), }, + '#withApiTryOutEnabled':: d.fn(help='`azurerm.bool.withApiTryOutEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the api_try_out_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 `api_try_out_enabled` field.\n', args=[]), + withApiTryOutEnabled(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_api_portal+: { + [resourceLabel]+: { + api_try_out_enabled: value, + }, + }, + }, + }, '#withGatewayIds':: d.fn(help='`azurerm.list.withGatewayIds` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the gateway_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 `gateway_ids` field.\n', args=[]), withGatewayIds(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/spring_cloud_build_deployment.libsonnet b/3.x/_gen/resources/spring_cloud_build_deployment.libsonnet index 2d7f32f5..81ec24ed 100644 --- a/3.x/_gen/resources/spring_cloud_build_deployment.libsonnet +++ b/3.x/_gen/resources/spring_cloud_build_deployment.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='spring_cloud_build_deployment', url='', help='`spring_cloud_build_deployment` represents the `azurerm_spring_cloud_build_deployment` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), - '#new':: d.fn(help="\n`azurerm.spring_cloud_build_deployment.new` injects a new `azurerm_spring_cloud_build_deployment` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.spring_cloud_build_deployment.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.spring_cloud_build_deployment` using the reference:\n\n $._ref.azurerm_spring_cloud_build_deployment.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_spring_cloud_build_deployment.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 - `addon_json` (`string`): Set the `addon_json` field on the resulting resource block. When `null`, the `addon_json` field will be omitted from the resulting object.\n - `build_result_id` (`string`): Set the `build_result_id` field on the resulting resource block.\n - `environment_variables` (`obj`): Set the `environment_variables` field on the resulting resource block. When `null`, the `environment_variables` field will be omitted from the resulting object.\n - `instance_count` (`number`): Set the `instance_count` field on the resulting resource block. When `null`, the `instance_count` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `spring_cloud_app_id` (`string`): Set the `spring_cloud_app_id` field on the resulting resource block.\n - `quota` (`list[obj]`): Set the `quota` field on the resulting resource block. When `null`, the `quota` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_build_deployment.quota.new](#fn-quotanew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_build_deployment.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`azurerm.spring_cloud_build_deployment.new` injects a new `azurerm_spring_cloud_build_deployment` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.spring_cloud_build_deployment.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.spring_cloud_build_deployment` using the reference:\n\n $._ref.azurerm_spring_cloud_build_deployment.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_spring_cloud_build_deployment.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 - `addon_json` (`string`): Set the `addon_json` field on the resulting resource block. When `null`, the `addon_json` field will be omitted from the resulting object.\n - `application_performance_monitoring_ids` (`list`): Set the `application_performance_monitoring_ids` field on the resulting resource block. When `null`, the `application_performance_monitoring_ids` field will be omitted from the resulting object.\n - `build_result_id` (`string`): Set the `build_result_id` field on the resulting resource block.\n - `environment_variables` (`obj`): Set the `environment_variables` field on the resulting resource block. When `null`, the `environment_variables` field will be omitted from the resulting object.\n - `instance_count` (`number`): Set the `instance_count` field on the resulting resource block. When `null`, the `instance_count` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `spring_cloud_app_id` (`string`): Set the `spring_cloud_app_id` field on the resulting resource block.\n - `quota` (`list[obj]`): Set the `quota` field on the resulting resource block. When `null`, the `quota` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_build_deployment.quota.new](#fn-quotanew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_build_deployment.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, build_result_id, name, spring_cloud_app_id, addon_json=null, + application_performance_monitoring_ids=null, environment_variables=null, instance_count=null, quota=null, @@ -19,6 +20,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); label=resourceLabel, attrs=self.newAttrs( addon_json=addon_json, + application_performance_monitoring_ids=application_performance_monitoring_ids, build_result_id=build_result_id, environment_variables=environment_variables, instance_count=instance_count, @@ -29,18 +31,20 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.spring_cloud_build_deployment.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_build_deployment`\nTerraform resource.\n\nUnlike [azurerm.spring_cloud_build_deployment.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 - `addon_json` (`string`): Set the `addon_json` field on the resulting object. When `null`, the `addon_json` field will be omitted from the resulting object.\n - `build_result_id` (`string`): Set the `build_result_id` field on the resulting object.\n - `environment_variables` (`obj`): Set the `environment_variables` field on the resulting object. When `null`, the `environment_variables` field will be omitted from the resulting object.\n - `instance_count` (`number`): Set the `instance_count` field on the resulting object. When `null`, the `instance_count` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `spring_cloud_app_id` (`string`): Set the `spring_cloud_app_id` field on the resulting object.\n - `quota` (`list[obj]`): Set the `quota` field on the resulting object. When `null`, the `quota` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_build_deployment.quota.new](#fn-quotanew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_build_deployment.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `spring_cloud_build_deployment` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.spring_cloud_build_deployment.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_build_deployment`\nTerraform resource.\n\nUnlike [azurerm.spring_cloud_build_deployment.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 - `addon_json` (`string`): Set the `addon_json` field on the resulting object. When `null`, the `addon_json` field will be omitted from the resulting object.\n - `application_performance_monitoring_ids` (`list`): Set the `application_performance_monitoring_ids` field on the resulting object. When `null`, the `application_performance_monitoring_ids` field will be omitted from the resulting object.\n - `build_result_id` (`string`): Set the `build_result_id` field on the resulting object.\n - `environment_variables` (`obj`): Set the `environment_variables` field on the resulting object. When `null`, the `environment_variables` field will be omitted from the resulting object.\n - `instance_count` (`number`): Set the `instance_count` field on the resulting object. When `null`, the `instance_count` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `spring_cloud_app_id` (`string`): Set the `spring_cloud_app_id` field on the resulting object.\n - `quota` (`list[obj]`): Set the `quota` field on the resulting object. When `null`, the `quota` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_build_deployment.quota.new](#fn-quotanew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_build_deployment.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `spring_cloud_build_deployment` resource into the root Terraform configuration.\n', args=[]), newAttrs( build_result_id, name, spring_cloud_app_id, addon_json=null, + application_performance_monitoring_ids=null, environment_variables=null, instance_count=null, quota=null, timeouts=null ):: std.prune(a={ addon_json: addon_json, + application_performance_monitoring_ids: application_performance_monitoring_ids, build_result_id: build_result_id, environment_variables: environment_variables, instance_count: instance_count, @@ -83,6 +87,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withApplicationPerformanceMonitoringIds':: d.fn(help='`azurerm.list.withApplicationPerformanceMonitoringIds` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the application_performance_monitoring_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 `application_performance_monitoring_ids` field.\n', args=[]), + withApplicationPerformanceMonitoringIds(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_build_deployment+: { + [resourceLabel]+: { + application_performance_monitoring_ids: value, + }, + }, + }, + }, '#withBuildResultId':: d.fn(help='`azurerm.string.withBuildResultId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the build_result_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 `build_result_id` field.\n', args=[]), withBuildResultId(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/spring_cloud_container_deployment.libsonnet b/3.x/_gen/resources/spring_cloud_container_deployment.libsonnet index d6175161..3077a485 100644 --- a/3.x/_gen/resources/spring_cloud_container_deployment.libsonnet +++ b/3.x/_gen/resources/spring_cloud_container_deployment.libsonnet @@ -2,7 +2,7 @@ local tf = (import 'github.com/tf-libsonnet/core/main.libsonnet'); local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); { '#':: d.pkg(name='spring_cloud_container_deployment', url='', help='`spring_cloud_container_deployment` represents the `azurerm_spring_cloud_container_deployment` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), - '#new':: d.fn(help="\n`azurerm.spring_cloud_container_deployment.new` injects a new `azurerm_spring_cloud_container_deployment` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.spring_cloud_container_deployment.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.spring_cloud_container_deployment` using the reference:\n\n $._ref.azurerm_spring_cloud_container_deployment.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_spring_cloud_container_deployment.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 - `addon_json` (`string`): Set the `addon_json` field on the resulting resource block. When `null`, the `addon_json` field will be omitted from the resulting object.\n - `arguments` (`list`): Set the `arguments` field on the resulting resource block. When `null`, the `arguments` field will be omitted from the resulting object.\n - `commands` (`list`): Set the `commands` field on the resulting resource block. When `null`, the `commands` field will be omitted from the resulting object.\n - `environment_variables` (`obj`): Set the `environment_variables` field on the resulting resource block. When `null`, the `environment_variables` field will be omitted from the resulting object.\n - `image` (`string`): Set the `image` field on the resulting resource block.\n - `instance_count` (`number`): Set the `instance_count` field on the resulting resource block. When `null`, the `instance_count` field will be omitted from the resulting object.\n - `language_framework` (`string`): Set the `language_framework` field on the resulting resource block. When `null`, the `language_framework` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `server` (`string`): Set the `server` field on the resulting resource block.\n - `spring_cloud_app_id` (`string`): Set the `spring_cloud_app_id` field on the resulting resource block.\n - `quota` (`list[obj]`): Set the `quota` field on the resulting resource block. When `null`, the `quota` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_container_deployment.quota.new](#fn-quotanew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_container_deployment.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`azurerm.spring_cloud_container_deployment.new` injects a new `azurerm_spring_cloud_container_deployment` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.spring_cloud_container_deployment.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.spring_cloud_container_deployment` using the reference:\n\n $._ref.azurerm_spring_cloud_container_deployment.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_spring_cloud_container_deployment.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 - `addon_json` (`string`): Set the `addon_json` field on the resulting resource block. When `null`, the `addon_json` field will be omitted from the resulting object.\n - `application_performance_monitoring_ids` (`list`): Set the `application_performance_monitoring_ids` field on the resulting resource block. When `null`, the `application_performance_monitoring_ids` field will be omitted from the resulting object.\n - `arguments` (`list`): Set the `arguments` field on the resulting resource block. When `null`, the `arguments` field will be omitted from the resulting object.\n - `commands` (`list`): Set the `commands` field on the resulting resource block. When `null`, the `commands` field will be omitted from the resulting object.\n - `environment_variables` (`obj`): Set the `environment_variables` field on the resulting resource block. When `null`, the `environment_variables` field will be omitted from the resulting object.\n - `image` (`string`): Set the `image` field on the resulting resource block.\n - `instance_count` (`number`): Set the `instance_count` field on the resulting resource block. When `null`, the `instance_count` field will be omitted from the resulting object.\n - `language_framework` (`string`): Set the `language_framework` field on the resulting resource block. When `null`, the `language_framework` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `server` (`string`): Set the `server` field on the resulting resource block.\n - `spring_cloud_app_id` (`string`): Set the `spring_cloud_app_id` field on the resulting resource block.\n - `quota` (`list[obj]`): Set the `quota` field on the resulting resource block. When `null`, the `quota` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_container_deployment.quota.new](#fn-quotanew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_container_deployment.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, image, @@ -10,6 +10,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); server, spring_cloud_app_id, addon_json=null, + application_performance_monitoring_ids=null, arguments=null, commands=null, environment_variables=null, @@ -23,6 +24,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); label=resourceLabel, attrs=self.newAttrs( addon_json=addon_json, + application_performance_monitoring_ids=application_performance_monitoring_ids, arguments=arguments, commands=commands, environment_variables=environment_variables, @@ -37,13 +39,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.spring_cloud_container_deployment.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_container_deployment`\nTerraform resource.\n\nUnlike [azurerm.spring_cloud_container_deployment.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 - `addon_json` (`string`): Set the `addon_json` field on the resulting object. When `null`, the `addon_json` field will be omitted from the resulting object.\n - `arguments` (`list`): Set the `arguments` field on the resulting object. When `null`, the `arguments` field will be omitted from the resulting object.\n - `commands` (`list`): Set the `commands` field on the resulting object. When `null`, the `commands` field will be omitted from the resulting object.\n - `environment_variables` (`obj`): Set the `environment_variables` field on the resulting object. When `null`, the `environment_variables` field will be omitted from the resulting object.\n - `image` (`string`): Set the `image` field on the resulting object.\n - `instance_count` (`number`): Set the `instance_count` field on the resulting object. When `null`, the `instance_count` field will be omitted from the resulting object.\n - `language_framework` (`string`): Set the `language_framework` field on the resulting object. When `null`, the `language_framework` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `server` (`string`): Set the `server` field on the resulting object.\n - `spring_cloud_app_id` (`string`): Set the `spring_cloud_app_id` field on the resulting object.\n - `quota` (`list[obj]`): Set the `quota` field on the resulting object. When `null`, the `quota` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_container_deployment.quota.new](#fn-quotanew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_container_deployment.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `spring_cloud_container_deployment` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.spring_cloud_container_deployment.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_container_deployment`\nTerraform resource.\n\nUnlike [azurerm.spring_cloud_container_deployment.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 - `addon_json` (`string`): Set the `addon_json` field on the resulting object. When `null`, the `addon_json` field will be omitted from the resulting object.\n - `application_performance_monitoring_ids` (`list`): Set the `application_performance_monitoring_ids` field on the resulting object. When `null`, the `application_performance_monitoring_ids` field will be omitted from the resulting object.\n - `arguments` (`list`): Set the `arguments` field on the resulting object. When `null`, the `arguments` field will be omitted from the resulting object.\n - `commands` (`list`): Set the `commands` field on the resulting object. When `null`, the `commands` field will be omitted from the resulting object.\n - `environment_variables` (`obj`): Set the `environment_variables` field on the resulting object. When `null`, the `environment_variables` field will be omitted from the resulting object.\n - `image` (`string`): Set the `image` field on the resulting object.\n - `instance_count` (`number`): Set the `instance_count` field on the resulting object. When `null`, the `instance_count` field will be omitted from the resulting object.\n - `language_framework` (`string`): Set the `language_framework` field on the resulting object. When `null`, the `language_framework` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `server` (`string`): Set the `server` field on the resulting object.\n - `spring_cloud_app_id` (`string`): Set the `spring_cloud_app_id` field on the resulting object.\n - `quota` (`list[obj]`): Set the `quota` field on the resulting object. When `null`, the `quota` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_container_deployment.quota.new](#fn-quotanew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_container_deployment.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `spring_cloud_container_deployment` resource into the root Terraform configuration.\n', args=[]), newAttrs( image, name, server, spring_cloud_app_id, addon_json=null, + application_performance_monitoring_ids=null, arguments=null, commands=null, environment_variables=null, @@ -53,6 +56,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts=null ):: std.prune(a={ addon_json: addon_json, + application_performance_monitoring_ids: application_performance_monitoring_ids, arguments: arguments, commands: commands, environment_variables: environment_variables, @@ -99,6 +103,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withApplicationPerformanceMonitoringIds':: d.fn(help='`azurerm.list.withApplicationPerformanceMonitoringIds` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the application_performance_monitoring_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 `application_performance_monitoring_ids` field.\n', args=[]), + withApplicationPerformanceMonitoringIds(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_container_deployment+: { + [resourceLabel]+: { + application_performance_monitoring_ids: value, + }, + }, + }, + }, '#withArguments':: d.fn(help='`azurerm.list.withArguments` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the arguments 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 `arguments` field.\n', args=[]), withArguments(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/spring_cloud_customized_accelerator.libsonnet b/3.x/_gen/resources/spring_cloud_customized_accelerator.libsonnet index 55a90173..67f24494 100644 --- a/3.x/_gen/resources/spring_cloud_customized_accelerator.libsonnet +++ b/3.x/_gen/resources/spring_cloud_customized_accelerator.libsonnet @@ -13,7 +13,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); username: username, }), }, - '#new':: d.fn(help='\n`azurerm.spring_cloud_customized_accelerator.git_repository.new` constructs a new object with attributes and blocks configured for the `git_repository`\nTerraform sub block.\n\n\n\n**Args**:\n - `branch` (`string`): Set the `branch` field on the resulting object. When `null`, the `branch` field will be omitted from the resulting object.\n - `ca_certificate_id` (`string`): Set the `ca_certificate_id` field on the resulting object. When `null`, the `ca_certificate_id` field will be omitted from the resulting object.\n - `commit` (`string`): Set the `commit` field on the resulting object. When `null`, the `commit` field will be omitted from the resulting object.\n - `git_tag` (`string`): Set the `git_tag` field on the resulting object. When `null`, the `git_tag` field will be omitted from the resulting object.\n - `interval_in_seconds` (`number`): Set the `interval_in_seconds` field on the resulting object. When `null`, the `interval_in_seconds` field will be omitted from the resulting object.\n - `url` (`string`): Set the `url` field on the resulting object.\n - `basic_auth` (`list[obj]`): Set the `basic_auth` field on the resulting object. When `null`, the `basic_auth` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_customized_accelerator.git_repository.basic_auth.new](#fn-git_repositorybasic_authnew) constructor.\n - `ssh_auth` (`list[obj]`): Set the `ssh_auth` field on the resulting object. When `null`, the `ssh_auth` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_customized_accelerator.git_repository.ssh_auth.new](#fn-git_repositoryssh_authnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `git_repository` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.spring_cloud_customized_accelerator.git_repository.new` constructs a new object with attributes and blocks configured for the `git_repository`\nTerraform sub block.\n\n\n\n**Args**:\n - `branch` (`string`): Set the `branch` field on the resulting object. When `null`, the `branch` field will be omitted from the resulting object.\n - `ca_certificate_id` (`string`): Set the `ca_certificate_id` field on the resulting object. When `null`, the `ca_certificate_id` field will be omitted from the resulting object.\n - `commit` (`string`): Set the `commit` field on the resulting object. When `null`, the `commit` field will be omitted from the resulting object.\n - `git_tag` (`string`): Set the `git_tag` field on the resulting object. When `null`, the `git_tag` field will be omitted from the resulting object.\n - `interval_in_seconds` (`number`): Set the `interval_in_seconds` field on the resulting object. When `null`, the `interval_in_seconds` field will be omitted from the resulting object.\n - `path` (`string`): Set the `path` field on the resulting object. When `null`, the `path` field will be omitted from the resulting object.\n - `url` (`string`): Set the `url` field on the resulting object.\n - `basic_auth` (`list[obj]`): Set the `basic_auth` field on the resulting object. When `null`, the `basic_auth` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_customized_accelerator.git_repository.basic_auth.new](#fn-git_repositorybasic_authnew) constructor.\n - `ssh_auth` (`list[obj]`): Set the `ssh_auth` field on the resulting object. When `null`, the `ssh_auth` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_customized_accelerator.git_repository.ssh_auth.new](#fn-git_repositoryssh_authnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `git_repository` sub block.\n', args=[]), new( url, basic_auth=null, @@ -22,6 +22,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); commit=null, git_tag=null, interval_in_seconds=null, + path=null, ssh_auth=null ):: std.prune(a={ basic_auth: basic_auth, @@ -30,6 +31,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); commit: commit, git_tag: git_tag, interval_in_seconds: interval_in_seconds, + path: path, ssh_auth: ssh_auth, url: url, }), @@ -46,12 +48,13 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, }, - '#new':: d.fn(help="\n`azurerm.spring_cloud_customized_accelerator.new` injects a new `azurerm_spring_cloud_customized_accelerator` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.spring_cloud_customized_accelerator.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.spring_cloud_customized_accelerator` using the reference:\n\n $._ref.azurerm_spring_cloud_customized_accelerator.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_spring_cloud_customized_accelerator.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 - `accelerator_tags` (`list`): Set the `accelerator_tags` field on the resulting resource block. When `null`, the `accelerator_tags` 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 - `display_name` (`string`): Set the `display_name` field on the resulting resource block. When `null`, the `display_name` field will be omitted from the resulting object.\n - `icon_url` (`string`): Set the `icon_url` field on the resulting resource block. When `null`, the `icon_url` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `spring_cloud_accelerator_id` (`string`): Set the `spring_cloud_accelerator_id` field on the resulting resource block.\n - `git_repository` (`list[obj]`): Set the `git_repository` field on the resulting resource block. When `null`, the `git_repository` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_customized_accelerator.git_repository.new](#fn-git_repositorynew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_customized_accelerator.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`azurerm.spring_cloud_customized_accelerator.new` injects a new `azurerm_spring_cloud_customized_accelerator` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.spring_cloud_customized_accelerator.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.spring_cloud_customized_accelerator` using the reference:\n\n $._ref.azurerm_spring_cloud_customized_accelerator.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_spring_cloud_customized_accelerator.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 - `accelerator_tags` (`list`): Set the `accelerator_tags` field on the resulting resource block. When `null`, the `accelerator_tags` field will be omitted from the resulting object.\n - `accelerator_type` (`string`): Set the `accelerator_type` field on the resulting resource block. When `null`, the `accelerator_type` 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 - `display_name` (`string`): Set the `display_name` field on the resulting resource block. When `null`, the `display_name` field will be omitted from the resulting object.\n - `icon_url` (`string`): Set the `icon_url` field on the resulting resource block. When `null`, the `icon_url` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `spring_cloud_accelerator_id` (`string`): Set the `spring_cloud_accelerator_id` field on the resulting resource block.\n - `git_repository` (`list[obj]`): Set the `git_repository` field on the resulting resource block. When `null`, the `git_repository` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_customized_accelerator.git_repository.new](#fn-git_repositorynew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_customized_accelerator.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, name, spring_cloud_accelerator_id, accelerator_tags=null, + accelerator_type=null, description=null, display_name=null, git_repository=null, @@ -63,6 +66,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); label=resourceLabel, attrs=self.newAttrs( accelerator_tags=accelerator_tags, + accelerator_type=accelerator_type, description=description, display_name=display_name, git_repository=git_repository, @@ -73,11 +77,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.spring_cloud_customized_accelerator.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_customized_accelerator`\nTerraform resource.\n\nUnlike [azurerm.spring_cloud_customized_accelerator.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 - `accelerator_tags` (`list`): Set the `accelerator_tags` field on the resulting object. When `null`, the `accelerator_tags` 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 - `display_name` (`string`): Set the `display_name` field on the resulting object. When `null`, the `display_name` field will be omitted from the resulting object.\n - `icon_url` (`string`): Set the `icon_url` field on the resulting object. When `null`, the `icon_url` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `spring_cloud_accelerator_id` (`string`): Set the `spring_cloud_accelerator_id` field on the resulting object.\n - `git_repository` (`list[obj]`): Set the `git_repository` field on the resulting object. When `null`, the `git_repository` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_customized_accelerator.git_repository.new](#fn-git_repositorynew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_customized_accelerator.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `spring_cloud_customized_accelerator` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.spring_cloud_customized_accelerator.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_customized_accelerator`\nTerraform resource.\n\nUnlike [azurerm.spring_cloud_customized_accelerator.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 - `accelerator_tags` (`list`): Set the `accelerator_tags` field on the resulting object. When `null`, the `accelerator_tags` field will be omitted from the resulting object.\n - `accelerator_type` (`string`): Set the `accelerator_type` field on the resulting object. When `null`, the `accelerator_type` 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 - `display_name` (`string`): Set the `display_name` field on the resulting object. When `null`, the `display_name` field will be omitted from the resulting object.\n - `icon_url` (`string`): Set the `icon_url` field on the resulting object. When `null`, the `icon_url` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `spring_cloud_accelerator_id` (`string`): Set the `spring_cloud_accelerator_id` field on the resulting object.\n - `git_repository` (`list[obj]`): Set the `git_repository` field on the resulting object. When `null`, the `git_repository` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_customized_accelerator.git_repository.new](#fn-git_repositorynew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_customized_accelerator.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `spring_cloud_customized_accelerator` resource into the root Terraform configuration.\n', args=[]), newAttrs( name, spring_cloud_accelerator_id, accelerator_tags=null, + accelerator_type=null, description=null, display_name=null, git_repository=null, @@ -85,6 +90,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts=null ):: std.prune(a={ accelerator_tags: accelerator_tags, + accelerator_type: accelerator_type, description: description, display_name: display_name, git_repository: git_repository, @@ -117,6 +123,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withAcceleratorType':: d.fn(help='`azurerm.string.withAcceleratorType` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the accelerator_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 `accelerator_type` field.\n', args=[]), + withAcceleratorType(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_customized_accelerator+: { + [resourceLabel]+: { + accelerator_type: 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+: { diff --git a/3.x/_gen/resources/spring_cloud_dynatrace_application_performance_monitoring.libsonnet b/3.x/_gen/resources/spring_cloud_dynatrace_application_performance_monitoring.libsonnet new file mode 100644 index 00000000..494de03a --- /dev/null +++ b/3.x/_gen/resources/spring_cloud_dynatrace_application_performance_monitoring.libsonnet @@ -0,0 +1,184 @@ +local tf = (import 'github.com/tf-libsonnet/core/main.libsonnet'); +local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); +{ + '#':: d.pkg(name='spring_cloud_dynatrace_application_performance_monitoring', url='', help='`spring_cloud_dynatrace_application_performance_monitoring` represents the `azurerm_spring_cloud_dynatrace_application_performance_monitoring` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + '#new':: d.fn(help="\n`azurerm.spring_cloud_dynatrace_application_performance_monitoring.new` injects a new `azurerm_spring_cloud_dynatrace_application_performance_monitoring` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.spring_cloud_dynatrace_application_performance_monitoring.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.spring_cloud_dynatrace_application_performance_monitoring` using the reference:\n\n $._ref.azurerm_spring_cloud_dynatrace_application_performance_monitoring.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_spring_cloud_dynatrace_application_performance_monitoring.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `api_token` (`string`): Set the `api_token` field on the resulting resource block. When `null`, the `api_token` field will be omitted from the resulting object.\n - `api_url` (`string`): Set the `api_url` field on the resulting resource block. When `null`, the `api_url` field will be omitted from the resulting object.\n - `connection_point` (`string`): Set the `connection_point` field on the resulting resource block.\n - `environment_id` (`string`): Set the `environment_id` field on the resulting resource block. When `null`, the `environment_id` field will be omitted from the resulting object.\n - `globally_enabled` (`bool`): Set the `globally_enabled` field on the resulting resource block. When `null`, the `globally_enabled` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting resource block.\n - `tenant` (`string`): Set the `tenant` field on the resulting resource block.\n - `tenant_token` (`string`): Set the `tenant_token` 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.spring_cloud_dynatrace_application_performance_monitoring.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, + connection_point, + name, + spring_cloud_service_id, + tenant, + tenant_token, + api_token=null, + api_url=null, + environment_id=null, + globally_enabled=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_spring_cloud_dynatrace_application_performance_monitoring', + label=resourceLabel, + attrs=self.newAttrs( + api_token=api_token, + api_url=api_url, + connection_point=connection_point, + environment_id=environment_id, + globally_enabled=globally_enabled, + name=name, + spring_cloud_service_id=spring_cloud_service_id, + tenant=tenant, + tenant_token=tenant_token, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.spring_cloud_dynatrace_application_performance_monitoring.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_dynatrace_application_performance_monitoring`\nTerraform resource.\n\nUnlike [azurerm.spring_cloud_dynatrace_application_performance_monitoring.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `api_token` (`string`): Set the `api_token` field on the resulting object. When `null`, the `api_token` field will be omitted from the resulting object.\n - `api_url` (`string`): Set the `api_url` field on the resulting object. When `null`, the `api_url` field will be omitted from the resulting object.\n - `connection_point` (`string`): Set the `connection_point` field on the resulting object.\n - `environment_id` (`string`): Set the `environment_id` field on the resulting object. When `null`, the `environment_id` field will be omitted from the resulting object.\n - `globally_enabled` (`bool`): Set the `globally_enabled` field on the resulting object. When `null`, the `globally_enabled` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting object.\n - `tenant` (`string`): Set the `tenant` field on the resulting object.\n - `tenant_token` (`string`): Set the `tenant_token` 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.spring_cloud_dynatrace_application_performance_monitoring.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `spring_cloud_dynatrace_application_performance_monitoring` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + connection_point, + name, + spring_cloud_service_id, + tenant, + tenant_token, + api_token=null, + api_url=null, + environment_id=null, + globally_enabled=null, + timeouts=null + ):: std.prune(a={ + api_token: api_token, + api_url: api_url, + connection_point: connection_point, + environment_id: environment_id, + globally_enabled: globally_enabled, + name: name, + spring_cloud_service_id: spring_cloud_service_id, + tenant: tenant, + tenant_token: tenant_token, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.spring_cloud_dynatrace_application_performance_monitoring.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, + }), + }, + '#withApiToken':: d.fn(help='`azurerm.string.withApiToken` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the api_token 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 `api_token` field.\n', args=[]), + withApiToken(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_dynatrace_application_performance_monitoring+: { + [resourceLabel]+: { + api_token: value, + }, + }, + }, + }, + '#withApiUrl':: d.fn(help='`azurerm.string.withApiUrl` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the api_url 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 `api_url` field.\n', args=[]), + withApiUrl(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_dynatrace_application_performance_monitoring+: { + [resourceLabel]+: { + api_url: value, + }, + }, + }, + }, + '#withConnectionPoint':: d.fn(help='`azurerm.string.withConnectionPoint` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the connection_point 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 `connection_point` field.\n', args=[]), + withConnectionPoint(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_dynatrace_application_performance_monitoring+: { + [resourceLabel]+: { + connection_point: value, + }, + }, + }, + }, + '#withEnvironmentId':: d.fn(help='`azurerm.string.withEnvironmentId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the environment_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 `environment_id` field.\n', args=[]), + withEnvironmentId(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_dynatrace_application_performance_monitoring+: { + [resourceLabel]+: { + environment_id: value, + }, + }, + }, + }, + '#withGloballyEnabled':: d.fn(help='`azurerm.bool.withGloballyEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the globally_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 `globally_enabled` field.\n', args=[]), + withGloballyEnabled(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_dynatrace_application_performance_monitoring+: { + [resourceLabel]+: { + globally_enabled: 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_spring_cloud_dynatrace_application_performance_monitoring+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withSpringCloudServiceId':: d.fn(help='`azurerm.string.withSpringCloudServiceId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the spring_cloud_service_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 `spring_cloud_service_id` field.\n', args=[]), + withSpringCloudServiceId(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_dynatrace_application_performance_monitoring+: { + [resourceLabel]+: { + spring_cloud_service_id: value, + }, + }, + }, + }, + '#withTenant':: d.fn(help='`azurerm.string.withTenant` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the tenant 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 `tenant` field.\n', args=[]), + withTenant(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_dynatrace_application_performance_monitoring+: { + [resourceLabel]+: { + tenant: value, + }, + }, + }, + }, + '#withTenantToken':: d.fn(help='`azurerm.string.withTenantToken` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the tenant_token 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 `tenant_token` field.\n', args=[]), + withTenantToken(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_dynatrace_application_performance_monitoring+: { + [resourceLabel]+: { + tenant_token: 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_spring_cloud_dynatrace_application_performance_monitoring+: { + [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_spring_cloud_dynatrace_application_performance_monitoring+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/spring_cloud_elastic_application_performance_monitoring.libsonnet b/3.x/_gen/resources/spring_cloud_elastic_application_performance_monitoring.libsonnet new file mode 100644 index 00000000..2d91e610 --- /dev/null +++ b/3.x/_gen/resources/spring_cloud_elastic_application_performance_monitoring.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='spring_cloud_elastic_application_performance_monitoring', url='', help='`spring_cloud_elastic_application_performance_monitoring` represents the `azurerm_spring_cloud_elastic_application_performance_monitoring` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + '#new':: d.fn(help="\n`azurerm.spring_cloud_elastic_application_performance_monitoring.new` injects a new `azurerm_spring_cloud_elastic_application_performance_monitoring` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.spring_cloud_elastic_application_performance_monitoring.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.spring_cloud_elastic_application_performance_monitoring` using the reference:\n\n $._ref.azurerm_spring_cloud_elastic_application_performance_monitoring.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_spring_cloud_elastic_application_performance_monitoring.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 - `application_packages` (`list`): Set the `application_packages` field on the resulting resource block.\n - `globally_enabled` (`bool`): Set the `globally_enabled` field on the resulting resource block. When `null`, the `globally_enabled` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `server_url` (`string`): Set the `server_url` field on the resulting resource block.\n - `service_name` (`string`): Set the `service_name` field on the resulting resource block.\n - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting resource block.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_elastic_application_performance_monitoring.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, + application_packages, + name, + server_url, + service_name, + spring_cloud_service_id, + globally_enabled=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_spring_cloud_elastic_application_performance_monitoring', + label=resourceLabel, + attrs=self.newAttrs( + application_packages=application_packages, + globally_enabled=globally_enabled, + name=name, + server_url=server_url, + service_name=service_name, + spring_cloud_service_id=spring_cloud_service_id, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.spring_cloud_elastic_application_performance_monitoring.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_elastic_application_performance_monitoring`\nTerraform resource.\n\nUnlike [azurerm.spring_cloud_elastic_application_performance_monitoring.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 - `application_packages` (`list`): Set the `application_packages` field on the resulting object.\n - `globally_enabled` (`bool`): Set the `globally_enabled` field on the resulting object. When `null`, the `globally_enabled` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `server_url` (`string`): Set the `server_url` field on the resulting object.\n - `service_name` (`string`): Set the `service_name` field on the resulting object.\n - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_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.spring_cloud_elastic_application_performance_monitoring.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `spring_cloud_elastic_application_performance_monitoring` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + application_packages, + name, + server_url, + service_name, + spring_cloud_service_id, + globally_enabled=null, + timeouts=null + ):: std.prune(a={ + application_packages: application_packages, + globally_enabled: globally_enabled, + name: name, + server_url: server_url, + service_name: service_name, + spring_cloud_service_id: spring_cloud_service_id, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.spring_cloud_elastic_application_performance_monitoring.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, + }), + }, + '#withApplicationPackages':: d.fn(help='`azurerm.list.withApplicationPackages` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the application_packages 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 `application_packages` field.\n', args=[]), + withApplicationPackages(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_elastic_application_performance_monitoring+: { + [resourceLabel]+: { + application_packages: value, + }, + }, + }, + }, + '#withGloballyEnabled':: d.fn(help='`azurerm.bool.withGloballyEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the globally_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 `globally_enabled` field.\n', args=[]), + withGloballyEnabled(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_elastic_application_performance_monitoring+: { + [resourceLabel]+: { + globally_enabled: 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_spring_cloud_elastic_application_performance_monitoring+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withServerUrl':: d.fn(help='`azurerm.string.withServerUrl` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the server_url 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 `server_url` field.\n', args=[]), + withServerUrl(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_elastic_application_performance_monitoring+: { + [resourceLabel]+: { + server_url: value, + }, + }, + }, + }, + '#withServiceName':: d.fn(help='`azurerm.string.withServiceName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the service_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 `service_name` field.\n', args=[]), + withServiceName(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_elastic_application_performance_monitoring+: { + [resourceLabel]+: { + service_name: value, + }, + }, + }, + }, + '#withSpringCloudServiceId':: d.fn(help='`azurerm.string.withSpringCloudServiceId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the spring_cloud_service_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 `spring_cloud_service_id` field.\n', args=[]), + withSpringCloudServiceId(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_elastic_application_performance_monitoring+: { + [resourceLabel]+: { + spring_cloud_service_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_spring_cloud_elastic_application_performance_monitoring+: { + [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_spring_cloud_elastic_application_performance_monitoring+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/spring_cloud_gateway.libsonnet b/3.x/_gen/resources/spring_cloud_gateway.libsonnet index fa6d2710..3b0b1164 100644 --- a/3.x/_gen/resources/spring_cloud_gateway.libsonnet +++ b/3.x/_gen/resources/spring_cloud_gateway.libsonnet @@ -48,7 +48,27 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); max_age_seconds: max_age_seconds, }), }, - '#new':: d.fn(help="\n`azurerm.spring_cloud_gateway.new` injects a new `azurerm_spring_cloud_gateway` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.spring_cloud_gateway.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.spring_cloud_gateway` using the reference:\n\n $._ref.azurerm_spring_cloud_gateway.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_spring_cloud_gateway.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 - `application_performance_monitoring_types` (`list`): Set the `application_performance_monitoring_types` field on the resulting resource block. When `null`, the `application_performance_monitoring_types` field will be omitted from the resulting object.\n - `environment_variables` (`obj`): Set the `environment_variables` field on the resulting resource block. When `null`, the `environment_variables` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting resource block. When `null`, the `https_only` field will be omitted from the resulting object.\n - `instance_count` (`number`): Set the `instance_count` field on the resulting resource block. When `null`, the `instance_count` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `sensitive_environment_variables` (`obj`): Set the `sensitive_environment_variables` field on the resulting resource block. When `null`, the `sensitive_environment_variables` field will be omitted from the resulting object.\n - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting resource block.\n - `api_metadata` (`list[obj]`): Set the `api_metadata` field on the resulting resource block. When `null`, the `api_metadata` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.api_metadata.new](#fn-api_metadatanew) constructor.\n - `client_authorization` (`list[obj]`): Set the `client_authorization` field on the resulting resource block. When `null`, the `client_authorization` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.client_authorization.new](#fn-client_authorizationnew) constructor.\n - `cors` (`list[obj]`): Set the `cors` field on the resulting resource block. When `null`, the `cors` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.cors.new](#fn-corsnew) constructor.\n - `quota` (`list[obj]`): Set the `quota` field on the resulting resource block. When `null`, the `quota` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.quota.new](#fn-quotanew) constructor.\n - `sso` (`list[obj]`): Set the `sso` field on the resulting resource block. When `null`, the `sso` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.sso.new](#fn-ssonew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + local_response_cache_per_instance:: { + '#new':: d.fn(help='\n`azurerm.spring_cloud_gateway.local_response_cache_per_instance.new` constructs a new object with attributes and blocks configured for the `local_response_cache_per_instance`\nTerraform sub block.\n\n\n\n**Args**:\n - `size` (`string`): Set the `size` field on the resulting object. When `null`, the `size` field will be omitted from the resulting object.\n - `time_to_live` (`string`): Set the `time_to_live` field on the resulting object. When `null`, the `time_to_live` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `local_response_cache_per_instance` sub block.\n', args=[]), + new( + size=null, + time_to_live=null + ):: std.prune(a={ + size: size, + time_to_live: time_to_live, + }), + }, + local_response_cache_per_route:: { + '#new':: d.fn(help='\n`azurerm.spring_cloud_gateway.local_response_cache_per_route.new` constructs a new object with attributes and blocks configured for the `local_response_cache_per_route`\nTerraform sub block.\n\n\n\n**Args**:\n - `size` (`string`): Set the `size` field on the resulting object. When `null`, the `size` field will be omitted from the resulting object.\n - `time_to_live` (`string`): Set the `time_to_live` field on the resulting object. When `null`, the `time_to_live` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `local_response_cache_per_route` sub block.\n', args=[]), + new( + size=null, + time_to_live=null + ):: std.prune(a={ + size: size, + time_to_live: time_to_live, + }), + }, + '#new':: d.fn(help="\n`azurerm.spring_cloud_gateway.new` injects a new `azurerm_spring_cloud_gateway` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.spring_cloud_gateway.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.spring_cloud_gateway` using the reference:\n\n $._ref.azurerm_spring_cloud_gateway.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_spring_cloud_gateway.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 - `application_performance_monitoring_types` (`list`): Set the `application_performance_monitoring_types` field on the resulting resource block. When `null`, the `application_performance_monitoring_types` field will be omitted from the resulting object.\n - `environment_variables` (`obj`): Set the `environment_variables` field on the resulting resource block. When `null`, the `environment_variables` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting resource block. When `null`, the `https_only` field will be omitted from the resulting object.\n - `instance_count` (`number`): Set the `instance_count` field on the resulting resource block. When `null`, the `instance_count` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `sensitive_environment_variables` (`obj`): Set the `sensitive_environment_variables` field on the resulting resource block. When `null`, the `sensitive_environment_variables` field will be omitted from the resulting object.\n - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting resource block.\n - `api_metadata` (`list[obj]`): Set the `api_metadata` field on the resulting resource block. When `null`, the `api_metadata` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.api_metadata.new](#fn-api_metadatanew) constructor.\n - `client_authorization` (`list[obj]`): Set the `client_authorization` field on the resulting resource block. When `null`, the `client_authorization` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.client_authorization.new](#fn-client_authorizationnew) constructor.\n - `cors` (`list[obj]`): Set the `cors` field on the resulting resource block. When `null`, the `cors` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.cors.new](#fn-corsnew) constructor.\n - `local_response_cache_per_instance` (`list[obj]`): Set the `local_response_cache_per_instance` field on the resulting resource block. When `null`, the `local_response_cache_per_instance` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.local_response_cache_per_instance.new](#fn-local_response_cache_per_instancenew) constructor.\n - `local_response_cache_per_route` (`list[obj]`): Set the `local_response_cache_per_route` field on the resulting resource block. When `null`, the `local_response_cache_per_route` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.local_response_cache_per_route.new](#fn-local_response_cache_per_routenew) constructor.\n - `quota` (`list[obj]`): Set the `quota` field on the resulting resource block. When `null`, the `quota` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.quota.new](#fn-quotanew) constructor.\n - `sso` (`list[obj]`): Set the `sso` field on the resulting resource block. When `null`, the `sso` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.sso.new](#fn-ssonew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, name, @@ -60,6 +80,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); environment_variables=null, https_only=null, instance_count=null, + local_response_cache_per_instance=null, + local_response_cache_per_route=null, public_network_access_enabled=null, quota=null, sensitive_environment_variables=null, @@ -77,6 +99,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); environment_variables=environment_variables, https_only=https_only, instance_count=instance_count, + local_response_cache_per_instance=local_response_cache_per_instance, + local_response_cache_per_route=local_response_cache_per_route, name=name, public_network_access_enabled=public_network_access_enabled, quota=quota, @@ -87,7 +111,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.spring_cloud_gateway.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_gateway`\nTerraform resource.\n\nUnlike [azurerm.spring_cloud_gateway.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 - `application_performance_monitoring_types` (`list`): Set the `application_performance_monitoring_types` field on the resulting object. When `null`, the `application_performance_monitoring_types` field will be omitted from the resulting object.\n - `environment_variables` (`obj`): Set the `environment_variables` field on the resulting object. When `null`, the `environment_variables` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting object. When `null`, the `https_only` field will be omitted from the resulting object.\n - `instance_count` (`number`): Set the `instance_count` field on the resulting object. When `null`, the `instance_count` 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 - `sensitive_environment_variables` (`obj`): Set the `sensitive_environment_variables` field on the resulting object. When `null`, the `sensitive_environment_variables` field will be omitted from the resulting object.\n - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting object.\n - `api_metadata` (`list[obj]`): Set the `api_metadata` field on the resulting object. When `null`, the `api_metadata` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.api_metadata.new](#fn-api_metadatanew) constructor.\n - `client_authorization` (`list[obj]`): Set the `client_authorization` field on the resulting object. When `null`, the `client_authorization` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.client_authorization.new](#fn-client_authorizationnew) constructor.\n - `cors` (`list[obj]`): Set the `cors` field on the resulting object. When `null`, the `cors` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.cors.new](#fn-corsnew) constructor.\n - `quota` (`list[obj]`): Set the `quota` field on the resulting object. When `null`, the `quota` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.quota.new](#fn-quotanew) constructor.\n - `sso` (`list[obj]`): Set the `sso` field on the resulting object. When `null`, the `sso` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.sso.new](#fn-ssonew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `spring_cloud_gateway` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.spring_cloud_gateway.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_gateway`\nTerraform resource.\n\nUnlike [azurerm.spring_cloud_gateway.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 - `application_performance_monitoring_types` (`list`): Set the `application_performance_monitoring_types` field on the resulting object. When `null`, the `application_performance_monitoring_types` field will be omitted from the resulting object.\n - `environment_variables` (`obj`): Set the `environment_variables` field on the resulting object. When `null`, the `environment_variables` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting object. When `null`, the `https_only` field will be omitted from the resulting object.\n - `instance_count` (`number`): Set the `instance_count` field on the resulting object. When `null`, the `instance_count` 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 - `sensitive_environment_variables` (`obj`): Set the `sensitive_environment_variables` field on the resulting object. When `null`, the `sensitive_environment_variables` field will be omitted from the resulting object.\n - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting object.\n - `api_metadata` (`list[obj]`): Set the `api_metadata` field on the resulting object. When `null`, the `api_metadata` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.api_metadata.new](#fn-api_metadatanew) constructor.\n - `client_authorization` (`list[obj]`): Set the `client_authorization` field on the resulting object. When `null`, the `client_authorization` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.client_authorization.new](#fn-client_authorizationnew) constructor.\n - `cors` (`list[obj]`): Set the `cors` field on the resulting object. When `null`, the `cors` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.cors.new](#fn-corsnew) constructor.\n - `local_response_cache_per_instance` (`list[obj]`): Set the `local_response_cache_per_instance` field on the resulting object. When `null`, the `local_response_cache_per_instance` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.local_response_cache_per_instance.new](#fn-local_response_cache_per_instancenew) constructor.\n - `local_response_cache_per_route` (`list[obj]`): Set the `local_response_cache_per_route` field on the resulting object. When `null`, the `local_response_cache_per_route` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.local_response_cache_per_route.new](#fn-local_response_cache_per_routenew) constructor.\n - `quota` (`list[obj]`): Set the `quota` field on the resulting object. When `null`, the `quota` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.quota.new](#fn-quotanew) constructor.\n - `sso` (`list[obj]`): Set the `sso` field on the resulting object. When `null`, the `sso` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.sso.new](#fn-ssonew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `spring_cloud_gateway` resource into the root Terraform configuration.\n', args=[]), newAttrs( name, spring_cloud_service_id, @@ -98,6 +122,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); environment_variables=null, https_only=null, instance_count=null, + local_response_cache_per_instance=null, + local_response_cache_per_route=null, public_network_access_enabled=null, quota=null, sensitive_environment_variables=null, @@ -111,6 +137,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); environment_variables: environment_variables, https_only: https_only, instance_count: instance_count, + local_response_cache_per_instance: local_response_cache_per_instance, + local_response_cache_per_route: local_response_cache_per_route, name: name, public_network_access_enabled: public_network_access_enabled, quota: quota, @@ -257,6 +285,46 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withLocalResponseCachePerInstance':: d.fn(help='`azurerm.list[obj].withLocalResponseCachePerInstance` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the local_response_cache_per_instance 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].withLocalResponseCachePerInstanceMixin](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 `local_response_cache_per_instance` field.\n', args=[]), + withLocalResponseCachePerInstance(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_gateway+: { + [resourceLabel]+: { + local_response_cache_per_instance: value, + }, + }, + }, + }, + '#withLocalResponseCachePerInstanceMixin':: d.fn(help='`azurerm.list[obj].withLocalResponseCachePerInstanceMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the local_response_cache_per_instance 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].withLocalResponseCachePerInstance](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 `local_response_cache_per_instance` field.\n', args=[]), + withLocalResponseCachePerInstanceMixin(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_gateway+: { + [resourceLabel]+: { + local_response_cache_per_instance+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withLocalResponseCachePerRoute':: d.fn(help='`azurerm.list[obj].withLocalResponseCachePerRoute` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the local_response_cache_per_route 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].withLocalResponseCachePerRouteMixin](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 `local_response_cache_per_route` field.\n', args=[]), + withLocalResponseCachePerRoute(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_gateway+: { + [resourceLabel]+: { + local_response_cache_per_route: value, + }, + }, + }, + }, + '#withLocalResponseCachePerRouteMixin':: d.fn(help='`azurerm.list[obj].withLocalResponseCachePerRouteMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the local_response_cache_per_route 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].withLocalResponseCachePerRoute](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 `local_response_cache_per_route` field.\n', args=[]), + withLocalResponseCachePerRouteMixin(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_gateway+: { + [resourceLabel]+: { + local_response_cache_per_route+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, '#withName':: d.fn(help='`azurerm.string.withName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the name field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `name` field.\n', args=[]), withName(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/spring_cloud_new_relic_application_performance_monitoring.libsonnet b/3.x/_gen/resources/spring_cloud_new_relic_application_performance_monitoring.libsonnet new file mode 100644 index 00000000..60eb38ba --- /dev/null +++ b/3.x/_gen/resources/spring_cloud_new_relic_application_performance_monitoring.libsonnet @@ -0,0 +1,226 @@ +local tf = (import 'github.com/tf-libsonnet/core/main.libsonnet'); +local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); +{ + '#':: d.pkg(name='spring_cloud_new_relic_application_performance_monitoring', url='', help='`spring_cloud_new_relic_application_performance_monitoring` represents the `azurerm_spring_cloud_new_relic_application_performance_monitoring` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + '#new':: d.fn(help="\n`azurerm.spring_cloud_new_relic_application_performance_monitoring.new` injects a new `azurerm_spring_cloud_new_relic_application_performance_monitoring` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.spring_cloud_new_relic_application_performance_monitoring.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.spring_cloud_new_relic_application_performance_monitoring` using the reference:\n\n $._ref.azurerm_spring_cloud_new_relic_application_performance_monitoring.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_spring_cloud_new_relic_application_performance_monitoring.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 - `agent_enabled` (`bool`): Set the `agent_enabled` field on the resulting resource block. When `null`, the `agent_enabled` field will be omitted from the resulting object.\n - `app_name` (`string`): Set the `app_name` field on the resulting resource block.\n - `app_server_port` (`number`): Set the `app_server_port` field on the resulting resource block. When `null`, the `app_server_port` field will be omitted from the resulting object.\n - `audit_mode_enabled` (`bool`): Set the `audit_mode_enabled` field on the resulting resource block. When `null`, the `audit_mode_enabled` field will be omitted from the resulting object.\n - `auto_app_naming_enabled` (`bool`): Set the `auto_app_naming_enabled` field on the resulting resource block. When `null`, the `auto_app_naming_enabled` field will be omitted from the resulting object.\n - `auto_transaction_naming_enabled` (`bool`): Set the `auto_transaction_naming_enabled` field on the resulting resource block. When `null`, the `auto_transaction_naming_enabled` field will be omitted from the resulting object.\n - `custom_tracing_enabled` (`bool`): Set the `custom_tracing_enabled` field on the resulting resource block. When `null`, the `custom_tracing_enabled` field will be omitted from the resulting object.\n - `globally_enabled` (`bool`): Set the `globally_enabled` field on the resulting resource block. When `null`, the `globally_enabled` field will be omitted from the resulting object.\n - `labels` (`obj`): Set the `labels` field on the resulting resource block. When `null`, the `labels` field will be omitted from the resulting object.\n - `license_key` (`string`): Set the `license_key` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting resource block.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_new_relic_application_performance_monitoring.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, + app_name, + license_key, + name, + spring_cloud_service_id, + agent_enabled=null, + app_server_port=null, + audit_mode_enabled=null, + auto_app_naming_enabled=null, + auto_transaction_naming_enabled=null, + custom_tracing_enabled=null, + globally_enabled=null, + labels=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_spring_cloud_new_relic_application_performance_monitoring', + label=resourceLabel, + attrs=self.newAttrs( + agent_enabled=agent_enabled, + app_name=app_name, + app_server_port=app_server_port, + audit_mode_enabled=audit_mode_enabled, + auto_app_naming_enabled=auto_app_naming_enabled, + auto_transaction_naming_enabled=auto_transaction_naming_enabled, + custom_tracing_enabled=custom_tracing_enabled, + globally_enabled=globally_enabled, + labels=labels, + license_key=license_key, + name=name, + spring_cloud_service_id=spring_cloud_service_id, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.spring_cloud_new_relic_application_performance_monitoring.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_new_relic_application_performance_monitoring`\nTerraform resource.\n\nUnlike [azurerm.spring_cloud_new_relic_application_performance_monitoring.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 - `agent_enabled` (`bool`): Set the `agent_enabled` field on the resulting object. When `null`, the `agent_enabled` field will be omitted from the resulting object.\n - `app_name` (`string`): Set the `app_name` field on the resulting object.\n - `app_server_port` (`number`): Set the `app_server_port` field on the resulting object. When `null`, the `app_server_port` field will be omitted from the resulting object.\n - `audit_mode_enabled` (`bool`): Set the `audit_mode_enabled` field on the resulting object. When `null`, the `audit_mode_enabled` field will be omitted from the resulting object.\n - `auto_app_naming_enabled` (`bool`): Set the `auto_app_naming_enabled` field on the resulting object. When `null`, the `auto_app_naming_enabled` field will be omitted from the resulting object.\n - `auto_transaction_naming_enabled` (`bool`): Set the `auto_transaction_naming_enabled` field on the resulting object. When `null`, the `auto_transaction_naming_enabled` field will be omitted from the resulting object.\n - `custom_tracing_enabled` (`bool`): Set the `custom_tracing_enabled` field on the resulting object. When `null`, the `custom_tracing_enabled` field will be omitted from the resulting object.\n - `globally_enabled` (`bool`): Set the `globally_enabled` field on the resulting object. When `null`, the `globally_enabled` field will be omitted from the resulting object.\n - `labels` (`obj`): Set the `labels` field on the resulting object. When `null`, the `labels` field will be omitted from the resulting object.\n - `license_key` (`string`): Set the `license_key` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_new_relic_application_performance_monitoring.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `spring_cloud_new_relic_application_performance_monitoring` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + app_name, + license_key, + name, + spring_cloud_service_id, + agent_enabled=null, + app_server_port=null, + audit_mode_enabled=null, + auto_app_naming_enabled=null, + auto_transaction_naming_enabled=null, + custom_tracing_enabled=null, + globally_enabled=null, + labels=null, + timeouts=null + ):: std.prune(a={ + agent_enabled: agent_enabled, + app_name: app_name, + app_server_port: app_server_port, + audit_mode_enabled: audit_mode_enabled, + auto_app_naming_enabled: auto_app_naming_enabled, + auto_transaction_naming_enabled: auto_transaction_naming_enabled, + custom_tracing_enabled: custom_tracing_enabled, + globally_enabled: globally_enabled, + labels: labels, + license_key: license_key, + name: name, + spring_cloud_service_id: spring_cloud_service_id, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`azurerm.spring_cloud_new_relic_application_performance_monitoring.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, + }), + }, + '#withAgentEnabled':: d.fn(help='`azurerm.bool.withAgentEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the agent_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 `agent_enabled` field.\n', args=[]), + withAgentEnabled(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_new_relic_application_performance_monitoring+: { + [resourceLabel]+: { + agent_enabled: value, + }, + }, + }, + }, + '#withAppName':: d.fn(help='`azurerm.string.withAppName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the app_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 `app_name` field.\n', args=[]), + withAppName(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_new_relic_application_performance_monitoring+: { + [resourceLabel]+: { + app_name: value, + }, + }, + }, + }, + '#withAppServerPort':: d.fn(help='`azurerm.number.withAppServerPort` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the app_server_port 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 `app_server_port` field.\n', args=[]), + withAppServerPort(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_new_relic_application_performance_monitoring+: { + [resourceLabel]+: { + app_server_port: value, + }, + }, + }, + }, + '#withAuditModeEnabled':: d.fn(help='`azurerm.bool.withAuditModeEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the audit_mode_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 `audit_mode_enabled` field.\n', args=[]), + withAuditModeEnabled(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_new_relic_application_performance_monitoring+: { + [resourceLabel]+: { + audit_mode_enabled: value, + }, + }, + }, + }, + '#withAutoAppNamingEnabled':: d.fn(help='`azurerm.bool.withAutoAppNamingEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the auto_app_naming_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 `auto_app_naming_enabled` field.\n', args=[]), + withAutoAppNamingEnabled(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_new_relic_application_performance_monitoring+: { + [resourceLabel]+: { + auto_app_naming_enabled: value, + }, + }, + }, + }, + '#withAutoTransactionNamingEnabled':: d.fn(help='`azurerm.bool.withAutoTransactionNamingEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the auto_transaction_naming_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 `auto_transaction_naming_enabled` field.\n', args=[]), + withAutoTransactionNamingEnabled(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_new_relic_application_performance_monitoring+: { + [resourceLabel]+: { + auto_transaction_naming_enabled: value, + }, + }, + }, + }, + '#withCustomTracingEnabled':: d.fn(help='`azurerm.bool.withCustomTracingEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the custom_tracing_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 `custom_tracing_enabled` field.\n', args=[]), + withCustomTracingEnabled(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_new_relic_application_performance_monitoring+: { + [resourceLabel]+: { + custom_tracing_enabled: value, + }, + }, + }, + }, + '#withGloballyEnabled':: d.fn(help='`azurerm.bool.withGloballyEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the globally_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 `globally_enabled` field.\n', args=[]), + withGloballyEnabled(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_new_relic_application_performance_monitoring+: { + [resourceLabel]+: { + globally_enabled: value, + }, + }, + }, + }, + '#withLabels':: d.fn(help='`azurerm.obj.withLabels` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the labels 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 `labels` field.\n', args=[]), + withLabels(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_new_relic_application_performance_monitoring+: { + [resourceLabel]+: { + labels: value, + }, + }, + }, + }, + '#withLicenseKey':: d.fn(help='`azurerm.string.withLicenseKey` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the license_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 `license_key` field.\n', args=[]), + withLicenseKey(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_new_relic_application_performance_monitoring+: { + [resourceLabel]+: { + license_key: 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_spring_cloud_new_relic_application_performance_monitoring+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withSpringCloudServiceId':: d.fn(help='`azurerm.string.withSpringCloudServiceId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the spring_cloud_service_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 `spring_cloud_service_id` field.\n', args=[]), + withSpringCloudServiceId(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_new_relic_application_performance_monitoring+: { + [resourceLabel]+: { + spring_cloud_service_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_spring_cloud_new_relic_application_performance_monitoring+: { + [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_spring_cloud_new_relic_application_performance_monitoring+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/spring_cloud_service.libsonnet b/3.x/_gen/resources/spring_cloud_service.libsonnet index c4f70c0e..20fa2328 100644 --- a/3.x/_gen/resources/spring_cloud_service.libsonnet +++ b/3.x/_gen/resources/spring_cloud_service.libsonnet @@ -142,7 +142,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); service_runtime_subnet_id: service_runtime_subnet_id, }), }, - '#new':: d.fn(help="\n`azurerm.spring_cloud_service.new` injects a new `azurerm_spring_cloud_service` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.spring_cloud_service.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.spring_cloud_service` using the reference:\n\n $._ref.azurerm_spring_cloud_service.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_spring_cloud_service.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `build_agent_pool_size` (`string`): Set the `build_agent_pool_size` field on the resulting resource block. When `null`, the `build_agent_pool_size` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `log_stream_public_endpoint_enabled` (`bool`): Set the `log_stream_public_endpoint_enabled` field on the resulting resource block. When `null`, the `log_stream_public_endpoint_enabled` 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 - `service_registry_enabled` (`bool`): Set the `service_registry_enabled` field on the resulting resource block. When `null`, the `service_registry_enabled` field will be omitted from the resulting object.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting resource block. When `null`, the `sku_name` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `zone_redundant` (`bool`): Set the `zone_redundant` field on the resulting resource block. When `null`, the `zone_redundant` field will be omitted from the resulting object.\n - `config_server_git_setting` (`list[obj]`): Set the `config_server_git_setting` field on the resulting resource block. When `null`, the `config_server_git_setting` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.config_server_git_setting.new](#fn-config_server_git_settingnew) constructor.\n - `container_registry` (`list[obj]`): Set the `container_registry` field on the resulting resource block. When `null`, the `container_registry` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.container_registry.new](#fn-container_registrynew) constructor.\n - `default_build_service` (`list[obj]`): Set the `default_build_service` field on the resulting resource block. When `null`, the `default_build_service` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.default_build_service.new](#fn-default_build_servicenew) constructor.\n - `marketplace` (`list[obj]`): Set the `marketplace` field on the resulting resource block. When `null`, the `marketplace` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.marketplace.new](#fn-marketplacenew) constructor.\n - `network` (`list[obj]`): Set the `network` field on the resulting resource block. When `null`, the `network` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.network.new](#fn-networknew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.timeouts.new](#fn-timeoutsnew) constructor.\n - `trace` (`list[obj]`): Set the `trace` field on the resulting resource block. When `null`, the `trace` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.trace.new](#fn-tracenew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`azurerm.spring_cloud_service.new` injects a new `azurerm_spring_cloud_service` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azurerm.spring_cloud_service.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.spring_cloud_service` using the reference:\n\n $._ref.azurerm_spring_cloud_service.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_spring_cloud_service.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `build_agent_pool_size` (`string`): Set the `build_agent_pool_size` field on the resulting resource block. When `null`, the `build_agent_pool_size` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `log_stream_public_endpoint_enabled` (`bool`): Set the `log_stream_public_endpoint_enabled` field on the resulting resource block. When `null`, the `log_stream_public_endpoint_enabled` field will be omitted from the resulting object.\n - `managed_environment_id` (`string`): Set the `managed_environment_id` field on the resulting resource block. When `null`, the `managed_environment_id` 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 - `service_registry_enabled` (`bool`): Set the `service_registry_enabled` field on the resulting resource block. When `null`, the `service_registry_enabled` field will be omitted from the resulting object.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting resource block. When `null`, the `sku_name` field will be omitted from the resulting object.\n - `sku_tier` (`string`): Set the `sku_tier` field on the resulting resource block. When `null`, the `sku_tier` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `zone_redundant` (`bool`): Set the `zone_redundant` field on the resulting resource block. When `null`, the `zone_redundant` field will be omitted from the resulting object.\n - `config_server_git_setting` (`list[obj]`): Set the `config_server_git_setting` field on the resulting resource block. When `null`, the `config_server_git_setting` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.config_server_git_setting.new](#fn-config_server_git_settingnew) constructor.\n - `container_registry` (`list[obj]`): Set the `container_registry` field on the resulting resource block. When `null`, the `container_registry` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.container_registry.new](#fn-container_registrynew) constructor.\n - `default_build_service` (`list[obj]`): Set the `default_build_service` field on the resulting resource block. When `null`, the `default_build_service` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.default_build_service.new](#fn-default_build_servicenew) constructor.\n - `marketplace` (`list[obj]`): Set the `marketplace` field on the resulting resource block. When `null`, the `marketplace` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.marketplace.new](#fn-marketplacenew) constructor.\n - `network` (`list[obj]`): Set the `network` field on the resulting resource block. When `null`, the `network` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.network.new](#fn-networknew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.timeouts.new](#fn-timeoutsnew) constructor.\n - `trace` (`list[obj]`): Set the `trace` field on the resulting resource block. When `null`, the `trace` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.trace.new](#fn-tracenew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, location, @@ -153,10 +153,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); container_registry=null, default_build_service=null, log_stream_public_endpoint_enabled=null, + managed_environment_id=null, marketplace=null, network=null, service_registry_enabled=null, sku_name=null, + sku_tier=null, tags=null, timeouts=null, trace=null, @@ -172,12 +174,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); default_build_service=default_build_service, location=location, log_stream_public_endpoint_enabled=log_stream_public_endpoint_enabled, + managed_environment_id=managed_environment_id, marketplace=marketplace, name=name, network=network, resource_group_name=resource_group_name, service_registry_enabled=service_registry_enabled, sku_name=sku_name, + sku_tier=sku_tier, tags=tags, timeouts=timeouts, trace=trace, @@ -185,7 +189,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.spring_cloud_service.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_service`\nTerraform resource.\n\nUnlike [azurerm.spring_cloud_service.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `build_agent_pool_size` (`string`): Set the `build_agent_pool_size` field on the resulting object. When `null`, the `build_agent_pool_size` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `log_stream_public_endpoint_enabled` (`bool`): Set the `log_stream_public_endpoint_enabled` field on the resulting object. When `null`, the `log_stream_public_endpoint_enabled` 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 - `service_registry_enabled` (`bool`): Set the `service_registry_enabled` field on the resulting object. When `null`, the `service_registry_enabled` field will be omitted from the resulting object.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting object. When `null`, the `sku_name` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n - `zone_redundant` (`bool`): Set the `zone_redundant` field on the resulting object. When `null`, the `zone_redundant` field will be omitted from the resulting object.\n - `config_server_git_setting` (`list[obj]`): Set the `config_server_git_setting` field on the resulting object. When `null`, the `config_server_git_setting` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.config_server_git_setting.new](#fn-config_server_git_settingnew) constructor.\n - `container_registry` (`list[obj]`): Set the `container_registry` field on the resulting object. When `null`, the `container_registry` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.container_registry.new](#fn-container_registrynew) constructor.\n - `default_build_service` (`list[obj]`): Set the `default_build_service` field on the resulting object. When `null`, the `default_build_service` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.default_build_service.new](#fn-default_build_servicenew) constructor.\n - `marketplace` (`list[obj]`): Set the `marketplace` field on the resulting object. When `null`, the `marketplace` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.marketplace.new](#fn-marketplacenew) constructor.\n - `network` (`list[obj]`): Set the `network` field on the resulting object. When `null`, the `network` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.network.new](#fn-networknew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.timeouts.new](#fn-timeoutsnew) constructor.\n - `trace` (`list[obj]`): Set the `trace` field on the resulting object. When `null`, the `trace` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.trace.new](#fn-tracenew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `spring_cloud_service` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.spring_cloud_service.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_service`\nTerraform resource.\n\nUnlike [azurerm.spring_cloud_service.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `build_agent_pool_size` (`string`): Set the `build_agent_pool_size` field on the resulting object. When `null`, the `build_agent_pool_size` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `log_stream_public_endpoint_enabled` (`bool`): Set the `log_stream_public_endpoint_enabled` field on the resulting object. When `null`, the `log_stream_public_endpoint_enabled` field will be omitted from the resulting object.\n - `managed_environment_id` (`string`): Set the `managed_environment_id` field on the resulting object. When `null`, the `managed_environment_id` 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 - `service_registry_enabled` (`bool`): Set the `service_registry_enabled` field on the resulting object. When `null`, the `service_registry_enabled` field will be omitted from the resulting object.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting object. When `null`, the `sku_name` field will be omitted from the resulting object.\n - `sku_tier` (`string`): Set the `sku_tier` field on the resulting object. When `null`, the `sku_tier` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n - `zone_redundant` (`bool`): Set the `zone_redundant` field on the resulting object. When `null`, the `zone_redundant` field will be omitted from the resulting object.\n - `config_server_git_setting` (`list[obj]`): Set the `config_server_git_setting` field on the resulting object. When `null`, the `config_server_git_setting` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.config_server_git_setting.new](#fn-config_server_git_settingnew) constructor.\n - `container_registry` (`list[obj]`): Set the `container_registry` field on the resulting object. When `null`, the `container_registry` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.container_registry.new](#fn-container_registrynew) constructor.\n - `default_build_service` (`list[obj]`): Set the `default_build_service` field on the resulting object. When `null`, the `default_build_service` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.default_build_service.new](#fn-default_build_servicenew) constructor.\n - `marketplace` (`list[obj]`): Set the `marketplace` field on the resulting object. When `null`, the `marketplace` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.marketplace.new](#fn-marketplacenew) constructor.\n - `network` (`list[obj]`): Set the `network` field on the resulting object. When `null`, the `network` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.network.new](#fn-networknew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.timeouts.new](#fn-timeoutsnew) constructor.\n - `trace` (`list[obj]`): Set the `trace` field on the resulting object. When `null`, the `trace` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.trace.new](#fn-tracenew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `spring_cloud_service` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, @@ -195,10 +199,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); container_registry=null, default_build_service=null, log_stream_public_endpoint_enabled=null, + managed_environment_id=null, marketplace=null, network=null, service_registry_enabled=null, sku_name=null, + sku_tier=null, tags=null, timeouts=null, trace=null, @@ -210,12 +216,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); default_build_service: default_build_service, location: location, log_stream_public_endpoint_enabled: log_stream_public_endpoint_enabled, + managed_environment_id: managed_environment_id, marketplace: marketplace, name: name, network: network, resource_group_name: resource_group_name, service_registry_enabled: service_registry_enabled, sku_name: sku_name, + sku_tier: sku_tier, tags: tags, timeouts: timeouts, trace: trace, @@ -335,6 +343,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withManagedEnvironmentId':: d.fn(help='`azurerm.string.withManagedEnvironmentId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the managed_environment_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 `managed_environment_id` field.\n', args=[]), + withManagedEnvironmentId(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_service+: { + [resourceLabel]+: { + managed_environment_id: value, + }, + }, + }, + }, '#withMarketplace':: d.fn(help='`azurerm.list[obj].withMarketplace` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the marketplace 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].withMarketplaceMixin](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 `marketplace` field.\n', args=[]), withMarketplace(resourceLabel, value): { resource+: { @@ -415,6 +433,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withSkuTier':: d.fn(help='`azurerm.string.withSkuTier` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the sku_tier field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `sku_tier` field.\n', args=[]), + withSkuTier(resourceLabel, value): { + resource+: { + azurerm_spring_cloud_service+: { + [resourceLabel]+: { + sku_tier: 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/sql_managed_database.libsonnet b/3.x/_gen/resources/sql_managed_database.libsonnet index 692fbfaa..aa77d26b 100644 --- a/3.x/_gen/resources/sql_managed_database.libsonnet +++ b/3.x/_gen/resources/sql_managed_database.libsonnet @@ -34,17 +34,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.sql_managed_database.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':: d.fn(help='\n`azurerm.sql_managed_database.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, - update=null + read=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=[]), diff --git a/3.x/_gen/resources/static_site_custom_domain.libsonnet b/3.x/_gen/resources/static_site_custom_domain.libsonnet index ff12294e..23e297af 100644 --- a/3.x/_gen/resources/static_site_custom_domain.libsonnet +++ b/3.x/_gen/resources/static_site_custom_domain.libsonnet @@ -34,17 +34,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); validation_type: validation_type, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.static_site_custom_domain.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':: d.fn(help='\n`azurerm.static_site_custom_domain.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withDomainName':: d.fn(help='`azurerm.string.withDomainName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the domain_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 `domain_name` field.\n', args=[]), diff --git a/3.x/_gen/resources/stream_analytics_job.libsonnet b/3.x/_gen/resources/stream_analytics_job.libsonnet index df6a014e..03746c19 100644 --- a/3.x/_gen/resources/stream_analytics_job.libsonnet +++ b/3.x/_gen/resources/stream_analytics_job.libsonnet @@ -3,10 +3,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); { '#':: d.pkg(name='stream_analytics_job', url='', help='`stream_analytics_job` represents the `azurerm_stream_analytics_job` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), identity:: { - '#new':: d.fn(help='\n`azurerm.stream_analytics_job.identity.new` constructs a new object with attributes and blocks configured for the `identity`\nTerraform sub block.\n\n\n\n**Args**:\n - `type` (`string`): Set the `type` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `identity` sub block.\n', args=[]), + '#new':: d.fn(help='\n`azurerm.stream_analytics_job.identity.new` constructs a new object with attributes and blocks configured for the `identity`\nTerraform sub block.\n\n\n\n**Args**:\n - `identity_ids` (`list`): Set the `identity_ids` field on the resulting object. When `null`, the `identity_ids` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `identity` sub block.\n', args=[]), new( - type + type, + identity_ids=null ):: std.prune(a={ + identity_ids: identity_ids, type: type, }), }, @@ -22,7 +24,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); authentication_mode: authentication_mode, }), }, - '#new':: d.fn(help="\n`azurerm.stream_analytics_job.new` injects a new `azurerm_stream_analytics_job` 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.stream_analytics_job.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.stream_analytics_job` using the reference:\n\n $._ref.azurerm_stream_analytics_job.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_stream_analytics_job.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 - `compatibility_level` (`string`): Set the `compatibility_level` field on the resulting resource block. When `null`, the `compatibility_level` field will be omitted from the resulting object.\n - `content_storage_policy` (`string`): Set the `content_storage_policy` field on the resulting resource block. When `null`, the `content_storage_policy` field will be omitted from the resulting object.\n - `data_locale` (`string`): Set the `data_locale` field on the resulting resource block. When `null`, the `data_locale` field will be omitted from the resulting object.\n - `events_late_arrival_max_delay_in_seconds` (`number`): Set the `events_late_arrival_max_delay_in_seconds` field on the resulting resource block. When `null`, the `events_late_arrival_max_delay_in_seconds` field will be omitted from the resulting object.\n - `events_out_of_order_max_delay_in_seconds` (`number`): Set the `events_out_of_order_max_delay_in_seconds` field on the resulting resource block. When `null`, the `events_out_of_order_max_delay_in_seconds` field will be omitted from the resulting object.\n - `events_out_of_order_policy` (`string`): Set the `events_out_of_order_policy` field on the resulting resource block. When `null`, the `events_out_of_order_policy` 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 - `output_error_policy` (`string`): Set the `output_error_policy` field on the resulting resource block. When `null`, the `output_error_policy` 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 - `stream_analytics_cluster_id` (`string`): Set the `stream_analytics_cluster_id` field on the resulting resource block. When `null`, the `stream_analytics_cluster_id` field will be omitted from the resulting object.\n - `streaming_units` (`number`): Set the `streaming_units` field on the resulting resource block. When `null`, the `streaming_units` 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 - `transformation_query` (`string`): Set the `transformation_query` field on the resulting resource block.\n - `type` (`string`): Set the `type` field on the resulting resource block. When `null`, the `type` field will be omitted from the resulting object.\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.stream_analytics_job.identity.new](#fn-identitynew) constructor.\n - `job_storage_account` (`list[obj]`): Set the `job_storage_account` field on the resulting resource block. When `null`, the `job_storage_account` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.stream_analytics_job.job_storage_account.new](#fn-job_storage_accountnew) 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.stream_analytics_job.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.stream_analytics_job.new` injects a new `azurerm_stream_analytics_job` 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.stream_analytics_job.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.stream_analytics_job` using the reference:\n\n $._ref.azurerm_stream_analytics_job.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_stream_analytics_job.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 - `compatibility_level` (`string`): Set the `compatibility_level` field on the resulting resource block. When `null`, the `compatibility_level` field will be omitted from the resulting object.\n - `content_storage_policy` (`string`): Set the `content_storage_policy` field on the resulting resource block. When `null`, the `content_storage_policy` field will be omitted from the resulting object.\n - `data_locale` (`string`): Set the `data_locale` field on the resulting resource block. When `null`, the `data_locale` field will be omitted from the resulting object.\n - `events_late_arrival_max_delay_in_seconds` (`number`): Set the `events_late_arrival_max_delay_in_seconds` field on the resulting resource block. When `null`, the `events_late_arrival_max_delay_in_seconds` field will be omitted from the resulting object.\n - `events_out_of_order_max_delay_in_seconds` (`number`): Set the `events_out_of_order_max_delay_in_seconds` field on the resulting resource block. When `null`, the `events_out_of_order_max_delay_in_seconds` field will be omitted from the resulting object.\n - `events_out_of_order_policy` (`string`): Set the `events_out_of_order_policy` field on the resulting resource block. When `null`, the `events_out_of_order_policy` 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 - `output_error_policy` (`string`): Set the `output_error_policy` field on the resulting resource block. When `null`, the `output_error_policy` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting resource block. When `null`, the `sku_name` field will be omitted from the resulting object.\n - `stream_analytics_cluster_id` (`string`): Set the `stream_analytics_cluster_id` field on the resulting resource block. When `null`, the `stream_analytics_cluster_id` field will be omitted from the resulting object.\n - `streaming_units` (`number`): Set the `streaming_units` field on the resulting resource block. When `null`, the `streaming_units` 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 - `transformation_query` (`string`): Set the `transformation_query` field on the resulting resource block.\n - `type` (`string`): Set the `type` field on the resulting resource block. When `null`, the `type` field will be omitted from the resulting object.\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.stream_analytics_job.identity.new](#fn-identitynew) constructor.\n - `job_storage_account` (`list[obj]`): Set the `job_storage_account` field on the resulting resource block. When `null`, the `job_storage_account` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.stream_analytics_job.job_storage_account.new](#fn-job_storage_accountnew) 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.stream_analytics_job.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, @@ -38,6 +40,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); identity=null, job_storage_account=null, output_error_policy=null, + sku_name=null, stream_analytics_cluster_id=null, streaming_units=null, tags=null, @@ -60,6 +63,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); name=name, output_error_policy=output_error_policy, resource_group_name=resource_group_name, + sku_name=sku_name, stream_analytics_cluster_id=stream_analytics_cluster_id, streaming_units=streaming_units, tags=tags, @@ -69,7 +73,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.stream_analytics_job.newAttrs` constructs a new object with attributes and blocks configured for the `stream_analytics_job`\nTerraform resource.\n\nUnlike [azurerm.stream_analytics_job.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 - `compatibility_level` (`string`): Set the `compatibility_level` field on the resulting object. When `null`, the `compatibility_level` field will be omitted from the resulting object.\n - `content_storage_policy` (`string`): Set the `content_storage_policy` field on the resulting object. When `null`, the `content_storage_policy` field will be omitted from the resulting object.\n - `data_locale` (`string`): Set the `data_locale` field on the resulting object. When `null`, the `data_locale` field will be omitted from the resulting object.\n - `events_late_arrival_max_delay_in_seconds` (`number`): Set the `events_late_arrival_max_delay_in_seconds` field on the resulting object. When `null`, the `events_late_arrival_max_delay_in_seconds` field will be omitted from the resulting object.\n - `events_out_of_order_max_delay_in_seconds` (`number`): Set the `events_out_of_order_max_delay_in_seconds` field on the resulting object. When `null`, the `events_out_of_order_max_delay_in_seconds` field will be omitted from the resulting object.\n - `events_out_of_order_policy` (`string`): Set the `events_out_of_order_policy` field on the resulting object. When `null`, the `events_out_of_order_policy` 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 - `output_error_policy` (`string`): Set the `output_error_policy` field on the resulting object. When `null`, the `output_error_policy` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `stream_analytics_cluster_id` (`string`): Set the `stream_analytics_cluster_id` field on the resulting object. When `null`, the `stream_analytics_cluster_id` field will be omitted from the resulting object.\n - `streaming_units` (`number`): Set the `streaming_units` field on the resulting object. When `null`, the `streaming_units` 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 - `transformation_query` (`string`): Set the `transformation_query` field on the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object. When `null`, the `type` field will be omitted from the resulting object.\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.stream_analytics_job.identity.new](#fn-identitynew) constructor.\n - `job_storage_account` (`list[obj]`): Set the `job_storage_account` field on the resulting object. When `null`, the `job_storage_account` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.stream_analytics_job.job_storage_account.new](#fn-job_storage_accountnew) 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.stream_analytics_job.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 `stream_analytics_job` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.stream_analytics_job.newAttrs` constructs a new object with attributes and blocks configured for the `stream_analytics_job`\nTerraform resource.\n\nUnlike [azurerm.stream_analytics_job.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 - `compatibility_level` (`string`): Set the `compatibility_level` field on the resulting object. When `null`, the `compatibility_level` field will be omitted from the resulting object.\n - `content_storage_policy` (`string`): Set the `content_storage_policy` field on the resulting object. When `null`, the `content_storage_policy` field will be omitted from the resulting object.\n - `data_locale` (`string`): Set the `data_locale` field on the resulting object. When `null`, the `data_locale` field will be omitted from the resulting object.\n - `events_late_arrival_max_delay_in_seconds` (`number`): Set the `events_late_arrival_max_delay_in_seconds` field on the resulting object. When `null`, the `events_late_arrival_max_delay_in_seconds` field will be omitted from the resulting object.\n - `events_out_of_order_max_delay_in_seconds` (`number`): Set the `events_out_of_order_max_delay_in_seconds` field on the resulting object. When `null`, the `events_out_of_order_max_delay_in_seconds` field will be omitted from the resulting object.\n - `events_out_of_order_policy` (`string`): Set the `events_out_of_order_policy` field on the resulting object. When `null`, the `events_out_of_order_policy` 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 - `output_error_policy` (`string`): Set the `output_error_policy` field on the resulting object. When `null`, the `output_error_policy` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `sku_name` (`string`): Set the `sku_name` field on the resulting object. When `null`, the `sku_name` field will be omitted from the resulting object.\n - `stream_analytics_cluster_id` (`string`): Set the `stream_analytics_cluster_id` field on the resulting object. When `null`, the `stream_analytics_cluster_id` field will be omitted from the resulting object.\n - `streaming_units` (`number`): Set the `streaming_units` field on the resulting object. When `null`, the `streaming_units` 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 - `transformation_query` (`string`): Set the `transformation_query` field on the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object. When `null`, the `type` field will be omitted from the resulting object.\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.stream_analytics_job.identity.new](#fn-identitynew) constructor.\n - `job_storage_account` (`list[obj]`): Set the `job_storage_account` field on the resulting object. When `null`, the `job_storage_account` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.stream_analytics_job.job_storage_account.new](#fn-job_storage_accountnew) 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.stream_analytics_job.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 `stream_analytics_job` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, @@ -84,6 +88,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); identity=null, job_storage_account=null, output_error_policy=null, + sku_name=null, stream_analytics_cluster_id=null, streaming_units=null, tags=null, @@ -102,6 +107,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); name: name, output_error_policy: output_error_policy, resource_group_name: resource_group_name, + sku_name: sku_name, stream_analytics_cluster_id: stream_analytics_cluster_id, streaming_units: streaming_units, tags: tags, @@ -263,6 +269,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withSkuName':: d.fn(help='`azurerm.string.withSkuName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the sku_name field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `sku_name` field.\n', args=[]), + withSkuName(resourceLabel, value): { + resource+: { + azurerm_stream_analytics_job+: { + [resourceLabel]+: { + sku_name: value, + }, + }, + }, + }, '#withStreamAnalyticsClusterId':: d.fn(help='`azurerm.string.withStreamAnalyticsClusterId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the stream_analytics_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 `stream_analytics_cluster_id` field.\n', args=[]), withStreamAnalyticsClusterId(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/subnet_nat_gateway_association.libsonnet b/3.x/_gen/resources/subnet_nat_gateway_association.libsonnet index efcbb14f..662a66db 100644 --- a/3.x/_gen/resources/subnet_nat_gateway_association.libsonnet +++ b/3.x/_gen/resources/subnet_nat_gateway_association.libsonnet @@ -26,17 +26,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.subnet_nat_gateway_association.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':: d.fn(help='\n`azurerm.subnet_nat_gateway_association.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withNatGatewayId':: d.fn(help='`azurerm.string.withNatGatewayId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the nat_gateway_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 `nat_gateway_id` field.\n', args=[]), diff --git a/3.x/_gen/resources/subnet_network_security_group_association.libsonnet b/3.x/_gen/resources/subnet_network_security_group_association.libsonnet index 03b6f0ee..b14fc7c0 100644 --- a/3.x/_gen/resources/subnet_network_security_group_association.libsonnet +++ b/3.x/_gen/resources/subnet_network_security_group_association.libsonnet @@ -26,17 +26,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.subnet_network_security_group_association.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':: d.fn(help='\n`azurerm.subnet_network_security_group_association.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withNetworkSecurityGroupId':: d.fn(help='`azurerm.string.withNetworkSecurityGroupId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the network_security_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 `network_security_group_id` field.\n', args=[]), diff --git a/3.x/_gen/resources/subnet_route_table_association.libsonnet b/3.x/_gen/resources/subnet_route_table_association.libsonnet index 77abe4da..3a21d783 100644 --- a/3.x/_gen/resources/subnet_route_table_association.libsonnet +++ b/3.x/_gen/resources/subnet_route_table_association.libsonnet @@ -26,17 +26,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); timeouts: timeouts, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.subnet_route_table_association.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':: d.fn(help='\n`azurerm.subnet_route_table_association.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withRouteTableId':: d.fn(help='`azurerm.string.withRouteTableId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the route_table_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 `route_table_id` field.\n', args=[]), diff --git a/3.x/_gen/resources/synapse_role_assignment.libsonnet b/3.x/_gen/resources/synapse_role_assignment.libsonnet index 6526646c..f7872284 100644 --- a/3.x/_gen/resources/synapse_role_assignment.libsonnet +++ b/3.x/_gen/resources/synapse_role_assignment.libsonnet @@ -2,11 +2,12 @@ local tf = (import 'github.com/tf-libsonnet/core/main.libsonnet'); local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); { '#':: d.pkg(name='synapse_role_assignment', url='', help='`synapse_role_assignment` represents the `azurerm_synapse_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.synapse_role_assignment.new` injects a new `azurerm_synapse_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.synapse_role_assignment.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.synapse_role_assignment` using the reference:\n\n $._ref.azurerm_synapse_role_assignment.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_synapse_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 - `principal_id` (`string`): Set the `principal_id` field on the resulting resource block.\n - `role_name` (`string`): Set the `role_name` field on the resulting resource block.\n - `synapse_spark_pool_id` (`string`): Set the `synapse_spark_pool_id` field on the resulting resource block. When `null`, the `synapse_spark_pool_id` field will be omitted from the resulting object.\n - `synapse_workspace_id` (`string`): Set the `synapse_workspace_id` field on the resulting resource block. When `null`, the `synapse_workspace_id` 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.synapse_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':: d.fn(help="\n`azurerm.synapse_role_assignment.new` injects a new `azurerm_synapse_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.synapse_role_assignment.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.synapse_role_assignment` using the reference:\n\n $._ref.azurerm_synapse_role_assignment.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_synapse_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 - `principal_id` (`string`): Set the `principal_id` field on the resulting resource block.\n - `principal_type` (`string`): Set the `principal_type` field on the resulting resource block. When `null`, the `principal_type` field will be omitted from the resulting object.\n - `role_name` (`string`): Set the `role_name` field on the resulting resource block.\n - `synapse_spark_pool_id` (`string`): Set the `synapse_spark_pool_id` field on the resulting resource block. When `null`, the `synapse_spark_pool_id` field will be omitted from the resulting object.\n - `synapse_workspace_id` (`string`): Set the `synapse_workspace_id` field on the resulting resource block. When `null`, the `synapse_workspace_id` 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.synapse_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, role_name, + principal_type=null, synapse_spark_pool_id=null, synapse_workspace_id=null, timeouts=null, @@ -16,6 +17,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); label=resourceLabel, attrs=self.newAttrs( principal_id=principal_id, + principal_type=principal_type, role_name=role_name, synapse_spark_pool_id=synapse_spark_pool_id, synapse_workspace_id=synapse_workspace_id, @@ -23,15 +25,17 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.synapse_role_assignment.newAttrs` constructs a new object with attributes and blocks configured for the `synapse_role_assignment`\nTerraform resource.\n\nUnlike [azurerm.synapse_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 - `principal_id` (`string`): Set the `principal_id` field on the resulting object.\n - `role_name` (`string`): Set the `role_name` field on the resulting object.\n - `synapse_spark_pool_id` (`string`): Set the `synapse_spark_pool_id` field on the resulting object. When `null`, the `synapse_spark_pool_id` field will be omitted from the resulting object.\n - `synapse_workspace_id` (`string`): Set the `synapse_workspace_id` field on the resulting object. When `null`, the `synapse_workspace_id` 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.synapse_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 `synapse_role_assignment` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.synapse_role_assignment.newAttrs` constructs a new object with attributes and blocks configured for the `synapse_role_assignment`\nTerraform resource.\n\nUnlike [azurerm.synapse_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 - `principal_id` (`string`): Set the `principal_id` field on the resulting object.\n - `principal_type` (`string`): Set the `principal_type` field on the resulting object. When `null`, the `principal_type` field will be omitted from the resulting object.\n - `role_name` (`string`): Set the `role_name` field on the resulting object.\n - `synapse_spark_pool_id` (`string`): Set the `synapse_spark_pool_id` field on the resulting object. When `null`, the `synapse_spark_pool_id` field will be omitted from the resulting object.\n - `synapse_workspace_id` (`string`): Set the `synapse_workspace_id` field on the resulting object. When `null`, the `synapse_workspace_id` 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.synapse_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 `synapse_role_assignment` resource into the root Terraform configuration.\n', args=[]), newAttrs( principal_id, role_name, + principal_type=null, synapse_spark_pool_id=null, synapse_workspace_id=null, timeouts=null ):: std.prune(a={ principal_id: principal_id, + principal_type: principal_type, role_name: role_name, synapse_spark_pool_id: synapse_spark_pool_id, synapse_workspace_id: synapse_workspace_id, @@ -59,6 +63,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withPrincipalType':: d.fn(help='`azurerm.string.withPrincipalType` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the principal_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 `principal_type` field.\n', args=[]), + withPrincipalType(resourceLabel, value): { + resource+: { + azurerm_synapse_role_assignment+: { + [resourceLabel]+: { + principal_type: value, + }, + }, + }, + }, '#withRoleName':: d.fn(help='`azurerm.string.withRoleName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the role_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_name` field.\n', args=[]), withRoleName(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/virtual_desktop_workspace_application_group_association.libsonnet b/3.x/_gen/resources/virtual_desktop_workspace_application_group_association.libsonnet index 3b44856f..9a58a7ff 100644 --- a/3.x/_gen/resources/virtual_desktop_workspace_application_group_association.libsonnet +++ b/3.x/_gen/resources/virtual_desktop_workspace_application_group_association.libsonnet @@ -26,17 +26,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); workspace_id: workspace_id, }), timeouts:: { - '#new':: d.fn(help='\n`azurerm.virtual_desktop_workspace_application_group_association.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':: d.fn(help='\n`azurerm.virtual_desktop_workspace_application_group_association.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, - update=null + read=null ):: std.prune(a={ create: create, delete: delete, read: read, - update: update, }), }, '#withApplicationGroupId':: d.fn(help='`azurerm.string.withApplicationGroupId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the application_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 `application_group_id` field.\n', args=[]), diff --git a/3.x/_gen/resources/virtual_machine_run_command.libsonnet b/3.x/_gen/resources/virtual_machine_run_command.libsonnet new file mode 100644 index 00000000..ef6f84d3 --- /dev/null +++ b/3.x/_gen/resources/virtual_machine_run_command.libsonnet @@ -0,0 +1,354 @@ +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='virtual_machine_run_command', url='', help='`virtual_machine_run_command` represents the `azurerm_virtual_machine_run_command` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + error_blob_managed_identity:: { + '#new':: d.fn(help='\n`azurerm.virtual_machine_run_command.error_blob_managed_identity.new` constructs a new object with attributes and blocks configured for the `error_blob_managed_identity`\nTerraform sub block.\n\n\n\n**Args**:\n - `client_id` (`string`): Set the `client_id` field on the resulting object. When `null`, the `client_id` field will be omitted from the resulting object.\n - `object_id` (`string`): Set the `object_id` field on the resulting object. When `null`, the `object_id` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `error_blob_managed_identity` sub block.\n', args=[]), + new( + client_id=null, + object_id=null + ):: std.prune(a={ + client_id: client_id, + object_id: object_id, + }), + }, + '#new':: d.fn(help="\n`azurerm.virtual_machine_run_command.new` injects a new `azurerm_virtual_machine_run_command` 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_machine_run_command.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.virtual_machine_run_command` using the reference:\n\n $._ref.azurerm_virtual_machine_run_command.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_virtual_machine_run_command.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 - `error_blob_uri` (`string`): Set the `error_blob_uri` field on the resulting resource block. When `null`, the `error_blob_uri` 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 - `output_blob_uri` (`string`): Set the `output_blob_uri` field on the resulting resource block. When `null`, the `output_blob_uri` field will be omitted from the resulting object.\n - `run_as_password` (`string`): Set the `run_as_password` field on the resulting resource block. When `null`, the `run_as_password` field will be omitted from the resulting object.\n - `run_as_user` (`string`): Set the `run_as_user` field on the resulting resource block. When `null`, the `run_as_user` 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 - `virtual_machine_id` (`string`): Set the `virtual_machine_id` field on the resulting resource block.\n - `error_blob_managed_identity` (`list[obj]`): Set the `error_blob_managed_identity` field on the resulting resource block. When `null`, the `error_blob_managed_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.virtual_machine_run_command.error_blob_managed_identity.new](#fn-error_blob_managed_identitynew) constructor.\n - `output_blob_managed_identity` (`list[obj]`): Set the `output_blob_managed_identity` field on the resulting resource block. When `null`, the `output_blob_managed_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.virtual_machine_run_command.output_blob_managed_identity.new](#fn-output_blob_managed_identitynew) constructor.\n - `parameter` (`list[obj]`): Set the `parameter` field on the resulting resource block. When `null`, the `parameter` 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_machine_run_command.parameter.new](#fn-parameternew) constructor.\n - `protected_parameter` (`list[obj]`): Set the `protected_parameter` field on the resulting resource block. When `null`, the `protected_parameter` 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_machine_run_command.protected_parameter.new](#fn-protected_parameternew) constructor.\n - `source` (`list[obj]`): Set the `source` field on the resulting resource block. When `null`, the `source` 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_machine_run_command.source.new](#fn-sourcenew) 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_machine_run_command.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, + virtual_machine_id, + error_blob_managed_identity=null, + error_blob_uri=null, + output_blob_managed_identity=null, + output_blob_uri=null, + parameter=null, + protected_parameter=null, + run_as_password=null, + run_as_user=null, + source=null, + tags=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='azurerm_virtual_machine_run_command', + label=resourceLabel, + attrs=self.newAttrs( + error_blob_managed_identity=error_blob_managed_identity, + error_blob_uri=error_blob_uri, + location=location, + name=name, + output_blob_managed_identity=output_blob_managed_identity, + output_blob_uri=output_blob_uri, + parameter=parameter, + protected_parameter=protected_parameter, + run_as_password=run_as_password, + run_as_user=run_as_user, + source=source, + tags=tags, + timeouts=timeouts, + virtual_machine_id=virtual_machine_id + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`azurerm.virtual_machine_run_command.newAttrs` constructs a new object with attributes and blocks configured for the `virtual_machine_run_command`\nTerraform resource.\n\nUnlike [azurerm.virtual_machine_run_command.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 - `error_blob_uri` (`string`): Set the `error_blob_uri` field on the resulting object. When `null`, the `error_blob_uri` 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 - `output_blob_uri` (`string`): Set the `output_blob_uri` field on the resulting object. When `null`, the `output_blob_uri` field will be omitted from the resulting object.\n - `run_as_password` (`string`): Set the `run_as_password` field on the resulting object. When `null`, the `run_as_password` field will be omitted from the resulting object.\n - `run_as_user` (`string`): Set the `run_as_user` field on the resulting object. When `null`, the `run_as_user` 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 - `virtual_machine_id` (`string`): Set the `virtual_machine_id` field on the resulting object.\n - `error_blob_managed_identity` (`list[obj]`): Set the `error_blob_managed_identity` field on the resulting object. When `null`, the `error_blob_managed_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.virtual_machine_run_command.error_blob_managed_identity.new](#fn-error_blob_managed_identitynew) constructor.\n - `output_blob_managed_identity` (`list[obj]`): Set the `output_blob_managed_identity` field on the resulting object. When `null`, the `output_blob_managed_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.virtual_machine_run_command.output_blob_managed_identity.new](#fn-output_blob_managed_identitynew) constructor.\n - `parameter` (`list[obj]`): Set the `parameter` field on the resulting object. When `null`, the `parameter` 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_machine_run_command.parameter.new](#fn-parameternew) constructor.\n - `protected_parameter` (`list[obj]`): Set the `protected_parameter` field on the resulting object. When `null`, the `protected_parameter` 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_machine_run_command.protected_parameter.new](#fn-protected_parameternew) constructor.\n - `source` (`list[obj]`): Set the `source` field on the resulting object. When `null`, the `source` 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_machine_run_command.source.new](#fn-sourcenew) 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_machine_run_command.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_machine_run_command` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + location, + name, + virtual_machine_id, + error_blob_managed_identity=null, + error_blob_uri=null, + output_blob_managed_identity=null, + output_blob_uri=null, + parameter=null, + protected_parameter=null, + run_as_password=null, + run_as_user=null, + source=null, + tags=null, + timeouts=null + ):: std.prune(a={ + error_blob_managed_identity: error_blob_managed_identity, + error_blob_uri: error_blob_uri, + location: location, + name: name, + output_blob_managed_identity: output_blob_managed_identity, + output_blob_uri: output_blob_uri, + parameter: parameter, + protected_parameter: protected_parameter, + run_as_password: run_as_password, + run_as_user: run_as_user, + source: source, + tags: tags, + timeouts: timeouts, + virtual_machine_id: virtual_machine_id, + }), + output_blob_managed_identity:: { + '#new':: d.fn(help='\n`azurerm.virtual_machine_run_command.output_blob_managed_identity.new` constructs a new object with attributes and blocks configured for the `output_blob_managed_identity`\nTerraform sub block.\n\n\n\n**Args**:\n - `client_id` (`string`): Set the `client_id` field on the resulting object. When `null`, the `client_id` field will be omitted from the resulting object.\n - `object_id` (`string`): Set the `object_id` field on the resulting object. When `null`, the `object_id` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `output_blob_managed_identity` sub block.\n', args=[]), + new( + client_id=null, + object_id=null + ):: std.prune(a={ + client_id: client_id, + object_id: object_id, + }), + }, + parameter:: { + '#new':: d.fn(help='\n`azurerm.virtual_machine_run_command.parameter.new` constructs a new object with attributes and blocks configured for the `parameter`\nTerraform sub block.\n\n\n\n**Args**:\n - `name` (`string`): Set the `name` field on the resulting object.\n - `value` (`string`): Set the `value` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `parameter` sub block.\n', args=[]), + new( + name, + value + ):: std.prune(a={ + name: name, + value: value, + }), + }, + protected_parameter:: { + '#new':: d.fn(help='\n`azurerm.virtual_machine_run_command.protected_parameter.new` constructs a new object with attributes and blocks configured for the `protected_parameter`\nTerraform sub block.\n\n\n\n**Args**:\n - `name` (`string`): Set the `name` field on the resulting object.\n - `value` (`string`): Set the `value` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `protected_parameter` sub block.\n', args=[]), + new( + name, + value + ):: std.prune(a={ + name: name, + value: value, + }), + }, + source:: { + '#new':: d.fn(help='\n`azurerm.virtual_machine_run_command.source.new` constructs a new object with attributes and blocks configured for the `source`\nTerraform sub block.\n\n\n\n**Args**:\n - `command_id` (`string`): Set the `command_id` field on the resulting object. When `null`, the `command_id` field will be omitted from the resulting object.\n - `script` (`string`): Set the `script` field on the resulting object. When `null`, the `script` field will be omitted from the resulting object.\n - `script_uri` (`string`): Set the `script_uri` field on the resulting object. When `null`, the `script_uri` field will be omitted from the resulting object.\n - `script_uri_managed_identity` (`list[obj]`): Set the `script_uri_managed_identity` field on the resulting object. When `null`, the `script_uri_managed_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.virtual_machine_run_command.source.script_uri_managed_identity.new](#fn-sourcescript_uri_managed_identitynew) constructor.\n\n**Returns**:\n - An attribute object that represents the `source` sub block.\n', args=[]), + new( + command_id=null, + script=null, + script_uri=null, + script_uri_managed_identity=null + ):: std.prune(a={ + command_id: command_id, + script: script, + script_uri: script_uri, + script_uri_managed_identity: script_uri_managed_identity, + }), + script_uri_managed_identity:: { + '#new':: d.fn(help='\n`azurerm.virtual_machine_run_command.source.script_uri_managed_identity.new` constructs a new object with attributes and blocks configured for the `script_uri_managed_identity`\nTerraform sub block.\n\n\n\n**Args**:\n - `client_id` (`string`): Set the `client_id` field on the resulting object. When `null`, the `client_id` field will be omitted from the resulting object.\n - `object_id` (`string`): Set the `object_id` field on the resulting object. When `null`, the `object_id` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `script_uri_managed_identity` sub block.\n', args=[]), + new( + client_id=null, + object_id=null + ):: std.prune(a={ + client_id: client_id, + object_id: object_id, + }), + }, + }, + timeouts:: { + '#new':: d.fn(help='\n`azurerm.virtual_machine_run_command.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, + }), + }, + '#withErrorBlobManagedIdentity':: d.fn(help='`azurerm.list[obj].withErrorBlobManagedIdentity` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the error_blob_managed_identity field.\n\nThis function will replace the array with the passed in `value`. If you wish to instead append the\npassed in value to the existing array, use the [azurerm.list[obj].withErrorBlobManagedIdentityMixin](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 `error_blob_managed_identity` field.\n', args=[]), + withErrorBlobManagedIdentity(resourceLabel, value): { + resource+: { + azurerm_virtual_machine_run_command+: { + [resourceLabel]+: { + error_blob_managed_identity: value, + }, + }, + }, + }, + '#withErrorBlobManagedIdentityMixin':: d.fn(help='`azurerm.list[obj].withErrorBlobManagedIdentityMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the error_blob_managed_identity 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].withErrorBlobManagedIdentity](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 `error_blob_managed_identity` field.\n', args=[]), + withErrorBlobManagedIdentityMixin(resourceLabel, value): { + resource+: { + azurerm_virtual_machine_run_command+: { + [resourceLabel]+: { + error_blob_managed_identity+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withErrorBlobUri':: d.fn(help='`azurerm.string.withErrorBlobUri` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the error_blob_uri 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 `error_blob_uri` field.\n', args=[]), + withErrorBlobUri(resourceLabel, value): { + resource+: { + azurerm_virtual_machine_run_command+: { + [resourceLabel]+: { + error_blob_uri: 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_virtual_machine_run_command+: { + [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_virtual_machine_run_command+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withOutputBlobManagedIdentity':: d.fn(help='`azurerm.list[obj].withOutputBlobManagedIdentity` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the output_blob_managed_identity field.\n\nThis function will replace the array with the passed in `value`. If you wish to instead append the\npassed in value to the existing array, use the [azurerm.list[obj].withOutputBlobManagedIdentityMixin](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 `output_blob_managed_identity` field.\n', args=[]), + withOutputBlobManagedIdentity(resourceLabel, value): { + resource+: { + azurerm_virtual_machine_run_command+: { + [resourceLabel]+: { + output_blob_managed_identity: value, + }, + }, + }, + }, + '#withOutputBlobManagedIdentityMixin':: d.fn(help='`azurerm.list[obj].withOutputBlobManagedIdentityMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the output_blob_managed_identity 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].withOutputBlobManagedIdentity](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 `output_blob_managed_identity` field.\n', args=[]), + withOutputBlobManagedIdentityMixin(resourceLabel, value): { + resource+: { + azurerm_virtual_machine_run_command+: { + [resourceLabel]+: { + output_blob_managed_identity+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withOutputBlobUri':: d.fn(help='`azurerm.string.withOutputBlobUri` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the output_blob_uri 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 `output_blob_uri` field.\n', args=[]), + withOutputBlobUri(resourceLabel, value): { + resource+: { + azurerm_virtual_machine_run_command+: { + [resourceLabel]+: { + output_blob_uri: value, + }, + }, + }, + }, + '#withParameter':: d.fn(help='`azurerm.list[obj].withParameter` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the parameter 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].withParameterMixin](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 `parameter` field.\n', args=[]), + withParameter(resourceLabel, value): { + resource+: { + azurerm_virtual_machine_run_command+: { + [resourceLabel]+: { + parameter: value, + }, + }, + }, + }, + '#withParameterMixin':: d.fn(help='`azurerm.list[obj].withParameterMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the parameter 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].withParameter](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 `parameter` field.\n', args=[]), + withParameterMixin(resourceLabel, value): { + resource+: { + azurerm_virtual_machine_run_command+: { + [resourceLabel]+: { + parameter+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withProtectedParameter':: d.fn(help='`azurerm.list[obj].withProtectedParameter` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the protected_parameter 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].withProtectedParameterMixin](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 `protected_parameter` field.\n', args=[]), + withProtectedParameter(resourceLabel, value): { + resource+: { + azurerm_virtual_machine_run_command+: { + [resourceLabel]+: { + protected_parameter: value, + }, + }, + }, + }, + '#withProtectedParameterMixin':: d.fn(help='`azurerm.list[obj].withProtectedParameterMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the protected_parameter 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].withProtectedParameter](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 `protected_parameter` field.\n', args=[]), + withProtectedParameterMixin(resourceLabel, value): { + resource+: { + azurerm_virtual_machine_run_command+: { + [resourceLabel]+: { + protected_parameter+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withRunAsPassword':: d.fn(help='`azurerm.string.withRunAsPassword` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the run_as_password 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 `run_as_password` field.\n', args=[]), + withRunAsPassword(resourceLabel, value): { + resource+: { + azurerm_virtual_machine_run_command+: { + [resourceLabel]+: { + run_as_password: value, + }, + }, + }, + }, + '#withRunAsUser':: d.fn(help='`azurerm.string.withRunAsUser` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the run_as_user 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 `run_as_user` field.\n', args=[]), + withRunAsUser(resourceLabel, value): { + resource+: { + azurerm_virtual_machine_run_command+: { + [resourceLabel]+: { + run_as_user: value, + }, + }, + }, + }, + '#withSource':: d.fn(help='`azurerm.list[obj].withSource` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the source 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].withSourceMixin](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 `source` field.\n', args=[]), + withSource(resourceLabel, value): { + resource+: { + azurerm_virtual_machine_run_command+: { + [resourceLabel]+: { + source: value, + }, + }, + }, + }, + '#withSourceMixin':: d.fn(help='`azurerm.list[obj].withSourceMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the source 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].withSource](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 `source` field.\n', args=[]), + withSourceMixin(resourceLabel, value): { + resource+: { + azurerm_virtual_machine_run_command+: { + [resourceLabel]+: { + source+: 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+: { + azurerm_virtual_machine_run_command+: { + [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_virtual_machine_run_command+: { + [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_virtual_machine_run_command+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, + '#withVirtualMachineId':: d.fn(help='`azurerm.string.withVirtualMachineId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the virtual_machine_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 `virtual_machine_id` field.\n', args=[]), + withVirtualMachineId(resourceLabel, value): { + resource+: { + azurerm_virtual_machine_run_command+: { + [resourceLabel]+: { + virtual_machine_id: value, + }, + }, + }, + }, +} diff --git a/3.x/_gen/resources/virtual_network_gateway.libsonnet b/3.x/_gen/resources/virtual_network_gateway.libsonnet index 78499556..80ebf1de 100644 --- a/3.x/_gen/resources/virtual_network_gateway.libsonnet +++ b/3.x/_gen/resources/virtual_network_gateway.libsonnet @@ -46,7 +46,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); subnet_id: subnet_id, }), }, - '#new':: d.fn(help="\n`azurerm.virtual_network_gateway.new` injects a new `azurerm_virtual_network_gateway` 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_gateway.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.virtual_network_gateway` using the reference:\n\n $._ref.azurerm_virtual_network_gateway.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_virtual_network_gateway.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 - `active_active` (`bool`): Set the `active_active` field on the resulting resource block. When `null`, the `active_active` field will be omitted from the resulting object.\n - `default_local_network_gateway_id` (`string`): Set the `default_local_network_gateway_id` field on the resulting resource block. When `null`, the `default_local_network_gateway_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_bgp` (`bool`): Set the `enable_bgp` field on the resulting resource block. When `null`, the `enable_bgp` field will be omitted from the resulting object.\n - `generation` (`string`): Set the `generation` field on the resulting resource block. When `null`, the `generation` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `private_ip_address_enabled` (`bool`): Set the `private_ip_address_enabled` field on the resulting resource block. When `null`, the `private_ip_address_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `sku` (`string`): Set the `sku` field on the resulting resource block.\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 - `type` (`string`): Set the `type` field on the resulting resource block.\n - `vpn_type` (`string`): Set the `vpn_type` field on the resulting resource block. When `null`, the `vpn_type` field will be omitted from the resulting object.\n - `bgp_settings` (`list[obj]`): Set the `bgp_settings` field on the resulting resource block. When `null`, the `bgp_settings` 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_gateway.bgp_settings.new](#fn-bgp_settingsnew) constructor.\n - `custom_route` (`list[obj]`): Set the `custom_route` field on the resulting resource block. When `null`, the `custom_route` 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_gateway.custom_route.new](#fn-custom_routenew) constructor.\n - `ip_configuration` (`list[obj]`): Set the `ip_configuration` field on the resulting resource block. When `null`, the `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.virtual_network_gateway.ip_configuration.new](#fn-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.virtual_network_gateway.timeouts.new](#fn-timeoutsnew) constructor.\n - `vpn_client_configuration` (`list[obj]`): Set the `vpn_client_configuration` field on the resulting resource block. When `null`, the `vpn_client_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.virtual_network_gateway.vpn_client_configuration.new](#fn-vpn_client_configurationnew) 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.virtual_network_gateway.new` injects a new `azurerm_virtual_network_gateway` 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_gateway.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.virtual_network_gateway` using the reference:\n\n $._ref.azurerm_virtual_network_gateway.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_virtual_network_gateway.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 - `active_active` (`bool`): Set the `active_active` field on the resulting resource block. When `null`, the `active_active` field will be omitted from the resulting object.\n - `bgp_route_translation_for_nat_enabled` (`bool`): Set the `bgp_route_translation_for_nat_enabled` field on the resulting resource block. When `null`, the `bgp_route_translation_for_nat_enabled` field will be omitted from the resulting object.\n - `default_local_network_gateway_id` (`string`): Set the `default_local_network_gateway_id` field on the resulting resource block. When `null`, the `default_local_network_gateway_id` field will be omitted from the resulting object.\n - `dns_forwarding_enabled` (`bool`): Set the `dns_forwarding_enabled` field on the resulting resource block. When `null`, the `dns_forwarding_enabled` 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_bgp` (`bool`): Set the `enable_bgp` field on the resulting resource block. When `null`, the `enable_bgp` field will be omitted from the resulting object.\n - `generation` (`string`): Set the `generation` field on the resulting resource block. When `null`, the `generation` field will be omitted from the resulting object.\n - `ip_sec_replay_protection_enabled` (`bool`): Set the `ip_sec_replay_protection_enabled` field on the resulting resource block. When `null`, the `ip_sec_replay_protection_enabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `private_ip_address_enabled` (`bool`): Set the `private_ip_address_enabled` field on the resulting resource block. When `null`, the `private_ip_address_enabled` field will be omitted from the resulting object.\n - `remote_vnet_traffic_enabled` (`bool`): Set the `remote_vnet_traffic_enabled` field on the resulting resource block. When `null`, the `remote_vnet_traffic_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `sku` (`string`): Set the `sku` field on the resulting resource block.\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 - `type` (`string`): Set the `type` field on the resulting resource block.\n - `virtual_wan_traffic_enabled` (`bool`): Set the `virtual_wan_traffic_enabled` field on the resulting resource block. When `null`, the `virtual_wan_traffic_enabled` field will be omitted from the resulting object.\n - `vpn_type` (`string`): Set the `vpn_type` field on the resulting resource block. When `null`, the `vpn_type` field will be omitted from the resulting object.\n - `bgp_settings` (`list[obj]`): Set the `bgp_settings` field on the resulting resource block. When `null`, the `bgp_settings` 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_gateway.bgp_settings.new](#fn-bgp_settingsnew) constructor.\n - `custom_route` (`list[obj]`): Set the `custom_route` field on the resulting resource block. When `null`, the `custom_route` 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_gateway.custom_route.new](#fn-custom_routenew) constructor.\n - `ip_configuration` (`list[obj]`): Set the `ip_configuration` field on the resulting resource block. When `null`, the `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.virtual_network_gateway.ip_configuration.new](#fn-ip_configurationnew) constructor.\n - `policy_group` (`list[obj]`): Set the `policy_group` field on the resulting resource block. When `null`, the `policy_group` 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_gateway.policy_group.new](#fn-policy_groupnew) 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_gateway.timeouts.new](#fn-timeoutsnew) constructor.\n - `vpn_client_configuration` (`list[obj]`): Set the `vpn_client_configuration` field on the resulting resource block. When `null`, the `vpn_client_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.virtual_network_gateway.vpn_client_configuration.new](#fn-vpn_client_configurationnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, location, @@ -55,16 +55,22 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); sku, type, active_active=null, + bgp_route_translation_for_nat_enabled=null, bgp_settings=null, custom_route=null, default_local_network_gateway_id=null, + dns_forwarding_enabled=null, edge_zone=null, enable_bgp=null, generation=null, ip_configuration=null, + ip_sec_replay_protection_enabled=null, + policy_group=null, private_ip_address_enabled=null, + remote_vnet_traffic_enabled=null, tags=null, timeouts=null, + virtual_wan_traffic_enabled=null, vpn_client_configuration=null, vpn_type=null, _meta={} @@ -73,27 +79,33 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); label=resourceLabel, attrs=self.newAttrs( active_active=active_active, + bgp_route_translation_for_nat_enabled=bgp_route_translation_for_nat_enabled, bgp_settings=bgp_settings, custom_route=custom_route, default_local_network_gateway_id=default_local_network_gateway_id, + dns_forwarding_enabled=dns_forwarding_enabled, edge_zone=edge_zone, enable_bgp=enable_bgp, generation=generation, ip_configuration=ip_configuration, + ip_sec_replay_protection_enabled=ip_sec_replay_protection_enabled, location=location, name=name, + policy_group=policy_group, private_ip_address_enabled=private_ip_address_enabled, + remote_vnet_traffic_enabled=remote_vnet_traffic_enabled, resource_group_name=resource_group_name, sku=sku, tags=tags, timeouts=timeouts, type=type, + virtual_wan_traffic_enabled=virtual_wan_traffic_enabled, vpn_client_configuration=vpn_client_configuration, vpn_type=vpn_type ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.virtual_network_gateway.newAttrs` constructs a new object with attributes and blocks configured for the `virtual_network_gateway`\nTerraform resource.\n\nUnlike [azurerm.virtual_network_gateway.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 - `active_active` (`bool`): Set the `active_active` field on the resulting object. When `null`, the `active_active` field will be omitted from the resulting object.\n - `default_local_network_gateway_id` (`string`): Set the `default_local_network_gateway_id` field on the resulting object. When `null`, the `default_local_network_gateway_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_bgp` (`bool`): Set the `enable_bgp` field on the resulting object. When `null`, the `enable_bgp` field will be omitted from the resulting object.\n - `generation` (`string`): Set the `generation` field on the resulting object. When `null`, the `generation` 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 - `private_ip_address_enabled` (`bool`): Set the `private_ip_address_enabled` field on the resulting object. When `null`, the `private_ip_address_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `sku` (`string`): Set the `sku` field on the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object.\n - `vpn_type` (`string`): Set the `vpn_type` field on the resulting object. When `null`, the `vpn_type` field will be omitted from the resulting object.\n - `bgp_settings` (`list[obj]`): Set the `bgp_settings` field on the resulting object. When `null`, the `bgp_settings` 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_gateway.bgp_settings.new](#fn-bgp_settingsnew) constructor.\n - `custom_route` (`list[obj]`): Set the `custom_route` field on the resulting object. When `null`, the `custom_route` 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_gateway.custom_route.new](#fn-custom_routenew) constructor.\n - `ip_configuration` (`list[obj]`): Set the `ip_configuration` field on the resulting object. When `null`, the `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.virtual_network_gateway.ip_configuration.new](#fn-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.virtual_network_gateway.timeouts.new](#fn-timeoutsnew) constructor.\n - `vpn_client_configuration` (`list[obj]`): Set the `vpn_client_configuration` field on the resulting object. When `null`, the `vpn_client_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.virtual_network_gateway.vpn_client_configuration.new](#fn-vpn_client_configurationnew) 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_gateway` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.virtual_network_gateway.newAttrs` constructs a new object with attributes and blocks configured for the `virtual_network_gateway`\nTerraform resource.\n\nUnlike [azurerm.virtual_network_gateway.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 - `active_active` (`bool`): Set the `active_active` field on the resulting object. When `null`, the `active_active` field will be omitted from the resulting object.\n - `bgp_route_translation_for_nat_enabled` (`bool`): Set the `bgp_route_translation_for_nat_enabled` field on the resulting object. When `null`, the `bgp_route_translation_for_nat_enabled` field will be omitted from the resulting object.\n - `default_local_network_gateway_id` (`string`): Set the `default_local_network_gateway_id` field on the resulting object. When `null`, the `default_local_network_gateway_id` field will be omitted from the resulting object.\n - `dns_forwarding_enabled` (`bool`): Set the `dns_forwarding_enabled` field on the resulting object. When `null`, the `dns_forwarding_enabled` 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_bgp` (`bool`): Set the `enable_bgp` field on the resulting object. When `null`, the `enable_bgp` field will be omitted from the resulting object.\n - `generation` (`string`): Set the `generation` field on the resulting object. When `null`, the `generation` field will be omitted from the resulting object.\n - `ip_sec_replay_protection_enabled` (`bool`): Set the `ip_sec_replay_protection_enabled` field on the resulting object. When `null`, the `ip_sec_replay_protection_enabled` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `private_ip_address_enabled` (`bool`): Set the `private_ip_address_enabled` field on the resulting object. When `null`, the `private_ip_address_enabled` field will be omitted from the resulting object.\n - `remote_vnet_traffic_enabled` (`bool`): Set the `remote_vnet_traffic_enabled` field on the resulting object. When `null`, the `remote_vnet_traffic_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `sku` (`string`): Set the `sku` field on the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object.\n - `virtual_wan_traffic_enabled` (`bool`): Set the `virtual_wan_traffic_enabled` field on the resulting object. When `null`, the `virtual_wan_traffic_enabled` field will be omitted from the resulting object.\n - `vpn_type` (`string`): Set the `vpn_type` field on the resulting object. When `null`, the `vpn_type` field will be omitted from the resulting object.\n - `bgp_settings` (`list[obj]`): Set the `bgp_settings` field on the resulting object. When `null`, the `bgp_settings` 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_gateway.bgp_settings.new](#fn-bgp_settingsnew) constructor.\n - `custom_route` (`list[obj]`): Set the `custom_route` field on the resulting object. When `null`, the `custom_route` 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_gateway.custom_route.new](#fn-custom_routenew) constructor.\n - `ip_configuration` (`list[obj]`): Set the `ip_configuration` field on the resulting object. When `null`, the `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.virtual_network_gateway.ip_configuration.new](#fn-ip_configurationnew) constructor.\n - `policy_group` (`list[obj]`): Set the `policy_group` field on the resulting object. When `null`, the `policy_group` 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_gateway.policy_group.new](#fn-policy_groupnew) 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_gateway.timeouts.new](#fn-timeoutsnew) constructor.\n - `vpn_client_configuration` (`list[obj]`): Set the `vpn_client_configuration` field on the resulting object. When `null`, the `vpn_client_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.virtual_network_gateway.vpn_client_configuration.new](#fn-vpn_client_configurationnew) 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_gateway` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, @@ -101,38 +113,76 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); sku, type, active_active=null, + bgp_route_translation_for_nat_enabled=null, bgp_settings=null, custom_route=null, default_local_network_gateway_id=null, + dns_forwarding_enabled=null, edge_zone=null, enable_bgp=null, generation=null, ip_configuration=null, + ip_sec_replay_protection_enabled=null, + policy_group=null, private_ip_address_enabled=null, + remote_vnet_traffic_enabled=null, tags=null, timeouts=null, + virtual_wan_traffic_enabled=null, vpn_client_configuration=null, vpn_type=null ):: std.prune(a={ active_active: active_active, + bgp_route_translation_for_nat_enabled: bgp_route_translation_for_nat_enabled, bgp_settings: bgp_settings, custom_route: custom_route, default_local_network_gateway_id: default_local_network_gateway_id, + dns_forwarding_enabled: dns_forwarding_enabled, edge_zone: edge_zone, enable_bgp: enable_bgp, generation: generation, ip_configuration: ip_configuration, + ip_sec_replay_protection_enabled: ip_sec_replay_protection_enabled, location: location, name: name, + policy_group: policy_group, private_ip_address_enabled: private_ip_address_enabled, + remote_vnet_traffic_enabled: remote_vnet_traffic_enabled, resource_group_name: resource_group_name, sku: sku, tags: tags, timeouts: timeouts, type: type, + virtual_wan_traffic_enabled: virtual_wan_traffic_enabled, vpn_client_configuration: vpn_client_configuration, vpn_type: vpn_type, }), + policy_group:: { + '#new':: d.fn(help='\n`azurerm.virtual_network_gateway.policy_group.new` constructs a new object with attributes and blocks configured for the `policy_group`\nTerraform sub block.\n\n\n\n**Args**:\n - `is_default` (`bool`): Set the `is_default` field on the resulting object. When `null`, the `is_default` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `priority` (`number`): Set the `priority` field on the resulting object. When `null`, the `priority` field will be omitted from the resulting object.\n - `policy_member` (`list[obj]`): Set the `policy_member` field on the resulting object. When `null`, the `policy_member` 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_gateway.policy_group.policy_member.new](#fn-policy_grouppolicy_membernew) constructor.\n\n**Returns**:\n - An attribute object that represents the `policy_group` sub block.\n', args=[]), + new( + name, + is_default=null, + policy_member=null, + priority=null + ):: std.prune(a={ + is_default: is_default, + name: name, + policy_member: policy_member, + priority: priority, + }), + policy_member:: { + '#new':: d.fn(help='\n`azurerm.virtual_network_gateway.policy_group.policy_member.new` constructs a new object with attributes and blocks configured for the `policy_member`\nTerraform sub block.\n\n\n\n**Args**:\n - `name` (`string`): Set the `name` field on the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object.\n - `value` (`string`): Set the `value` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `policy_member` sub block.\n', args=[]), + new( + name, + type, + value + ):: std.prune(a={ + name: name, + type: type, + value: value, + }), + }, + }, timeouts:: { '#new':: d.fn(help='\n`azurerm.virtual_network_gateway.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( @@ -148,16 +198,41 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, vpn_client_configuration:: { - '#new':: d.fn(help='\n`azurerm.virtual_network_gateway.vpn_client_configuration.new` constructs a new object with attributes and blocks configured for the `vpn_client_configuration`\nTerraform sub block.\n\n\n\n**Args**:\n - `aad_audience` (`string`): Set the `aad_audience` field on the resulting object. When `null`, the `aad_audience` field will be omitted from the resulting object.\n - `aad_issuer` (`string`): Set the `aad_issuer` field on the resulting object. When `null`, the `aad_issuer` field will be omitted from the resulting object.\n - `aad_tenant` (`string`): Set the `aad_tenant` field on the resulting object. When `null`, the `aad_tenant` field will be omitted from the resulting object.\n - `address_space` (`list`): Set the `address_space` field on the resulting object.\n - `radius_server_address` (`string`): Set the `radius_server_address` field on the resulting object. When `null`, the `radius_server_address` field will be omitted from the resulting object.\n - `radius_server_secret` (`string`): Set the `radius_server_secret` field on the resulting object. When `null`, the `radius_server_secret` field will be omitted from the resulting object.\n - `vpn_auth_types` (`list`): Set the `vpn_auth_types` field on the resulting object. When `null`, the `vpn_auth_types` field will be omitted from the resulting object.\n - `vpn_client_protocols` (`list`): Set the `vpn_client_protocols` field on the resulting object. When `null`, the `vpn_client_protocols` field will be omitted from the resulting object.\n - `revoked_certificate` (`list[obj]`): Set the `revoked_certificate` field on the resulting object. When `null`, the `revoked_certificate` 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_gateway.vpn_client_configuration.revoked_certificate.new](#fn-vpn_client_configurationrevoked_certificatenew) constructor.\n - `root_certificate` (`list[obj]`): Set the `root_certificate` field on the resulting object. When `null`, the `root_certificate` 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_gateway.vpn_client_configuration.root_certificate.new](#fn-vpn_client_configurationroot_certificatenew) constructor.\n\n**Returns**:\n - An attribute object that represents the `vpn_client_configuration` sub block.\n', args=[]), + ipsec_policy:: { + '#new':: d.fn(help='\n`azurerm.virtual_network_gateway.vpn_client_configuration.ipsec_policy.new` constructs a new object with attributes and blocks configured for the `ipsec_policy`\nTerraform sub block.\n\n\n\n**Args**:\n - `dh_group` (`string`): Set the `dh_group` field on the resulting object.\n - `ike_encryption` (`string`): Set the `ike_encryption` field on the resulting object.\n - `ike_integrity` (`string`): Set the `ike_integrity` field on the resulting object.\n - `ipsec_encryption` (`string`): Set the `ipsec_encryption` field on the resulting object.\n - `ipsec_integrity` (`string`): Set the `ipsec_integrity` field on the resulting object.\n - `pfs_group` (`string`): Set the `pfs_group` field on the resulting object.\n - `sa_data_size_in_kilobytes` (`number`): Set the `sa_data_size_in_kilobytes` field on the resulting object.\n - `sa_lifetime_in_seconds` (`number`): Set the `sa_lifetime_in_seconds` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `ipsec_policy` sub block.\n', args=[]), + new( + dh_group, + ike_encryption, + ike_integrity, + ipsec_encryption, + ipsec_integrity, + pfs_group, + sa_data_size_in_kilobytes, + sa_lifetime_in_seconds + ):: std.prune(a={ + dh_group: dh_group, + ike_encryption: ike_encryption, + ike_integrity: ike_integrity, + ipsec_encryption: ipsec_encryption, + ipsec_integrity: ipsec_integrity, + pfs_group: pfs_group, + sa_data_size_in_kilobytes: sa_data_size_in_kilobytes, + sa_lifetime_in_seconds: sa_lifetime_in_seconds, + }), + }, + '#new':: d.fn(help='\n`azurerm.virtual_network_gateway.vpn_client_configuration.new` constructs a new object with attributes and blocks configured for the `vpn_client_configuration`\nTerraform sub block.\n\n\n\n**Args**:\n - `aad_audience` (`string`): Set the `aad_audience` field on the resulting object. When `null`, the `aad_audience` field will be omitted from the resulting object.\n - `aad_issuer` (`string`): Set the `aad_issuer` field on the resulting object. When `null`, the `aad_issuer` field will be omitted from the resulting object.\n - `aad_tenant` (`string`): Set the `aad_tenant` field on the resulting object. When `null`, the `aad_tenant` field will be omitted from the resulting object.\n - `address_space` (`list`): Set the `address_space` field on the resulting object.\n - `radius_server_address` (`string`): Set the `radius_server_address` field on the resulting object. When `null`, the `radius_server_address` field will be omitted from the resulting object.\n - `radius_server_secret` (`string`): Set the `radius_server_secret` field on the resulting object. When `null`, the `radius_server_secret` field will be omitted from the resulting object.\n - `vpn_auth_types` (`list`): Set the `vpn_auth_types` field on the resulting object. When `null`, the `vpn_auth_types` field will be omitted from the resulting object.\n - `vpn_client_protocols` (`list`): Set the `vpn_client_protocols` field on the resulting object. When `null`, the `vpn_client_protocols` field will be omitted from the resulting object.\n - `ipsec_policy` (`list[obj]`): Set the `ipsec_policy` field on the resulting object. When `null`, the `ipsec_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.virtual_network_gateway.vpn_client_configuration.ipsec_policy.new](#fn-vpn_client_configurationipsec_policynew) constructor.\n - `radius_server` (`list[obj]`): Set the `radius_server` field on the resulting object. When `null`, the `radius_server` 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_gateway.vpn_client_configuration.radius_server.new](#fn-vpn_client_configurationradius_servernew) constructor.\n - `revoked_certificate` (`list[obj]`): Set the `revoked_certificate` field on the resulting object. When `null`, the `revoked_certificate` 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_gateway.vpn_client_configuration.revoked_certificate.new](#fn-vpn_client_configurationrevoked_certificatenew) constructor.\n - `root_certificate` (`list[obj]`): Set the `root_certificate` field on the resulting object. When `null`, the `root_certificate` 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_gateway.vpn_client_configuration.root_certificate.new](#fn-vpn_client_configurationroot_certificatenew) constructor.\n - `virtual_network_gateway_client_connection` (`list[obj]`): Set the `virtual_network_gateway_client_connection` field on the resulting object. When `null`, the `virtual_network_gateway_client_connection` 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_gateway.vpn_client_configuration.virtual_network_gateway_client_connection.new](#fn-vpn_client_configurationvirtual_network_gateway_client_connectionnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `vpn_client_configuration` sub block.\n', args=[]), new( address_space, aad_audience=null, aad_issuer=null, aad_tenant=null, + ipsec_policy=null, + radius_server=null, radius_server_address=null, radius_server_secret=null, revoked_certificate=null, root_certificate=null, + virtual_network_gateway_client_connection=null, vpn_auth_types=null, vpn_client_protocols=null ):: std.prune(a={ @@ -165,13 +240,28 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); aad_issuer: aad_issuer, aad_tenant: aad_tenant, address_space: address_space, + ipsec_policy: ipsec_policy, + radius_server: radius_server, radius_server_address: radius_server_address, radius_server_secret: radius_server_secret, revoked_certificate: revoked_certificate, root_certificate: root_certificate, + virtual_network_gateway_client_connection: virtual_network_gateway_client_connection, vpn_auth_types: vpn_auth_types, vpn_client_protocols: vpn_client_protocols, }), + radius_server:: { + '#new':: d.fn(help='\n`azurerm.virtual_network_gateway.vpn_client_configuration.radius_server.new` constructs a new object with attributes and blocks configured for the `radius_server`\nTerraform sub block.\n\n\n\n**Args**:\n - `address` (`string`): Set the `address` field on the resulting object.\n - `score` (`number`): Set the `score` field on the resulting object.\n - `secret` (`string`): Set the `secret` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `radius_server` sub block.\n', args=[]), + new( + address, + score, + secret + ):: std.prune(a={ + address: address, + score: score, + secret: secret, + }), + }, revoked_certificate:: { '#new':: d.fn(help='\n`azurerm.virtual_network_gateway.vpn_client_configuration.revoked_certificate.new` constructs a new object with attributes and blocks configured for the `revoked_certificate`\nTerraform sub block.\n\n\n\n**Args**:\n - `name` (`string`): Set the `name` field on the resulting object.\n - `thumbprint` (`string`): Set the `thumbprint` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `revoked_certificate` sub block.\n', args=[]), new( @@ -192,6 +282,18 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); public_cert_data: public_cert_data, }), }, + virtual_network_gateway_client_connection:: { + '#new':: d.fn(help='\n`azurerm.virtual_network_gateway.vpn_client_configuration.virtual_network_gateway_client_connection.new` constructs a new object with attributes and blocks configured for the `virtual_network_gateway_client_connection`\nTerraform sub block.\n\n\n\n**Args**:\n - `address_prefixes` (`list`): Set the `address_prefixes` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `policy_group_names` (`list`): Set the `policy_group_names` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `virtual_network_gateway_client_connection` sub block.\n', args=[]), + new( + address_prefixes, + name, + policy_group_names + ):: std.prune(a={ + address_prefixes: address_prefixes, + name: name, + policy_group_names: policy_group_names, + }), + }, }, '#withActiveActive':: d.fn(help='`azurerm.bool.withActiveActive` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the active_active 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 `active_active` field.\n', args=[]), withActiveActive(resourceLabel, value): { @@ -203,6 +305,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withBgpRouteTranslationForNatEnabled':: d.fn(help='`azurerm.bool.withBgpRouteTranslationForNatEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the bgp_route_translation_for_nat_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 `bgp_route_translation_for_nat_enabled` field.\n', args=[]), + withBgpRouteTranslationForNatEnabled(resourceLabel, value): { + resource+: { + azurerm_virtual_network_gateway+: { + [resourceLabel]+: { + bgp_route_translation_for_nat_enabled: value, + }, + }, + }, + }, '#withBgpSettings':: d.fn(help='`azurerm.list[obj].withBgpSettings` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the bgp_settings 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].withBgpSettingsMixin](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 `bgp_settings` field.\n', args=[]), withBgpSettings(resourceLabel, value): { resource+: { @@ -253,6 +365,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withDnsForwardingEnabled':: d.fn(help='`azurerm.bool.withDnsForwardingEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the dns_forwarding_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 `dns_forwarding_enabled` field.\n', args=[]), + withDnsForwardingEnabled(resourceLabel, value): { + resource+: { + azurerm_virtual_network_gateway+: { + [resourceLabel]+: { + dns_forwarding_enabled: value, + }, + }, + }, + }, '#withEdgeZone':: d.fn(help='`azurerm.string.withEdgeZone` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the edge_zone 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 `edge_zone` field.\n', args=[]), withEdgeZone(resourceLabel, value): { resource+: { @@ -303,6 +425,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withIpSecReplayProtectionEnabled':: d.fn(help='`azurerm.bool.withIpSecReplayProtectionEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the ip_sec_replay_protection_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 `ip_sec_replay_protection_enabled` field.\n', args=[]), + withIpSecReplayProtectionEnabled(resourceLabel, value): { + resource+: { + azurerm_virtual_network_gateway+: { + [resourceLabel]+: { + ip_sec_replay_protection_enabled: 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+: { @@ -323,6 +455,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withPolicyGroup':: d.fn(help='`azurerm.list[obj].withPolicyGroup` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the policy_group 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].withPolicyGroupMixin](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 `policy_group` field.\n', args=[]), + withPolicyGroup(resourceLabel, value): { + resource+: { + azurerm_virtual_network_gateway+: { + [resourceLabel]+: { + policy_group: value, + }, + }, + }, + }, + '#withPolicyGroupMixin':: d.fn(help='`azurerm.list[obj].withPolicyGroupMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the policy_group 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].withPolicyGroup](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 `policy_group` field.\n', args=[]), + withPolicyGroupMixin(resourceLabel, value): { + resource+: { + azurerm_virtual_network_gateway+: { + [resourceLabel]+: { + policy_group+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, '#withPrivateIpAddressEnabled':: d.fn(help='`azurerm.bool.withPrivateIpAddressEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the private_ip_address_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 `private_ip_address_enabled` field.\n', args=[]), withPrivateIpAddressEnabled(resourceLabel, value): { resource+: { @@ -333,6 +485,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withRemoteVnetTrafficEnabled':: d.fn(help='`azurerm.bool.withRemoteVnetTrafficEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the remote_vnet_traffic_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 `remote_vnet_traffic_enabled` field.\n', args=[]), + withRemoteVnetTrafficEnabled(resourceLabel, value): { + resource+: { + azurerm_virtual_network_gateway+: { + [resourceLabel]+: { + remote_vnet_traffic_enabled: 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+: { @@ -393,6 +555,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withVirtualWanTrafficEnabled':: d.fn(help='`azurerm.bool.withVirtualWanTrafficEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the virtual_wan_traffic_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 `virtual_wan_traffic_enabled` field.\n', args=[]), + withVirtualWanTrafficEnabled(resourceLabel, value): { + resource+: { + azurerm_virtual_network_gateway+: { + [resourceLabel]+: { + virtual_wan_traffic_enabled: value, + }, + }, + }, + }, '#withVpnClientConfiguration':: d.fn(help='`azurerm.list[obj].withVpnClientConfiguration` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the vpn_client_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].withVpnClientConfigurationMixin](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 `vpn_client_configuration` field.\n', args=[]), withVpnClientConfiguration(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/windows_function_app.libsonnet b/3.x/_gen/resources/windows_function_app.libsonnet index 585e683e..70238e7c 100644 --- a/3.x/_gen/resources/windows_function_app.libsonnet +++ b/3.x/_gen/resources/windows_function_app.libsonnet @@ -378,7 +378,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); type: type, }), }, - '#new':: d.fn(help="\n`azurerm.windows_function_app.new` injects a new `azurerm_windows_function_app` 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_function_app.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.windows_function_app` using the reference:\n\n $._ref.azurerm_windows_function_app.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_windows_function_app.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 - `app_settings` (`obj`): A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `builtin_logging_enabled` (`bool`): Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting When `null`, the `builtin_logging_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Should the function app use Client Certificates When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): The mode of the Function App\u0026#39;s client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser` When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object.\n - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object.\n - `enabled` (`bool`): Is the Windows Function App enabled. When `null`, the `enabled` field will be omitted from the resulting object.\n - `functions_extension_version` (`string`): The runtime version associated with the Function App. When `null`, the `functions_extension_version` field will be omitted from the resulting object.\n - `https_only` (`bool`): Can the Function App only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Specifies the name of the Function App.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `service_plan_id` (`string`): The ID of the App Service Plan within which to create this Function App\n - `storage_account_access_key` (`string`): The access key which will be used to access the storage account for the Function App. When `null`, the `storage_account_access_key` field will be omitted from the resulting object.\n - `storage_account_name` (`string`): The backend storage account name which will be used by this Function App. When `null`, the `storage_account_name` field will be omitted from the resulting object.\n - `storage_key_vault_secret_id` (`string`): The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App. When `null`, the `storage_key_vault_secret_id` field will be omitted from the resulting object.\n - `storage_uses_managed_identity` (`bool`): Should the Function App use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Function App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_function_app.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_function_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` 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_function_app.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting resource block. When `null`, the `connection_string` 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_function_app.connection_string.new](#fn-connection_stringnew) 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_function_app.identity.new](#fn-identitynew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting resource block. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_function_app.site_config.new](#fn-site_confignew) constructor.\n - `sticky_settings` (`list[obj]`): Set the `sticky_settings` field on the resulting resource block. When `null`, the `sticky_settings` 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_function_app.sticky_settings.new](#fn-sticky_settingsnew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting resource block. When `null`, the `storage_account` 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_function_app.storage_account.new](#fn-storage_accountnew) 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_function_app.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.windows_function_app.new` injects a new `azurerm_windows_function_app` 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_function_app.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.windows_function_app` using the reference:\n\n $._ref.azurerm_windows_function_app.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_windows_function_app.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 - `app_settings` (`obj`): A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `builtin_logging_enabled` (`bool`): Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting When `null`, the `builtin_logging_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Should the function app use Client Certificates When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): The mode of the Function App\u0026#39;s client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser` When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object.\n - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object.\n - `enabled` (`bool`): Is the Windows Function App enabled. When `null`, the `enabled` field will be omitted from the resulting object.\n - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `functions_extension_version` (`string`): The runtime version associated with the Function App. When `null`, the `functions_extension_version` field will be omitted from the resulting object.\n - `https_only` (`bool`): Can the Function App only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Specifies the name of the Function App.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `service_plan_id` (`string`): The ID of the App Service Plan within which to create this Function App\n - `storage_account_access_key` (`string`): The access key which will be used to access the storage account for the Function App. When `null`, the `storage_account_access_key` field will be omitted from the resulting object.\n - `storage_account_name` (`string`): The backend storage account name which will be used by this Function App. When `null`, the `storage_account_name` field will be omitted from the resulting object.\n - `storage_key_vault_secret_id` (`string`): The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App. When `null`, the `storage_key_vault_secret_id` field will be omitted from the resulting object.\n - `storage_uses_managed_identity` (`bool`): Should the Function App use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Function App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_function_app.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_function_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` 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_function_app.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting resource block. When `null`, the `connection_string` 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_function_app.connection_string.new](#fn-connection_stringnew) 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_function_app.identity.new](#fn-identitynew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting resource block. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_function_app.site_config.new](#fn-site_confignew) constructor.\n - `sticky_settings` (`list[obj]`): Set the `sticky_settings` field on the resulting resource block. When `null`, the `sticky_settings` 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_function_app.sticky_settings.new](#fn-sticky_settingsnew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting resource block. When `null`, the `storage_account` 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_function_app.storage_account.new](#fn-storage_accountnew) 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_function_app.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, @@ -397,6 +397,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); content_share_force_disabled=null, daily_memory_time_quota=null, enabled=null, + ftp_publish_basic_authentication_enabled=null, functions_extension_version=null, https_only=null, identity=null, @@ -412,6 +413,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=null, timeouts=null, virtual_network_subnet_id=null, + webdeploy_publish_basic_authentication_enabled=null, zip_deploy_file=null, _meta={} ):: tf.withResource( @@ -430,6 +432,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); content_share_force_disabled=content_share_force_disabled, daily_memory_time_quota=daily_memory_time_quota, enabled=enabled, + ftp_publish_basic_authentication_enabled=ftp_publish_basic_authentication_enabled, functions_extension_version=functions_extension_version, https_only=https_only, identity=identity, @@ -449,11 +452,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=tags, timeouts=timeouts, virtual_network_subnet_id=virtual_network_subnet_id, + webdeploy_publish_basic_authentication_enabled=webdeploy_publish_basic_authentication_enabled, zip_deploy_file=zip_deploy_file ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.windows_function_app.newAttrs` constructs a new object with attributes and blocks configured for the `windows_function_app`\nTerraform resource.\n\nUnlike [azurerm.windows_function_app.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 - `app_settings` (`obj`): A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `builtin_logging_enabled` (`bool`): Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting When `null`, the `builtin_logging_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Should the function app use Client Certificates When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): The mode of the Function App's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser` When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object.\n - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object.\n - `enabled` (`bool`): Is the Windows Function App enabled. When `null`, the `enabled` field will be omitted from the resulting object.\n - `functions_extension_version` (`string`): The runtime version associated with the Function App. When `null`, the `functions_extension_version` field will be omitted from the resulting object.\n - `https_only` (`bool`): Can the Function App only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Specifies the name of the Function App.\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 - `service_plan_id` (`string`): The ID of the App Service Plan within which to create this Function App\n - `storage_account_access_key` (`string`): The access key which will be used to access the storage account for the Function App. When `null`, the `storage_account_access_key` field will be omitted from the resulting object.\n - `storage_account_name` (`string`): The backend storage account name which will be used by this Function App. When `null`, the `storage_account_name` field will be omitted from the resulting object.\n - `storage_key_vault_secret_id` (`string`): The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App. When `null`, the `storage_key_vault_secret_id` field will be omitted from the resulting object.\n - `storage_uses_managed_identity` (`bool`): Should the Function App use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Function App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_function_app.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_function_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` 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_function_app.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting object. When `null`, the `connection_string` 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_function_app.connection_string.new](#fn-connection_stringnew) 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_function_app.identity.new](#fn-identitynew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting object. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_function_app.site_config.new](#fn-site_confignew) constructor.\n - `sticky_settings` (`list[obj]`): Set the `sticky_settings` field on the resulting object. When `null`, the `sticky_settings` 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_function_app.sticky_settings.new](#fn-sticky_settingsnew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting object. When `null`, the `storage_account` 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_function_app.storage_account.new](#fn-storage_accountnew) 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_function_app.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 `windows_function_app` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.windows_function_app.newAttrs` constructs a new object with attributes and blocks configured for the `windows_function_app`\nTerraform resource.\n\nUnlike [azurerm.windows_function_app.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 - `app_settings` (`obj`): A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `builtin_logging_enabled` (`bool`): Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting When `null`, the `builtin_logging_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Should the function app use Client Certificates When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): The mode of the Function App's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser` When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object.\n - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object.\n - `enabled` (`bool`): Is the Windows Function App enabled. When `null`, the `enabled` field will be omitted from the resulting object.\n - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `functions_extension_version` (`string`): The runtime version associated with the Function App. When `null`, the `functions_extension_version` field will be omitted from the resulting object.\n - `https_only` (`bool`): Can the Function App only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Specifies the name of the Function App.\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 - `service_plan_id` (`string`): The ID of the App Service Plan within which to create this Function App\n - `storage_account_access_key` (`string`): The access key which will be used to access the storage account for the Function App. When `null`, the `storage_account_access_key` field will be omitted from the resulting object.\n - `storage_account_name` (`string`): The backend storage account name which will be used by this Function App. When `null`, the `storage_account_name` field will be omitted from the resulting object.\n - `storage_key_vault_secret_id` (`string`): The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App. When `null`, the `storage_key_vault_secret_id` field will be omitted from the resulting object.\n - `storage_uses_managed_identity` (`bool`): Should the Function App use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Function App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_function_app.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_function_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` 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_function_app.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting object. When `null`, the `connection_string` 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_function_app.connection_string.new](#fn-connection_stringnew) 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_function_app.identity.new](#fn-identitynew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting object. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_function_app.site_config.new](#fn-site_confignew) constructor.\n - `sticky_settings` (`list[obj]`): Set the `sticky_settings` field on the resulting object. When `null`, the `sticky_settings` 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_function_app.sticky_settings.new](#fn-sticky_settingsnew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting object. When `null`, the `storage_account` 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_function_app.storage_account.new](#fn-storage_accountnew) 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_function_app.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 `windows_function_app` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, @@ -471,6 +475,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); content_share_force_disabled=null, daily_memory_time_quota=null, enabled=null, + ftp_publish_basic_authentication_enabled=null, functions_extension_version=null, https_only=null, identity=null, @@ -486,6 +491,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=null, timeouts=null, virtual_network_subnet_id=null, + webdeploy_publish_basic_authentication_enabled=null, zip_deploy_file=null ):: std.prune(a={ app_settings: app_settings, @@ -500,6 +506,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); content_share_force_disabled: content_share_force_disabled, daily_memory_time_quota: daily_memory_time_quota, enabled: enabled, + ftp_publish_basic_authentication_enabled: ftp_publish_basic_authentication_enabled, functions_extension_version: functions_extension_version, https_only: https_only, identity: identity, @@ -519,6 +526,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags: tags, timeouts: timeouts, virtual_network_subnet_id: virtual_network_subnet_id, + webdeploy_publish_basic_authentication_enabled: webdeploy_publish_basic_authentication_enabled, zip_deploy_file: zip_deploy_file, }), site_config:: { @@ -869,6 +877,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withFtpPublishBasicAuthenticationEnabled':: d.fn(help='`azurerm.bool.withFtpPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the ftp_publish_basic_authentication_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 `ftp_publish_basic_authentication_enabled` field.\n', args=[]), + withFtpPublishBasicAuthenticationEnabled(resourceLabel, value): { + resource+: { + azurerm_windows_function_app+: { + [resourceLabel]+: { + ftp_publish_basic_authentication_enabled: value, + }, + }, + }, + }, '#withFunctionsExtensionVersion':: d.fn(help='`azurerm.string.withFunctionsExtensionVersion` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the functions_extension_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 `functions_extension_version` field.\n', args=[]), withFunctionsExtensionVersion(resourceLabel, value): { resource+: { @@ -1109,6 +1127,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withWebdeployPublishBasicAuthenticationEnabled':: d.fn(help='`azurerm.bool.withWebdeployPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the webdeploy_publish_basic_authentication_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 `webdeploy_publish_basic_authentication_enabled` field.\n', args=[]), + withWebdeployPublishBasicAuthenticationEnabled(resourceLabel, value): { + resource+: { + azurerm_windows_function_app+: { + [resourceLabel]+: { + webdeploy_publish_basic_authentication_enabled: value, + }, + }, + }, + }, '#withZipDeployFile':: d.fn(help='`azurerm.string.withZipDeployFile` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the zip_deploy_file 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 `zip_deploy_file` field.\n', args=[]), withZipDeployFile(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/windows_function_app_slot.libsonnet b/3.x/_gen/resources/windows_function_app_slot.libsonnet index d04d1230..1fbe97bd 100644 --- a/3.x/_gen/resources/windows_function_app_slot.libsonnet +++ b/3.x/_gen/resources/windows_function_app_slot.libsonnet @@ -378,7 +378,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); type: type, }), }, - '#new':: d.fn(help="\n`azurerm.windows_function_app_slot.new` injects a new `azurerm_windows_function_app_slot` 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_function_app_slot.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.windows_function_app_slot` using the reference:\n\n $._ref.azurerm_windows_function_app_slot.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_windows_function_app_slot.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 - `app_settings` (`obj`): A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `builtin_logging_enabled` (`bool`): Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting. When `null`, the `builtin_logging_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Should the Function App Slot use Client Certificates. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): The mode of the Function App Slot\u0026#39;s client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object.\n - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object.\n - `enabled` (`bool`): Is the Windows Function App Slot enabled. When `null`, the `enabled` field will be omitted from the resulting object.\n - `function_app_id` (`string`): The ID of the Windows Function App this Slot is a member of.\n - `functions_extension_version` (`string`): The runtime version associated with the Function App Slot. When `null`, the `functions_extension_version` field will be omitted from the resulting object.\n - `https_only` (`bool`): Can the Function App Slot only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `name` (`string`): Specifies the name of the Windows Function App Slot.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting resource block. When `null`, the `service_plan_id` field will be omitted from the resulting object.\n - `storage_account_access_key` (`string`): The access key which will be used to access the storage account for the Function App Slot. When `null`, the `storage_account_access_key` field will be omitted from the resulting object.\n - `storage_account_name` (`string`): The backend storage account name which will be used by this Function App Slot. When `null`, the `storage_account_name` field will be omitted from the resulting object.\n - `storage_key_vault_secret_id` (`string`): The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App. When `null`, the `storage_key_vault_secret_id` field will be omitted from the resulting object.\n - `storage_uses_managed_identity` (`bool`): Should the Function App Slot use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_function_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_function_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` 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_function_app_slot.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting resource block. When `null`, the `connection_string` 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_function_app_slot.connection_string.new](#fn-connection_stringnew) 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_function_app_slot.identity.new](#fn-identitynew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting resource block. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_function_app_slot.site_config.new](#fn-site_confignew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting resource block. When `null`, the `storage_account` 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_function_app_slot.storage_account.new](#fn-storage_accountnew) 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_function_app_slot.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.windows_function_app_slot.new` injects a new `azurerm_windows_function_app_slot` 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_function_app_slot.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.windows_function_app_slot` using the reference:\n\n $._ref.azurerm_windows_function_app_slot.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_windows_function_app_slot.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 - `app_settings` (`obj`): A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `builtin_logging_enabled` (`bool`): Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting. When `null`, the `builtin_logging_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Should the Function App Slot use Client Certificates. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): The mode of the Function App Slot\u0026#39;s client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object.\n - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object.\n - `enabled` (`bool`): Is the Windows Function App Slot enabled. When `null`, the `enabled` field will be omitted from the resulting object.\n - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `function_app_id` (`string`): The ID of the Windows Function App this Slot is a member of.\n - `functions_extension_version` (`string`): The runtime version associated with the Function App Slot. When `null`, the `functions_extension_version` field will be omitted from the resulting object.\n - `https_only` (`bool`): Can the Function App Slot only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `name` (`string`): Specifies the name of the Windows Function App Slot.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting resource block. When `null`, the `service_plan_id` field will be omitted from the resulting object.\n - `storage_account_access_key` (`string`): The access key which will be used to access the storage account for the Function App Slot. When `null`, the `storage_account_access_key` field will be omitted from the resulting object.\n - `storage_account_name` (`string`): The backend storage account name which will be used by this Function App Slot. When `null`, the `storage_account_name` field will be omitted from the resulting object.\n - `storage_key_vault_secret_id` (`string`): The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App. When `null`, the `storage_key_vault_secret_id` field will be omitted from the resulting object.\n - `storage_uses_managed_identity` (`bool`): Should the Function App Slot use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_function_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_function_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` 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_function_app_slot.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting resource block. When `null`, the `connection_string` 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_function_app_slot.connection_string.new](#fn-connection_stringnew) 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_function_app_slot.identity.new](#fn-identitynew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting resource block. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_function_app_slot.site_config.new](#fn-site_confignew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting resource block. When `null`, the `storage_account` 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_function_app_slot.storage_account.new](#fn-storage_accountnew) 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_function_app_slot.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, function_app_id, @@ -395,6 +395,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); content_share_force_disabled=null, daily_memory_time_quota=null, enabled=null, + ftp_publish_basic_authentication_enabled=null, functions_extension_version=null, https_only=null, identity=null, @@ -410,6 +411,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=null, timeouts=null, virtual_network_subnet_id=null, + webdeploy_publish_basic_authentication_enabled=null, _meta={} ):: tf.withResource( type='azurerm_windows_function_app_slot', @@ -427,6 +429,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); content_share_force_disabled=content_share_force_disabled, daily_memory_time_quota=daily_memory_time_quota, enabled=enabled, + ftp_publish_basic_authentication_enabled=ftp_publish_basic_authentication_enabled, function_app_id=function_app_id, functions_extension_version=functions_extension_version, https_only=https_only, @@ -443,11 +446,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); storage_uses_managed_identity=storage_uses_managed_identity, tags=tags, timeouts=timeouts, - virtual_network_subnet_id=virtual_network_subnet_id + virtual_network_subnet_id=virtual_network_subnet_id, + webdeploy_publish_basic_authentication_enabled=webdeploy_publish_basic_authentication_enabled ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.windows_function_app_slot.newAttrs` constructs a new object with attributes and blocks configured for the `windows_function_app_slot`\nTerraform resource.\n\nUnlike [azurerm.windows_function_app_slot.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 - `app_settings` (`obj`): A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `builtin_logging_enabled` (`bool`): Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting. When `null`, the `builtin_logging_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Should the Function App Slot use Client Certificates. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): The mode of the Function App Slot's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object.\n - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object.\n - `enabled` (`bool`): Is the Windows Function App Slot enabled. When `null`, the `enabled` field will be omitted from the resulting object.\n - `function_app_id` (`string`): The ID of the Windows Function App this Slot is a member of.\n - `functions_extension_version` (`string`): The runtime version associated with the Function App Slot. When `null`, the `functions_extension_version` field will be omitted from the resulting object.\n - `https_only` (`bool`): Can the Function App Slot only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `name` (`string`): Specifies the name of the Windows Function App Slot.\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 - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting object. When `null`, the `service_plan_id` field will be omitted from the resulting object.\n - `storage_account_access_key` (`string`): The access key which will be used to access the storage account for the Function App Slot. When `null`, the `storage_account_access_key` field will be omitted from the resulting object.\n - `storage_account_name` (`string`): The backend storage account name which will be used by this Function App Slot. When `null`, the `storage_account_name` field will be omitted from the resulting object.\n - `storage_key_vault_secret_id` (`string`): The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App. When `null`, the `storage_key_vault_secret_id` field will be omitted from the resulting object.\n - `storage_uses_managed_identity` (`bool`): Should the Function App Slot use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_function_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_function_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` 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_function_app_slot.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting object. When `null`, the `connection_string` 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_function_app_slot.connection_string.new](#fn-connection_stringnew) 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_function_app_slot.identity.new](#fn-identitynew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting object. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_function_app_slot.site_config.new](#fn-site_confignew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting object. When `null`, the `storage_account` 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_function_app_slot.storage_account.new](#fn-storage_accountnew) 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_function_app_slot.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 `windows_function_app_slot` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.windows_function_app_slot.newAttrs` constructs a new object with attributes and blocks configured for the `windows_function_app_slot`\nTerraform resource.\n\nUnlike [azurerm.windows_function_app_slot.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 - `app_settings` (`obj`): A map of key-value pairs for [App Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `builtin_logging_enabled` (`bool`): Should built in logging be enabled. Configures `AzureWebJobsDashboard` app setting based on the configured storage setting. When `null`, the `builtin_logging_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Should the Function App Slot use Client Certificates. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): The mode of the Function App Slot's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object.\n - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object.\n - `enabled` (`bool`): Is the Windows Function App Slot enabled. When `null`, the `enabled` field will be omitted from the resulting object.\n - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `function_app_id` (`string`): The ID of the Windows Function App this Slot is a member of.\n - `functions_extension_version` (`string`): The runtime version associated with the Function App Slot. When `null`, the `functions_extension_version` field will be omitted from the resulting object.\n - `https_only` (`bool`): Can the Function App Slot only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `name` (`string`): Specifies the name of the Windows Function App Slot.\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 - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting object. When `null`, the `service_plan_id` field will be omitted from the resulting object.\n - `storage_account_access_key` (`string`): The access key which will be used to access the storage account for the Function App Slot. When `null`, the `storage_account_access_key` field will be omitted from the resulting object.\n - `storage_account_name` (`string`): The backend storage account name which will be used by this Function App Slot. When `null`, the `storage_account_name` field will be omitted from the resulting object.\n - `storage_key_vault_secret_id` (`string`): The Key Vault Secret ID, including version, that contains the Connection String to connect to the storage account for this Function App. When `null`, the `storage_key_vault_secret_id` field will be omitted from the resulting object.\n - `storage_uses_managed_identity` (`bool`): Should the Function App Slot use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_function_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_function_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` 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_function_app_slot.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting object. When `null`, the `connection_string` 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_function_app_slot.connection_string.new](#fn-connection_stringnew) 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_function_app_slot.identity.new](#fn-identitynew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting object. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_function_app_slot.site_config.new](#fn-site_confignew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting object. When `null`, the `storage_account` 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_function_app_slot.storage_account.new](#fn-storage_accountnew) 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_function_app_slot.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 `windows_function_app_slot` resource into the root Terraform configuration.\n', args=[]), newAttrs( function_app_id, name, @@ -463,6 +467,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); content_share_force_disabled=null, daily_memory_time_quota=null, enabled=null, + ftp_publish_basic_authentication_enabled=null, functions_extension_version=null, https_only=null, identity=null, @@ -477,7 +482,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); storage_uses_managed_identity=null, tags=null, timeouts=null, - virtual_network_subnet_id=null + virtual_network_subnet_id=null, + webdeploy_publish_basic_authentication_enabled=null ):: std.prune(a={ app_settings: app_settings, auth_settings: auth_settings, @@ -491,6 +497,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); content_share_force_disabled: content_share_force_disabled, daily_memory_time_quota: daily_memory_time_quota, enabled: enabled, + ftp_publish_basic_authentication_enabled: ftp_publish_basic_authentication_enabled, function_app_id: function_app_id, functions_extension_version: functions_extension_version, https_only: https_only, @@ -508,6 +515,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags: tags, timeouts: timeouts, virtual_network_subnet_id: virtual_network_subnet_id, + webdeploy_publish_basic_authentication_enabled: webdeploy_publish_basic_authentication_enabled, }), site_config:: { app_service_logs:: { @@ -849,6 +857,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withFtpPublishBasicAuthenticationEnabled':: d.fn(help='`azurerm.bool.withFtpPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the ftp_publish_basic_authentication_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 `ftp_publish_basic_authentication_enabled` field.\n', args=[]), + withFtpPublishBasicAuthenticationEnabled(resourceLabel, value): { + resource+: { + azurerm_windows_function_app_slot+: { + [resourceLabel]+: { + ftp_publish_basic_authentication_enabled: value, + }, + }, + }, + }, '#withFunctionAppId':: d.fn(help='`azurerm.string.withFunctionAppId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the function_app_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 `function_app_id` field.\n', args=[]), withFunctionAppId(resourceLabel, value): { resource+: { @@ -1059,4 +1077,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withWebdeployPublishBasicAuthenticationEnabled':: d.fn(help='`azurerm.bool.withWebdeployPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the webdeploy_publish_basic_authentication_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 `webdeploy_publish_basic_authentication_enabled` field.\n', args=[]), + withWebdeployPublishBasicAuthenticationEnabled(resourceLabel, value): { + resource+: { + azurerm_windows_function_app_slot+: { + [resourceLabel]+: { + webdeploy_publish_basic_authentication_enabled: value, + }, + }, + }, + }, } diff --git a/3.x/_gen/resources/windows_web_app.libsonnet b/3.x/_gen/resources/windows_web_app.libsonnet index 2fd4d6bd..ccb36660 100644 --- a/3.x/_gen/resources/windows_web_app.libsonnet +++ b/3.x/_gen/resources/windows_web_app.libsonnet @@ -444,7 +444,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); http_logs: http_logs, }), }, - '#new':: d.fn(help="\n`azurerm.windows_web_app.new` injects a new `azurerm_windows_web_app` 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_web_app.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.windows_web_app` using the reference:\n\n $._ref.azurerm_windows_web_app.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_windows_web_app.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 - `app_settings` (`obj`): Set the `app_settings` field on the resulting resource block. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `client_affinity_enabled` (`bool`): Set the `client_affinity_enabled` field on the resulting resource block. When `null`, the `client_affinity_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Set the `client_certificate_enabled` field on the resulting resource block. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting resource block. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting resource block. When `null`, the `enabled` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting resource block. When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting resource block. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `service_plan_id` (`string`): Set the `service_plan_id` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_web_app.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_web_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` 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_web_app.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting resource block. When `null`, the `connection_string` 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_web_app.connection_string.new](#fn-connection_stringnew) 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_web_app.identity.new](#fn-identitynew) constructor.\n - `logs` (`list[obj]`): Set the `logs` field on the resulting resource block. When `null`, the `logs` 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_web_app.logs.new](#fn-logsnew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting resource block. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_web_app.site_config.new](#fn-site_confignew) constructor.\n - `sticky_settings` (`list[obj]`): Set the `sticky_settings` field on the resulting resource block. When `null`, the `sticky_settings` 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_web_app.sticky_settings.new](#fn-sticky_settingsnew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting resource block. When `null`, the `storage_account` 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_web_app.storage_account.new](#fn-storage_accountnew) 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_web_app.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.windows_web_app.new` injects a new `azurerm_windows_web_app` 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_web_app.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.windows_web_app` using the reference:\n\n $._ref.azurerm_windows_web_app.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_windows_web_app.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 - `app_settings` (`obj`): Set the `app_settings` field on the resulting resource block. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `client_affinity_enabled` (`bool`): Set the `client_affinity_enabled` field on the resulting resource block. When `null`, the `client_affinity_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Set the `client_certificate_enabled` field on the resulting resource block. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting resource block. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting resource block. When `null`, the `enabled` field will be omitted from the resulting object.\n - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting resource block. When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting resource block. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block.\n - `service_plan_id` (`string`): Set the `service_plan_id` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_web_app.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_web_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` 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_web_app.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting resource block. When `null`, the `connection_string` 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_web_app.connection_string.new](#fn-connection_stringnew) 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_web_app.identity.new](#fn-identitynew) constructor.\n - `logs` (`list[obj]`): Set the `logs` field on the resulting resource block. When `null`, the `logs` 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_web_app.logs.new](#fn-logsnew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting resource block. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_web_app.site_config.new](#fn-site_confignew) constructor.\n - `sticky_settings` (`list[obj]`): Set the `sticky_settings` field on the resulting resource block. When `null`, the `sticky_settings` 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_web_app.sticky_settings.new](#fn-sticky_settingsnew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting resource block. When `null`, the `storage_account` 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_web_app.storage_account.new](#fn-storage_accountnew) 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_web_app.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, @@ -461,6 +461,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); client_certificate_mode=null, connection_string=null, enabled=null, + ftp_publish_basic_authentication_enabled=null, https_only=null, identity=null, key_vault_reference_identity_id=null, @@ -472,6 +473,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=null, timeouts=null, virtual_network_subnet_id=null, + webdeploy_publish_basic_authentication_enabled=null, zip_deploy_file=null, _meta={} ):: tf.withResource( @@ -488,6 +490,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); client_certificate_mode=client_certificate_mode, connection_string=connection_string, enabled=enabled, + ftp_publish_basic_authentication_enabled=ftp_publish_basic_authentication_enabled, https_only=https_only, identity=identity, key_vault_reference_identity_id=key_vault_reference_identity_id, @@ -503,11 +506,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=tags, timeouts=timeouts, virtual_network_subnet_id=virtual_network_subnet_id, + webdeploy_publish_basic_authentication_enabled=webdeploy_publish_basic_authentication_enabled, zip_deploy_file=zip_deploy_file ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.windows_web_app.newAttrs` constructs a new object with attributes and blocks configured for the `windows_web_app`\nTerraform resource.\n\nUnlike [azurerm.windows_web_app.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 - `app_settings` (`obj`): Set the `app_settings` field on the resulting object. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `client_affinity_enabled` (`bool`): Set the `client_affinity_enabled` field on the resulting object. When `null`, the `client_affinity_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Set the `client_certificate_enabled` field on the resulting object. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting object. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting object. When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting object. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting object. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `service_plan_id` (`string`): Set the `service_plan_id` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_web_app.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_web_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` 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_web_app.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting object. When `null`, the `connection_string` 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_web_app.connection_string.new](#fn-connection_stringnew) 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_web_app.identity.new](#fn-identitynew) constructor.\n - `logs` (`list[obj]`): Set the `logs` field on the resulting object. When `null`, the `logs` 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_web_app.logs.new](#fn-logsnew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting object. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_web_app.site_config.new](#fn-site_confignew) constructor.\n - `sticky_settings` (`list[obj]`): Set the `sticky_settings` field on the resulting object. When `null`, the `sticky_settings` 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_web_app.sticky_settings.new](#fn-sticky_settingsnew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting object. When `null`, the `storage_account` 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_web_app.storage_account.new](#fn-storage_accountnew) 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_web_app.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 `windows_web_app` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.windows_web_app.newAttrs` constructs a new object with attributes and blocks configured for the `windows_web_app`\nTerraform resource.\n\nUnlike [azurerm.windows_web_app.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 - `app_settings` (`obj`): Set the `app_settings` field on the resulting object. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `client_affinity_enabled` (`bool`): Set the `client_affinity_enabled` field on the resulting object. When `null`, the `client_affinity_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Set the `client_certificate_enabled` field on the resulting object. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting object. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object.\n - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting object. When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting object. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `location` (`string`): Set the `location` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting object. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object.\n - `service_plan_id` (`string`): Set the `service_plan_id` 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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_web_app.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_web_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` 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_web_app.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting object. When `null`, the `connection_string` 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_web_app.connection_string.new](#fn-connection_stringnew) 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_web_app.identity.new](#fn-identitynew) constructor.\n - `logs` (`list[obj]`): Set the `logs` field on the resulting object. When `null`, the `logs` 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_web_app.logs.new](#fn-logsnew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting object. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_web_app.site_config.new](#fn-site_confignew) constructor.\n - `sticky_settings` (`list[obj]`): Set the `sticky_settings` field on the resulting object. When `null`, the `sticky_settings` 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_web_app.sticky_settings.new](#fn-sticky_settingsnew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting object. When `null`, the `storage_account` 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_web_app.storage_account.new](#fn-storage_accountnew) 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_web_app.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 `windows_web_app` resource into the root Terraform configuration.\n', args=[]), newAttrs( location, name, @@ -523,6 +527,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); client_certificate_mode=null, connection_string=null, enabled=null, + ftp_publish_basic_authentication_enabled=null, https_only=null, identity=null, key_vault_reference_identity_id=null, @@ -534,6 +539,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=null, timeouts=null, virtual_network_subnet_id=null, + webdeploy_publish_basic_authentication_enabled=null, zip_deploy_file=null ):: std.prune(a={ app_settings: app_settings, @@ -546,6 +552,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); client_certificate_mode: client_certificate_mode, connection_string: connection_string, enabled: enabled, + ftp_publish_basic_authentication_enabled: ftp_publish_basic_authentication_enabled, https_only: https_only, identity: identity, key_vault_reference_identity_id: key_vault_reference_identity_id, @@ -561,6 +568,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags: tags, timeouts: timeouts, virtual_network_subnet_id: virtual_network_subnet_id, + webdeploy_publish_basic_authentication_enabled: webdeploy_publish_basic_authentication_enabled, zip_deploy_file: zip_deploy_file, }), site_config:: { @@ -1017,6 +1025,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withFtpPublishBasicAuthenticationEnabled':: d.fn(help='`azurerm.bool.withFtpPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the ftp_publish_basic_authentication_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 `ftp_publish_basic_authentication_enabled` field.\n', args=[]), + withFtpPublishBasicAuthenticationEnabled(resourceLabel, value): { + resource+: { + azurerm_windows_web_app+: { + [resourceLabel]+: { + ftp_publish_basic_authentication_enabled: value, + }, + }, + }, + }, '#withHttpsOnly':: d.fn(help='`azurerm.bool.withHttpsOnly` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the https_only 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 `https_only` field.\n', args=[]), withHttpsOnly(resourceLabel, value): { resource+: { @@ -1227,6 +1245,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withWebdeployPublishBasicAuthenticationEnabled':: d.fn(help='`azurerm.bool.withWebdeployPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the webdeploy_publish_basic_authentication_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 `webdeploy_publish_basic_authentication_enabled` field.\n', args=[]), + withWebdeployPublishBasicAuthenticationEnabled(resourceLabel, value): { + resource+: { + azurerm_windows_web_app+: { + [resourceLabel]+: { + webdeploy_publish_basic_authentication_enabled: value, + }, + }, + }, + }, '#withZipDeployFile':: d.fn(help='`azurerm.string.withZipDeployFile` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the zip_deploy_file 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 `zip_deploy_file` field.\n', args=[]), withZipDeployFile(resourceLabel, value): { resource+: { diff --git a/3.x/_gen/resources/windows_web_app_slot.libsonnet b/3.x/_gen/resources/windows_web_app_slot.libsonnet index afb1a3f3..d6177aab 100644 --- a/3.x/_gen/resources/windows_web_app_slot.libsonnet +++ b/3.x/_gen/resources/windows_web_app_slot.libsonnet @@ -444,7 +444,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); http_logs: http_logs, }), }, - '#new':: d.fn(help="\n`azurerm.windows_web_app_slot.new` injects a new `azurerm_windows_web_app_slot` 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_web_app_slot.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.windows_web_app_slot` using the reference:\n\n $._ref.azurerm_windows_web_app_slot.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_windows_web_app_slot.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 - `app_service_id` (`string`): Set the `app_service_id` field on the resulting resource block.\n - `app_settings` (`obj`): Set the `app_settings` field on the resulting resource block. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `client_affinity_enabled` (`bool`): Set the `client_affinity_enabled` field on the resulting resource block. When `null`, the `client_affinity_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Set the `client_certificate_enabled` field on the resulting resource block. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting resource block. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting resource block. When `null`, the `enabled` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting resource block. When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting resource block. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting resource block. When `null`, the `service_plan_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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_web_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_web_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` 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_web_app_slot.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting resource block. When `null`, the `connection_string` 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_web_app_slot.connection_string.new](#fn-connection_stringnew) 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_web_app_slot.identity.new](#fn-identitynew) constructor.\n - `logs` (`list[obj]`): Set the `logs` field on the resulting resource block. When `null`, the `logs` 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_web_app_slot.logs.new](#fn-logsnew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting resource block. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_web_app_slot.site_config.new](#fn-site_confignew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting resource block. When `null`, the `storage_account` 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_web_app_slot.storage_account.new](#fn-storage_accountnew) 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_web_app_slot.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.windows_web_app_slot.new` injects a new `azurerm_windows_web_app_slot` 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_web_app_slot.new('some_id')\n\nYou can get the reference to the `id` field of the created `azurerm.windows_web_app_slot` using the reference:\n\n $._ref.azurerm_windows_web_app_slot.some_id.get('id')\n\nThis is the same as directly entering `\"${ azurerm_windows_web_app_slot.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 - `app_service_id` (`string`): Set the `app_service_id` field on the resulting resource block.\n - `app_settings` (`obj`): Set the `app_settings` field on the resulting resource block. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `client_affinity_enabled` (`bool`): Set the `client_affinity_enabled` field on the resulting resource block. When `null`, the `client_affinity_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Set the `client_certificate_enabled` field on the resulting resource block. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting resource block. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting resource block. When `null`, the `enabled` field will be omitted from the resulting object.\n - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting resource block. When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting resource block. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object.\n - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting resource block. When `null`, the `service_plan_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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_web_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_web_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` 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_web_app_slot.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting resource block. When `null`, the `connection_string` 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_web_app_slot.connection_string.new](#fn-connection_stringnew) 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_web_app_slot.identity.new](#fn-identitynew) constructor.\n - `logs` (`list[obj]`): Set the `logs` field on the resulting resource block. When `null`, the `logs` 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_web_app_slot.logs.new](#fn-logsnew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting resource block. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_web_app_slot.site_config.new](#fn-site_confignew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting resource block. When `null`, the `storage_account` 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_web_app_slot.storage_account.new](#fn-storage_accountnew) 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_web_app_slot.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, app_service_id, @@ -459,6 +459,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); client_certificate_mode=null, connection_string=null, enabled=null, + ftp_publish_basic_authentication_enabled=null, https_only=null, identity=null, key_vault_reference_identity_id=null, @@ -470,6 +471,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=null, timeouts=null, virtual_network_subnet_id=null, + webdeploy_publish_basic_authentication_enabled=null, zip_deploy_file=null, _meta={} ):: tf.withResource( @@ -487,6 +489,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); client_certificate_mode=client_certificate_mode, connection_string=connection_string, enabled=enabled, + ftp_publish_basic_authentication_enabled=ftp_publish_basic_authentication_enabled, https_only=https_only, identity=identity, key_vault_reference_identity_id=key_vault_reference_identity_id, @@ -499,11 +502,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=tags, timeouts=timeouts, virtual_network_subnet_id=virtual_network_subnet_id, + webdeploy_publish_basic_authentication_enabled=webdeploy_publish_basic_authentication_enabled, zip_deploy_file=zip_deploy_file ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`azurerm.windows_web_app_slot.newAttrs` constructs a new object with attributes and blocks configured for the `windows_web_app_slot`\nTerraform resource.\n\nUnlike [azurerm.windows_web_app_slot.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 - `app_service_id` (`string`): Set the `app_service_id` field on the resulting object.\n - `app_settings` (`obj`): Set the `app_settings` field on the resulting object. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `client_affinity_enabled` (`bool`): Set the `client_affinity_enabled` field on the resulting object. When `null`, the `client_affinity_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Set the `client_certificate_enabled` field on the resulting object. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting object. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting object. When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting object. When `null`, the `key_vault_reference_identity_id` 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 - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting object. When `null`, the `service_plan_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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_web_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_web_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` 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_web_app_slot.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting object. When `null`, the `connection_string` 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_web_app_slot.connection_string.new](#fn-connection_stringnew) 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_web_app_slot.identity.new](#fn-identitynew) constructor.\n - `logs` (`list[obj]`): Set the `logs` field on the resulting object. When `null`, the `logs` 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_web_app_slot.logs.new](#fn-logsnew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting object. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_web_app_slot.site_config.new](#fn-site_confignew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting object. When `null`, the `storage_account` 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_web_app_slot.storage_account.new](#fn-storage_accountnew) 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_web_app_slot.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 `windows_web_app_slot` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`azurerm.windows_web_app_slot.newAttrs` constructs a new object with attributes and blocks configured for the `windows_web_app_slot`\nTerraform resource.\n\nUnlike [azurerm.windows_web_app_slot.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 - `app_service_id` (`string`): Set the `app_service_id` field on the resulting object.\n - `app_settings` (`obj`): Set the `app_settings` field on the resulting object. When `null`, the `app_settings` field will be omitted from the resulting object.\n - `client_affinity_enabled` (`bool`): Set the `client_affinity_enabled` field on the resulting object. When `null`, the `client_affinity_enabled` field will be omitted from the resulting object.\n - `client_certificate_enabled` (`bool`): Set the `client_certificate_enabled` field on the resulting object. When `null`, the `client_certificate_enabled` field will be omitted from the resulting object.\n - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object.\n - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting object. When `null`, the `client_certificate_mode` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object.\n - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `https_only` (`bool`): Set the `https_only` field on the resulting object. When `null`, the `https_only` field will be omitted from the resulting object.\n - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting object. When `null`, the `key_vault_reference_identity_id` 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 - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting object. When `null`, the `service_plan_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 - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object.\n - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object.\n - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object.\n - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_web_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor.\n - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_web_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor.\n - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` 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_web_app_slot.backup.new](#fn-backupnew) constructor.\n - `connection_string` (`list[obj]`): Set the `connection_string` field on the resulting object. When `null`, the `connection_string` 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_web_app_slot.connection_string.new](#fn-connection_stringnew) 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_web_app_slot.identity.new](#fn-identitynew) constructor.\n - `logs` (`list[obj]`): Set the `logs` field on the resulting object. When `null`, the `logs` 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_web_app_slot.logs.new](#fn-logsnew) constructor.\n - `site_config` (`list[obj]`): Set the `site_config` field on the resulting object. When `null`, the `site_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.windows_web_app_slot.site_config.new](#fn-site_confignew) constructor.\n - `storage_account` (`list[obj]`): Set the `storage_account` field on the resulting object. When `null`, the `storage_account` 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_web_app_slot.storage_account.new](#fn-storage_accountnew) 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_web_app_slot.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 `windows_web_app_slot` resource into the root Terraform configuration.\n', args=[]), newAttrs( app_service_id, name, @@ -517,6 +521,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); client_certificate_mode=null, connection_string=null, enabled=null, + ftp_publish_basic_authentication_enabled=null, https_only=null, identity=null, key_vault_reference_identity_id=null, @@ -528,6 +533,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=null, timeouts=null, virtual_network_subnet_id=null, + webdeploy_publish_basic_authentication_enabled=null, zip_deploy_file=null ):: std.prune(a={ app_service_id: app_service_id, @@ -541,6 +547,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); client_certificate_mode: client_certificate_mode, connection_string: connection_string, enabled: enabled, + ftp_publish_basic_authentication_enabled: ftp_publish_basic_authentication_enabled, https_only: https_only, identity: identity, key_vault_reference_identity_id: key_vault_reference_identity_id, @@ -553,6 +560,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags: tags, timeouts: timeouts, virtual_network_subnet_id: virtual_network_subnet_id, + webdeploy_publish_basic_authentication_enabled: webdeploy_publish_basic_authentication_enabled, zip_deploy_file: zip_deploy_file, }), site_config:: { @@ -1011,6 +1019,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withFtpPublishBasicAuthenticationEnabled':: d.fn(help='`azurerm.bool.withFtpPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the ftp_publish_basic_authentication_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 `ftp_publish_basic_authentication_enabled` field.\n', args=[]), + withFtpPublishBasicAuthenticationEnabled(resourceLabel, value): { + resource+: { + azurerm_windows_web_app_slot+: { + [resourceLabel]+: { + ftp_publish_basic_authentication_enabled: value, + }, + }, + }, + }, '#withHttpsOnly':: d.fn(help='`azurerm.bool.withHttpsOnly` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the https_only 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 `https_only` field.\n', args=[]), withHttpsOnly(resourceLabel, value): { resource+: { @@ -1181,6 +1199,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withWebdeployPublishBasicAuthenticationEnabled':: d.fn(help='`azurerm.bool.withWebdeployPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the webdeploy_publish_basic_authentication_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 `webdeploy_publish_basic_authentication_enabled` field.\n', args=[]), + withWebdeployPublishBasicAuthenticationEnabled(resourceLabel, value): { + resource+: { + azurerm_windows_web_app_slot+: { + [resourceLabel]+: { + webdeploy_publish_basic_authentication_enabled: value, + }, + }, + }, + }, '#withZipDeployFile':: d.fn(help='`azurerm.string.withZipDeployFile` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the zip_deploy_file 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 `zip_deploy_file` field.\n', args=[]), withZipDeployFile(resourceLabel, value): { resource+: { diff --git a/docs/3.x/README.md b/docs/3.x/README.md index 539c5012..e30ae5e5 100644 --- a/docs/3.x/README.md +++ b/docs/3.x/README.md @@ -98,6 +98,7 @@ project. * [application_insights_workbook_template](application_insights_workbook_template.md) * [application_load_balancer](application_load_balancer.md) * [application_load_balancer_frontend](application_load_balancer_frontend.md) +* [application_load_balancer_subnet_association](application_load_balancer_subnet_association.md) * [application_security_group](application_security_group.md) * [arc_kubernetes_cluster](arc_kubernetes_cluster.md) * [arc_kubernetes_cluster_extension](arc_kubernetes_cluster_extension.md) @@ -121,6 +122,7 @@ project. * [automation_hybrid_runbook_worker_group](automation_hybrid_runbook_worker_group.md) * [automation_job_schedule](automation_job_schedule.md) * [automation_module](automation_module.md) +* [automation_powershell72_module](automation_powershell72_module.md) * [automation_python3_package](automation_python3_package.md) * [automation_runbook](automation_runbook.md) * [automation_schedule](automation_schedule.md) @@ -180,6 +182,7 @@ project. * [cdn_frontdoor_secret](cdn_frontdoor_secret.md) * [cdn_frontdoor_security_policy](cdn_frontdoor_security_policy.md) * [cdn_profile](cdn_profile.md) +* [chaos_studio_target](chaos_studio_target.md) * [cognitive_account](cognitive_account.md) * [cognitive_account_customer_managed_key](cognitive_account_customer_managed_key.md) * [cognitive_deployment](cognitive_deployment.md) @@ -237,6 +240,7 @@ project. * [dashboard_grafana](dashboard_grafana.md) * [data](data/index.md) * [data_factory](data_factory.md) +* [data_factory_credential_user_managed_identity](data_factory_credential_user_managed_identity.md) * [data_factory_custom_dataset](data_factory_custom_dataset.md) * [data_factory_data_flow](data_factory_data_flow.md) * [data_factory_dataset_azure_blob](data_factory_dataset_azure_blob.md) @@ -344,6 +348,8 @@ project. * [dns_txt_record](dns_txt_record.md) * [dns_zone](dns_zone.md) * [elastic_cloud_elasticsearch](elastic_cloud_elasticsearch.md) +* [elastic_san](elastic_san.md) +* [elastic_san_volume_group](elastic_san_volume_group.md) * [email_communication_service](email_communication_service.md) * [eventgrid_domain](eventgrid_domain.md) * [eventgrid_domain_topic](eventgrid_domain_topic.md) @@ -446,6 +452,8 @@ project. * [key_vault_certificate_issuer](key_vault_certificate_issuer.md) * [key_vault_key](key_vault_key.md) * [key_vault_managed_hardware_security_module](key_vault_managed_hardware_security_module.md) +* [key_vault_managed_hardware_security_module_role_assignment](key_vault_managed_hardware_security_module_role_assignment.md) +* [key_vault_managed_hardware_security_module_role_definition](key_vault_managed_hardware_security_module_role_definition.md) * [key_vault_managed_storage_account](key_vault_managed_storage_account.md) * [key_vault_managed_storage_account_sas_token_definition](key_vault_managed_storage_account_sas_token_definition.md) * [key_vault_secret](key_vault_secret.md) @@ -454,6 +462,7 @@ project. * [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_fleet_update_strategy](kubernetes_fleet_update_strategy.md) * [kubernetes_flux_configuration](kubernetes_flux_configuration.md) * [kusto_attached_database_configuration](kusto_attached_database_configuration.md) * [kusto_cluster](kusto_cluster.md) @@ -502,6 +511,7 @@ project. * [log_analytics_solution](log_analytics_solution.md) * [log_analytics_storage_insights](log_analytics_storage_insights.md) * [log_analytics_workspace](log_analytics_workspace.md) +* [log_analytics_workspace_table](log_analytics_workspace_table.md) * [logic_app_action_custom](logic_app_action_custom.md) * [logic_app_action_http](logic_app_action_http.md) * [logic_app_integration_account](logic_app_integration_account.md) @@ -643,6 +653,7 @@ project. * [nat_gateway_public_ip_association](nat_gateway_public_ip_association.md) * [nat_gateway_public_ip_prefix_association](nat_gateway_public_ip_prefix_association.md) * [netapp_account](netapp_account.md) +* [netapp_account_encryption](netapp_account_encryption.md) * [netapp_pool](netapp_pool.md) * [netapp_snapshot](netapp_snapshot.md) * [netapp_snapshot_policy](netapp_snapshot_policy.md) @@ -746,6 +757,7 @@ project. * [purview_account](purview_account.md) * [recovery_services_vault](recovery_services_vault.md) * [recovery_services_vault_resource_guard_association](recovery_services_vault_resource_guard_association.md) +* [redhat_openshift_cluster](redhat_openshift_cluster.md) * [redis_cache](redis_cache.md) * [redis_enterprise_cluster](redis_enterprise_cluster.md) * [redis_enterprise_database](redis_enterprise_database.md) @@ -787,6 +799,7 @@ project. * [security_center_contact](security_center_contact.md) * [security_center_server_vulnerability_assessment](security_center_server_vulnerability_assessment.md) * [security_center_server_vulnerability_assessment_virtual_machine](security_center_server_vulnerability_assessment_virtual_machine.md) +* [security_center_server_vulnerability_assessments_setting](security_center_server_vulnerability_assessments_setting.md) * [security_center_setting](security_center_setting.md) * [security_center_storage_defender](security_center_storage_defender.md) * [security_center_subscription_pricing](security_center_subscription_pricing.md) @@ -855,6 +868,7 @@ project. * [site_recovery_replication_policy](site_recovery_replication_policy.md) * [site_recovery_replication_recovery_plan](site_recovery_replication_recovery_plan.md) * [site_recovery_services_vault_hyperv_site](site_recovery_services_vault_hyperv_site.md) +* [site_recovery_vmware_replicated_vm](site_recovery_vmware_replicated_vm.md) * [site_recovery_vmware_replication_policy](site_recovery_vmware_replication_policy.md) * [site_recovery_vmware_replication_policy_association](site_recovery_vmware_replication_policy_association.md) * [snapshot](snapshot.md) @@ -880,10 +894,13 @@ project. * [spring_cloud_custom_domain](spring_cloud_custom_domain.md) * [spring_cloud_customized_accelerator](spring_cloud_customized_accelerator.md) * [spring_cloud_dev_tool_portal](spring_cloud_dev_tool_portal.md) +* [spring_cloud_dynatrace_application_performance_monitoring](spring_cloud_dynatrace_application_performance_monitoring.md) +* [spring_cloud_elastic_application_performance_monitoring](spring_cloud_elastic_application_performance_monitoring.md) * [spring_cloud_gateway](spring_cloud_gateway.md) * [spring_cloud_gateway_custom_domain](spring_cloud_gateway_custom_domain.md) * [spring_cloud_gateway_route_config](spring_cloud_gateway_route_config.md) * [spring_cloud_java_deployment](spring_cloud_java_deployment.md) +* [spring_cloud_new_relic_application_performance_monitoring](spring_cloud_new_relic_application_performance_monitoring.md) * [spring_cloud_service](spring_cloud_service.md) * [spring_cloud_storage](spring_cloud_storage.md) * [sql_active_directory_administrator](sql_active_directory_administrator.md) @@ -1012,6 +1029,7 @@ project. * [virtual_machine_data_disk_attachment](virtual_machine_data_disk_attachment.md) * [virtual_machine_extension](virtual_machine_extension.md) * [virtual_machine_packet_capture](virtual_machine_packet_capture.md) +* [virtual_machine_run_command](virtual_machine_run_command.md) * [virtual_machine_scale_set](virtual_machine_scale_set.md) * [virtual_machine_scale_set_extension](virtual_machine_scale_set_extension.md) * [virtual_machine_scale_set_packet_capture](virtual_machine_scale_set_packet_capture.md) diff --git a/docs/3.x/active_directory_domain_service_replica_set.md b/docs/3.x/active_directory_domain_service_replica_set.md index 800651a5..6ae459eb 100644 --- a/docs/3.x/active_directory_domain_service_replica_set.md +++ b/docs/3.x/active_directory_domain_service_replica_set.md @@ -192,7 +192,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/api_management_gateway_api.md b/docs/3.x/api_management_gateway_api.md index 78e9cc07..301a8b9f 100644 --- a/docs/3.x/api_management_gateway_api.md +++ b/docs/3.x/api_management_gateway_api.md @@ -173,7 +173,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/api_management_group_user.md b/docs/3.x/api_management_group_user.md index 8008dada..4e163c49 100644 --- a/docs/3.x/api_management_group_user.md +++ b/docs/3.x/api_management_group_user.md @@ -211,7 +211,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/api_management_product_api.md b/docs/3.x/api_management_product_api.md index 2ac31adf..99e71dae 100644 --- a/docs/3.x/api_management_product_api.md +++ b/docs/3.x/api_management_product_api.md @@ -211,7 +211,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/api_management_product_group.md b/docs/3.x/api_management_product_group.md index 6f438aa2..31889fc8 100644 --- a/docs/3.x/api_management_product_group.md +++ b/docs/3.x/api_management_product_group.md @@ -211,7 +211,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/api_management_product_tag.md b/docs/3.x/api_management_product_tag.md index 9d6e19ab..e87eb1ea 100644 --- a/docs/3.x/api_management_product_tag.md +++ b/docs/3.x/api_management_product_tag.md @@ -211,7 +211,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/app_service_custom_hostname_binding.md b/docs/3.x/app_service_custom_hostname_binding.md index 46f152a9..280d3f43 100644 --- a/docs/3.x/app_service_custom_hostname_binding.md +++ b/docs/3.x/app_service_custom_hostname_binding.md @@ -230,7 +230,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/app_service_public_certificate.md b/docs/3.x/app_service_public_certificate.md index 3bc4d66c..7b66c97e 100644 --- a/docs/3.x/app_service_public_certificate.md +++ b/docs/3.x/app_service_public_certificate.md @@ -230,7 +230,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/application_insights_api_key.md b/docs/3.x/application_insights_api_key.md index 8f92706b..d9bc4e9d 100644 --- a/docs/3.x/application_insights_api_key.md +++ b/docs/3.x/application_insights_api_key.md @@ -211,7 +211,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/application_load_balancer_subnet_association.md b/docs/3.x/application_load_balancer_subnet_association.md new file mode 100644 index 00000000..3f23d1e5 --- /dev/null +++ b/docs/3.x/application_load_balancer_subnet_association.md @@ -0,0 +1,217 @@ +--- +permalink: /application_load_balancer_subnet_association/ +--- + +# application_load_balancer_subnet_association + +`application_load_balancer_subnet_association` represents the `azurerm_application_load_balancer_subnet_association` 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 withApplicationLoadBalancerId()`](#fn-withapplicationloadbalancerid) +* [`fn withName()`](#fn-withname) +* [`fn withSubnetId()`](#fn-withsubnetid) +* [`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.application_load_balancer_subnet_association.new` injects a new `azurerm_application_load_balancer_subnet_association` 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.application_load_balancer_subnet_association.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.application_load_balancer_subnet_association` using the reference: + + $._ref.azurerm_application_load_balancer_subnet_association.some_id.get('id') + +This is the same as directly entering `"${ azurerm_application_load_balancer_subnet_association.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. + - `application_load_balancer_id` (`string`): Set the `application_load_balancer_id` field on the resulting resource block. + - `name` (`string`): Set the `name` field on the resulting resource block. + - `subnet_id` (`string`): Set the `subnet_id` 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.application_load_balancer_subnet_association.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.application_load_balancer_subnet_association.newAttrs` constructs a new object with attributes and blocks configured for the `application_load_balancer_subnet_association` +Terraform resource. + +Unlike [azurerm.application_load_balancer_subnet_association.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**: + - `application_load_balancer_id` (`string`): Set the `application_load_balancer_id` field on the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `subnet_id` (`string`): Set the `subnet_id` 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.application_load_balancer_subnet_association.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 `application_load_balancer_subnet_association` resource into the root Terraform configuration. + + +### fn withApplicationLoadBalancerId + +```ts +withApplicationLoadBalancerId() +``` + +`azurerm.string.withApplicationLoadBalancerId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the application_load_balancer_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `application_load_balancer_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 withSubnetId + +```ts +withSubnetId() +``` + +`azurerm.string.withSubnetId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the subnet_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `subnet_id` 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.application_load_balancer_subnet_association.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/automation_job_schedule.md b/docs/3.x/automation_job_schedule.md index 361278e8..4884653b 100644 --- a/docs/3.x/automation_job_schedule.md +++ b/docs/3.x/automation_job_schedule.md @@ -268,7 +268,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/automation_powershell72_module.md b/docs/3.x/automation_powershell72_module.md new file mode 100644 index 00000000..a82539a7 --- /dev/null +++ b/docs/3.x/automation_powershell72_module.md @@ -0,0 +1,272 @@ +--- +permalink: /automation_powershell72_module/ +--- + +# automation_powershell72_module + +`automation_powershell72_module` represents the `azurerm_automation_powershell72_module` 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 withAutomationAccountId()`](#fn-withautomationaccountid) +* [`fn withModuleLink()`](#fn-withmodulelink) +* [`fn withModuleLinkMixin()`](#fn-withmodulelinkmixin) +* [`fn withName()`](#fn-withname) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj module_link`](#obj-module_link) + * [`fn new()`](#fn-module_linknew) + * [`obj module_link.hash`](#obj-module_linkhash) + * [`fn new()`](#fn-module_linkhashnew) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.automation_powershell72_module.new` injects a new `azurerm_automation_powershell72_module` 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_powershell72_module.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.automation_powershell72_module` using the reference: + + $._ref.azurerm_automation_powershell72_module.some_id.get('id') + +This is the same as directly entering `"${ azurerm_automation_powershell72_module.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_id` (`string`): Set the `automation_account_id` field on the resulting resource block. + - `name` (`string`): Set the `name` field on the resulting resource block. + - `module_link` (`list[obj]`): Set the `module_link` field on the resulting resource block. When `null`, the `module_link` 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_powershell72_module.module_link.new](#fn-module_linknew) 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.automation_powershell72_module.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_powershell72_module.newAttrs` constructs a new object with attributes and blocks configured for the `automation_powershell72_module` +Terraform resource. + +Unlike [azurerm.automation_powershell72_module.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_id` (`string`): Set the `automation_account_id` field on the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `module_link` (`list[obj]`): Set the `module_link` field on the resulting object. When `null`, the `module_link` 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_powershell72_module.module_link.new](#fn-module_linknew) 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.automation_powershell72_module.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_powershell72_module` resource into the root Terraform configuration. + + +### fn withAutomationAccountId + +```ts +withAutomationAccountId() +``` + +`azurerm.string.withAutomationAccountId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the automation_account_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `automation_account_id` field. + + +### fn withModuleLink + +```ts +withModuleLink() +``` + +`azurerm.list[obj].withModuleLink` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the module_link 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].withModuleLinkMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `module_link` field. + + +### fn withModuleLinkMixin + +```ts +withModuleLinkMixin() +``` + +`azurerm.list[obj].withModuleLinkMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the module_link 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].withModuleLink](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `module_link` 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 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 module_link + + + +### fn module_link.new + +```ts +new() +``` + + +`azurerm.automation_powershell72_module.module_link.new` constructs a new object with attributes and blocks configured for the `module_link` +Terraform sub block. + + + +**Args**: + - `uri` (`string`): Set the `uri` field on the resulting object. + - `hash` (`list[obj]`): Set the `hash` field on the resulting object. When `null`, the `hash` 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_powershell72_module.module_link.hash.new](#fn-module_linkhashnew) constructor. + +**Returns**: + - An attribute object that represents the `module_link` sub block. + + +## obj module_link.hash + + + +### fn module_link.hash.new + +```ts +new() +``` + + +`azurerm.automation_powershell72_module.module_link.hash.new` constructs a new object with attributes and blocks configured for the `hash` +Terraform sub block. + + + +**Args**: + - `algorithm` (`string`): Set the `algorithm` field on the resulting object. + - `value` (`string`): Set the `value` field on the resulting object. + +**Returns**: + - An attribute object that represents the `hash` sub block. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.automation_powershell72_module.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/backup_container_storage_account.md b/docs/3.x/backup_container_storage_account.md index 5b0a2f10..1e48bc9d 100644 --- a/docs/3.x/backup_container_storage_account.md +++ b/docs/3.x/backup_container_storage_account.md @@ -192,7 +192,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/bot_channel_email.md b/docs/3.x/bot_channel_email.md index fb8d43a6..442a9dd5 100644 --- a/docs/3.x/bot_channel_email.md +++ b/docs/3.x/bot_channel_email.md @@ -19,6 +19,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withEmailAddress()`](#fn-withemailaddress) * [`fn withEmailPassword()`](#fn-withemailpassword) * [`fn withLocation()`](#fn-withlocation) +* [`fn withMagicCode()`](#fn-withmagiccode) * [`fn withResourceGroupName()`](#fn-withresourcegroupname) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) @@ -56,8 +57,9 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `resourceLabel` (`string`): The name label of the block. - `bot_name` (`string`): Set the `bot_name` field on the resulting resource block. - `email_address` (`string`): Set the `email_address` field on the resulting resource block. - - `email_password` (`string`): Set the `email_password` field on the resulting resource block. + - `email_password` (`string`): Set the `email_password` field on the resulting resource block. When `null`, the `email_password` field will be omitted from the resulting object. - `location` (`string`): Set the `location` field on the resulting resource block. + - `magic_code` (`string`): Set the `magic_code` field on the resulting resource block. When `null`, the `magic_code` field will be omitted from the resulting object. - `resource_group_name` (`string`): Set the `resource_group_name` 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.bot_channel_email.timeouts.new](#fn-timeoutsnew) constructor. @@ -85,8 +87,9 @@ injecting into a complete block. **Args**: - `bot_name` (`string`): Set the `bot_name` field on the resulting object. - `email_address` (`string`): Set the `email_address` field on the resulting object. - - `email_password` (`string`): Set the `email_password` field on the resulting object. + - `email_password` (`string`): Set the `email_password` field on the resulting object. When `null`, the `email_password` field will be omitted from the resulting object. - `location` (`string`): Set the `location` field on the resulting object. + - `magic_code` (`string`): Set the `magic_code` field on the resulting object. When `null`, the `magic_code` field will be omitted from 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.bot_channel_email.timeouts.new](#fn-timeoutsnew) constructor. @@ -158,6 +161,22 @@ Terraform resource block to set or update the location field. - `value` (`string`): The value to set for the `location` field. +### fn withMagicCode + +```ts +withMagicCode() +``` + +`azurerm.string.withMagicCode` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the magic_code field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `magic_code` field. + + ### fn withResourceGroupName ```ts diff --git a/docs/3.x/bot_service_azure_bot.md b/docs/3.x/bot_service_azure_bot.md index 9f36a396..42ac2df7 100644 --- a/docs/3.x/bot_service_azure_bot.md +++ b/docs/3.x/bot_service_azure_bot.md @@ -30,6 +30,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withMicrosoftAppTenantId()`](#fn-withmicrosoftapptenantid) * [`fn withMicrosoftAppType()`](#fn-withmicrosoftapptype) * [`fn withName()`](#fn-withname) +* [`fn withPublicNetworkAccessEnabled()`](#fn-withpublicnetworkaccessenabled) * [`fn withResourceGroupName()`](#fn-withresourcegroupname) * [`fn withSku()`](#fn-withsku) * [`fn withStreamingEndpointEnabled()`](#fn-withstreamingendpointenabled) @@ -83,6 +84,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `microsoft_app_tenant_id` (`string`): Set the `microsoft_app_tenant_id` field on the resulting resource block. When `null`, the `microsoft_app_tenant_id` field will be omitted from the resulting object. - `microsoft_app_type` (`string`): Set the `microsoft_app_type` field on the resulting resource block. When `null`, the `microsoft_app_type` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting resource block. + - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block. - `sku` (`string`): Set the `sku` field on the resulting resource block. - `streaming_endpoint_enabled` (`bool`): Set the `streaming_endpoint_enabled` field on the resulting resource block. When `null`, the `streaming_endpoint_enabled` field will be omitted from the resulting object. @@ -126,6 +128,7 @@ injecting into a complete block. - `microsoft_app_tenant_id` (`string`): Set the `microsoft_app_tenant_id` field on the resulting object. When `null`, the `microsoft_app_tenant_id` field will be omitted from the resulting object. - `microsoft_app_type` (`string`): Set the `microsoft_app_type` field on the resulting object. When `null`, the `microsoft_app_type` 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. - `sku` (`string`): Set the `sku` field on the resulting object. - `streaming_endpoint_enabled` (`bool`): Set the `streaming_endpoint_enabled` field on the resulting object. When `null`, the `streaming_endpoint_enabled` field will be omitted from the resulting object. @@ -376,6 +379,22 @@ Terraform resource 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 resource block to set or update the public_network_access_enabled field. + + + +**Args**: + - `resourceLabel` (`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 diff --git a/docs/3.x/cdn_frontdoor_firewall_policy.md b/docs/3.x/cdn_frontdoor_firewall_policy.md index c7e7e53a..a2bbd460 100644 --- a/docs/3.x/cdn_frontdoor_firewall_policy.md +++ b/docs/3.x/cdn_frontdoor_firewall_policy.md @@ -25,6 +25,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withMode()`](#fn-withmode) * [`fn withName()`](#fn-withname) * [`fn withRedirectUrl()`](#fn-withredirecturl) +* [`fn withRequestBodyCheckEnabled()`](#fn-withrequestbodycheckenabled) * [`fn withResourceGroupName()`](#fn-withresourcegroupname) * [`fn withSkuName()`](#fn-withskuname) * [`fn withTags()`](#fn-withtags) @@ -84,6 +85,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `mode` (`string`): Set the `mode` field on the resulting resource block. - `name` (`string`): Set the `name` field on the resulting resource block. - `redirect_url` (`string`): Set the `redirect_url` field on the resulting resource block. When `null`, the `redirect_url` field will be omitted from the resulting object. + - `request_body_check_enabled` (`bool`): Set the `request_body_check_enabled` field on the resulting resource block. When `null`, the `request_body_check_enabled` field will be omitted from the resulting object. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block. - `sku_name` (`string`): Set the `sku_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. @@ -119,6 +121,7 @@ injecting into a complete block. - `mode` (`string`): Set the `mode` field on the resulting object. - `name` (`string`): Set the `name` field on the resulting object. - `redirect_url` (`string`): Set the `redirect_url` field on the resulting object. When `null`, the `redirect_url` field will be omitted from the resulting object. + - `request_body_check_enabled` (`bool`): Set the `request_body_check_enabled` field on the resulting object. When `null`, the `request_body_check_enabled` field will be omitted from the resulting object. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. - `sku_name` (`string`): Set the `sku_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. @@ -300,6 +303,22 @@ Terraform resource block to set or update the redirect_url field. - `value` (`string`): The value to set for the `redirect_url` field. +### fn withRequestBodyCheckEnabled + +```ts +withRequestBodyCheckEnabled() +``` + +`azurerm.bool.withRequestBodyCheckEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the request_body_check_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `request_body_check_enabled` field. + + ### fn withResourceGroupName ```ts diff --git a/docs/3.x/cdn_frontdoor_rule_set.md b/docs/3.x/cdn_frontdoor_rule_set.md index 805c7860..3d0a3342 100644 --- a/docs/3.x/cdn_frontdoor_rule_set.md +++ b/docs/3.x/cdn_frontdoor_rule_set.md @@ -173,7 +173,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/chaos_studio_target.md b/docs/3.x/chaos_studio_target.md new file mode 100644 index 00000000..80c9f3c5 --- /dev/null +++ b/docs/3.x/chaos_studio_target.md @@ -0,0 +1,197 @@ +--- +permalink: /chaos_studio_target/ +--- + +# chaos_studio_target + +`chaos_studio_target` represents the `azurerm_chaos_studio_target` 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 withTargetResourceId()`](#fn-withtargetresourceid) +* [`fn withTargetType()`](#fn-withtargettype) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.chaos_studio_target.new` injects a new `azurerm_chaos_studio_target` 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.chaos_studio_target.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.chaos_studio_target` using the reference: + + $._ref.azurerm_chaos_studio_target.some_id.get('id') + +This is the same as directly entering `"${ azurerm_chaos_studio_target.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. + - `target_resource_id` (`string`): Set the `target_resource_id` field on the resulting resource block. + - `target_type` (`string`): Set the `target_type` 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.chaos_studio_target.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.chaos_studio_target.newAttrs` constructs a new object with attributes and blocks configured for the `chaos_studio_target` +Terraform resource. + +Unlike [azurerm.chaos_studio_target.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. + - `target_resource_id` (`string`): Set the `target_resource_id` field on the resulting object. + - `target_type` (`string`): Set the `target_type` 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.chaos_studio_target.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 `chaos_studio_target` 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 withTargetResourceId + +```ts +withTargetResourceId() +``` + +`azurerm.string.withTargetResourceId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the target_resource_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `target_resource_id` field. + + +### fn withTargetType + +```ts +withTargetType() +``` + +`azurerm.string.withTargetType` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the target_type field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `target_type` 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.chaos_studio_target.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/cognitive_deployment.md b/docs/3.x/cognitive_deployment.md index aa257181..b868adb0 100644 --- a/docs/3.x/cognitive_deployment.md +++ b/docs/3.x/cognitive_deployment.md @@ -296,7 +296,7 @@ Terraform sub block. **Args**: - `format` (`string`): Set the `format` field on the resulting object. - `name` (`string`): Set the `name` field on the resulting object. - - `version` (`string`): Set the `version` field on the resulting object. + - `version` (`string`): Set the `version` field on the resulting object. When `null`, the `version` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `model` sub block. diff --git a/docs/3.x/container_app.md b/docs/3.x/container_app.md index ffa1bd30..3f73183b 100644 --- a/docs/3.x/container_app.md +++ b/docs/3.x/container_app.md @@ -34,6 +34,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withTemplateMixin()`](#fn-withtemplatemixin) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`fn withWorkloadProfileName()`](#fn-withworkloadprofilename) * [`obj dapr`](#obj-dapr) * [`fn new()`](#fn-daprnew) * [`obj identity`](#obj-identity) @@ -42,6 +43,8 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-ingressnew) * [`obj ingress.custom_domain`](#obj-ingresscustom_domain) * [`fn new()`](#fn-ingresscustom_domainnew) + * [`obj ingress.ip_security_restriction`](#obj-ingressip_security_restriction) + * [`fn new()`](#fn-ingressip_security_restrictionnew) * [`obj ingress.traffic_weight`](#obj-ingresstraffic_weight) * [`fn new()`](#fn-ingresstraffic_weightnew) * [`obj registry`](#obj-registry) @@ -80,6 +83,12 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-templatehttp_scale_rulenew) * [`obj template.http_scale_rule.authentication`](#obj-templatehttp_scale_ruleauthentication) * [`fn new()`](#fn-templatehttp_scale_ruleauthenticationnew) + * [`obj template.init_container`](#obj-templateinit_container) + * [`fn new()`](#fn-templateinit_containernew) + * [`obj template.init_container.env`](#obj-templateinit_containerenv) + * [`fn new()`](#fn-templateinit_containerenvnew) + * [`obj template.init_container.volume_mounts`](#obj-templateinit_containervolume_mounts) + * [`fn new()`](#fn-templateinit_containervolume_mountsnew) * [`obj template.tcp_scale_rule`](#obj-templatetcp_scale_rule) * [`fn new()`](#fn-templatetcp_scale_rulenew) * [`obj template.tcp_scale_rule.authentication`](#obj-templatetcp_scale_ruleauthentication) @@ -123,6 +132,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block. - `revision_mode` (`string`): Set the `revision_mode` 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. + - `workload_profile_name` (`string`): Set the `workload_profile_name` field on the resulting resource block. When `null`, the `workload_profile_name` field will be omitted from the resulting object. - `dapr` (`list[obj]`): Set the `dapr` field on the resulting resource block. When `null`, the `dapr` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.dapr.new](#fn-daprnew) constructor. - `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.container_app.identity.new](#fn-identitynew) constructor. - `ingress` (`list[obj]`): Set the `ingress` field on the resulting resource block. When `null`, the `ingress` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.ingress.new](#fn-ingressnew) constructor. @@ -158,6 +168,7 @@ injecting into a complete block. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. - `revision_mode` (`string`): Set the `revision_mode` 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. + - `workload_profile_name` (`string`): Set the `workload_profile_name` field on the resulting object. When `null`, the `workload_profile_name` field will be omitted from the resulting object. - `dapr` (`list[obj]`): Set the `dapr` field on the resulting object. When `null`, the `dapr` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.dapr.new](#fn-daprnew) constructor. - `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.container_app.identity.new](#fn-identitynew) constructor. - `ingress` (`list[obj]`): Set the `ingress` field on the resulting object. When `null`, the `ingress` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.ingress.new](#fn-ingressnew) constructor. @@ -508,6 +519,22 @@ function. - `value` (`obj`): The value to set for the `timeouts` field. +### fn withWorkloadProfileName + +```ts +withWorkloadProfileName() +``` + +`azurerm.string.withWorkloadProfileName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the workload_profile_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `workload_profile_name` field. + + ## obj dapr @@ -580,6 +607,7 @@ Terraform sub block. - `target_port` (`number`): The target port on the container for the Ingress traffic. - `transport` (`string`): The transport method for the Ingress. Possible values include `auto`, `http`, and `http2`, `tcp`. Defaults to `auto` When `null`, the `transport` field will be omitted from the resulting object. - `custom_domain` (`list[obj]`): Set the `custom_domain` field on the resulting object. When `null`, the `custom_domain` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.ingress.custom_domain.new](#fn-ingresscustom_domainnew) constructor. + - `ip_security_restriction` (`list[obj]`): Set the `ip_security_restriction` field on the resulting object. When `null`, the `ip_security_restriction` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.ingress.ip_security_restriction.new](#fn-ingressip_security_restrictionnew) constructor. - `traffic_weight` (`list[obj]`): Set the `traffic_weight` field on the resulting object. When `null`, the `traffic_weight` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.ingress.traffic_weight.new](#fn-ingresstraffic_weightnew) constructor. **Returns**: @@ -611,6 +639,32 @@ Terraform sub block. - An attribute object that represents the `custom_domain` sub block. +## obj ingress.ip_security_restriction + + + +### fn ingress.ip_security_restriction.new + +```ts +new() +``` + + +`azurerm.container_app.ingress.ip_security_restriction.new` constructs a new object with attributes and blocks configured for the `ip_security_restriction` +Terraform sub block. + + + +**Args**: + - `action` (`string`): The action. Allow or Deny. + - `description` (`string`): Describe the IP restriction rule that is being sent to the container-app. When `null`, the `description` field will be omitted from the resulting object. + - `ip_address_range` (`string`): CIDR notation to match incoming IP address. + - `name` (`string`): Name for the IP restriction rule. + +**Returns**: + - An attribute object that represents the `ip_security_restriction` sub block. + + ## obj ingress.traffic_weight @@ -711,6 +765,7 @@ Terraform sub block. - `container` (`list[obj]`): Set the `container` field on the resulting object. When `null`, the `container` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.template.container.new](#fn-templatecontainernew) constructor. - `custom_scale_rule` (`list[obj]`): Set the `custom_scale_rule` field on the resulting object. When `null`, the `custom_scale_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.container_app.template.custom_scale_rule.new](#fn-templatecustom_scale_rulenew) constructor. - `http_scale_rule` (`list[obj]`): Set the `http_scale_rule` field on the resulting object. When `null`, the `http_scale_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.container_app.template.http_scale_rule.new](#fn-templatehttp_scale_rulenew) constructor. + - `init_container` (`list[obj]`): Set the `init_container` field on the resulting object. When `null`, the `init_container` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.template.init_container.new](#fn-templateinit_containernew) constructor. - `tcp_scale_rule` (`list[obj]`): Set the `tcp_scale_rule` field on the resulting object. When `null`, the `tcp_scale_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.container_app.template.tcp_scale_rule.new](#fn-templatetcp_scale_rulenew) constructor. - `volume` (`list[obj]`): Set the `volume` field on the resulting object. When `null`, the `volume` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.template.volume.new](#fn-templatevolumenew) constructor. @@ -1113,6 +1168,85 @@ Terraform sub block. - An attribute object that represents the `authentication` sub block. +## obj template.init_container + + + +### fn template.init_container.new + +```ts +new() +``` + + +`azurerm.container_app.template.init_container.new` constructs a new object with attributes and blocks configured for the `init_container` +Terraform sub block. + + + +**Args**: + - `args` (`list`): A list of args to pass to the container. When `null`, the `args` field will be omitted from the resulting object. + - `command` (`list`): A command to pass to the container to override the default. This is provided as a list of command line elements without spaces. When `null`, the `command` field will be omitted from the resulting object. + - `cpu` (`number`): The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.0` / `2.0` or `0.5` / `1.0` When `null`, the `cpu` field will be omitted from the resulting object. + - `image` (`string`): The image to use to create the container. + - `memory` (`string`): The amount of memory to allocate to the container. Possible values include `0.5Gi`, `1.0Gi`, `1.5Gi`, `2.0Gi`, `2.5Gi`, `3.0Gi`, `3.5Gi`, and `4.0Gi`. **NOTE:** `cpu` and `memory` must be specified in `0.25'/'0.5Gi` combination increments. e.g. `1.25` / `2.5Gi` or `0.75` / `1.5Gi` When `null`, the `memory` field will be omitted from the resulting object. + - `name` (`string`): The name of the container. + - `env` (`list[obj]`): Set the `env` field on the resulting object. When `null`, the `env` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.template.init_container.env.new](#fn-templatetemplateenvnew) constructor. + - `volume_mounts` (`list[obj]`): Set the `volume_mounts` field on the resulting object. When `null`, the `volume_mounts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app.template.init_container.volume_mounts.new](#fn-templatetemplatevolume_mountsnew) constructor. + +**Returns**: + - An attribute object that represents the `init_container` sub block. + + +## obj template.init_container.env + + + +### fn template.init_container.env.new + +```ts +new() +``` + + +`azurerm.container_app.template.init_container.env.new` constructs a new object with attributes and blocks configured for the `env` +Terraform sub block. + + + +**Args**: + - `name` (`string`): The name of the environment variable for the container. + - `secret_name` (`string`): The name of the secret that contains the value for this environment variable. When `null`, the `secret_name` field will be omitted from the resulting object. + - `value` (`string`): The value for this environment variable. **NOTE:** This value is ignored if `secret_name` is used When `null`, the `value` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `env` sub block. + + +## obj template.init_container.volume_mounts + + + +### fn template.init_container.volume_mounts.new + +```ts +new() +``` + + +`azurerm.container_app.template.init_container.volume_mounts.new` constructs a new object with attributes and blocks configured for the `volume_mounts` +Terraform sub block. + + + +**Args**: + - `name` (`string`): The name of the Volume to be mounted in the container. + - `path` (`string`): The path in the container at which to mount this volume. + +**Returns**: + - An attribute object that represents the `volume_mounts` sub block. + + ## obj template.tcp_scale_rule diff --git a/docs/3.x/container_app_environment.md b/docs/3.x/container_app_environment.md index f573eb3d..57c9883d 100644 --- a/docs/3.x/container_app_environment.md +++ b/docs/3.x/container_app_environment.md @@ -25,9 +25,13 @@ This package contains functions and utilities for setting up the resource using * [`fn withTags()`](#fn-withtags) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`fn withWorkloadProfile()`](#fn-withworkloadprofile) +* [`fn withWorkloadProfileMixin()`](#fn-withworkloadprofilemixin) * [`fn withZoneRedundancyEnabled()`](#fn-withzoneredundancyenabled) * [`obj timeouts`](#obj-timeouts) * [`fn new()`](#fn-timeoutsnew) +* [`obj workload_profile`](#obj-workload_profile) + * [`fn new()`](#fn-workload_profilenew) ## Fields @@ -68,6 +72,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object. - `zone_redundancy_enabled` (`bool`): Set the `zone_redundancy_enabled` field on the resulting resource block. When `null`, the `zone_redundancy_enabled` field will be omitted from the resulting object. - `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.container_app_environment.timeouts.new](#fn-timeoutsnew) constructor. + - `workload_profile` (`list[obj]`): Set the `workload_profile` field on the resulting resource block. When `null`, the `workload_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app_environment.workload_profile.new](#fn-workload_profilenew) constructor. **Returns**: - A mixin object that injects the new resource into the root Terraform configuration. @@ -101,6 +106,7 @@ injecting into a complete block. - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object. - `zone_redundancy_enabled` (`bool`): Set the `zone_redundancy_enabled` field on the resulting object. When `null`, the `zone_redundancy_enabled` field will be omitted from the resulting object. - `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.container_app_environment.timeouts.new](#fn-timeoutsnew) constructor. + - `workload_profile` (`list[obj]`): Set the `workload_profile` field on the resulting object. When `null`, the `workload_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.container_app_environment.workload_profile.new](#fn-workload_profilenew) 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 `container_app_environment` resource into the root Terraform configuration. @@ -270,6 +276,43 @@ function. - `value` (`obj`): The value to set for the `timeouts` field. +### fn withWorkloadProfile + +```ts +withWorkloadProfile() +``` + +`azurerm.list[obj].withWorkloadProfile` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the workload_profile 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].withWorkloadProfileMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `workload_profile` field. + + +### fn withWorkloadProfileMixin + +```ts +withWorkloadProfileMixin() +``` + +`azurerm.list[obj].withWorkloadProfileMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the workload_profile 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].withWorkloadProfile](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `workload_profile` field. + + ### fn withZoneRedundancyEnabled ```ts @@ -310,3 +353,29 @@ Terraform sub block. **Returns**: - An attribute object that represents the `timeouts` sub block. + + +## obj workload_profile + + + +### fn workload_profile.new + +```ts +new() +``` + + +`azurerm.container_app_environment.workload_profile.new` constructs a new object with attributes and blocks configured for the `workload_profile` +Terraform sub block. + + + +**Args**: + - `maximum_count` (`number`): Set the `maximum_count` field on the resulting object. + - `minimum_count` (`number`): Set the `minimum_count` field on the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `workload_profile_type` (`string`): Set the `workload_profile_type` field on the resulting object. + +**Returns**: + - An attribute object that represents the `workload_profile` sub block. diff --git a/docs/3.x/container_group.md b/docs/3.x/container_group.md index b93550e0..727a0e00 100644 --- a/docs/3.x/container_group.md +++ b/docs/3.x/container_group.md @@ -37,6 +37,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withName()`](#fn-withname) * [`fn withNetworkProfileId()`](#fn-withnetworkprofileid) * [`fn withOsType()`](#fn-withostype) +* [`fn withPriority()`](#fn-withpriority) * [`fn withResourceGroupName()`](#fn-withresourcegroupname) * [`fn withRestartPolicy()`](#fn-withrestartpolicy) * [`fn withSku()`](#fn-withsku) @@ -127,6 +128,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. - `network_profile_id` (`string`): Set the `network_profile_id` field on the resulting resource block. When `null`, the `network_profile_id` field will be omitted from the resulting object. - `os_type` (`string`): Set the `os_type` field on the resulting resource block. + - `priority` (`string`): Set the `priority` field on the resulting resource block. When `null`, the `priority` field will be omitted from the resulting object. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block. - `restart_policy` (`string`): Set the `restart_policy` field on the resulting resource block. When `null`, the `restart_policy` field will be omitted from the resulting object. - `sku` (`string`): Set the `sku` field on the resulting resource block. When `null`, the `sku` field will be omitted from the resulting object. @@ -173,6 +175,7 @@ injecting into a complete block. - `name` (`string`): Set the `name` field on the resulting object. - `network_profile_id` (`string`): Set the `network_profile_id` field on the resulting object. When `null`, the `network_profile_id` field will be omitted from the resulting object. - `os_type` (`string`): Set the `os_type` field on the resulting object. + - `priority` (`string`): Set the `priority` field on the resulting object. When `null`, the `priority` field will be omitted from the resulting object. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. - `restart_policy` (`string`): Set the `restart_policy` field on the resulting object. When `null`, the `restart_policy` field will be omitted from the resulting object. - `sku` (`string`): Set the `sku` field on the resulting object. When `null`, the `sku` field will be omitted from the resulting object. @@ -573,6 +576,22 @@ Terraform resource block to set or update the os_type field. - `value` (`string`): The value to set for the `os_type` field. +### fn withPriority + +```ts +withPriority() +``` + +`azurerm.string.withPriority` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the priority field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `priority` field. + + ### fn withResourceGroupName ```ts diff --git a/docs/3.x/cosmosdb_account.md b/docs/3.x/cosmosdb_account.md index 9e98b678..5b1968a7 100644 --- a/docs/3.x/cosmosdb_account.md +++ b/docs/3.x/cosmosdb_account.md @@ -49,6 +49,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withNetworkAclBypassForAzureServices()`](#fn-withnetworkaclbypassforazureservices) * [`fn withNetworkAclBypassIds()`](#fn-withnetworkaclbypassids) * [`fn withOfferType()`](#fn-withoffertype) +* [`fn withPartitionMergeEnabled()`](#fn-withpartitionmergeenabled) * [`fn withPublicNetworkAccessEnabled()`](#fn-withpublicnetworkaccessenabled) * [`fn withResourceGroupName()`](#fn-withresourcegroupname) * [`fn withRestore()`](#fn-withrestore) @@ -78,6 +79,8 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-restorenew) * [`obj restore.database`](#obj-restoredatabase) * [`fn new()`](#fn-restoredatabasenew) + * [`obj restore.gremlin_database`](#obj-restoregremlin_database) + * [`fn new()`](#fn-restoregremlin_databasenew) * [`obj timeouts`](#obj-timeouts) * [`fn new()`](#fn-timeoutsnew) * [`obj virtual_network_rule`](#obj-virtual_network_rule) @@ -130,6 +133,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `network_acl_bypass_for_azure_services` (`bool`): Set the `network_acl_bypass_for_azure_services` field on the resulting resource block. When `null`, the `network_acl_bypass_for_azure_services` field will be omitted from the resulting object. - `network_acl_bypass_ids` (`list`): Set the `network_acl_bypass_ids` field on the resulting resource block. When `null`, the `network_acl_bypass_ids` field will be omitted from the resulting object. - `offer_type` (`string`): Set the `offer_type` field on the resulting resource block. + - `partition_merge_enabled` (`bool`): Set the `partition_merge_enabled` field on the resulting resource block. When `null`, the `partition_merge_enabled` field will be omitted from the resulting object. - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object. - `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. @@ -185,6 +189,7 @@ injecting into a complete block. - `network_acl_bypass_for_azure_services` (`bool`): Set the `network_acl_bypass_for_azure_services` field on the resulting object. When `null`, the `network_acl_bypass_for_azure_services` field will be omitted from the resulting object. - `network_acl_bypass_ids` (`list`): Set the `network_acl_bypass_ids` field on the resulting object. When `null`, the `network_acl_bypass_ids` field will be omitted from the resulting object. - `offer_type` (`string`): Set the `offer_type` field on the resulting object. + - `partition_merge_enabled` (`bool`): Set the `partition_merge_enabled` field on the resulting object. When `null`, the `partition_merge_enabled` field will be omitted from 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. @@ -788,6 +793,22 @@ Terraform resource block to set or update the offer_type field. - `value` (`string`): The value to set for the `offer_type` field. +### fn withPartitionMergeEnabled + +```ts +withPartitionMergeEnabled() +``` + +`azurerm.bool.withPartitionMergeEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the partition_merge_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `partition_merge_enabled` field. + + ### fn withPublicNetworkAccessEnabled ```ts @@ -1161,7 +1182,9 @@ Terraform sub block. **Args**: - `restore_timestamp_in_utc` (`string`): Set the `restore_timestamp_in_utc` field on the resulting object. - `source_cosmosdb_account_id` (`string`): Set the `source_cosmosdb_account_id` field on the resulting object. + - `tables_to_restore` (`list`): Set the `tables_to_restore` field on the resulting object. When `null`, the `tables_to_restore` field will be omitted from the resulting object. - `database` (`list[obj]`): Set the `database` field on the resulting object. When `null`, the `database` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.restore.database.new](#fn-restoredatabasenew) constructor. + - `gremlin_database` (`list[obj]`): Set the `gremlin_database` field on the resulting object. When `null`, the `gremlin_database` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.cosmosdb_account.restore.gremlin_database.new](#fn-restoregremlin_databasenew) constructor. **Returns**: - An attribute object that represents the `restore` sub block. @@ -1191,6 +1214,30 @@ Terraform sub block. - An attribute object that represents the `database` sub block. +## obj restore.gremlin_database + + + +### fn restore.gremlin_database.new + +```ts +new() +``` + + +`azurerm.cosmosdb_account.restore.gremlin_database.new` constructs a new object with attributes and blocks configured for the `gremlin_database` +Terraform sub block. + + + +**Args**: + - `graph_names` (`list`): Set the `graph_names` field on the resulting object. When `null`, the `graph_names` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + +**Returns**: + - An attribute object that represents the `gremlin_database` sub block. + + ## obj timeouts diff --git a/docs/3.x/cosmosdb_postgresql_cluster.md b/docs/3.x/cosmosdb_postgresql_cluster.md index 4216d392..d3d301d6 100644 --- a/docs/3.x/cosmosdb_postgresql_cluster.md +++ b/docs/3.x/cosmosdb_postgresql_cluster.md @@ -79,8 +79,8 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `citus_version` (`string`): Set the `citus_version` field on the resulting resource block. When `null`, the `citus_version` field will be omitted from the resulting object. - `coordinator_public_ip_access_enabled` (`bool`): Set the `coordinator_public_ip_access_enabled` field on the resulting resource block. When `null`, the `coordinator_public_ip_access_enabled` field will be omitted from the resulting object. - `coordinator_server_edition` (`string`): Set the `coordinator_server_edition` field on the resulting resource block. When `null`, the `coordinator_server_edition` field will be omitted from the resulting object. - - `coordinator_storage_quota_in_mb` (`number`): Set the `coordinator_storage_quota_in_mb` field on the resulting resource block. - - `coordinator_vcore_count` (`number`): Set the `coordinator_vcore_count` field on the resulting resource block. + - `coordinator_storage_quota_in_mb` (`number`): Set the `coordinator_storage_quota_in_mb` field on the resulting resource block. When `null`, the `coordinator_storage_quota_in_mb` field will be omitted from the resulting object. + - `coordinator_vcore_count` (`number`): Set the `coordinator_vcore_count` field on the resulting resource block. When `null`, the `coordinator_vcore_count` field will be omitted from the resulting object. - `ha_enabled` (`bool`): Set the `ha_enabled` field on the resulting resource block. When `null`, the `ha_enabled` 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. @@ -126,8 +126,8 @@ injecting into a complete block. - `citus_version` (`string`): Set the `citus_version` field on the resulting object. When `null`, the `citus_version` field will be omitted from the resulting object. - `coordinator_public_ip_access_enabled` (`bool`): Set the `coordinator_public_ip_access_enabled` field on the resulting object. When `null`, the `coordinator_public_ip_access_enabled` field will be omitted from the resulting object. - `coordinator_server_edition` (`string`): Set the `coordinator_server_edition` field on the resulting object. When `null`, the `coordinator_server_edition` field will be omitted from the resulting object. - - `coordinator_storage_quota_in_mb` (`number`): Set the `coordinator_storage_quota_in_mb` field on the resulting object. - - `coordinator_vcore_count` (`number`): Set the `coordinator_vcore_count` field on the resulting object. + - `coordinator_storage_quota_in_mb` (`number`): Set the `coordinator_storage_quota_in_mb` field on the resulting object. When `null`, the `coordinator_storage_quota_in_mb` field will be omitted from the resulting object. + - `coordinator_vcore_count` (`number`): Set the `coordinator_vcore_count` field on the resulting object. When `null`, the `coordinator_vcore_count` field will be omitted from the resulting object. - `ha_enabled` (`bool`): Set the `ha_enabled` field on the resulting object. When `null`, the `ha_enabled` 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. diff --git a/docs/3.x/dashboard_grafana.md b/docs/3.x/dashboard_grafana.md index 4263e7c9..023f02c4 100644 --- a/docs/3.x/dashboard_grafana.md +++ b/docs/3.x/dashboard_grafana.md @@ -20,6 +20,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withAzureMonitorWorkspaceIntegrations()`](#fn-withazuremonitorworkspaceintegrations) * [`fn withAzureMonitorWorkspaceIntegrationsMixin()`](#fn-withazuremonitorworkspaceintegrationsmixin) * [`fn withDeterministicOutboundIpEnabled()`](#fn-withdeterministicoutboundipenabled) +* [`fn withGrafanaMajorVersion()`](#fn-withgrafanamajorversion) * [`fn withIdentity()`](#fn-withidentity) * [`fn withIdentityMixin()`](#fn-withidentitymixin) * [`fn withLocation()`](#fn-withlocation) @@ -70,6 +71,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `api_key_enabled` (`bool`): Set the `api_key_enabled` field on the resulting resource block. When `null`, the `api_key_enabled` field will be omitted from the resulting object. - `auto_generated_domain_name_label_scope` (`string`): Set the `auto_generated_domain_name_label_scope` field on the resulting resource block. When `null`, the `auto_generated_domain_name_label_scope` field will be omitted from the resulting object. - `deterministic_outbound_ip_enabled` (`bool`): Set the `deterministic_outbound_ip_enabled` field on the resulting resource block. When `null`, the `deterministic_outbound_ip_enabled` field will be omitted from the resulting object. + - `grafana_major_version` (`string`): Set the `grafana_major_version` field on the resulting resource block. When `null`, the `grafana_major_version` field will be omitted from the resulting object. - `location` (`string`): Set the `location` field on the resulting resource block. - `name` (`string`): Set the `name` field on the resulting resource block. - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting resource block. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object. @@ -106,6 +108,7 @@ injecting into a complete block. - `api_key_enabled` (`bool`): Set the `api_key_enabled` field on the resulting object. When `null`, the `api_key_enabled` field will be omitted from the resulting object. - `auto_generated_domain_name_label_scope` (`string`): Set the `auto_generated_domain_name_label_scope` field on the resulting object. When `null`, the `auto_generated_domain_name_label_scope` field will be omitted from the resulting object. - `deterministic_outbound_ip_enabled` (`bool`): Set the `deterministic_outbound_ip_enabled` field on the resulting object. When `null`, the `deterministic_outbound_ip_enabled` field will be omitted from the resulting object. + - `grafana_major_version` (`string`): Set the `grafana_major_version` field on the resulting object. When `null`, the `grafana_major_version` field will be omitted from the resulting object. - `location` (`string`): Set the `location` field on the resulting object. - `name` (`string`): Set the `name` field on the resulting object. - `public_network_access_enabled` (`bool`): Set the `public_network_access_enabled` field on the resulting object. When `null`, the `public_network_access_enabled` field will be omitted from the resulting object. @@ -206,6 +209,22 @@ Terraform resource block to set or update the deterministic_outbound_ip_enabled - `value` (`bool`): The value to set for the `deterministic_outbound_ip_enabled` field. +### fn withGrafanaMajorVersion + +```ts +withGrafanaMajorVersion() +``` + +`azurerm.string.withGrafanaMajorVersion` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the grafana_major_version field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `grafana_major_version` field. + + ### fn withIdentity ```ts diff --git a/docs/3.x/data/dashboard_grafana.md b/docs/3.x/data/dashboard_grafana.md new file mode 100644 index 00000000..48c6d2cc --- /dev/null +++ b/docs/3.x/data/dashboard_grafana.md @@ -0,0 +1,243 @@ +--- +permalink: /data/dashboard_grafana/ +--- + +# data.dashboard_grafana + +`dashboard_grafana` represents the `azurerm_dashboard_grafana` 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 withIdentity()`](#fn-withidentity) +* [`fn withIdentityMixin()`](#fn-withidentitymixin) +* [`fn withName()`](#fn-withname) +* [`fn withResourceGroupName()`](#fn-withresourcegroupname) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj identity`](#obj-identity) + * [`fn new()`](#fn-identitynew) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.dashboard_grafana.new` injects a new `data_azurerm_dashboard_grafana` 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.dashboard_grafana.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.dashboard_grafana` using the reference: + + $._ref.data_azurerm_dashboard_grafana.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_dashboard_grafana.some_id.id }"` as the value. + +NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`, +or `$` to refer to the root object. Instead, make an explicit outer object using `local`. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block. + - `name` (`string`): Set the `name` field on the resulting data source block. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting data source block. + - `identity` (`list[obj]`): Set the `identity` field on the resulting data source 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.data.dashboard_grafana.identity.new](#fn-identitynew) constructor. + - `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.dashboard_grafana.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.dashboard_grafana.newAttrs` constructs a new object with attributes and blocks configured for the `dashboard_grafana` +Terraform data source. + +Unlike [azurerm.data.dashboard_grafana.new](#fn-new), this function will not inject the `data source` +block into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the +[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block. + +This is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to +injecting into a complete block. + +**Args**: + - `name` (`string`): Set the `name` field on the resulting object. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. + - `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.data.dashboard_grafana.identity.new](#fn-identitynew) 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.data.dashboard_grafana.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 `dashboard_grafana` data source into the root Terraform configuration. + + +### fn withIdentity + +```ts +withIdentity() +``` + +`azurerm.list[obj].withIdentity` constructs a mixin object that can be merged into the `list[obj]` +Terraform data source block to set or update the identity 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].withIdentityMixin](TODO) function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `identity` field. + + +### fn withIdentityMixin + +```ts +withIdentityMixin() +``` + +`azurerm.list[obj].withIdentityMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform data source block to set or update the identity 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].withIdentity](TODO) +function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `identity` 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 identity + + + +### fn identity.new + +```ts +new() +``` + + +`azurerm.dashboard_grafana.identity.new` constructs a new object with attributes and blocks configured for the `identity` +Terraform sub block. + + + +**Args**: + - `identity_ids` (`list`): Set the `identity_ids` field on the resulting object. When `null`, the `identity_ids` field will be omitted from the resulting object. + - `type` (`string`): Set the `type` field on the resulting object. + +**Returns**: + - An attribute object that represents the `identity` sub block. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.dashboard_grafana.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/data_factory_trigger_schedule.md b/docs/3.x/data/data_factory_trigger_schedule.md new file mode 100644 index 00000000..7717a47d --- /dev/null +++ b/docs/3.x/data/data_factory_trigger_schedule.md @@ -0,0 +1,176 @@ +--- +permalink: /data/data_factory_trigger_schedule/ +--- + +# data.data_factory_trigger_schedule + +`data_factory_trigger_schedule` represents the `azurerm_data_factory_trigger_schedule` 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 withDataFactoryId()`](#fn-withdatafactoryid) +* [`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.data_factory_trigger_schedule.new` injects a new `data_azurerm_data_factory_trigger_schedule` 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.data_factory_trigger_schedule.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.data_factory_trigger_schedule` using the reference: + + $._ref.data_azurerm_data_factory_trigger_schedule.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_data_factory_trigger_schedule.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. + - `data_factory_id` (`string`): Set the `data_factory_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.data_factory_trigger_schedule.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.data_factory_trigger_schedule.newAttrs` constructs a new object with attributes and blocks configured for the `data_factory_trigger_schedule` +Terraform data source. + +Unlike [azurerm.data.data_factory_trigger_schedule.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**: + - `data_factory_id` (`string`): Set the `data_factory_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.data_factory_trigger_schedule.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 `data_factory_trigger_schedule` data source into the root Terraform configuration. + + +### fn withDataFactoryId + +```ts +withDataFactoryId() +``` + +`azurerm.string.withDataFactoryId` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the data_factory_id field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `data_factory_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.data_factory_trigger_schedule.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/data_factory_trigger_schedules.md b/docs/3.x/data/data_factory_trigger_schedules.md new file mode 100644 index 00000000..0dbcd5d5 --- /dev/null +++ b/docs/3.x/data/data_factory_trigger_schedules.md @@ -0,0 +1,157 @@ +--- +permalink: /data/data_factory_trigger_schedules/ +--- + +# data.data_factory_trigger_schedules + +`data_factory_trigger_schedules` represents the `azurerm_data_factory_trigger_schedules` 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 withDataFactoryId()`](#fn-withdatafactoryid) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.data_factory_trigger_schedules.new` injects a new `data_azurerm_data_factory_trigger_schedules` 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.data_factory_trigger_schedules.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.data_factory_trigger_schedules` using the reference: + + $._ref.data_azurerm_data_factory_trigger_schedules.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_data_factory_trigger_schedules.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. + - `data_factory_id` (`string`): Set the `data_factory_id` field on the resulting data source block. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.data_factory_trigger_schedules.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.data_factory_trigger_schedules.newAttrs` constructs a new object with attributes and blocks configured for the `data_factory_trigger_schedules` +Terraform data source. + +Unlike [azurerm.data.data_factory_trigger_schedules.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**: + - `data_factory_id` (`string`): Set the `data_factory_id` field on the resulting object. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.data_factory_trigger_schedules.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 `data_factory_trigger_schedules` data source into the root Terraform configuration. + + +### fn withDataFactoryId + +```ts +withDataFactoryId() +``` + +`azurerm.string.withDataFactoryId` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the data_factory_id field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `data_factory_id` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will replace the map with the passed in `value`. If you wish to instead merge the +passed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withTimeoutsMixin + +```ts +withTimeoutsMixin() +``` + +`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will merge the passed in value to the existing map. If you wish +to instead replace the entire map with the passed in `value`, use the [azurerm.obj.withTimeouts](TODO) +function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.data_factory_trigger_schedules.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/firewall.md b/docs/3.x/data/firewall.md index e85c8617..4289e782 100644 --- a/docs/3.x/data/firewall.md +++ b/docs/3.x/data/firewall.md @@ -15,6 +15,7 @@ This package contains functions and utilities for setting up the data source usi * [`fn new()`](#fn-new) * [`fn newAttrs()`](#fn-newattrs) +* [`fn withDnsProxyEnabled()`](#fn-withdnsproxyenabled) * [`fn withName()`](#fn-withname) * [`fn withResourceGroupName()`](#fn-withresourcegroupname) * [`fn withTimeouts()`](#fn-withtimeouts) @@ -51,6 +52,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `dataSrcLabel` (`string`): The name label of the block. + - `dns_proxy_enabled` (`bool`): Set the `dns_proxy_enabled` field on the resulting data source block. When `null`, the `dns_proxy_enabled` field will be omitted from the resulting object. - `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.firewall.timeouts.new](#fn-timeoutsnew) constructor. @@ -77,6 +79,7 @@ This is most useful when you need to preprocess the attributes with functions, c injecting into a complete block. **Args**: + - `dns_proxy_enabled` (`bool`): Set the `dns_proxy_enabled` field on the resulting object. When `null`, the `dns_proxy_enabled` 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. - `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.firewall.timeouts.new](#fn-timeoutsnew) constructor. @@ -85,6 +88,22 @@ injecting into a complete block. - 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 `firewall` data source into the root Terraform configuration. +### fn withDnsProxyEnabled + +```ts +withDnsProxyEnabled() +``` + +`azurerm.bool.withDnsProxyEnabled` constructs a mixin object that can be merged into the `bool` +Terraform data source block to set or update the dns_proxy_enabled field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `dns_proxy_enabled` field. + + ### fn withName ```ts diff --git a/docs/3.x/data/index.md b/docs/3.x/data/index.md index 4151f6de..54a681bc 100644 --- a/docs/3.x/data/index.md +++ b/docs/3.x/data/index.md @@ -77,7 +77,10 @@ permalink: /data/ * [cosmosdb_restorable_database_accounts](cosmosdb_restorable_database_accounts.md) * [cosmosdb_sql_database](cosmosdb_sql_database.md) * [cosmosdb_sql_role_definition](cosmosdb_sql_role_definition.md) +* [dashboard_grafana](dashboard_grafana.md) * [data_factory](data_factory.md) +* [data_factory_trigger_schedule](data_factory_trigger_schedule.md) +* [data_factory_trigger_schedules](data_factory_trigger_schedules.md) * [data_protection_backup_vault](data_protection_backup_vault.md) * [data_share](data_share.md) * [data_share_account](data_share_account.md) @@ -140,6 +143,7 @@ permalink: /data/ * [iothub_dps_shared_access_policy](iothub_dps_shared_access_policy.md) * [iothub_shared_access_policy](iothub_shared_access_policy.md) * [ip_group](ip_group.md) +* [ip_groups](ip_groups.md) * [key_vault](key_vault.md) * [key_vault_access_policy](key_vault_access_policy.md) * [key_vault_certificate](key_vault_certificate.md) @@ -149,6 +153,7 @@ permalink: /data/ * [key_vault_encrypted_value](key_vault_encrypted_value.md) * [key_vault_key](key_vault_key.md) * [key_vault_managed_hardware_security_module](key_vault_managed_hardware_security_module.md) +* [key_vault_managed_hardware_security_module_role_definition](key_vault_managed_hardware_security_module_role_definition.md) * [key_vault_secret](key_vault_secret.md) * [key_vault_secrets](key_vault_secrets.md) * [kubernetes_cluster](kubernetes_cluster.md) @@ -164,6 +169,7 @@ permalink: /data/ * [linux_function_app](linux_function_app.md) * [linux_web_app](linux_web_app.md) * [local_network_gateway](local_network_gateway.md) +* [location](location.md) * [log_analytics_workspace](log_analytics_workspace.md) * [logic_app_integration_account](logic_app_integration_account.md) * [logic_app_standard](logic_app_standard.md) @@ -196,6 +202,7 @@ permalink: /data/ * [monitor_log_profile](monitor_log_profile.md) * [monitor_scheduled_query_rules_alert](monitor_scheduled_query_rules_alert.md) * [monitor_scheduled_query_rules_log](monitor_scheduled_query_rules_log.md) +* [monitor_workspace](monitor_workspace.md) * [mssql_database](mssql_database.md) * [mssql_elasticpool](mssql_elasticpool.md) * [mssql_managed_instance](mssql_managed_instance.md) @@ -204,6 +211,7 @@ permalink: /data/ * [mysql_server](mysql_server.md) * [nat_gateway](nat_gateway.md) * [netapp_account](netapp_account.md) +* [netapp_account_encryption](netapp_account_encryption.md) * [netapp_pool](netapp_pool.md) * [netapp_snapshot](netapp_snapshot.md) * [netapp_snapshot_policy](netapp_snapshot_policy.md) @@ -212,10 +220,14 @@ permalink: /data/ * [netapp_volume_quota_rule](netapp_volume_quota_rule.md) * [network_ddos_protection_plan](network_ddos_protection_plan.md) * [network_interface](network_interface.md) +* [network_manager](network_manager.md) * [network_manager_network_group](network_manager_network_group.md) * [network_security_group](network_security_group.md) * [network_service_tags](network_service_tags.md) * [network_watcher](network_watcher.md) +* [nginx_certificate](nginx_certificate.md) +* [nginx_configuration](nginx_configuration.md) +* [nginx_deployment](nginx_deployment.md) * [notification_hub](notification_hub.md) * [notification_hub_namespace](notification_hub_namespace.md) * [orchestrated_virtual_machine_scale_set](orchestrated_virtual_machine_scale_set.md) @@ -293,11 +305,13 @@ permalink: /data/ * [sql_managed_instance](sql_managed_instance.md) * [sql_server](sql_server.md) * [ssh_public_key](ssh_public_key.md) +* [stack_hci_cluster](stack_hci_cluster.md) * [storage_account](storage_account.md) * [storage_account_blob_container_sas](storage_account_blob_container_sas.md) * [storage_account_sas](storage_account_sas.md) * [storage_blob](storage_blob.md) * [storage_container](storage_container.md) +* [storage_containers](storage_containers.md) * [storage_encryption_scope](storage_encryption_scope.md) * [storage_management_policy](storage_management_policy.md) * [storage_share](storage_share.md) @@ -316,6 +330,7 @@ permalink: /data/ * [traffic_manager_profile](traffic_manager_profile.md) * [user_assigned_identity](user_assigned_identity.md) * [virtual_desktop_host_pool](virtual_desktop_host_pool.md) +* [virtual_desktop_workspace](virtual_desktop_workspace.md) * [virtual_hub](virtual_hub.md) * [virtual_hub_connection](virtual_hub_connection.md) * [virtual_hub_route_table](virtual_hub_route_table.md) diff --git a/docs/3.x/data/ip_groups.md b/docs/3.x/data/ip_groups.md new file mode 100644 index 00000000..aeec6a45 --- /dev/null +++ b/docs/3.x/data/ip_groups.md @@ -0,0 +1,176 @@ +--- +permalink: /data/ip_groups/ +--- + +# data.ip_groups + +`ip_groups` represents the `azurerm_ip_groups` Terraform data source. + + + +This package contains functions and utilities for setting up the data source using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withName()`](#fn-withname) +* [`fn withResourceGroupName()`](#fn-withresourcegroupname) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.ip_groups.new` injects a new `data_azurerm_ip_groups` 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.ip_groups.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.ip_groups` using the reference: + + $._ref.data_azurerm_ip_groups.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_ip_groups.some_id.id }"` as the value. + +NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`, +or `$` to refer to the root object. Instead, make an explicit outer object using `local`. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block. + - `name` (`string`): Set the `name` field on the resulting data source block. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting data source block. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.ip_groups.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.ip_groups.newAttrs` constructs a new object with attributes and blocks configured for the `ip_groups` +Terraform data source. + +Unlike [azurerm.data.ip_groups.new](#fn-new), this function will not inject the `data source` +block into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the +[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block. + +This is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to +injecting into a complete block. + +**Args**: + - `name` (`string`): Set the `name` field on the resulting object. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.ip_groups.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 `ip_groups` data source into the root Terraform configuration. + + +### fn withName + +```ts +withName() +``` + +`azurerm.string.withName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `name` field. + + +### fn withResourceGroupName + +```ts +withResourceGroupName() +``` + +`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the resource_group_name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `resource_group_name` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will replace the map with the passed in `value`. If you wish to instead merge the +passed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withTimeoutsMixin + +```ts +withTimeoutsMixin() +``` + +`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will merge the passed in value to the existing map. If you wish +to instead replace the entire map with the passed in `value`, use the [azurerm.obj.withTimeouts](TODO) +function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.ip_groups.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/key_vault_managed_hardware_security_module_role_definition.md b/docs/3.x/data/key_vault_managed_hardware_security_module_role_definition.md new file mode 100644 index 00000000..a735f32b --- /dev/null +++ b/docs/3.x/data/key_vault_managed_hardware_security_module_role_definition.md @@ -0,0 +1,176 @@ +--- +permalink: /data/key_vault_managed_hardware_security_module_role_definition/ +--- + +# data.key_vault_managed_hardware_security_module_role_definition + +`key_vault_managed_hardware_security_module_role_definition` represents the `azurerm_key_vault_managed_hardware_security_module_role_definition` Terraform data source. + + + +This package contains functions and utilities for setting up the data source using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withName()`](#fn-withname) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`fn withVaultBaseUrl()`](#fn-withvaultbaseurl) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.key_vault_managed_hardware_security_module_role_definition.new` injects a new `data_azurerm_key_vault_managed_hardware_security_module_role_definition` 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.key_vault_managed_hardware_security_module_role_definition.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.key_vault_managed_hardware_security_module_role_definition` using the reference: + + $._ref.data_azurerm_key_vault_managed_hardware_security_module_role_definition.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_key_vault_managed_hardware_security_module_role_definition.some_id.id }"` as the value. + +NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`, +or `$` to refer to the root object. Instead, make an explicit outer object using `local`. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block. + - `name` (`string`): Set the `name` field on the resulting data source block. + - `vault_base_url` (`string`): Set the `vault_base_url` 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.key_vault_managed_hardware_security_module_role_definition.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.key_vault_managed_hardware_security_module_role_definition.newAttrs` constructs a new object with attributes and blocks configured for the `key_vault_managed_hardware_security_module_role_definition` +Terraform data source. + +Unlike [azurerm.data.key_vault_managed_hardware_security_module_role_definition.new](#fn-new), this function will not inject the `data source` +block into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the +[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block. + +This is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to +injecting into a complete block. + +**Args**: + - `name` (`string`): Set the `name` field on the resulting object. + - `vault_base_url` (`string`): Set the `vault_base_url` 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.key_vault_managed_hardware_security_module_role_definition.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 `key_vault_managed_hardware_security_module_role_definition` data source into the root Terraform configuration. + + +### fn withName + +```ts +withName() +``` + +`azurerm.string.withName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `name` field. + + +### fn 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. + + +### fn withVaultBaseUrl + +```ts +withVaultBaseUrl() +``` + +`azurerm.string.withVaultBaseUrl` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the vault_base_url field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `vault_base_url` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.key_vault_managed_hardware_security_module_role_definition.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/location.md b/docs/3.x/data/location.md new file mode 100644 index 00000000..108cec9c --- /dev/null +++ b/docs/3.x/data/location.md @@ -0,0 +1,157 @@ +--- +permalink: /data/location/ +--- + +# data.location + +`location` represents the `azurerm_location` 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 withLocation()`](#fn-withlocation) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.location.new` injects a new `data_azurerm_location` 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.location.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.location` using the reference: + + $._ref.data_azurerm_location.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_location.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. + - `location` (`string`): Set the `location` 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.location.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.location.newAttrs` constructs a new object with attributes and blocks configured for the `location` +Terraform data source. + +Unlike [azurerm.data.location.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**: + - `location` (`string`): Set the `location` 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.location.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 `location` data source into the root Terraform configuration. + + +### fn withLocation + +```ts +withLocation() +``` + +`azurerm.string.withLocation` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the location field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `location` 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.location.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/logic_app_standard.md b/docs/3.x/data/logic_app_standard.md index f1f331bc..c6cde6bb 100644 --- a/docs/3.x/data/logic_app_standard.md +++ b/docs/3.x/data/logic_app_standard.md @@ -245,6 +245,7 @@ Terraform sub block. - `linux_fx_version` (`string`): Set the `linux_fx_version` field on the resulting object. When `null`, the `linux_fx_version` field will be omitted from the resulting object. - `min_tls_version` (`string`): Set the `min_tls_version` field on the resulting object. When `null`, the `min_tls_version` field will be omitted from the resulting object. - `pre_warmed_instance_count` (`number`): Set the `pre_warmed_instance_count` field on the resulting object. When `null`, the `pre_warmed_instance_count` field will be omitted from 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. - `runtime_scale_monitoring_enabled` (`bool`): Set the `runtime_scale_monitoring_enabled` field on the resulting object. When `null`, the `runtime_scale_monitoring_enabled` field will be omitted from the resulting object. - `scm_ip_restriction` (`list`): Set the `scm_ip_restriction` field on the resulting object. When `null`, the `scm_ip_restriction` field will be omitted from the resulting object. - `scm_min_tls_version` (`string`): Set the `scm_min_tls_version` field on the resulting object. When `null`, the `scm_min_tls_version` field will be omitted from the resulting object. diff --git a/docs/3.x/data/monitor_workspace.md b/docs/3.x/data/monitor_workspace.md new file mode 100644 index 00000000..750e2f88 --- /dev/null +++ b/docs/3.x/data/monitor_workspace.md @@ -0,0 +1,176 @@ +--- +permalink: /data/monitor_workspace/ +--- + +# data.monitor_workspace + +`monitor_workspace` represents the `azurerm_monitor_workspace` Terraform data source. + + + +This package contains functions and utilities for setting up the data source using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withName()`](#fn-withname) +* [`fn withResourceGroupName()`](#fn-withresourcegroupname) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.monitor_workspace.new` injects a new `data_azurerm_monitor_workspace` 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.monitor_workspace.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.monitor_workspace` using the reference: + + $._ref.data_azurerm_monitor_workspace.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_monitor_workspace.some_id.id }"` as the value. + +NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`, +or `$` to refer to the root object. Instead, make an explicit outer object using `local`. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block. + - `name` (`string`): Set the `name` field on the resulting data source block. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting data source block. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.monitor_workspace.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.monitor_workspace.newAttrs` constructs a new object with attributes and blocks configured for the `monitor_workspace` +Terraform data source. + +Unlike [azurerm.data.monitor_workspace.new](#fn-new), this function will not inject the `data source` +block into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the +[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block. + +This is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to +injecting into a complete block. + +**Args**: + - `name` (`string`): Set the `name` field on the resulting object. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.monitor_workspace.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 `monitor_workspace` data source into the root Terraform configuration. + + +### fn withName + +```ts +withName() +``` + +`azurerm.string.withName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `name` field. + + +### fn withResourceGroupName + +```ts +withResourceGroupName() +``` + +`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the resource_group_name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `resource_group_name` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will replace the map with the passed in `value`. If you wish to instead merge the +passed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withTimeoutsMixin + +```ts +withTimeoutsMixin() +``` + +`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will merge the passed in value to the existing map. If you wish +to instead replace the entire map with the passed in `value`, use the [azurerm.obj.withTimeouts](TODO) +function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.monitor_workspace.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/netapp_account.md b/docs/3.x/data/netapp_account.md index 69a416f6..dac53f2c 100644 --- a/docs/3.x/data/netapp_account.md +++ b/docs/3.x/data/netapp_account.md @@ -15,10 +15,14 @@ This package contains functions and utilities for setting up the data source usi * [`fn new()`](#fn-new) * [`fn newAttrs()`](#fn-newattrs) +* [`fn withIdentity()`](#fn-withidentity) +* [`fn withIdentityMixin()`](#fn-withidentitymixin) * [`fn withName()`](#fn-withname) * [`fn withResourceGroupName()`](#fn-withresourcegroupname) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj identity`](#obj-identity) + * [`fn new()`](#fn-identitynew) * [`obj timeouts`](#obj-timeouts) * [`fn new()`](#fn-timeoutsnew) @@ -53,6 +57,7 @@ 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. + - `identity` (`list[obj]`): Set the `identity` field on the resulting data source 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.data.netapp_account.identity.new](#fn-identitynew) constructor. - `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.netapp_account.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: @@ -79,12 +84,50 @@ 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. + - `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.data.netapp_account.identity.new](#fn-identitynew) 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.data.netapp_account.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 `netapp_account` data source into the root Terraform configuration. +### fn withIdentity + +```ts +withIdentity() +``` + +`azurerm.list[obj].withIdentity` constructs a mixin object that can be merged into the `list[obj]` +Terraform data source block to set or update the identity 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].withIdentityMixin](TODO) function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `identity` field. + + +### fn withIdentityMixin + +```ts +withIdentityMixin() +``` + +`azurerm.list[obj].withIdentityMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform data source block to set or update the identity 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].withIdentity](TODO) +function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `identity` field. + + ### fn withName ```ts @@ -153,6 +196,30 @@ function. - `value` (`obj`): The value to set for the `timeouts` field. +## obj identity + + + +### fn identity.new + +```ts +new() +``` + + +`azurerm.netapp_account.identity.new` constructs a new object with attributes and blocks configured for the `identity` +Terraform sub block. + + + +**Args**: + - `identity_ids` (`list`): Set the `identity_ids` field on the resulting object. When `null`, the `identity_ids` field will be omitted from the resulting object. + - `type` (`string`): Set the `type` field on the resulting object. + +**Returns**: + - An attribute object that represents the `identity` sub block. + + ## obj timeouts diff --git a/docs/3.x/data/netapp_account_encryption.md b/docs/3.x/data/netapp_account_encryption.md new file mode 100644 index 00000000..808d9810 --- /dev/null +++ b/docs/3.x/data/netapp_account_encryption.md @@ -0,0 +1,214 @@ +--- +permalink: /data/netapp_account_encryption/ +--- + +# data.netapp_account_encryption + +`netapp_account_encryption` represents the `azurerm_netapp_account_encryption` 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 withEncryptionKey()`](#fn-withencryptionkey) +* [`fn withNetappAccountId()`](#fn-withnetappaccountid) +* [`fn withSystemAssignedIdentityPrincipalId()`](#fn-withsystemassignedidentityprincipalid) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`fn withUserAssignedIdentityId()`](#fn-withuserassignedidentityid) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.netapp_account_encryption.new` injects a new `data_azurerm_netapp_account_encryption` 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.netapp_account_encryption.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.netapp_account_encryption` using the reference: + + $._ref.data_azurerm_netapp_account_encryption.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_netapp_account_encryption.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. + - `encryption_key` (`string`): The versionless encryption key url. When `null`, the `encryption_key` field will be omitted from the resulting object. + - `netapp_account_id` (`string`): The ID of the NetApp Account where encryption will be set. + - `system_assigned_identity_principal_id` (`string`): The Principal ID of the System Assigned Identity to use for encryption. When `null`, the `system_assigned_identity_principal_id` field will be omitted from the resulting object. + - `user_assigned_identity_id` (`string`): The resource ID of the User Assigned Identity to use for encryption. When `null`, the `user_assigned_identity_id` 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.netapp_account_encryption.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.netapp_account_encryption.newAttrs` constructs a new object with attributes and blocks configured for the `netapp_account_encryption` +Terraform data source. + +Unlike [azurerm.data.netapp_account_encryption.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**: + - `encryption_key` (`string`): The versionless encryption key url. When `null`, the `encryption_key` field will be omitted from the resulting object. + - `netapp_account_id` (`string`): The ID of the NetApp Account where encryption will be set. + - `system_assigned_identity_principal_id` (`string`): The Principal ID of the System Assigned Identity to use for encryption. When `null`, the `system_assigned_identity_principal_id` field will be omitted from the resulting object. + - `user_assigned_identity_id` (`string`): The resource ID of the User Assigned Identity to use for encryption. When `null`, the `user_assigned_identity_id` 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.netapp_account_encryption.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 `netapp_account_encryption` data source into the root Terraform configuration. + + +### fn withEncryptionKey + +```ts +withEncryptionKey() +``` + +`azurerm.string.withEncryptionKey` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the encryption_key field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `encryption_key` field. + + +### fn withNetappAccountId + +```ts +withNetappAccountId() +``` + +`azurerm.string.withNetappAccountId` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the netapp_account_id field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `netapp_account_id` field. + + +### fn withSystemAssignedIdentityPrincipalId + +```ts +withSystemAssignedIdentityPrincipalId() +``` + +`azurerm.string.withSystemAssignedIdentityPrincipalId` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the system_assigned_identity_principal_id field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `system_assigned_identity_principal_id` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will replace the map with the passed in `value`. If you wish to instead merge the +passed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withTimeoutsMixin + +```ts +withTimeoutsMixin() +``` + +`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will merge the passed in value to the existing map. If you wish +to instead replace the entire map with the passed in `value`, use the [azurerm.obj.withTimeouts](TODO) +function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withUserAssignedIdentityId + +```ts +withUserAssignedIdentityId() +``` + +`azurerm.string.withUserAssignedIdentityId` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the user_assigned_identity_id field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `user_assigned_identity_id` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.netapp_account_encryption.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/network_ddos_protection_plan.md b/docs/3.x/data/network_ddos_protection_plan.md index aff0b9f9..b46161fe 100644 --- a/docs/3.x/data/network_ddos_protection_plan.md +++ b/docs/3.x/data/network_ddos_protection_plan.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.network_ddos_protection_plan.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.network_ddos_protection_plan.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/network_manager.md b/docs/3.x/data/network_manager.md new file mode 100644 index 00000000..f1173739 --- /dev/null +++ b/docs/3.x/data/network_manager.md @@ -0,0 +1,176 @@ +--- +permalink: /data/network_manager/ +--- + +# data.network_manager + +`network_manager` represents the `azurerm_network_manager` Terraform data source. + + + +This package contains functions and utilities for setting up the data source using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withName()`](#fn-withname) +* [`fn withResourceGroupName()`](#fn-withresourcegroupname) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.network_manager.new` injects a new `data_azurerm_network_manager` Terraform `data source` +block into the root module document. + +Additionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the +resource. For example, if you added a new instance to the root using: + + # arguments omitted for brevity + azurerm.data.network_manager.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.network_manager` using the reference: + + $._ref.data_azurerm_network_manager.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_network_manager.some_id.id }"` as the value. + +NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`, +or `$` to refer to the root object. Instead, make an explicit outer object using `local`. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block. + - `name` (`string`): Set the `name` field on the resulting data source block. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting data source block. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.network_manager.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new data source into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.data.network_manager.newAttrs` constructs a new object with attributes and blocks configured for the `network_manager` +Terraform data source. + +Unlike [azurerm.data.network_manager.new](#fn-new), this function will not inject the `data source` +block into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the +[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block. + +This is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to +injecting into a complete block. + +**Args**: + - `name` (`string`): Set the `name` field on the resulting object. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.network_manager.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: + - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `network_manager` data source into the root Terraform configuration. + + +### fn withName + +```ts +withName() +``` + +`azurerm.string.withName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `name` field. + + +### fn withResourceGroupName + +```ts +withResourceGroupName() +``` + +`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the resource_group_name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `resource_group_name` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will replace the map with the passed in `value`. If you wish to instead merge the +passed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withTimeoutsMixin + +```ts +withTimeoutsMixin() +``` + +`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will merge the passed in value to the existing map. If you wish +to instead replace the entire map with the passed in `value`, use the [azurerm.obj.withTimeouts](TODO) +function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.network_manager.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/nginx_certificate.md b/docs/3.x/data/nginx_certificate.md new file mode 100644 index 00000000..2bbd920f --- /dev/null +++ b/docs/3.x/data/nginx_certificate.md @@ -0,0 +1,176 @@ +--- +permalink: /data/nginx_certificate/ +--- + +# data.nginx_certificate + +`nginx_certificate` represents the `azurerm_nginx_certificate` Terraform data source. + + + +This package contains functions and utilities for setting up the data source using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withName()`](#fn-withname) +* [`fn withNginxDeploymentId()`](#fn-withnginxdeploymentid) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.nginx_certificate.new` injects a new `data_azurerm_nginx_certificate` 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.nginx_certificate.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.nginx_certificate` using the reference: + + $._ref.data_azurerm_nginx_certificate.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_nginx_certificate.some_id.id }"` as the value. + +NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`, +or `$` to refer to the root object. Instead, make an explicit outer object using `local`. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block. + - `name` (`string`): Set the `name` field on the resulting data source block. + - `nginx_deployment_id` (`string`): Set the `nginx_deployment_id` field on the resulting data source block. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.nginx_certificate.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.nginx_certificate.newAttrs` constructs a new object with attributes and blocks configured for the `nginx_certificate` +Terraform data source. + +Unlike [azurerm.data.nginx_certificate.new](#fn-new), this function will not inject the `data source` +block into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the +[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block. + +This is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to +injecting into a complete block. + +**Args**: + - `name` (`string`): Set the `name` field on the resulting object. + - `nginx_deployment_id` (`string`): Set the `nginx_deployment_id` field on the resulting object. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.nginx_certificate.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 `nginx_certificate` data source into the root Terraform configuration. + + +### fn withName + +```ts +withName() +``` + +`azurerm.string.withName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `name` field. + + +### fn withNginxDeploymentId + +```ts +withNginxDeploymentId() +``` + +`azurerm.string.withNginxDeploymentId` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the nginx_deployment_id field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `nginx_deployment_id` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will replace the map with the passed in `value`. If you wish to instead merge the +passed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withTimeoutsMixin + +```ts +withTimeoutsMixin() +``` + +`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will merge the passed in value to the existing map. If you wish +to instead replace the entire map with the passed in `value`, use the [azurerm.obj.withTimeouts](TODO) +function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.nginx_certificate.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/nginx_configuration.md b/docs/3.x/data/nginx_configuration.md new file mode 100644 index 00000000..a2e25821 --- /dev/null +++ b/docs/3.x/data/nginx_configuration.md @@ -0,0 +1,157 @@ +--- +permalink: /data/nginx_configuration/ +--- + +# data.nginx_configuration + +`nginx_configuration` represents the `azurerm_nginx_configuration` 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 withNginxDeploymentId()`](#fn-withnginxdeploymentid) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.nginx_configuration.new` injects a new `data_azurerm_nginx_configuration` 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.nginx_configuration.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.nginx_configuration` using the reference: + + $._ref.data_azurerm_nginx_configuration.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_nginx_configuration.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. + - `nginx_deployment_id` (`string`): Set the `nginx_deployment_id` field on the resulting data source block. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.nginx_configuration.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.nginx_configuration.newAttrs` constructs a new object with attributes and blocks configured for the `nginx_configuration` +Terraform data source. + +Unlike [azurerm.data.nginx_configuration.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**: + - `nginx_deployment_id` (`string`): Set the `nginx_deployment_id` field on the resulting object. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.nginx_configuration.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 `nginx_configuration` data source into the root Terraform configuration. + + +### fn withNginxDeploymentId + +```ts +withNginxDeploymentId() +``` + +`azurerm.string.withNginxDeploymentId` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the nginx_deployment_id field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `nginx_deployment_id` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will replace the map with the passed in `value`. If you wish to instead merge the +passed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withTimeoutsMixin + +```ts +withTimeoutsMixin() +``` + +`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will merge the passed in value to the existing map. If you wish +to instead replace the entire map with the passed in `value`, use the [azurerm.obj.withTimeouts](TODO) +function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.nginx_configuration.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/nginx_deployment.md b/docs/3.x/data/nginx_deployment.md new file mode 100644 index 00000000..ef523d64 --- /dev/null +++ b/docs/3.x/data/nginx_deployment.md @@ -0,0 +1,176 @@ +--- +permalink: /data/nginx_deployment/ +--- + +# data.nginx_deployment + +`nginx_deployment` represents the `azurerm_nginx_deployment` Terraform data source. + + + +This package contains functions and utilities for setting up the data source using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withName()`](#fn-withname) +* [`fn withResourceGroupName()`](#fn-withresourcegroupname) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.nginx_deployment.new` injects a new `data_azurerm_nginx_deployment` 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.nginx_deployment.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.nginx_deployment` using the reference: + + $._ref.data_azurerm_nginx_deployment.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_nginx_deployment.some_id.id }"` as the value. + +NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`, +or `$` to refer to the root object. Instead, make an explicit outer object using `local`. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block. + - `name` (`string`): Set the `name` field on the resulting data source block. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting data source block. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.nginx_deployment.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.nginx_deployment.newAttrs` constructs a new object with attributes and blocks configured for the `nginx_deployment` +Terraform data source. + +Unlike [azurerm.data.nginx_deployment.new](#fn-new), this function will not inject the `data source` +block into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the +[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block. + +This is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to +injecting into a complete block. + +**Args**: + - `name` (`string`): Set the `name` field on the resulting object. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.nginx_deployment.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 `nginx_deployment` data source into the root Terraform configuration. + + +### fn withName + +```ts +withName() +``` + +`azurerm.string.withName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `name` field. + + +### fn withResourceGroupName + +```ts +withResourceGroupName() +``` + +`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the resource_group_name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `resource_group_name` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will replace the map with the passed in `value`. If you wish to instead merge the +passed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withTimeoutsMixin + +```ts +withTimeoutsMixin() +``` + +`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will merge the passed in value to the existing map. If you wish +to instead replace the entire map with the passed in `value`, use the [azurerm.obj.withTimeouts](TODO) +function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.nginx_deployment.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/stack_hci_cluster.md b/docs/3.x/data/stack_hci_cluster.md new file mode 100644 index 00000000..bf25da57 --- /dev/null +++ b/docs/3.x/data/stack_hci_cluster.md @@ -0,0 +1,176 @@ +--- +permalink: /data/stack_hci_cluster/ +--- + +# data.stack_hci_cluster + +`stack_hci_cluster` represents the `azurerm_stack_hci_cluster` Terraform data source. + + + +This package contains functions and utilities for setting up the data source using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withName()`](#fn-withname) +* [`fn withResourceGroupName()`](#fn-withresourcegroupname) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.stack_hci_cluster.new` injects a new `data_azurerm_stack_hci_cluster` Terraform `data source` +block into the root module document. + +Additionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the +resource. For example, if you added a new instance to the root using: + + # arguments omitted for brevity + azurerm.data.stack_hci_cluster.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.stack_hci_cluster` using the reference: + + $._ref.data_azurerm_stack_hci_cluster.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_stack_hci_cluster.some_id.id }"` as the value. + +NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`, +or `$` to refer to the root object. Instead, make an explicit outer object using `local`. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block. + - `name` (`string`): Set the `name` field on the resulting data source block. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting data source block. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.stack_hci_cluster.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new data source into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.data.stack_hci_cluster.newAttrs` constructs a new object with attributes and blocks configured for the `stack_hci_cluster` +Terraform data source. + +Unlike [azurerm.data.stack_hci_cluster.new](#fn-new), this function will not inject the `data source` +block into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the +[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block. + +This is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to +injecting into a complete block. + +**Args**: + - `name` (`string`): Set the `name` field on the resulting object. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.stack_hci_cluster.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: + - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `stack_hci_cluster` data source into the root Terraform configuration. + + +### fn withName + +```ts +withName() +``` + +`azurerm.string.withName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `name` field. + + +### fn withResourceGroupName + +```ts +withResourceGroupName() +``` + +`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the resource_group_name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `resource_group_name` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will replace the map with the passed in `value`. If you wish to instead merge the +passed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withTimeoutsMixin + +```ts +withTimeoutsMixin() +``` + +`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will merge the passed in value to the existing map. If you wish +to instead replace the entire map with the passed in `value`, use the [azurerm.obj.withTimeouts](TODO) +function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.stack_hci_cluster.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts` +Terraform sub block. + + + +**Args**: + - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/data/storage_containers.md b/docs/3.x/data/storage_containers.md new file mode 100644 index 00000000..38c1d737 --- /dev/null +++ b/docs/3.x/data/storage_containers.md @@ -0,0 +1,176 @@ +--- +permalink: /data/storage_containers/ +--- + +# data.storage_containers + +`storage_containers` represents the `azurerm_storage_containers` 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 withNamePrefix()`](#fn-withnameprefix) +* [`fn withStorageAccountId()`](#fn-withstorageaccountid) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.storage_containers.new` injects a new `data_azurerm_storage_containers` 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.storage_containers.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.storage_containers` using the reference: + + $._ref.data_azurerm_storage_containers.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_storage_containers.some_id.id }"` as the value. + +NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`, +or `$` to refer to the root object. Instead, make an explicit outer object using `local`. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block. + - `name_prefix` (`string`): Set the `name_prefix` field on the resulting data source block. When `null`, the `name_prefix` field will be omitted from the resulting object. + - `storage_account_id` (`string`): Set the `storage_account_id` field on the resulting data source block. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.storage_containers.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.storage_containers.newAttrs` constructs a new object with attributes and blocks configured for the `storage_containers` +Terraform data source. + +Unlike [azurerm.data.storage_containers.new](#fn-new), this function will not inject the `data source` +block into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the +[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block. + +This is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to +injecting into a complete block. + +**Args**: + - `name_prefix` (`string`): Set the `name_prefix` field on the resulting object. When `null`, the `name_prefix` field will be omitted from the resulting object. + - `storage_account_id` (`string`): Set the `storage_account_id` field on the resulting object. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.storage_containers.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 `storage_containers` data source into the root Terraform configuration. + + +### fn withNamePrefix + +```ts +withNamePrefix() +``` + +`azurerm.string.withNamePrefix` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the name_prefix field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `name_prefix` field. + + +### fn withStorageAccountId + +```ts +withStorageAccountId() +``` + +`azurerm.string.withStorageAccountId` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the storage_account_id field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `storage_account_id` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will replace the map with the passed in `value`. If you wish to instead merge the +passed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withTimeoutsMixin + +```ts +withTimeoutsMixin() +``` + +`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will merge the passed in value to the existing map. If you wish +to instead replace the entire map with the passed in `value`, use the [azurerm.obj.withTimeouts](TODO) +function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.storage_containers.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/virtual_desktop_workspace.md b/docs/3.x/data/virtual_desktop_workspace.md new file mode 100644 index 00000000..02c95e58 --- /dev/null +++ b/docs/3.x/data/virtual_desktop_workspace.md @@ -0,0 +1,176 @@ +--- +permalink: /data/virtual_desktop_workspace/ +--- + +# data.virtual_desktop_workspace + +`virtual_desktop_workspace` represents the `azurerm_virtual_desktop_workspace` Terraform data source. + + + +This package contains functions and utilities for setting up the data source using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withName()`](#fn-withname) +* [`fn withResourceGroupName()`](#fn-withresourcegroupname) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.data.virtual_desktop_workspace.new` injects a new `data_azurerm_virtual_desktop_workspace` 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.virtual_desktop_workspace.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data.virtual_desktop_workspace` using the reference: + + $._ref.data_azurerm_virtual_desktop_workspace.some_id.get('id') + +This is the same as directly entering `"${ data_azurerm_virtual_desktop_workspace.some_id.id }"` as the value. + +NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`, +or `$` to refer to the root object. Instead, make an explicit outer object using `local`. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block. + - `name` (`string`): Set the `name` field on the resulting data source block. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting data source block. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.virtual_desktop_workspace.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.virtual_desktop_workspace.newAttrs` constructs a new object with attributes and blocks configured for the `virtual_desktop_workspace` +Terraform data source. + +Unlike [azurerm.data.virtual_desktop_workspace.new](#fn-new), this function will not inject the `data source` +block into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the +[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block. + +This is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to +injecting into a complete block. + +**Args**: + - `name` (`string`): Set the `name` field on the resulting object. + - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.data.virtual_desktop_workspace.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 `virtual_desktop_workspace` data source into the root Terraform configuration. + + +### fn withName + +```ts +withName() +``` + +`azurerm.string.withName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `name` field. + + +### fn withResourceGroupName + +```ts +withResourceGroupName() +``` + +`azurerm.string.withResourceGroupName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the resource_group_name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `resource_group_name` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`azurerm.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will replace the map with the passed in `value`. If you wish to instead merge the +passed in value to the existing map, use the [azurerm.obj.withTimeoutsMixin](TODO) function. + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withTimeoutsMixin + +```ts +withTimeoutsMixin() +``` + +`azurerm.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the timeouts field. + +This function will merge the passed in value to the existing map. If you wish +to instead replace the entire map with the passed in `value`, use the [azurerm.obj.withTimeouts](TODO) +function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.virtual_desktop_workspace.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_factory_credential_user_managed_identity.md b/docs/3.x/data_factory_credential_user_managed_identity.md new file mode 100644 index 00000000..115ad55c --- /dev/null +++ b/docs/3.x/data_factory_credential_user_managed_identity.md @@ -0,0 +1,236 @@ +--- +permalink: /data_factory_credential_user_managed_identity/ +--- + +# data_factory_credential_user_managed_identity + +`data_factory_credential_user_managed_identity` represents the `azurerm_data_factory_credential_user_managed_identity` 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 withAnnotations()`](#fn-withannotations) +* [`fn withDataFactoryId()`](#fn-withdatafactoryid) +* [`fn withDescription()`](#fn-withdescription) +* [`fn withIdentityId()`](#fn-withidentityid) +* [`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_factory_credential_user_managed_identity.new` injects a new `azurerm_data_factory_credential_user_managed_identity` 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.data_factory_credential_user_managed_identity.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.data_factory_credential_user_managed_identity` using the reference: + + $._ref.azurerm_data_factory_credential_user_managed_identity.some_id.get('id') + +This is the same as directly entering `"${ azurerm_data_factory_credential_user_managed_identity.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. + - `annotations` (`list`): (Optional) List of string annotations. When `null`, the `annotations` field will be omitted from the resulting object. + - `data_factory_id` (`string`): The resource ID of the parent Data Factory + - `description` (`string`): (Optional) Short text description When `null`, the `description` field will be omitted from the resulting object. + - `identity_id` (`string`): The resource ID of the User Assigned Managed Identity + - `name` (`string`): The desired name of the credential resource + - `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.data_factory_credential_user_managed_identity.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.data_factory_credential_user_managed_identity.newAttrs` constructs a new object with attributes and blocks configured for the `data_factory_credential_user_managed_identity` +Terraform resource. + +Unlike [azurerm.data_factory_credential_user_managed_identity.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**: + - `annotations` (`list`): (Optional) List of string annotations. When `null`, the `annotations` field will be omitted from the resulting object. + - `data_factory_id` (`string`): The resource ID of the parent Data Factory + - `description` (`string`): (Optional) Short text description When `null`, the `description` field will be omitted from the resulting object. + - `identity_id` (`string`): The resource ID of the User Assigned Managed Identity + - `name` (`string`): The desired name of the credential resource + - `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_factory_credential_user_managed_identity.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 `data_factory_credential_user_managed_identity` resource into the root Terraform configuration. + + +### fn withAnnotations + +```ts +withAnnotations() +``` + +`azurerm.list.withAnnotations` constructs a mixin object that can be merged into the `list` +Terraform resource block to set or update the annotations field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list`): The value to set for the `annotations` field. + + +### fn withDataFactoryId + +```ts +withDataFactoryId() +``` + +`azurerm.string.withDataFactoryId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the data_factory_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `data_factory_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 withIdentityId + +```ts +withIdentityId() +``` + +`azurerm.string.withIdentityId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the identity_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `identity_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 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.data_factory_credential_user_managed_identity.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_factory_integration_runtime_azure_ssis.md b/docs/3.x/data_factory_integration_runtime_azure_ssis.md index 27212913..e960b8d8 100644 --- a/docs/3.x/data_factory_integration_runtime_azure_ssis.md +++ b/docs/3.x/data_factory_integration_runtime_azure_ssis.md @@ -17,6 +17,7 @@ This package contains functions and utilities for setting up the resource using * [`fn newAttrs()`](#fn-newattrs) * [`fn withCatalogInfo()`](#fn-withcataloginfo) * [`fn withCatalogInfoMixin()`](#fn-withcataloginfomixin) +* [`fn withCredentialName()`](#fn-withcredentialname) * [`fn withCustomSetupScript()`](#fn-withcustomsetupscript) * [`fn withCustomSetupScriptMixin()`](#fn-withcustomsetupscriptmixin) * [`fn withDataFactoryId()`](#fn-withdatafactoryid) @@ -94,6 +95,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `resourceLabel` (`string`): The name label of the block. + - `credential_name` (`string`): Set the `credential_name` field on the resulting resource block. When `null`, the `credential_name` field will be omitted from the resulting object. - `data_factory_id` (`string`): Set the `data_factory_id` 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. - `edition` (`string`): Set the `edition` field on the resulting resource block. When `null`, the `edition` field will be omitted from the resulting object. @@ -134,6 +136,7 @@ This is most useful when you need to preprocess the attributes with functions, c injecting into a complete block. **Args**: + - `credential_name` (`string`): Set the `credential_name` field on the resulting object. When `null`, the `credential_name` field will be omitted from the resulting object. - `data_factory_id` (`string`): Set the `data_factory_id` 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. - `edition` (`string`): Set the `edition` field on the resulting object. When `null`, the `edition` field will be omitted from the resulting object. @@ -193,6 +196,22 @@ function. - `value` (`list[obj]`): The value to set for the `catalog_info` field. +### fn withCredentialName + +```ts +withCredentialName() +``` + +`azurerm.string.withCredentialName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the credential_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `credential_name` field. + + ### fn withCustomSetupScript ```ts diff --git a/docs/3.x/data_protection_backup_policy_blob_storage.md b/docs/3.x/data_protection_backup_policy_blob_storage.md index 16f77a7f..841d0dde 100644 --- a/docs/3.x/data_protection_backup_policy_blob_storage.md +++ b/docs/3.x/data_protection_backup_policy_blob_storage.md @@ -192,7 +192,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/data_protection_backup_policy_disk.md b/docs/3.x/data_protection_backup_policy_disk.md index 6d487b8b..84bad1e0 100644 --- a/docs/3.x/data_protection_backup_policy_disk.md +++ b/docs/3.x/data_protection_backup_policy_disk.md @@ -20,6 +20,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withName()`](#fn-withname) * [`fn withRetentionRule()`](#fn-withretentionrule) * [`fn withRetentionRuleMixin()`](#fn-withretentionrulemixin) +* [`fn withTimeZone()`](#fn-withtimezone) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`fn withVaultId()`](#fn-withvaultid) @@ -62,6 +63,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `backup_repeating_time_intervals` (`list`): Set the `backup_repeating_time_intervals` field on the resulting resource block. - `default_retention_duration` (`string`): Set the `default_retention_duration` field on the resulting resource block. - `name` (`string`): Set the `name` field on the resulting resource block. + - `time_zone` (`string`): Set the `time_zone` field on the resulting resource block. When `null`, the `time_zone` field will be omitted from the resulting object. - `vault_id` (`string`): Set the `vault_id` field on the resulting resource block. - `retention_rule` (`list[obj]`): Set the `retention_rule` field on the resulting resource block. When `null`, the `retention_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.data_protection_backup_policy_disk.retention_rule.new](#fn-retention_rulenew) 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.data_protection_backup_policy_disk.timeouts.new](#fn-timeoutsnew) constructor. @@ -91,6 +93,7 @@ injecting into a complete block. - `backup_repeating_time_intervals` (`list`): Set the `backup_repeating_time_intervals` field on the resulting object. - `default_retention_duration` (`string`): Set the `default_retention_duration` field on the resulting object. - `name` (`string`): Set the `name` field on the resulting object. + - `time_zone` (`string`): Set the `time_zone` field on the resulting object. When `null`, the `time_zone` field will be omitted from the resulting object. - `vault_id` (`string`): Set the `vault_id` field on the resulting object. - `retention_rule` (`list[obj]`): Set the `retention_rule` field on the resulting object. When `null`, the `retention_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.data_protection_backup_policy_disk.retention_rule.new](#fn-retention_rulenew) 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.data_protection_backup_policy_disk.timeouts.new](#fn-timeoutsnew) constructor. @@ -184,6 +187,22 @@ function. - `value` (`list[obj]`): The value to set for the `retention_rule` field. +### fn withTimeZone + +```ts +withTimeZone() +``` + +`azurerm.string.withTimeZone` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the time_zone field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `time_zone` field. + + ### fn withTimeouts ```ts @@ -305,7 +324,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/data_protection_backup_policy_postgresql.md b/docs/3.x/data_protection_backup_policy_postgresql.md index d42d7655..a3a2c1ee 100644 --- a/docs/3.x/data_protection_backup_policy_postgresql.md +++ b/docs/3.x/data_protection_backup_policy_postgresql.md @@ -21,6 +21,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withResourceGroupName()`](#fn-withresourcegroupname) * [`fn withRetentionRule()`](#fn-withretentionrule) * [`fn withRetentionRuleMixin()`](#fn-withretentionrulemixin) +* [`fn withTimeZone()`](#fn-withtimezone) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`fn withVaultName()`](#fn-withvaultname) @@ -64,6 +65,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `default_retention_duration` (`string`): Set the `default_retention_duration` 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. + - `time_zone` (`string`): Set the `time_zone` field on the resulting resource block. When `null`, the `time_zone` field will be omitted from the resulting object. - `vault_name` (`string`): Set the `vault_name` field on the resulting resource block. - `retention_rule` (`list[obj]`): Set the `retention_rule` field on the resulting resource block. When `null`, the `retention_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.data_protection_backup_policy_postgresql.retention_rule.new](#fn-retention_rulenew) 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.data_protection_backup_policy_postgresql.timeouts.new](#fn-timeoutsnew) constructor. @@ -94,6 +96,7 @@ injecting into a complete block. - `default_retention_duration` (`string`): Set the `default_retention_duration` 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. + - `time_zone` (`string`): Set the `time_zone` field on the resulting object. When `null`, the `time_zone` field will be omitted from the resulting object. - `vault_name` (`string`): Set the `vault_name` field on the resulting object. - `retention_rule` (`list[obj]`): Set the `retention_rule` field on the resulting object. When `null`, the `retention_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.data_protection_backup_policy_postgresql.retention_rule.new](#fn-retention_rulenew) 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.data_protection_backup_policy_postgresql.timeouts.new](#fn-timeoutsnew) constructor. @@ -203,6 +206,22 @@ function. - `value` (`list[obj]`): The value to set for the `retention_rule` field. +### fn withTimeZone + +```ts +withTimeZone() +``` + +`azurerm.string.withTimeZone` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the time_zone field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `time_zone` field. + + ### fn withTimeouts ```ts @@ -328,7 +347,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/elastic_san.md b/docs/3.x/elastic_san.md new file mode 100644 index 00000000..e7643d6c --- /dev/null +++ b/docs/3.x/elastic_san.md @@ -0,0 +1,341 @@ +--- +permalink: /elastic_san/ +--- + +# elastic_san + +`elastic_san` represents the `azurerm_elastic_san` 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 withBaseSizeInTib()`](#fn-withbasesizeintib) +* [`fn withExtendedSizeInTib()`](#fn-withextendedsizeintib) +* [`fn withLocation()`](#fn-withlocation) +* [`fn withName()`](#fn-withname) +* [`fn withResourceGroupName()`](#fn-withresourcegroupname) +* [`fn withSku()`](#fn-withsku) +* [`fn withSkuMixin()`](#fn-withskumixin) +* [`fn withTags()`](#fn-withtags) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`fn withZones()`](#fn-withzones) +* [`obj sku`](#obj-sku) + * [`fn new()`](#fn-skunew) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.elastic_san.new` injects a new `azurerm_elastic_san` 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.elastic_san.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.elastic_san` using the reference: + + $._ref.azurerm_elastic_san.some_id.get('id') + +This is the same as directly entering `"${ azurerm_elastic_san.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. + - `base_size_in_tib` (`number`): Set the `base_size_in_tib` field on the resulting resource block. + - `extended_size_in_tib` (`number`): Set the `extended_size_in_tib` field on the resulting resource block. When `null`, the `extended_size_in_tib` 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. + - `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. + - `zones` (`list`): Set the `zones` field on the resulting resource block. When `null`, the `zones` field will be omitted from the resulting object. + - `sku` (`list[obj]`): Set the `sku` field on the resulting resource block. When `null`, the `sku` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.elastic_san.sku.new](#fn-skunew) 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.elastic_san.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.elastic_san.newAttrs` constructs a new object with attributes and blocks configured for the `elastic_san` +Terraform resource. + +Unlike [azurerm.elastic_san.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**: + - `base_size_in_tib` (`number`): Set the `base_size_in_tib` field on the resulting object. + - `extended_size_in_tib` (`number`): Set the `extended_size_in_tib` field on the resulting object. When `null`, the `extended_size_in_tib` 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. + - `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. + - `zones` (`list`): Set the `zones` field on the resulting object. When `null`, the `zones` field will be omitted from the resulting object. + - `sku` (`list[obj]`): Set the `sku` field on the resulting object. When `null`, the `sku` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.elastic_san.sku.new](#fn-skunew) 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.elastic_san.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 `elastic_san` resource into the root Terraform configuration. + + +### fn withBaseSizeInTib + +```ts +withBaseSizeInTib() +``` + +`azurerm.number.withBaseSizeInTib` constructs a mixin object that can be merged into the `number` +Terraform resource block to set or update the base_size_in_tib field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`number`): The value to set for the `base_size_in_tib` field. + + +### fn withExtendedSizeInTib + +```ts +withExtendedSizeInTib() +``` + +`azurerm.number.withExtendedSizeInTib` constructs a mixin object that can be merged into the `number` +Terraform resource block to set or update the extended_size_in_tib field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`number`): The value to set for the `extended_size_in_tib` 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 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 withSku + +```ts +withSku() +``` + +`azurerm.list[obj].withSku` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the sku 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].withSkuMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `sku` field. + + +### fn withSkuMixin + +```ts +withSkuMixin() +``` + +`azurerm.list[obj].withSkuMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the sku 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].withSku](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `sku` 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 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 sku + + + +### fn sku.new + +```ts +new() +``` + + +`azurerm.elastic_san.sku.new` constructs a new object with attributes and blocks configured for the `sku` +Terraform sub block. + + + +**Args**: + - `name` (`string`): Set the `name` field on the resulting object. + - `tier` (`string`): Set the `tier` field on the resulting object. When `null`, the `tier` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `sku` sub block. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.elastic_san.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/elastic_san_volume_group.md b/docs/3.x/elastic_san_volume_group.md new file mode 100644 index 00000000..cf4c79ae --- /dev/null +++ b/docs/3.x/elastic_san_volume_group.md @@ -0,0 +1,418 @@ +--- +permalink: /elastic_san_volume_group/ +--- + +# elastic_san_volume_group + +`elastic_san_volume_group` represents the `azurerm_elastic_san_volume_group` 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 withElasticSanId()`](#fn-withelasticsanid) +* [`fn withEncryption()`](#fn-withencryption) +* [`fn withEncryptionMixin()`](#fn-withencryptionmixin) +* [`fn withEncryptionType()`](#fn-withencryptiontype) +* [`fn withIdentity()`](#fn-withidentity) +* [`fn withIdentityMixin()`](#fn-withidentitymixin) +* [`fn withName()`](#fn-withname) +* [`fn withNetworkRule()`](#fn-withnetworkrule) +* [`fn withNetworkRuleMixin()`](#fn-withnetworkrulemixin) +* [`fn withProtocolType()`](#fn-withprotocoltype) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj encryption`](#obj-encryption) + * [`fn new()`](#fn-encryptionnew) +* [`obj identity`](#obj-identity) + * [`fn new()`](#fn-identitynew) +* [`obj network_rule`](#obj-network_rule) + * [`fn new()`](#fn-network_rulenew) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.elastic_san_volume_group.new` injects a new `azurerm_elastic_san_volume_group` 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.elastic_san_volume_group.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.elastic_san_volume_group` using the reference: + + $._ref.azurerm_elastic_san_volume_group.some_id.get('id') + +This is the same as directly entering `"${ azurerm_elastic_san_volume_group.some_id.id }"` as the value. + +NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`, +or `$` to refer to the root object. Instead, make an explicit outer object using `local`. + +**Args**: + - `resourceLabel` (`string`): The name label of the block. + - `elastic_san_id` (`string`): Set the `elastic_san_id` field on the resulting resource block. + - `encryption_type` (`string`): Set the `encryption_type` field on the resulting resource block. When `null`, the `encryption_type` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting resource block. + - `protocol_type` (`string`): Set the `protocol_type` field on the resulting resource block. When `null`, the `protocol_type` field will be omitted from the resulting object. + - `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.elastic_san_volume_group.encryption.new](#fn-encryptionnew) constructor. + - `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.elastic_san_volume_group.identity.new](#fn-identitynew) constructor. + - `network_rule` (`list[obj]`): Set the `network_rule` field on the resulting resource block. When `null`, the `network_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.elastic_san_volume_group.network_rule.new](#fn-network_rulenew) 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.elastic_san_volume_group.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.elastic_san_volume_group.newAttrs` constructs a new object with attributes and blocks configured for the `elastic_san_volume_group` +Terraform resource. + +Unlike [azurerm.elastic_san_volume_group.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**: + - `elastic_san_id` (`string`): Set the `elastic_san_id` field on the resulting object. + - `encryption_type` (`string`): Set the `encryption_type` field on the resulting object. When `null`, the `encryption_type` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `protocol_type` (`string`): Set the `protocol_type` field on the resulting object. When `null`, the `protocol_type` field will be omitted from the resulting object. + - `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.elastic_san_volume_group.encryption.new](#fn-encryptionnew) constructor. + - `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.elastic_san_volume_group.identity.new](#fn-identitynew) constructor. + - `network_rule` (`list[obj]`): Set the `network_rule` field on the resulting object. When `null`, the `network_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.elastic_san_volume_group.network_rule.new](#fn-network_rulenew) 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.elastic_san_volume_group.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 `elastic_san_volume_group` resource into the root Terraform configuration. + + +### fn withElasticSanId + +```ts +withElasticSanId() +``` + +`azurerm.string.withElasticSanId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the elastic_san_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `elastic_san_id` 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 withEncryptionType + +```ts +withEncryptionType() +``` + +`azurerm.string.withEncryptionType` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the encryption_type field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `encryption_type` field. + + +### fn withIdentity + +```ts +withIdentity() +``` + +`azurerm.list[obj].withIdentity` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the identity 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].withIdentityMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `identity` field. + + +### fn withIdentityMixin + +```ts +withIdentityMixin() +``` + +`azurerm.list[obj].withIdentityMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the identity 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].withIdentity](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `identity` 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 withNetworkRule + +```ts +withNetworkRule() +``` + +`azurerm.list[obj].withNetworkRule` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the network_rule 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].withNetworkRuleMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `network_rule` field. + + +### fn withNetworkRuleMixin + +```ts +withNetworkRuleMixin() +``` + +`azurerm.list[obj].withNetworkRuleMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the network_rule 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].withNetworkRule](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `network_rule` field. + + +### fn withProtocolType + +```ts +withProtocolType() +``` + +`azurerm.string.withProtocolType` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the protocol_type field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `protocol_type` 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 encryption + + + +### fn encryption.new + +```ts +new() +``` + + +`azurerm.elastic_san_volume_group.encryption.new` constructs a new object with attributes and blocks configured for the `encryption` +Terraform sub block. + + + +**Args**: + - `key_vault_key_id` (`string`): Set the `key_vault_key_id` field on the resulting object. + - `user_assigned_identity_id` (`string`): Set the `user_assigned_identity_id` field on the resulting object. When `null`, the `user_assigned_identity_id` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `encryption` sub block. + + +## obj identity + + + +### fn identity.new + +```ts +new() +``` + + +`azurerm.elastic_san_volume_group.identity.new` constructs a new object with attributes and blocks configured for the `identity` +Terraform sub block. + + + +**Args**: + - `identity_ids` (`list`): Set the `identity_ids` field on the resulting object. When `null`, the `identity_ids` field will be omitted from the resulting object. + - `type` (`string`): Set the `type` field on the resulting object. + +**Returns**: + - An attribute object that represents the `identity` sub block. + + +## obj network_rule + + + +### fn network_rule.new + +```ts +new() +``` + + +`azurerm.elastic_san_volume_group.network_rule.new` constructs a new object with attributes and blocks configured for the `network_rule` +Terraform sub block. + + + +**Args**: + - `action` (`string`): Set the `action` field on the resulting object. When `null`, the `action` field will be omitted from the resulting object. + - `subnet_id` (`string`): Set the `subnet_id` field on the resulting object. + +**Returns**: + - An attribute object that represents the `network_rule` sub block. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.elastic_san_volume_group.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/express_route_circuit_authorization.md b/docs/3.x/express_route_circuit_authorization.md index 82027f67..7d810d2b 100644 --- a/docs/3.x/express_route_circuit_authorization.md +++ b/docs/3.x/express_route_circuit_authorization.md @@ -192,7 +192,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/express_route_port_authorization.md b/docs/3.x/express_route_port_authorization.md index 02f230e2..d35d7cfb 100644 --- a/docs/3.x/express_route_port_authorization.md +++ b/docs/3.x/express_route_port_authorization.md @@ -192,7 +192,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/firewall.md b/docs/3.x/firewall.md index 2be9caa8..63d96886 100644 --- a/docs/3.x/firewall.md +++ b/docs/3.x/firewall.md @@ -15,6 +15,7 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-new) * [`fn newAttrs()`](#fn-newattrs) +* [`fn withDnsProxyEnabled()`](#fn-withdnsproxyenabled) * [`fn withDnsServers()`](#fn-withdnsservers) * [`fn withFirewallPolicyId()`](#fn-withfirewallpolicyid) * [`fn withIpConfiguration()`](#fn-withipconfiguration) @@ -72,6 +73,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `resourceLabel` (`string`): The name label of the block. + - `dns_proxy_enabled` (`bool`): Set the `dns_proxy_enabled` field on the resulting resource block. When `null`, the `dns_proxy_enabled` field will be omitted from the resulting object. - `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. - `firewall_policy_id` (`string`): Set the `firewall_policy_id` field on the resulting resource block. When `null`, the `firewall_policy_id` field will be omitted from the resulting object. - `location` (`string`): Set the `location` field on the resulting resource block. @@ -110,6 +112,7 @@ This is most useful when you need to preprocess the attributes with functions, c injecting into a complete block. **Args**: + - `dns_proxy_enabled` (`bool`): Set the `dns_proxy_enabled` field on the resulting object. When `null`, the `dns_proxy_enabled` field will be omitted from the resulting object. - `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. - `firewall_policy_id` (`string`): Set the `firewall_policy_id` field on the resulting object. When `null`, the `firewall_policy_id` field will be omitted from the resulting object. - `location` (`string`): Set the `location` field on the resulting object. @@ -130,6 +133,22 @@ injecting into a complete block. - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `firewall` resource into the root Terraform configuration. +### fn withDnsProxyEnabled + +```ts +withDnsProxyEnabled() +``` + +`azurerm.bool.withDnsProxyEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the dns_proxy_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `dns_proxy_enabled` field. + + ### fn withDnsServers ```ts diff --git a/docs/3.x/gallery_application_version.md b/docs/3.x/gallery_application_version.md index ee23ed89..52d27d63 100644 --- a/docs/3.x/gallery_application_version.md +++ b/docs/3.x/gallery_application_version.md @@ -15,6 +15,7 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-new) * [`fn newAttrs()`](#fn-newattrs) +* [`fn withConfigFile()`](#fn-withconfigfile) * [`fn withEnableHealthCheck()`](#fn-withenablehealthcheck) * [`fn withEndOfLifeDate()`](#fn-withendoflifedate) * [`fn withExcludeFromLatest()`](#fn-withexcludefromlatest) @@ -23,6 +24,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withManageAction()`](#fn-withmanageaction) * [`fn withManageActionMixin()`](#fn-withmanageactionmixin) * [`fn withName()`](#fn-withname) +* [`fn withPackageFile()`](#fn-withpackagefile) * [`fn withSource()`](#fn-withsource) * [`fn withSourceMixin()`](#fn-withsourcemixin) * [`fn withTags()`](#fn-withtags) @@ -68,12 +70,14 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `resourceLabel` (`string`): The name label of the block. + - `config_file` (`string`): Set the `config_file` field on the resulting resource block. When `null`, the `config_file` field will be omitted from the resulting object. - `enable_health_check` (`bool`): Set the `enable_health_check` field on the resulting resource block. When `null`, the `enable_health_check` field will be omitted from the resulting object. - `end_of_life_date` (`string`): Set the `end_of_life_date` field on the resulting resource block. When `null`, the `end_of_life_date` field will be omitted from the resulting object. - `exclude_from_latest` (`bool`): Set the `exclude_from_latest` field on the resulting resource block. When `null`, the `exclude_from_latest` field will be omitted from the resulting object. - `gallery_application_id` (`string`): Set the `gallery_application_id` field on the resulting resource block. - `location` (`string`): Set the `location` field on the resulting resource block. - `name` (`string`): Set the `name` field on the resulting resource block. + - `package_file` (`string`): Set the `package_file` field on the resulting resource block. When `null`, the `package_file` 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. - `manage_action` (`list[obj]`): Set the `manage_action` field on the resulting resource block. When `null`, the `manage_action` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.gallery_application_version.manage_action.new](#fn-manage_actionnew) constructor. - `source` (`list[obj]`): Set the `source` field on the resulting resource block. When `null`, the `source` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.gallery_application_version.source.new](#fn-sourcenew) constructor. @@ -102,12 +106,14 @@ This is most useful when you need to preprocess the attributes with functions, c injecting into a complete block. **Args**: + - `config_file` (`string`): Set the `config_file` field on the resulting object. When `null`, the `config_file` field will be omitted from the resulting object. - `enable_health_check` (`bool`): Set the `enable_health_check` field on the resulting object. When `null`, the `enable_health_check` field will be omitted from the resulting object. - `end_of_life_date` (`string`): Set the `end_of_life_date` field on the resulting object. When `null`, the `end_of_life_date` field will be omitted from the resulting object. - `exclude_from_latest` (`bool`): Set the `exclude_from_latest` field on the resulting object. When `null`, the `exclude_from_latest` field will be omitted from the resulting object. - `gallery_application_id` (`string`): Set the `gallery_application_id` field on the resulting object. - `location` (`string`): Set the `location` field on the resulting object. - `name` (`string`): Set the `name` field on the resulting object. + - `package_file` (`string`): Set the `package_file` field on the resulting object. When `null`, the `package_file` 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. - `manage_action` (`list[obj]`): Set the `manage_action` field on the resulting object. When `null`, the `manage_action` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.gallery_application_version.manage_action.new](#fn-manage_actionnew) constructor. - `source` (`list[obj]`): Set the `source` field on the resulting object. When `null`, the `source` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.gallery_application_version.source.new](#fn-sourcenew) constructor. @@ -118,6 +124,22 @@ injecting into a complete block. - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `gallery_application_version` resource into the root Terraform configuration. +### fn withConfigFile + +```ts +withConfigFile() +``` + +`azurerm.string.withConfigFile` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the config_file field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `config_file` field. + + ### fn withEnableHealthCheck ```ts @@ -251,6 +273,22 @@ Terraform resource block to set or update the name field. - `value` (`string`): The value to set for the `name` field. +### fn withPackageFile + +```ts +withPackageFile() +``` + +`azurerm.string.withPackageFile` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the package_file field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `package_file` field. + + ### fn withSource ```ts @@ -443,6 +481,7 @@ Terraform sub block. **Args**: + - `exclude_from_latest` (`bool`): Set the `exclude_from_latest` field on the resulting object. When `null`, the `exclude_from_latest` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting object. - `regional_replica_count` (`number`): Set the `regional_replica_count` field on the resulting object. - `storage_account_type` (`string`): Set the `storage_account_type` field on the resulting object. When `null`, the `storage_account_type` field will be omitted from the resulting object. diff --git a/docs/3.x/hpc_cache_blob_nfs_target.md b/docs/3.x/hpc_cache_blob_nfs_target.md index 917214b0..2e922493 100644 --- a/docs/3.x/hpc_cache_blob_nfs_target.md +++ b/docs/3.x/hpc_cache_blob_nfs_target.md @@ -24,6 +24,8 @@ This package contains functions and utilities for setting up the resource using * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`fn withUsageModel()`](#fn-withusagemodel) +* [`fn withVerificationTimerInSeconds()`](#fn-withverificationtimerinseconds) +* [`fn withWriteBackTimerInSeconds()`](#fn-withwritebacktimerinseconds) * [`obj timeouts`](#obj-timeouts) * [`fn new()`](#fn-timeoutsnew) @@ -63,6 +65,8 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block. - `storage_container_id` (`string`): Set the `storage_container_id` field on the resulting resource block. - `usage_model` (`string`): Set the `usage_model` field on the resulting resource block. + - `verification_timer_in_seconds` (`number`): Set the `verification_timer_in_seconds` field on the resulting resource block. When `null`, the `verification_timer_in_seconds` field will be omitted from the resulting object. + - `write_back_timer_in_seconds` (`number`): Set the `write_back_timer_in_seconds` field on the resulting resource block. When `null`, the `write_back_timer_in_seconds` 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.hpc_cache_blob_nfs_target.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: @@ -94,6 +98,8 @@ injecting into a complete block. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. - `storage_container_id` (`string`): Set the `storage_container_id` field on the resulting object. - `usage_model` (`string`): Set the `usage_model` field on the resulting object. + - `verification_timer_in_seconds` (`number`): Set the `verification_timer_in_seconds` field on the resulting object. When `null`, the `verification_timer_in_seconds` field will be omitted from the resulting object. + - `write_back_timer_in_seconds` (`number`): Set the `write_back_timer_in_seconds` field on the resulting object. When `null`, the `write_back_timer_in_seconds` 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.hpc_cache_blob_nfs_target.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: @@ -248,6 +254,38 @@ Terraform resource block to set or update the usage_model field. - `value` (`string`): The value to set for the `usage_model` field. +### fn withVerificationTimerInSeconds + +```ts +withVerificationTimerInSeconds() +``` + +`azurerm.number.withVerificationTimerInSeconds` constructs a mixin object that can be merged into the `number` +Terraform resource block to set or update the verification_timer_in_seconds field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`number`): The value to set for the `verification_timer_in_seconds` field. + + +### fn withWriteBackTimerInSeconds + +```ts +withWriteBackTimerInSeconds() +``` + +`azurerm.number.withWriteBackTimerInSeconds` constructs a mixin object that can be merged into the `number` +Terraform resource block to set or update the write_back_timer_in_seconds field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`number`): The value to set for the `write_back_timer_in_seconds` field. + + ## obj timeouts diff --git a/docs/3.x/hpc_cache_nfs_target.md b/docs/3.x/hpc_cache_nfs_target.md index 77ed57c0..0c206a8b 100644 --- a/docs/3.x/hpc_cache_nfs_target.md +++ b/docs/3.x/hpc_cache_nfs_target.md @@ -24,6 +24,8 @@ This package contains functions and utilities for setting up the resource using * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`fn withUsageModel()`](#fn-withusagemodel) +* [`fn withVerificationTimerInSeconds()`](#fn-withverificationtimerinseconds) +* [`fn withWriteBackTimerInSeconds()`](#fn-withwritebacktimerinseconds) * [`obj namespace_junction`](#obj-namespace_junction) * [`fn new()`](#fn-namespace_junctionnew) * [`obj timeouts`](#obj-timeouts) @@ -63,6 +65,8 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block. - `target_host_name` (`string`): Set the `target_host_name` field on the resulting resource block. - `usage_model` (`string`): Set the `usage_model` field on the resulting resource block. + - `verification_timer_in_seconds` (`number`): Set the `verification_timer_in_seconds` field on the resulting resource block. When `null`, the `verification_timer_in_seconds` field will be omitted from the resulting object. + - `write_back_timer_in_seconds` (`number`): Set the `write_back_timer_in_seconds` field on the resulting resource block. When `null`, the `write_back_timer_in_seconds` field will be omitted from the resulting object. - `namespace_junction` (`list[obj]`): Set the `namespace_junction` field on the resulting resource block. When `null`, the `namespace_junction` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.hpc_cache_nfs_target.namespace_junction.new](#fn-namespace_junctionnew) 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.hpc_cache_nfs_target.timeouts.new](#fn-timeoutsnew) constructor. @@ -93,6 +97,8 @@ injecting into a complete block. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. - `target_host_name` (`string`): Set the `target_host_name` field on the resulting object. - `usage_model` (`string`): Set the `usage_model` field on the resulting object. + - `verification_timer_in_seconds` (`number`): Set the `verification_timer_in_seconds` field on the resulting object. When `null`, the `verification_timer_in_seconds` field will be omitted from the resulting object. + - `write_back_timer_in_seconds` (`number`): Set the `write_back_timer_in_seconds` field on the resulting object. When `null`, the `write_back_timer_in_seconds` field will be omitted from the resulting object. - `namespace_junction` (`list[obj]`): Set the `namespace_junction` field on the resulting object. When `null`, the `namespace_junction` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.hpc_cache_nfs_target.namespace_junction.new](#fn-namespace_junctionnew) 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.hpc_cache_nfs_target.timeouts.new](#fn-timeoutsnew) constructor. @@ -253,6 +259,38 @@ Terraform resource block to set or update the usage_model field. - `value` (`string`): The value to set for the `usage_model` field. +### fn withVerificationTimerInSeconds + +```ts +withVerificationTimerInSeconds() +``` + +`azurerm.number.withVerificationTimerInSeconds` constructs a mixin object that can be merged into the `number` +Terraform resource block to set or update the verification_timer_in_seconds field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`number`): The value to set for the `verification_timer_in_seconds` field. + + +### fn withWriteBackTimerInSeconds + +```ts +withWriteBackTimerInSeconds() +``` + +`azurerm.number.withWriteBackTimerInSeconds` constructs a mixin object that can be merged into the `number` +Terraform resource block to set or update the write_back_timer_in_seconds field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`number`): The value to set for the `write_back_timer_in_seconds` field. + + ## obj namespace_junction diff --git a/docs/3.x/iothub_consumer_group.md b/docs/3.x/iothub_consumer_group.md index 62675239..42f1f690 100644 --- a/docs/3.x/iothub_consumer_group.md +++ b/docs/3.x/iothub_consumer_group.md @@ -211,7 +211,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/key_vault_managed_hardware_security_module_role_assignment.md b/docs/3.x/key_vault_managed_hardware_security_module_role_assignment.md new file mode 100644 index 00000000..6ac70d78 --- /dev/null +++ b/docs/3.x/key_vault_managed_hardware_security_module_role_assignment.md @@ -0,0 +1,235 @@ +--- +permalink: /key_vault_managed_hardware_security_module_role_assignment/ +--- + +# key_vault_managed_hardware_security_module_role_assignment + +`key_vault_managed_hardware_security_module_role_assignment` represents the `azurerm_key_vault_managed_hardware_security_module_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 withName()`](#fn-withname) +* [`fn withPrincipalId()`](#fn-withprincipalid) +* [`fn withRoleDefinitionId()`](#fn-withroledefinitionid) +* [`fn withScope()`](#fn-withscope) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`fn withVaultBaseUrl()`](#fn-withvaultbaseurl) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.key_vault_managed_hardware_security_module_role_assignment.new` injects a new `azurerm_key_vault_managed_hardware_security_module_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.key_vault_managed_hardware_security_module_role_assignment.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.key_vault_managed_hardware_security_module_role_assignment` using the reference: + + $._ref.azurerm_key_vault_managed_hardware_security_module_role_assignment.some_id.get('id') + +This is the same as directly entering `"${ azurerm_key_vault_managed_hardware_security_module_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. + - `name` (`string`): Set the `name` field on the resulting resource block. + - `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. + - `scope` (`string`): Set the `scope` field on the resulting resource block. + - `vault_base_url` (`string`): Set the `vault_base_url` 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.key_vault_managed_hardware_security_module_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.key_vault_managed_hardware_security_module_role_assignment.newAttrs` constructs a new object with attributes and blocks configured for the `key_vault_managed_hardware_security_module_role_assignment` +Terraform resource. + +Unlike [azurerm.key_vault_managed_hardware_security_module_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**: + - `name` (`string`): Set the `name` field on 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. + - `scope` (`string`): Set the `scope` field on the resulting object. + - `vault_base_url` (`string`): Set the `vault_base_url` 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.key_vault_managed_hardware_security_module_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 `key_vault_managed_hardware_security_module_role_assignment` resource into the root Terraform configuration. + + +### 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 withScope + +```ts +withScope() +``` + +`azurerm.string.withScope` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the scope field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `scope` 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 withVaultBaseUrl + +```ts +withVaultBaseUrl() +``` + +`azurerm.string.withVaultBaseUrl` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the vault_base_url field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `vault_base_url` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.key_vault_managed_hardware_security_module_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/key_vault_managed_hardware_security_module_role_definition.md b/docs/3.x/key_vault_managed_hardware_security_module_role_definition.md new file mode 100644 index 00000000..566e0284 --- /dev/null +++ b/docs/3.x/key_vault_managed_hardware_security_module_role_definition.md @@ -0,0 +1,286 @@ +--- +permalink: /key_vault_managed_hardware_security_module_role_definition/ +--- + +# key_vault_managed_hardware_security_module_role_definition + +`key_vault_managed_hardware_security_module_role_definition` represents the `azurerm_key_vault_managed_hardware_security_module_role_definition` 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 withDescription()`](#fn-withdescription) +* [`fn withName()`](#fn-withname) +* [`fn withPermission()`](#fn-withpermission) +* [`fn withPermissionMixin()`](#fn-withpermissionmixin) +* [`fn withRoleName()`](#fn-withrolename) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`fn withVaultBaseUrl()`](#fn-withvaultbaseurl) +* [`obj permission`](#obj-permission) + * [`fn new()`](#fn-permissionnew) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.key_vault_managed_hardware_security_module_role_definition.new` injects a new `azurerm_key_vault_managed_hardware_security_module_role_definition` 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.key_vault_managed_hardware_security_module_role_definition.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.key_vault_managed_hardware_security_module_role_definition` using the reference: + + $._ref.azurerm_key_vault_managed_hardware_security_module_role_definition.some_id.get('id') + +This is the same as directly entering `"${ azurerm_key_vault_managed_hardware_security_module_role_definition.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. + - `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. + - `role_name` (`string`): Set the `role_name` field on the resulting resource block. When `null`, the `role_name` field will be omitted from the resulting object. + - `vault_base_url` (`string`): Set the `vault_base_url` field on the resulting resource block. + - `permission` (`list[obj]`): Set the `permission` field on the resulting resource block. When `null`, the `permission` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.key_vault_managed_hardware_security_module_role_definition.permission.new](#fn-permissionnew) 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.key_vault_managed_hardware_security_module_role_definition.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.key_vault_managed_hardware_security_module_role_definition.newAttrs` constructs a new object with attributes and blocks configured for the `key_vault_managed_hardware_security_module_role_definition` +Terraform resource. + +Unlike [azurerm.key_vault_managed_hardware_security_module_role_definition.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**: + - `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. + - `role_name` (`string`): Set the `role_name` field on the resulting object. When `null`, the `role_name` field will be omitted from the resulting object. + - `vault_base_url` (`string`): Set the `vault_base_url` field on the resulting object. + - `permission` (`list[obj]`): Set the `permission` field on the resulting object. When `null`, the `permission` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.key_vault_managed_hardware_security_module_role_definition.permission.new](#fn-permissionnew) 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.key_vault_managed_hardware_security_module_role_definition.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 `key_vault_managed_hardware_security_module_role_definition` resource into the root Terraform configuration. + + +### 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 withPermission + +```ts +withPermission() +``` + +`azurerm.list[obj].withPermission` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the permission 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].withPermissionMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `permission` field. + + +### fn withPermissionMixin + +```ts +withPermissionMixin() +``` + +`azurerm.list[obj].withPermissionMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the permission 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].withPermission](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `permission` field. + + +### fn withRoleName + +```ts +withRoleName() +``` + +`azurerm.string.withRoleName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the role_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `role_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 withVaultBaseUrl + +```ts +withVaultBaseUrl() +``` + +`azurerm.string.withVaultBaseUrl` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the vault_base_url field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `vault_base_url` field. + + +## obj permission + + + +### fn permission.new + +```ts +new() +``` + + +`azurerm.key_vault_managed_hardware_security_module_role_definition.permission.new` constructs a new object with attributes and blocks configured for the `permission` +Terraform sub block. + + + +**Args**: + - `actions` (`list`): Set the `actions` field on the resulting object. When `null`, the `actions` field will be omitted from the resulting object. + - `data_actions` (`list`): Set the `data_actions` field on the resulting object. When `null`, the `data_actions` field will be omitted from the resulting object. + - `not_actions` (`list`): Set the `not_actions` field on the resulting object. When `null`, the `not_actions` field will be omitted from the resulting object. + - `not_data_actions` (`list`): Set the `not_data_actions` field on the resulting object. When `null`, the `not_data_actions` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `permission` sub block. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.key_vault_managed_hardware_security_module_role_definition.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/kubernetes_cluster.md b/docs/3.x/kubernetes_cluster.md index fdae89b8..2ac33597 100644 --- a/docs/3.x/kubernetes_cluster.md +++ b/docs/3.x/kubernetes_cluster.md @@ -89,6 +89,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withSkuTier()`](#fn-withskutier) * [`fn withStorageProfile()`](#fn-withstorageprofile) * [`fn withStorageProfileMixin()`](#fn-withstorageprofilemixin) +* [`fn withSupportPlan()`](#fn-withsupportplan) * [`fn withTags()`](#fn-withtags) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) @@ -119,6 +120,8 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-default_node_poollinux_os_configsysctl_confignew) * [`obj default_node_pool.node_network_profile`](#obj-default_node_poolnode_network_profile) * [`fn new()`](#fn-default_node_poolnode_network_profilenew) + * [`obj default_node_pool.node_network_profile.allowed_host_ports`](#obj-default_node_poolnode_network_profileallowed_host_ports) + * [`fn new()`](#fn-default_node_poolnode_network_profileallowed_host_portsnew) * [`obj default_node_pool.upgrade_settings`](#obj-default_node_poolupgrade_settings) * [`fn new()`](#fn-default_node_poolupgrade_settingsnew) * [`obj http_proxy_config`](#obj-http_proxy_config) @@ -237,6 +240,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `role_based_access_control_enabled` (`bool`): Set the `role_based_access_control_enabled` field on the resulting resource block. When `null`, the `role_based_access_control_enabled` field will be omitted from the resulting object. - `run_command_enabled` (`bool`): Set the `run_command_enabled` field on the resulting resource block. When `null`, the `run_command_enabled` field will be omitted from the resulting object. - `sku_tier` (`string`): Set the `sku_tier` field on the resulting resource block. When `null`, the `sku_tier` field will be omitted from the resulting object. + - `support_plan` (`string`): Set the `support_plan` field on the resulting resource block. When `null`, the `support_plan` 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. - `workload_identity_enabled` (`bool`): Set the `workload_identity_enabled` field on the resulting resource block. When `null`, the `workload_identity_enabled` field will be omitted from the resulting object. - `aci_connector_linux` (`list[obj]`): Set the `aci_connector_linux` field on the resulting resource block. When `null`, the `aci_connector_linux` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.aci_connector_linux.new](#fn-aci_connector_linuxnew) constructor. @@ -317,6 +321,7 @@ injecting into a complete block. - `role_based_access_control_enabled` (`bool`): Set the `role_based_access_control_enabled` field on the resulting object. When `null`, the `role_based_access_control_enabled` field will be omitted from the resulting object. - `run_command_enabled` (`bool`): Set the `run_command_enabled` field on the resulting object. When `null`, the `run_command_enabled` field will be omitted from the resulting object. - `sku_tier` (`string`): Set the `sku_tier` field on the resulting object. When `null`, the `sku_tier` field will be omitted from the resulting object. + - `support_plan` (`string`): Set the `support_plan` field on the resulting object. When `null`, the `support_plan` 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. - `workload_identity_enabled` (`bool`): Set the `workload_identity_enabled` field on the resulting object. When `null`, the `workload_identity_enabled` field will be omitted from the resulting object. - `aci_connector_linux` (`list[obj]`): Set the `aci_connector_linux` field on the resulting object. When `null`, the `aci_connector_linux` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.aci_connector_linux.new](#fn-aci_connector_linuxnew) constructor. @@ -1650,6 +1655,22 @@ function. - `value` (`list[obj]`): The value to set for the `storage_profile` field. +### fn withSupportPlan + +```ts +withSupportPlan() +``` + +`azurerm.string.withSupportPlan` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the support_plan field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `support_plan` field. + + ### fn withTags ```ts @@ -1991,6 +2012,7 @@ Terraform sub block. - `enable_host_encryption` (`bool`): Set the `enable_host_encryption` field on the resulting object. When `null`, the `enable_host_encryption` field will be omitted from the resulting object. - `enable_node_public_ip` (`bool`): Set the `enable_node_public_ip` field on the resulting object. When `null`, the `enable_node_public_ip` field will be omitted from the resulting object. - `fips_enabled` (`bool`): Set the `fips_enabled` field on the resulting object. When `null`, the `fips_enabled` field will be omitted from the resulting object. + - `gpu_instance` (`string`): Set the `gpu_instance` field on the resulting object. When `null`, the `gpu_instance` field will be omitted from the resulting object. - `host_group_id` (`string`): Set the `host_group_id` field on the resulting object. When `null`, the `host_group_id` field will be omitted from the resulting object. - `kubelet_disk_type` (`string`): Set the `kubelet_disk_type` field on the resulting object. When `null`, the `kubelet_disk_type` field will be omitted from the resulting object. - `max_count` (`number`): Set the `max_count` field on the resulting object. When `null`, the `max_count` field will be omitted from the resulting object. @@ -2154,12 +2176,39 @@ Terraform sub block. **Args**: + - `application_security_group_ids` (`list`): Set the `application_security_group_ids` field on the resulting object. When `null`, the `application_security_group_ids` field will be omitted from the resulting object. - `node_public_ip_tags` (`obj`): Set the `node_public_ip_tags` field on the resulting object. When `null`, the `node_public_ip_tags` field will be omitted from the resulting object. + - `allowed_host_ports` (`list[obj]`): Set the `allowed_host_ports` field on the resulting object. When `null`, the `allowed_host_ports` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.kubernetes_cluster.default_node_pool.node_network_profile.allowed_host_ports.new](#fn-default_node_pooldefault_node_poolallowed_host_portsnew) constructor. **Returns**: - An attribute object that represents the `node_network_profile` sub block. +## obj default_node_pool.node_network_profile.allowed_host_ports + + + +### fn default_node_pool.node_network_profile.allowed_host_ports.new + +```ts +new() +``` + + +`azurerm.kubernetes_cluster.default_node_pool.node_network_profile.allowed_host_ports.new` constructs a new object with attributes and blocks configured for the `allowed_host_ports` +Terraform sub block. + + + +**Args**: + - `port_end` (`number`): Set the `port_end` field on the resulting object. When `null`, the `port_end` field will be omitted from the resulting object. + - `port_start` (`number`): Set the `port_start` field on the resulting object. When `null`, the `port_start` field will be omitted from the resulting object. + - `protocol` (`string`): Set the `protocol` field on the resulting object. When `null`, the `protocol` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `allowed_host_ports` sub block. + + ## obj default_node_pool.upgrade_settings diff --git a/docs/3.x/kubernetes_cluster_node_pool.md b/docs/3.x/kubernetes_cluster_node_pool.md index bff49a4e..afd64725 100644 --- a/docs/3.x/kubernetes_cluster_node_pool.md +++ b/docs/3.x/kubernetes_cluster_node_pool.md @@ -22,6 +22,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withEnableNodePublicIp()`](#fn-withenablenodepublicip) * [`fn withEvictionPolicy()`](#fn-withevictionpolicy) * [`fn withFipsEnabled()`](#fn-withfipsenabled) +* [`fn withGpuInstance()`](#fn-withgpuinstance) * [`fn withHostGroupId()`](#fn-withhostgroupid) * [`fn withKubeletConfig()`](#fn-withkubeletconfig) * [`fn withKubeletConfigMixin()`](#fn-withkubeletconfigmixin) @@ -72,6 +73,8 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-linux_os_configsysctl_confignew) * [`obj node_network_profile`](#obj-node_network_profile) * [`fn new()`](#fn-node_network_profilenew) + * [`obj node_network_profile.allowed_host_ports`](#obj-node_network_profileallowed_host_ports) + * [`fn new()`](#fn-node_network_profileallowed_host_portsnew) * [`obj timeouts`](#obj-timeouts) * [`fn new()`](#fn-timeoutsnew) * [`obj upgrade_settings`](#obj-upgrade_settings) @@ -115,6 +118,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `enable_node_public_ip` (`bool`): Set the `enable_node_public_ip` field on the resulting resource block. When `null`, the `enable_node_public_ip` field will be omitted from the resulting object. - `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. - `fips_enabled` (`bool`): Set the `fips_enabled` field on the resulting resource block. When `null`, the `fips_enabled` field will be omitted from the resulting object. + - `gpu_instance` (`string`): Set the `gpu_instance` field on the resulting resource block. When `null`, the `gpu_instance` field will be omitted from the resulting object. - `host_group_id` (`string`): Set the `host_group_id` field on the resulting resource block. When `null`, the `host_group_id` field will be omitted from the resulting object. - `kubelet_disk_type` (`string`): Set the `kubelet_disk_type` field on the resulting resource block. When `null`, the `kubelet_disk_type` field will be omitted from the resulting object. - `kubernetes_cluster_id` (`string`): Set the `kubernetes_cluster_id` field on the resulting resource block. @@ -181,6 +185,7 @@ injecting into a complete block. - `enable_node_public_ip` (`bool`): Set the `enable_node_public_ip` field on the resulting object. When `null`, the `enable_node_public_ip` field will be omitted from the resulting object. - `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. - `fips_enabled` (`bool`): Set the `fips_enabled` field on the resulting object. When `null`, the `fips_enabled` field will be omitted from the resulting object. + - `gpu_instance` (`string`): Set the `gpu_instance` field on the resulting object. When `null`, the `gpu_instance` field will be omitted from the resulting object. - `host_group_id` (`string`): Set the `host_group_id` field on the resulting object. When `null`, the `host_group_id` field will be omitted from the resulting object. - `kubelet_disk_type` (`string`): Set the `kubelet_disk_type` field on the resulting object. When `null`, the `kubelet_disk_type` field will be omitted from the resulting object. - `kubernetes_cluster_id` (`string`): Set the `kubernetes_cluster_id` field on the resulting object. @@ -334,6 +339,22 @@ Terraform resource block to set or update the fips_enabled field. - `value` (`bool`): The value to set for the `fips_enabled` field. +### fn withGpuInstance + +```ts +withGpuInstance() +``` + +`azurerm.string.withGpuInstance` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the gpu_instance field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `gpu_instance` field. + + ### fn withHostGroupId ```ts @@ -1161,12 +1182,39 @@ Terraform sub block. **Args**: + - `application_security_group_ids` (`list`): Set the `application_security_group_ids` field on the resulting object. When `null`, the `application_security_group_ids` field will be omitted from the resulting object. - `node_public_ip_tags` (`obj`): Set the `node_public_ip_tags` field on the resulting object. When `null`, the `node_public_ip_tags` field will be omitted from the resulting object. + - `allowed_host_ports` (`list[obj]`): Set the `allowed_host_ports` field on the resulting object. When `null`, the `allowed_host_ports` 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_node_pool.node_network_profile.allowed_host_ports.new](#fn-node_network_profileallowed_host_portsnew) constructor. **Returns**: - An attribute object that represents the `node_network_profile` sub block. +## obj node_network_profile.allowed_host_ports + + + +### fn node_network_profile.allowed_host_ports.new + +```ts +new() +``` + + +`azurerm.kubernetes_cluster_node_pool.node_network_profile.allowed_host_ports.new` constructs a new object with attributes and blocks configured for the `allowed_host_ports` +Terraform sub block. + + + +**Args**: + - `port_end` (`number`): Set the `port_end` field on the resulting object. When `null`, the `port_end` field will be omitted from the resulting object. + - `port_start` (`number`): Set the `port_start` field on the resulting object. When `null`, the `port_start` field will be omitted from the resulting object. + - `protocol` (`string`): Set the `protocol` field on the resulting object. When `null`, the `protocol` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `allowed_host_ports` sub block. + + ## obj timeouts diff --git a/docs/3.x/kubernetes_fleet_update_strategy.md b/docs/3.x/kubernetes_fleet_update_strategy.md new file mode 100644 index 00000000..3c8f8ca8 --- /dev/null +++ b/docs/3.x/kubernetes_fleet_update_strategy.md @@ -0,0 +1,272 @@ +--- +permalink: /kubernetes_fleet_update_strategy/ +--- + +# kubernetes_fleet_update_strategy + +`kubernetes_fleet_update_strategy` represents the `azurerm_kubernetes_fleet_update_strategy` 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 withKubernetesFleetManagerId()`](#fn-withkubernetesfleetmanagerid) +* [`fn withName()`](#fn-withname) +* [`fn withStage()`](#fn-withstage) +* [`fn withStageMixin()`](#fn-withstagemixin) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj stage`](#obj-stage) + * [`fn new()`](#fn-stagenew) + * [`obj stage.group`](#obj-stagegroup) + * [`fn new()`](#fn-stagegroupnew) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.kubernetes_fleet_update_strategy.new` injects a new `azurerm_kubernetes_fleet_update_strategy` 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_fleet_update_strategy.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.kubernetes_fleet_update_strategy` using the reference: + + $._ref.azurerm_kubernetes_fleet_update_strategy.some_id.get('id') + +This is the same as directly entering `"${ azurerm_kubernetes_fleet_update_strategy.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_fleet_manager_id` (`string`): Set the `kubernetes_fleet_manager_id` field on the resulting resource block. + - `name` (`string`): Set the `name` field on the resulting resource block. + - `stage` (`list[obj]`): Set the `stage` field on the resulting resource block. When `null`, the `stage` 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_fleet_update_strategy.stage.new](#fn-stagenew) 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.kubernetes_fleet_update_strategy.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_fleet_update_strategy.newAttrs` constructs a new object with attributes and blocks configured for the `kubernetes_fleet_update_strategy` +Terraform resource. + +Unlike [azurerm.kubernetes_fleet_update_strategy.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_fleet_manager_id` (`string`): Set the `kubernetes_fleet_manager_id` field on the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `stage` (`list[obj]`): Set the `stage` field on the resulting object. When `null`, the `stage` 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_fleet_update_strategy.stage.new](#fn-stagenew) 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.kubernetes_fleet_update_strategy.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_fleet_update_strategy` resource into the root Terraform configuration. + + +### fn withKubernetesFleetManagerId + +```ts +withKubernetesFleetManagerId() +``` + +`azurerm.string.withKubernetesFleetManagerId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the kubernetes_fleet_manager_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `kubernetes_fleet_manager_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 withStage + +```ts +withStage() +``` + +`azurerm.list[obj].withStage` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the stage 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].withStageMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `stage` field. + + +### fn withStageMixin + +```ts +withStageMixin() +``` + +`azurerm.list[obj].withStageMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the stage 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].withStage](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `stage` 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 stage + + + +### fn stage.new + +```ts +new() +``` + + +`azurerm.kubernetes_fleet_update_strategy.stage.new` constructs a new object with attributes and blocks configured for the `stage` +Terraform sub block. + + + +**Args**: + - `after_stage_wait_in_seconds` (`number`): Set the `after_stage_wait_in_seconds` field on the resulting object. When `null`, the `after_stage_wait_in_seconds` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `group` (`list[obj]`): Set the `group` field on the resulting object. When `null`, the `group` 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_fleet_update_strategy.stage.group.new](#fn-stagegroupnew) constructor. + +**Returns**: + - An attribute object that represents the `stage` sub block. + + +## obj stage.group + + + +### fn stage.group.new + +```ts +new() +``` + + +`azurerm.kubernetes_fleet_update_strategy.stage.group.new` constructs a new object with attributes and blocks configured for the `group` +Terraform sub block. + + + +**Args**: + - `name` (`string`): Set the `name` field on the resulting object. + +**Returns**: + - An attribute object that represents the `group` sub block. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.kubernetes_fleet_update_strategy.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/kusto_cluster_principal_assignment.md b/docs/3.x/kusto_cluster_principal_assignment.md index 70573754..d9f0a278 100644 --- a/docs/3.x/kusto_cluster_principal_assignment.md +++ b/docs/3.x/kusto_cluster_principal_assignment.md @@ -268,7 +268,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/linux_function_app.md b/docs/3.x/linux_function_app.md index 36f4881c..0254322e 100644 --- a/docs/3.x/linux_function_app.md +++ b/docs/3.x/linux_function_app.md @@ -31,6 +31,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withContentShareForceDisabled()`](#fn-withcontentshareforcedisabled) * [`fn withDailyMemoryTimeQuota()`](#fn-withdailymemorytimequota) * [`fn withEnabled()`](#fn-withenabled) +* [`fn withFtpPublishBasicAuthenticationEnabled()`](#fn-withftppublishbasicauthenticationenabled) * [`fn withFunctionsExtensionVersion()`](#fn-withfunctionsextensionversion) * [`fn withHttpsOnly()`](#fn-withhttpsonly) * [`fn withIdentity()`](#fn-withidentity) @@ -55,6 +56,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`fn withVirtualNetworkSubnetId()`](#fn-withvirtualnetworksubnetid) +* [`fn withWebdeployPublishBasicAuthenticationEnabled()`](#fn-withwebdeploypublishbasicauthenticationenabled) * [`fn withZipDeployFile()`](#fn-withzipdeployfile) * [`obj auth_settings`](#obj-auth_settings) * [`fn new()`](#fn-auth_settingsnew) @@ -158,6 +160,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object. - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object. - `enabled` (`bool`): Is the Linux Function App enabled. When `null`, the `enabled` field will be omitted from the resulting object. + - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `functions_extension_version` (`string`): The runtime version associated with the Function App. When `null`, the `functions_extension_version` field will be omitted from the resulting object. - `https_only` (`bool`): Can the Function App only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object. - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object. @@ -172,6 +175,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `storage_uses_managed_identity` (`bool`): Should the Function App use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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. - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object. + - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Linux Function App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object. - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_function_app.auth_settings.new](#fn-auth_settingsnew) constructor. - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_function_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor. @@ -213,6 +217,7 @@ injecting into a complete block. - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object. - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object. - `enabled` (`bool`): Is the Linux Function App enabled. When `null`, the `enabled` field will be omitted from the resulting object. + - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `functions_extension_version` (`string`): The runtime version associated with the Function App. When `null`, the `functions_extension_version` field will be omitted from the resulting object. - `https_only` (`bool`): Can the Function App only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object. - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object. @@ -227,6 +232,7 @@ injecting into a complete block. - `storage_uses_managed_identity` (`bool`): Should the Function App use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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. - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object. + - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Linux Function App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object. - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_function_app.auth_settings.new](#fn-auth_settingsnew) constructor. - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_function_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor. @@ -518,6 +524,22 @@ Terraform resource block to set or update the enabled field. - `value` (`bool`): The value to set for the `enabled` field. +### fn withFtpPublishBasicAuthenticationEnabled + +```ts +withFtpPublishBasicAuthenticationEnabled() +``` + +`azurerm.bool.withFtpPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the ftp_publish_basic_authentication_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `ftp_publish_basic_authentication_enabled` field. + + ### fn withFunctionsExtensionVersion ```ts @@ -926,6 +948,22 @@ Terraform resource block to set or update the virtual_network_subnet_id field. - `value` (`string`): The value to set for the `virtual_network_subnet_id` field. +### fn withWebdeployPublishBasicAuthenticationEnabled + +```ts +withWebdeployPublishBasicAuthenticationEnabled() +``` + +`azurerm.bool.withWebdeployPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the webdeploy_publish_basic_authentication_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `webdeploy_publish_basic_authentication_enabled` field. + + ### fn withZipDeployFile ```ts @@ -1648,7 +1686,7 @@ Terraform sub block. - `java_version` (`string`): The version of Java to use. Possible values are `8`, `11`, and `17` When `null`, the `java_version` field will be omitted from the resulting object. - `node_version` (`string`): The version of Node to use. Possible values include `12`, `14`, `16` and `18` When `null`, the `node_version` field will be omitted from the resulting object. - `powershell_core_version` (`string`): The version of PowerShell Core to use. Possibles values are `7`, and `7.2` When `null`, the `powershell_core_version` field will be omitted from the resulting object. - - `python_version` (`string`): The version of Python to use. Possible values include `3.11`, `3.10`, `3.9`, `3.8`, and `3.7`. When `null`, the `python_version` field will be omitted from the resulting object. + - `python_version` (`string`): The version of Python to use. Possible values include `3.12`, `3.11`, `3.10`, `3.9`, `3.8`, and `3.7`. When `null`, the `python_version` field will be omitted from the resulting object. - `use_custom_runtime` (`bool`): Set the `use_custom_runtime` field on the resulting object. When `null`, the `use_custom_runtime` field will be omitted from the resulting object. - `use_dotnet_isolated_runtime` (`bool`): Should the DotNet process use an isolated runtime. Defaults to `false`. When `null`, the `use_dotnet_isolated_runtime` field will be omitted from the resulting object. - `docker` (`list[obj]`): A docker block When `null`, the `docker` 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_function_app.site_config.application_stack.docker.new](#fn-site_configsite_configdockernew) constructor. diff --git a/docs/3.x/linux_function_app_slot.md b/docs/3.x/linux_function_app_slot.md index 3e42b90e..40ae1d69 100644 --- a/docs/3.x/linux_function_app_slot.md +++ b/docs/3.x/linux_function_app_slot.md @@ -31,6 +31,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withContentShareForceDisabled()`](#fn-withcontentshareforcedisabled) * [`fn withDailyMemoryTimeQuota()`](#fn-withdailymemorytimequota) * [`fn withEnabled()`](#fn-withenabled) +* [`fn withFtpPublishBasicAuthenticationEnabled()`](#fn-withftppublishbasicauthenticationenabled) * [`fn withFunctionAppId()`](#fn-withfunctionappid) * [`fn withFunctionsExtensionVersion()`](#fn-withfunctionsextensionversion) * [`fn withHttpsOnly()`](#fn-withhttpsonly) @@ -52,6 +53,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`fn withVirtualNetworkSubnetId()`](#fn-withvirtualnetworksubnetid) +* [`fn withWebdeployPublishBasicAuthenticationEnabled()`](#fn-withwebdeploypublishbasicauthenticationenabled) * [`obj auth_settings`](#obj-auth_settings) * [`fn new()`](#fn-auth_settingsnew) * [`obj auth_settings.active_directory`](#obj-auth_settingsactive_directory) @@ -152,6 +154,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object. - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object. - `enabled` (`bool`): Is the Linux Function App Slot enabled. When `null`, the `enabled` field will be omitted from the resulting object. + - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `function_app_id` (`string`): The ID of the Linux Function App this Slot is a member of. - `functions_extension_version` (`string`): The runtime version associated with the Function App Slot. When `null`, the `functions_extension_version` field will be omitted from the resulting object. - `https_only` (`bool`): Can the Function App Slot only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object. @@ -165,6 +168,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `storage_uses_managed_identity` (`bool`): Should the Function App Slot use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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. - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object. + - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_function_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor. - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_function_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor. - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` 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_function_app_slot.backup.new](#fn-backupnew) constructor. @@ -204,6 +208,7 @@ injecting into a complete block. - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object. - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object. - `enabled` (`bool`): Is the Linux Function App Slot enabled. When `null`, the `enabled` field will be omitted from the resulting object. + - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `function_app_id` (`string`): The ID of the Linux Function App this Slot is a member of. - `functions_extension_version` (`string`): The runtime version associated with the Function App Slot. When `null`, the `functions_extension_version` field will be omitted from the resulting object. - `https_only` (`bool`): Can the Function App Slot only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object. @@ -217,6 +222,7 @@ injecting into a complete block. - `storage_uses_managed_identity` (`bool`): Should the Function App Slot use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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. - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object. + - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_function_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor. - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_function_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor. - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` 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_function_app_slot.backup.new](#fn-backupnew) constructor. @@ -506,6 +512,22 @@ Terraform resource block to set or update the enabled field. - `value` (`bool`): The value to set for the `enabled` field. +### fn withFtpPublishBasicAuthenticationEnabled + +```ts +withFtpPublishBasicAuthenticationEnabled() +``` + +`azurerm.bool.withFtpPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the ftp_publish_basic_authentication_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `ftp_publish_basic_authentication_enabled` field. + + ### fn withFunctionAppId ```ts @@ -861,6 +883,22 @@ Terraform resource block to set or update the virtual_network_subnet_id field. - `value` (`string`): The value to set for the `virtual_network_subnet_id` field. +### fn withWebdeployPublishBasicAuthenticationEnabled + +```ts +withWebdeployPublishBasicAuthenticationEnabled() +``` + +`azurerm.bool.withWebdeployPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the webdeploy_publish_basic_authentication_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `webdeploy_publish_basic_authentication_enabled` field. + + ## obj auth_settings @@ -1568,7 +1606,7 @@ Terraform sub block. - `java_version` (`string`): The version of Java to use. Possible values are `8`, `11`, and `17` When `null`, the `java_version` field will be omitted from the resulting object. - `node_version` (`string`): The version of Node to use. Possible values include `12`, `14`, `16` and `18` When `null`, the `node_version` field will be omitted from the resulting object. - `powershell_core_version` (`string`): The version of PowerShell Core to use. Possibles values are `7`, and `7.2` When `null`, the `powershell_core_version` field will be omitted from the resulting object. - - `python_version` (`string`): The version of Python to use. Possible values include `3.11`, `3.10`, `3.9`, `3.8`, and `3.7`. When `null`, the `python_version` field will be omitted from the resulting object. + - `python_version` (`string`): The version of Python to use. Possible values include `3.12`, `3.11`, `3.10`, `3.9`, `3.8`, and `3.7`. When `null`, the `python_version` field will be omitted from the resulting object. - `use_custom_runtime` (`bool`): Set the `use_custom_runtime` field on the resulting object. When `null`, the `use_custom_runtime` field will be omitted from the resulting object. - `use_dotnet_isolated_runtime` (`bool`): Should the DotNet process use an isolated runtime. Defaults to `false`. When `null`, the `use_dotnet_isolated_runtime` field will be omitted from the resulting object. - `docker` (`list[obj]`): A docker block When `null`, the `docker` 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_function_app_slot.site_config.application_stack.docker.new](#fn-site_configsite_configdockernew) constructor. diff --git a/docs/3.x/linux_web_app.md b/docs/3.x/linux_web_app.md index cbbbf4c6..460573b5 100644 --- a/docs/3.x/linux_web_app.md +++ b/docs/3.x/linux_web_app.md @@ -29,6 +29,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withConnectionString()`](#fn-withconnectionstring) * [`fn withConnectionStringMixin()`](#fn-withconnectionstringmixin) * [`fn withEnabled()`](#fn-withenabled) +* [`fn withFtpPublishBasicAuthenticationEnabled()`](#fn-withftppublishbasicauthenticationenabled) * [`fn withHttpsOnly()`](#fn-withhttpsonly) * [`fn withIdentity()`](#fn-withidentity) * [`fn withIdentityMixin()`](#fn-withidentitymixin) @@ -50,6 +51,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`fn withVirtualNetworkSubnetId()`](#fn-withvirtualnetworksubnetid) +* [`fn withWebdeployPublishBasicAuthenticationEnabled()`](#fn-withwebdeploypublishbasicauthenticationenabled) * [`fn withZipDeployFile()`](#fn-withzipdeployfile) * [`obj auth_settings`](#obj-auth_settings) * [`fn new()`](#fn-auth_settingsnew) @@ -171,6 +173,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object. - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting resource block. When `null`, the `client_certificate_mode` field will be omitted from the resulting object. - `enabled` (`bool`): Set the `enabled` field on the resulting resource block. When `null`, the `enabled` field will be omitted from the resulting object. + - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `https_only` (`bool`): Set the `https_only` field on the resulting resource block. When `null`, the `https_only` field will be omitted from the resulting object. - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting resource block. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object. - `location` (`string`): Set the `location` field on the resulting resource block. @@ -180,6 +183,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `service_plan_id` (`string`): Set the `service_plan_id` 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. - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object. + - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Linux Web App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object. - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_web_app.auth_settings.new](#fn-auth_settingsnew) constructor. - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_web_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor. @@ -220,6 +224,7 @@ injecting into a complete block. - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object. - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting object. When `null`, the `client_certificate_mode` field will be omitted from the resulting object. - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object. + - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `https_only` (`bool`): Set the `https_only` field on the resulting object. When `null`, the `https_only` field will be omitted from the resulting object. - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting object. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object. - `location` (`string`): Set the `location` field on the resulting object. @@ -229,6 +234,7 @@ injecting into a complete block. - `service_plan_id` (`string`): Set the `service_plan_id` 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. - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object. + - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Linux Web App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object. - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_web_app.auth_settings.new](#fn-auth_settingsnew) constructor. - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_web_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor. @@ -489,6 +495,22 @@ Terraform resource block to set or update the enabled field. - `value` (`bool`): The value to set for the `enabled` field. +### fn withFtpPublishBasicAuthenticationEnabled + +```ts +withFtpPublishBasicAuthenticationEnabled() +``` + +`azurerm.bool.withFtpPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the ftp_publish_basic_authentication_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `ftp_publish_basic_authentication_enabled` field. + + ### fn withHttpsOnly ```ts @@ -854,6 +876,22 @@ Terraform resource block to set or update the virtual_network_subnet_id field. - `value` (`string`): The value to set for the `virtual_network_subnet_id` field. +### fn withWebdeployPublishBasicAuthenticationEnabled + +```ts +withWebdeployPublishBasicAuthenticationEnabled() +``` + +`azurerm.bool.withWebdeployPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the webdeploy_publish_basic_authentication_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `webdeploy_publish_basic_authentication_enabled` field. + + ### fn withZipDeployFile ```ts diff --git a/docs/3.x/linux_web_app_slot.md b/docs/3.x/linux_web_app_slot.md index 6ccba13f..9b1bb473 100644 --- a/docs/3.x/linux_web_app_slot.md +++ b/docs/3.x/linux_web_app_slot.md @@ -30,6 +30,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withConnectionString()`](#fn-withconnectionstring) * [`fn withConnectionStringMixin()`](#fn-withconnectionstringmixin) * [`fn withEnabled()`](#fn-withenabled) +* [`fn withFtpPublishBasicAuthenticationEnabled()`](#fn-withftppublishbasicauthenticationenabled) * [`fn withHttpsOnly()`](#fn-withhttpsonly) * [`fn withIdentity()`](#fn-withidentity) * [`fn withIdentityMixin()`](#fn-withidentitymixin) @@ -47,6 +48,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`fn withVirtualNetworkSubnetId()`](#fn-withvirtualnetworksubnetid) +* [`fn withWebdeployPublishBasicAuthenticationEnabled()`](#fn-withwebdeploypublishbasicauthenticationenabled) * [`fn withZipDeployFile()`](#fn-withzipdeployfile) * [`obj auth_settings`](#obj-auth_settings) * [`fn new()`](#fn-auth_settingsnew) @@ -167,6 +169,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object. - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting resource block. When `null`, the `client_certificate_mode` field will be omitted from the resulting object. - `enabled` (`bool`): Set the `enabled` field on the resulting resource block. When `null`, the `enabled` field will be omitted from the resulting object. + - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `https_only` (`bool`): Set the `https_only` field on the resulting resource block. When `null`, the `https_only` field will be omitted from the resulting object. - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting resource block. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting resource block. @@ -174,6 +177,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting resource block. When `null`, the `service_plan_id` 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. - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object. + - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object. - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_web_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor. - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_web_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor. @@ -214,6 +218,7 @@ injecting into a complete block. - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object. - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting object. When `null`, the `client_certificate_mode` field will be omitted from the resulting object. - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object. + - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `https_only` (`bool`): Set the `https_only` field on the resulting object. When `null`, the `https_only` field will be omitted from the resulting object. - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting object. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting object. @@ -221,6 +226,7 @@ injecting into a complete block. - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting object. When `null`, the `service_plan_id` 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. - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object. + - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object. - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_web_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor. - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_web_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor. @@ -496,6 +502,22 @@ Terraform resource block to set or update the enabled field. - `value` (`bool`): The value to set for the `enabled` field. +### fn withFtpPublishBasicAuthenticationEnabled + +```ts +withFtpPublishBasicAuthenticationEnabled() +``` + +`azurerm.bool.withFtpPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the ftp_publish_basic_authentication_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `ftp_publish_basic_authentication_enabled` field. + + ### fn withHttpsOnly ```ts @@ -792,6 +814,22 @@ Terraform resource block to set or update the virtual_network_subnet_id field. - `value` (`string`): The value to set for the `virtual_network_subnet_id` field. +### fn withWebdeployPublishBasicAuthenticationEnabled + +```ts +withWebdeployPublishBasicAuthenticationEnabled() +``` + +`azurerm.bool.withWebdeployPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the webdeploy_publish_basic_authentication_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `webdeploy_publish_basic_authentication_enabled` field. + + ### fn withZipDeployFile ```ts diff --git a/docs/3.x/log_analytics_saved_search.md b/docs/3.x/log_analytics_saved_search.md index fb4f5280..dc0f803f 100644 --- a/docs/3.x/log_analytics_saved_search.md +++ b/docs/3.x/log_analytics_saved_search.md @@ -287,7 +287,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/log_analytics_workspace.md b/docs/3.x/log_analytics_workspace.md index 08acaddf..942af75d 100644 --- a/docs/3.x/log_analytics_workspace.md +++ b/docs/3.x/log_analytics_workspace.md @@ -19,6 +19,9 @@ This package contains functions and utilities for setting up the resource using * [`fn withCmkForQueryForced()`](#fn-withcmkforqueryforced) * [`fn withDailyQuotaGb()`](#fn-withdailyquotagb) * [`fn withDataCollectionRuleId()`](#fn-withdatacollectionruleid) +* [`fn withIdentity()`](#fn-withidentity) +* [`fn withIdentityMixin()`](#fn-withidentitymixin) +* [`fn withImmediateDataPurgeOn30DaysEnabled()`](#fn-withimmediatedatapurgeon30daysenabled) * [`fn withInternetIngestionEnabled()`](#fn-withinternetingestionenabled) * [`fn withInternetQueryEnabled()`](#fn-withinternetqueryenabled) * [`fn withLocalAuthenticationDisabled()`](#fn-withlocalauthenticationdisabled) @@ -31,6 +34,8 @@ This package contains functions and utilities for setting up the resource using * [`fn withTags()`](#fn-withtags) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj identity`](#obj-identity) + * [`fn new()`](#fn-identitynew) * [`obj timeouts`](#obj-timeouts) * [`fn new()`](#fn-timeoutsnew) @@ -67,6 +72,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `cmk_for_query_forced` (`bool`): Set the `cmk_for_query_forced` field on the resulting resource block. When `null`, the `cmk_for_query_forced` field will be omitted from the resulting object. - `daily_quota_gb` (`number`): Set the `daily_quota_gb` field on the resulting resource block. When `null`, the `daily_quota_gb` field will be omitted from the resulting object. - `data_collection_rule_id` (`string`): Set the `data_collection_rule_id` field on the resulting resource block. When `null`, the `data_collection_rule_id` field will be omitted from the resulting object. + - `immediate_data_purge_on_30_days_enabled` (`bool`): Set the `immediate_data_purge_on_30_days_enabled` field on the resulting resource block. When `null`, the `immediate_data_purge_on_30_days_enabled` field will be omitted from the resulting object. - `internet_ingestion_enabled` (`bool`): Set the `internet_ingestion_enabled` field on the resulting resource block. When `null`, the `internet_ingestion_enabled` field will be omitted from the resulting object. - `internet_query_enabled` (`bool`): Set the `internet_query_enabled` field on the resulting resource block. When `null`, the `internet_query_enabled` field will be omitted from the resulting object. - `local_authentication_disabled` (`bool`): Set the `local_authentication_disabled` field on the resulting resource block. When `null`, the `local_authentication_disabled` field will be omitted from the resulting object. @@ -77,6 +83,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `retention_in_days` (`number`): Set the `retention_in_days` field on the resulting resource block. When `null`, the `retention_in_days` field will be omitted from the resulting object. - `sku` (`string`): Set the `sku` field on the resulting resource block. When `null`, the `sku` 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. + - `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.log_analytics_workspace.identity.new](#fn-identitynew) 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.log_analytics_workspace.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: @@ -105,6 +112,7 @@ injecting into a complete block. - `cmk_for_query_forced` (`bool`): Set the `cmk_for_query_forced` field on the resulting object. When `null`, the `cmk_for_query_forced` field will be omitted from the resulting object. - `daily_quota_gb` (`number`): Set the `daily_quota_gb` field on the resulting object. When `null`, the `daily_quota_gb` field will be omitted from the resulting object. - `data_collection_rule_id` (`string`): Set the `data_collection_rule_id` field on the resulting object. When `null`, the `data_collection_rule_id` field will be omitted from the resulting object. + - `immediate_data_purge_on_30_days_enabled` (`bool`): Set the `immediate_data_purge_on_30_days_enabled` field on the resulting object. When `null`, the `immediate_data_purge_on_30_days_enabled` field will be omitted from the resulting object. - `internet_ingestion_enabled` (`bool`): Set the `internet_ingestion_enabled` field on the resulting object. When `null`, the `internet_ingestion_enabled` field will be omitted from the resulting object. - `internet_query_enabled` (`bool`): Set the `internet_query_enabled` field on the resulting object. When `null`, the `internet_query_enabled` field will be omitted from the resulting object. - `local_authentication_disabled` (`bool`): Set the `local_authentication_disabled` field on the resulting object. When `null`, the `local_authentication_disabled` field will be omitted from the resulting object. @@ -115,6 +123,7 @@ injecting into a complete block. - `retention_in_days` (`number`): Set the `retention_in_days` field on the resulting object. When `null`, the `retention_in_days` field will be omitted from the resulting object. - `sku` (`string`): Set the `sku` field on the resulting object. When `null`, the `sku` 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. + - `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.log_analytics_workspace.identity.new](#fn-identitynew) 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.log_analytics_workspace.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: @@ -185,6 +194,59 @@ Terraform resource block to set or update the data_collection_rule_id field. - `value` (`string`): The value to set for the `data_collection_rule_id` field. +### fn withIdentity + +```ts +withIdentity() +``` + +`azurerm.list[obj].withIdentity` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the identity 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].withIdentityMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `identity` field. + + +### fn withIdentityMixin + +```ts +withIdentityMixin() +``` + +`azurerm.list[obj].withIdentityMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the identity 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].withIdentity](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `identity` field. + + +### fn withImmediateDataPurgeOn30DaysEnabled + +```ts +withImmediateDataPurgeOn30DaysEnabled() +``` + +`azurerm.bool.withImmediateDataPurgeOn30DaysEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the immediate_data_purge_on_30_days_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `immediate_data_purge_on_30_days_enabled` field. + + ### fn withInternetIngestionEnabled ```ts @@ -381,6 +443,30 @@ function. - `value` (`obj`): The value to set for the `timeouts` field. +## obj identity + + + +### fn identity.new + +```ts +new() +``` + + +`azurerm.log_analytics_workspace.identity.new` constructs a new object with attributes and blocks configured for the `identity` +Terraform sub block. + + + +**Args**: + - `identity_ids` (`list`): Set the `identity_ids` field on the resulting object. When `null`, the `identity_ids` field will be omitted from the resulting object. + - `type` (`string`): Set the `type` field on the resulting object. + +**Returns**: + - An attribute object that represents the `identity` sub block. + + ## obj timeouts diff --git a/docs/3.x/log_analytics_workspace_table.md b/docs/3.x/log_analytics_workspace_table.md new file mode 100644 index 00000000..044e5f6f --- /dev/null +++ b/docs/3.x/log_analytics_workspace_table.md @@ -0,0 +1,217 @@ +--- +permalink: /log_analytics_workspace_table/ +--- + +# log_analytics_workspace_table + +`log_analytics_workspace_table` represents the `azurerm_log_analytics_workspace_table` 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 withName()`](#fn-withname) +* [`fn withPlan()`](#fn-withplan) +* [`fn withRetentionInDays()`](#fn-withretentionindays) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`fn withWorkspaceId()`](#fn-withworkspaceid) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.log_analytics_workspace_table.new` injects a new `azurerm_log_analytics_workspace_table` 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.log_analytics_workspace_table.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.log_analytics_workspace_table` using the reference: + + $._ref.azurerm_log_analytics_workspace_table.some_id.get('id') + +This is the same as directly entering `"${ azurerm_log_analytics_workspace_table.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. + - `name` (`string`): Set the `name` field on the resulting resource block. + - `plan` (`string`): Set the `plan` field on the resulting resource block. When `null`, the `plan` field will be omitted from the resulting object. + - `retention_in_days` (`number`): Set the `retention_in_days` field on the resulting resource block. When `null`, the `retention_in_days` field will be omitted from the resulting object. + - `workspace_id` (`string`): Set the `workspace_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.log_analytics_workspace_table.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.log_analytics_workspace_table.newAttrs` constructs a new object with attributes and blocks configured for the `log_analytics_workspace_table` +Terraform resource. + +Unlike [azurerm.log_analytics_workspace_table.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**: + - `name` (`string`): Set the `name` field on the resulting object. + - `plan` (`string`): Set the `plan` field on the resulting object. When `null`, the `plan` field will be omitted from the resulting object. + - `retention_in_days` (`number`): Set the `retention_in_days` field on the resulting object. When `null`, the `retention_in_days` field will be omitted from the resulting object. + - `workspace_id` (`string`): Set the `workspace_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.log_analytics_workspace_table.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 `log_analytics_workspace_table` resource into the root Terraform configuration. + + +### 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 withPlan + +```ts +withPlan() +``` + +`azurerm.string.withPlan` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the plan field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `plan` field. + + +### fn withRetentionInDays + +```ts +withRetentionInDays() +``` + +`azurerm.number.withRetentionInDays` constructs a mixin object that can be merged into the `number` +Terraform resource block to set or update the retention_in_days field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`number`): The value to set for the `retention_in_days` 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 withWorkspaceId + +```ts +withWorkspaceId() +``` + +`azurerm.string.withWorkspaceId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the workspace_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `workspace_id` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.log_analytics_workspace_table.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/logic_app_standard.md b/docs/3.x/logic_app_standard.md index 920ff993..80f3e385 100644 --- a/docs/3.x/logic_app_standard.md +++ b/docs/3.x/logic_app_standard.md @@ -646,6 +646,7 @@ Terraform sub block. - `linux_fx_version` (`string`): Set the `linux_fx_version` field on the resulting object. When `null`, the `linux_fx_version` field will be omitted from the resulting object. - `min_tls_version` (`string`): Set the `min_tls_version` field on the resulting object. When `null`, the `min_tls_version` field will be omitted from the resulting object. - `pre_warmed_instance_count` (`number`): Set the `pre_warmed_instance_count` field on the resulting object. When `null`, the `pre_warmed_instance_count` field will be omitted from 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. - `runtime_scale_monitoring_enabled` (`bool`): Set the `runtime_scale_monitoring_enabled` field on the resulting object. When `null`, the `runtime_scale_monitoring_enabled` field will be omitted from the resulting object. - `scm_ip_restriction` (`list`): Set the `scm_ip_restriction` field on the resulting object. When `null`, the `scm_ip_restriction` field will be omitted from the resulting object. - `scm_min_tls_version` (`string`): Set the `scm_min_tls_version` field on the resulting object. When `null`, the `scm_min_tls_version` field will be omitted from the resulting object. diff --git a/docs/3.x/machine_learning_inference_cluster.md b/docs/3.x/machine_learning_inference_cluster.md index cd387ed9..e9a793e1 100644 --- a/docs/3.x/machine_learning_inference_cluster.md +++ b/docs/3.x/machine_learning_inference_cluster.md @@ -405,7 +405,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/mariadb_configuration.md b/docs/3.x/mariadb_configuration.md index 2d4eaf5e..01b844be 100644 --- a/docs/3.x/mariadb_configuration.md +++ b/docs/3.x/mariadb_configuration.md @@ -211,7 +211,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/mariadb_database.md b/docs/3.x/mariadb_database.md index 4b70063f..d4e7d2c0 100644 --- a/docs/3.x/mariadb_database.md +++ b/docs/3.x/mariadb_database.md @@ -230,7 +230,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/marketplace_agreement.md b/docs/3.x/marketplace_agreement.md index b22cbb63..8d54cd42 100644 --- a/docs/3.x/marketplace_agreement.md +++ b/docs/3.x/marketplace_agreement.md @@ -192,7 +192,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/media_live_event_output.md b/docs/3.x/media_live_event_output.md index 4a6429c5..00382297 100644 --- a/docs/3.x/media_live_event_output.md +++ b/docs/3.x/media_live_event_output.md @@ -306,7 +306,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/monitor_private_link_scoped_service.md b/docs/3.x/monitor_private_link_scoped_service.md index bc89c8b5..83738ba6 100644 --- a/docs/3.x/monitor_private_link_scoped_service.md +++ b/docs/3.x/monitor_private_link_scoped_service.md @@ -211,7 +211,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/mssql_database.md b/docs/3.x/mssql_database.md index dc19d213..a41e057a 100644 --- a/docs/3.x/mssql_database.md +++ b/docs/3.x/mssql_database.md @@ -20,7 +20,10 @@ This package contains functions and utilities for setting up the resource using * [`fn withCreateMode()`](#fn-withcreatemode) * [`fn withCreationSourceDatabaseId()`](#fn-withcreationsourcedatabaseid) * [`fn withElasticPoolId()`](#fn-withelasticpoolid) +* [`fn withEnclaveType()`](#fn-withenclavetype) * [`fn withGeoBackupEnabled()`](#fn-withgeobackupenabled) +* [`fn withIdentity()`](#fn-withidentity) +* [`fn withIdentityMixin()`](#fn-withidentitymixin) * [`fn withImport()`](#fn-withimport) * [`fn withImportMixin()`](#fn-withimportmixin) * [`fn withLedgerEnabled()`](#fn-withledgerenabled) @@ -48,7 +51,11 @@ This package contains functions and utilities for setting up the resource using * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`fn withTransparentDataEncryptionEnabled()`](#fn-withtransparentdataencryptionenabled) +* [`fn withTransparentDataEncryptionKeyAutomaticRotationEnabled()`](#fn-withtransparentdataencryptionkeyautomaticrotationenabled) +* [`fn withTransparentDataEncryptionKeyVaultKeyId()`](#fn-withtransparentdataencryptionkeyvaultkeyid) * [`fn withZoneRedundant()`](#fn-withzoneredundant) +* [`obj identity`](#obj-identity) + * [`fn new()`](#fn-identitynew) * [`obj import`](#obj-import) * [`fn new()`](#fn-importnew) * [`obj long_term_retention_policy`](#obj-long_term_retention_policy) @@ -94,6 +101,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `create_mode` (`string`): Set the `create_mode` field on the resulting resource block. When `null`, the `create_mode` field will be omitted from the resulting object. - `creation_source_database_id` (`string`): Set the `creation_source_database_id` field on the resulting resource block. When `null`, the `creation_source_database_id` field will be omitted from the resulting object. - `elastic_pool_id` (`string`): Set the `elastic_pool_id` field on the resulting resource block. When `null`, the `elastic_pool_id` field will be omitted from the resulting object. + - `enclave_type` (`string`): Set the `enclave_type` field on the resulting resource block. When `null`, the `enclave_type` field will be omitted from the resulting object. - `geo_backup_enabled` (`bool`): Set the `geo_backup_enabled` field on the resulting resource block. When `null`, the `geo_backup_enabled` field will be omitted from the resulting object. - `ledger_enabled` (`bool`): Set the `ledger_enabled` field on the resulting resource block. When `null`, the `ledger_enabled` field will be omitted from the resulting object. - `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. @@ -112,7 +120,10 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `storage_account_type` (`string`): Set the `storage_account_type` field on the resulting resource block. When `null`, the `storage_account_type` 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. - `transparent_data_encryption_enabled` (`bool`): Set the `transparent_data_encryption_enabled` field on the resulting resource block. When `null`, the `transparent_data_encryption_enabled` field will be omitted from the resulting object. + - `transparent_data_encryption_key_automatic_rotation_enabled` (`bool`): Set the `transparent_data_encryption_key_automatic_rotation_enabled` field on the resulting resource block. When `null`, the `transparent_data_encryption_key_automatic_rotation_enabled` field will be omitted from the resulting object. + - `transparent_data_encryption_key_vault_key_id` (`string`): Set the `transparent_data_encryption_key_vault_key_id` field on the resulting resource block. When `null`, the `transparent_data_encryption_key_vault_key_id` field will be omitted from the resulting object. - `zone_redundant` (`bool`): Set the `zone_redundant` field on the resulting resource block. When `null`, the `zone_redundant` field will be omitted from the resulting object. + - `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.mssql_database.identity.new](#fn-identitynew) constructor. - `import_` (`list[obj]`): Set the `import_` field on the resulting resource block. When `null`, the `import_` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.import_.new](#fn-import_new) constructor. - `long_term_retention_policy` (`list[obj]`): Set the `long_term_retention_policy` field on the resulting resource block. When `null`, the `long_term_retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.long_term_retention_policy.new](#fn-long_term_retention_policynew) constructor. - `short_term_retention_policy` (`list[obj]`): Set the `short_term_retention_policy` field on the resulting resource block. When `null`, the `short_term_retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.short_term_retention_policy.new](#fn-short_term_retention_policynew) constructor. @@ -146,6 +157,7 @@ injecting into a complete block. - `create_mode` (`string`): Set the `create_mode` field on the resulting object. When `null`, the `create_mode` field will be omitted from the resulting object. - `creation_source_database_id` (`string`): Set the `creation_source_database_id` field on the resulting object. When `null`, the `creation_source_database_id` field will be omitted from the resulting object. - `elastic_pool_id` (`string`): Set the `elastic_pool_id` field on the resulting object. When `null`, the `elastic_pool_id` field will be omitted from the resulting object. + - `enclave_type` (`string`): Set the `enclave_type` field on the resulting object. When `null`, the `enclave_type` field will be omitted from the resulting object. - `geo_backup_enabled` (`bool`): Set the `geo_backup_enabled` field on the resulting object. When `null`, the `geo_backup_enabled` field will be omitted from the resulting object. - `ledger_enabled` (`bool`): Set the `ledger_enabled` field on the resulting object. When `null`, the `ledger_enabled` field will be omitted from the resulting object. - `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. @@ -164,7 +176,10 @@ injecting into a complete block. - `storage_account_type` (`string`): Set the `storage_account_type` field on the resulting object. When `null`, the `storage_account_type` 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. - `transparent_data_encryption_enabled` (`bool`): Set the `transparent_data_encryption_enabled` field on the resulting object. When `null`, the `transparent_data_encryption_enabled` field will be omitted from the resulting object. + - `transparent_data_encryption_key_automatic_rotation_enabled` (`bool`): Set the `transparent_data_encryption_key_automatic_rotation_enabled` field on the resulting object. When `null`, the `transparent_data_encryption_key_automatic_rotation_enabled` field will be omitted from the resulting object. + - `transparent_data_encryption_key_vault_key_id` (`string`): Set the `transparent_data_encryption_key_vault_key_id` field on the resulting object. When `null`, the `transparent_data_encryption_key_vault_key_id` field will be omitted from the resulting object. - `zone_redundant` (`bool`): Set the `zone_redundant` field on the resulting object. When `null`, the `zone_redundant` field will be omitted from the resulting object. + - `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.mssql_database.identity.new](#fn-identitynew) constructor. - `import_` (`list[obj]`): Set the `import_` field on the resulting object. When `null`, the `import_` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.import_.new](#fn-import_new) constructor. - `long_term_retention_policy` (`list[obj]`): Set the `long_term_retention_policy` field on the resulting object. When `null`, the `long_term_retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.long_term_retention_policy.new](#fn-long_term_retention_policynew) constructor. - `short_term_retention_policy` (`list[obj]`): Set the `short_term_retention_policy` field on the resulting object. When `null`, the `short_term_retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_database.short_term_retention_policy.new](#fn-short_term_retention_policynew) constructor. @@ -255,6 +270,22 @@ Terraform resource block to set or update the elastic_pool_id field. - `value` (`string`): The value to set for the `elastic_pool_id` field. +### fn withEnclaveType + +```ts +withEnclaveType() +``` + +`azurerm.string.withEnclaveType` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the enclave_type field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `enclave_type` field. + + ### fn withGeoBackupEnabled ```ts @@ -271,6 +302,43 @@ Terraform resource block to set or update the geo_backup_enabled field. - `value` (`bool`): The value to set for the `geo_backup_enabled` field. +### fn withIdentity + +```ts +withIdentity() +``` + +`azurerm.list[obj].withIdentity` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the identity 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].withIdentityMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `identity` field. + + +### fn withIdentityMixin + +```ts +withIdentityMixin() +``` + +`azurerm.list[obj].withIdentityMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the identity 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].withIdentity](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `identity` field. + + ### fn withImport ```ts @@ -727,6 +795,38 @@ Terraform resource block to set or update the transparent_data_encryption_enable - `value` (`bool`): The value to set for the `transparent_data_encryption_enabled` field. +### fn withTransparentDataEncryptionKeyAutomaticRotationEnabled + +```ts +withTransparentDataEncryptionKeyAutomaticRotationEnabled() +``` + +`azurerm.bool.withTransparentDataEncryptionKeyAutomaticRotationEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the transparent_data_encryption_key_automatic_rotation_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `transparent_data_encryption_key_automatic_rotation_enabled` field. + + +### fn withTransparentDataEncryptionKeyVaultKeyId + +```ts +withTransparentDataEncryptionKeyVaultKeyId() +``` + +`azurerm.string.withTransparentDataEncryptionKeyVaultKeyId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the transparent_data_encryption_key_vault_key_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `transparent_data_encryption_key_vault_key_id` field. + + ### fn withZoneRedundant ```ts @@ -743,6 +843,30 @@ Terraform resource block to set or update the zone_redundant field. - `value` (`bool`): The value to set for the `zone_redundant` field. +## obj identity + + + +### fn identity.new + +```ts +new() +``` + + +`azurerm.mssql_database.identity.new` constructs a new object with attributes and blocks configured for the `identity` +Terraform sub block. + + + +**Args**: + - `identity_ids` (`list`): Set the `identity_ids` field on the resulting object. + - `type` (`string`): Set the `type` field on the resulting object. + +**Returns**: + - An attribute object that represents the `identity` sub block. + + ## obj import @@ -789,6 +913,7 @@ Terraform sub block. **Args**: + - `immutable_backups_enabled` (`bool`): Set the `immutable_backups_enabled` field on the resulting object. When `null`, the `immutable_backups_enabled` field will be omitted from the resulting object. - `monthly_retention` (`string`): Set the `monthly_retention` field on the resulting object. When `null`, the `monthly_retention` field will be omitted from the resulting object. - `week_of_year` (`number`): Set the `week_of_year` field on the resulting object. When `null`, the `week_of_year` field will be omitted from the resulting object. - `weekly_retention` (`string`): Set the `weekly_retention` field on the resulting object. When `null`, the `weekly_retention` field will be omitted from the resulting object. diff --git a/docs/3.x/mssql_elasticpool.md b/docs/3.x/mssql_elasticpool.md index 4ecde194..128b3a20 100644 --- a/docs/3.x/mssql_elasticpool.md +++ b/docs/3.x/mssql_elasticpool.md @@ -15,6 +15,7 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-new) * [`fn newAttrs()`](#fn-newattrs) +* [`fn withEnclaveType()`](#fn-withenclavetype) * [`fn withLicenseType()`](#fn-withlicensetype) * [`fn withLocation()`](#fn-withlocation) * [`fn withMaintenanceConfigurationName()`](#fn-withmaintenanceconfigurationname) @@ -67,6 +68,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `resourceLabel` (`string`): The name label of the block. + - `enclave_type` (`string`): Set the `enclave_type` field on the resulting resource block. When `null`, the `enclave_type` field will be omitted from the resulting object. - `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. - `location` (`string`): Set the `location` field on the resulting resource block. - `maintenance_configuration_name` (`string`): Set the `maintenance_configuration_name` field on the resulting resource block. When `null`, the `maintenance_configuration_name` field will be omitted from the resulting object. @@ -103,6 +105,7 @@ This is most useful when you need to preprocess the attributes with functions, c injecting into a complete block. **Args**: + - `enclave_type` (`string`): Set the `enclave_type` field on the resulting object. When `null`, the `enclave_type` field will be omitted from the resulting object. - `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. - `location` (`string`): Set the `location` field on the resulting object. - `maintenance_configuration_name` (`string`): Set the `maintenance_configuration_name` field on the resulting object. When `null`, the `maintenance_configuration_name` field will be omitted from the resulting object. @@ -121,6 +124,22 @@ injecting into a complete block. - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `mssql_elasticpool` resource into the root Terraform configuration. +### fn withEnclaveType + +```ts +withEnclaveType() +``` + +`azurerm.string.withEnclaveType` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the enclave_type field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `enclave_type` field. + + ### fn withLicenseType ```ts diff --git a/docs/3.x/mssql_managed_database.md b/docs/3.x/mssql_managed_database.md index 968ef5d8..dd62ca7d 100644 --- a/docs/3.x/mssql_managed_database.md +++ b/docs/3.x/mssql_managed_database.md @@ -19,11 +19,15 @@ This package contains functions and utilities for setting up the resource using * [`fn withLongTermRetentionPolicyMixin()`](#fn-withlongtermretentionpolicymixin) * [`fn withManagedInstanceId()`](#fn-withmanagedinstanceid) * [`fn withName()`](#fn-withname) +* [`fn withPointInTimeRestore()`](#fn-withpointintimerestore) +* [`fn withPointInTimeRestoreMixin()`](#fn-withpointintimerestoremixin) * [`fn withShortTermRetentionDays()`](#fn-withshorttermretentiondays) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`obj long_term_retention_policy`](#obj-long_term_retention_policy) * [`fn new()`](#fn-long_term_retention_policynew) +* [`obj point_in_time_restore`](#obj-point_in_time_restore) + * [`fn new()`](#fn-point_in_time_restorenew) * [`obj timeouts`](#obj-timeouts) * [`fn new()`](#fn-timeoutsnew) @@ -60,6 +64,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. - `short_term_retention_days` (`number`): Set the `short_term_retention_days` field on the resulting resource block. When `null`, the `short_term_retention_days` field will be omitted from the resulting object. - `long_term_retention_policy` (`list[obj]`): Set the `long_term_retention_policy` field on the resulting resource block. When `null`, the `long_term_retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_managed_database.long_term_retention_policy.new](#fn-long_term_retention_policynew) constructor. + - `point_in_time_restore` (`list[obj]`): Set the `point_in_time_restore` field on the resulting resource block. When `null`, the `point_in_time_restore` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_managed_database.point_in_time_restore.new](#fn-point_in_time_restorenew) 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.mssql_managed_database.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: @@ -88,6 +93,7 @@ injecting into a complete block. - `name` (`string`): Set the `name` field on the resulting object. - `short_term_retention_days` (`number`): Set the `short_term_retention_days` field on the resulting object. When `null`, the `short_term_retention_days` field will be omitted from the resulting object. - `long_term_retention_policy` (`list[obj]`): Set the `long_term_retention_policy` field on the resulting object. When `null`, the `long_term_retention_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_managed_database.long_term_retention_policy.new](#fn-long_term_retention_policynew) constructor. + - `point_in_time_restore` (`list[obj]`): Set the `point_in_time_restore` field on the resulting object. When `null`, the `point_in_time_restore` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.mssql_managed_database.point_in_time_restore.new](#fn-point_in_time_restorenew) 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.mssql_managed_database.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: @@ -163,6 +169,43 @@ Terraform resource block to set or update the name field. - `value` (`string`): The value to set for the `name` field. +### fn withPointInTimeRestore + +```ts +withPointInTimeRestore() +``` + +`azurerm.list[obj].withPointInTimeRestore` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the point_in_time_restore 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].withPointInTimeRestoreMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `point_in_time_restore` field. + + +### fn withPointInTimeRestoreMixin + +```ts +withPointInTimeRestoreMixin() +``` + +`azurerm.list[obj].withPointInTimeRestoreMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the point_in_time_restore 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].withPointInTimeRestore](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `point_in_time_restore` field. + + ### fn withShortTermRetentionDays ```ts @@ -232,6 +275,7 @@ Terraform sub block. **Args**: + - `immutable_backups_enabled` (`bool`): Set the `immutable_backups_enabled` field on the resulting object. When `null`, the `immutable_backups_enabled` field will be omitted from the resulting object. - `monthly_retention` (`string`): Set the `monthly_retention` field on the resulting object. When `null`, the `monthly_retention` field will be omitted from the resulting object. - `week_of_year` (`number`): Set the `week_of_year` field on the resulting object. When `null`, the `week_of_year` field will be omitted from the resulting object. - `weekly_retention` (`string`): Set the `weekly_retention` field on the resulting object. When `null`, the `weekly_retention` field will be omitted from the resulting object. @@ -241,6 +285,30 @@ Terraform sub block. - An attribute object that represents the `long_term_retention_policy` sub block. +## obj point_in_time_restore + + + +### fn point_in_time_restore.new + +```ts +new() +``` + + +`azurerm.mssql_managed_database.point_in_time_restore.new` constructs a new object with attributes and blocks configured for the `point_in_time_restore` +Terraform sub block. + + + +**Args**: + - `restore_point_in_time` (`string`): Set the `restore_point_in_time` field on the resulting object. + - `source_database_id` (`string`): Set the `source_database_id` field on the resulting object. + +**Returns**: + - An attribute object that represents the `point_in_time_restore` sub block. + + ## obj timeouts diff --git a/docs/3.x/mssql_outbound_firewall_rule.md b/docs/3.x/mssql_outbound_firewall_rule.md index 161f28ba..9a085066 100644 --- a/docs/3.x/mssql_outbound_firewall_rule.md +++ b/docs/3.x/mssql_outbound_firewall_rule.md @@ -173,7 +173,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/mysql_configuration.md b/docs/3.x/mysql_configuration.md index daf9bd88..6e46f264 100644 --- a/docs/3.x/mysql_configuration.md +++ b/docs/3.x/mysql_configuration.md @@ -211,7 +211,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/mysql_database.md b/docs/3.x/mysql_database.md index 6e9c1834..898277c6 100644 --- a/docs/3.x/mysql_database.md +++ b/docs/3.x/mysql_database.md @@ -230,7 +230,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/mysql_flexible_database.md b/docs/3.x/mysql_flexible_database.md index 1d4b483c..77132bb9 100644 --- a/docs/3.x/mysql_flexible_database.md +++ b/docs/3.x/mysql_flexible_database.md @@ -230,7 +230,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/netapp_account.md b/docs/3.x/netapp_account.md index ae5b24be..e146f2e4 100644 --- a/docs/3.x/netapp_account.md +++ b/docs/3.x/netapp_account.md @@ -17,6 +17,8 @@ This package contains functions and utilities for setting up the resource using * [`fn newAttrs()`](#fn-newattrs) * [`fn withActiveDirectory()`](#fn-withactivedirectory) * [`fn withActiveDirectoryMixin()`](#fn-withactivedirectorymixin) +* [`fn withIdentity()`](#fn-withidentity) +* [`fn withIdentityMixin()`](#fn-withidentitymixin) * [`fn withLocation()`](#fn-withlocation) * [`fn withName()`](#fn-withname) * [`fn withResourceGroupName()`](#fn-withresourcegroupname) @@ -25,6 +27,8 @@ This package contains functions and utilities for setting up the resource using * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`obj active_directory`](#obj-active_directory) * [`fn new()`](#fn-active_directorynew) +* [`obj identity`](#obj-identity) + * [`fn new()`](#fn-identitynew) * [`obj timeouts`](#obj-timeouts) * [`fn new()`](#fn-timeoutsnew) @@ -62,6 +66,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `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. - `active_directory` (`list[obj]`): Set the `active_directory` field on the resulting resource block. When `null`, the `active_directory` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.netapp_account.active_directory.new](#fn-active_directorynew) constructor. + - `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.netapp_account.identity.new](#fn-identitynew) 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.netapp_account.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: @@ -91,6 +96,7 @@ injecting into a complete block. - `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. - `active_directory` (`list[obj]`): Set the `active_directory` field on the resulting object. When `null`, the `active_directory` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.netapp_account.active_directory.new](#fn-active_directorynew) constructor. + - `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.netapp_account.identity.new](#fn-identitynew) 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.netapp_account.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: @@ -134,6 +140,43 @@ function. - `value` (`list[obj]`): The value to set for the `active_directory` field. +### fn withIdentity + +```ts +withIdentity() +``` + +`azurerm.list[obj].withIdentity` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the identity 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].withIdentityMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `identity` field. + + +### fn withIdentityMixin + +```ts +withIdentityMixin() +``` + +`azurerm.list[obj].withIdentityMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the identity 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].withIdentity](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `identity` field. + + ### fn withLocation ```ts @@ -262,6 +305,30 @@ Terraform sub block. - An attribute object that represents the `active_directory` sub block. +## obj identity + + + +### fn identity.new + +```ts +new() +``` + + +`azurerm.netapp_account.identity.new` constructs a new object with attributes and blocks configured for the `identity` +Terraform sub block. + + + +**Args**: + - `identity_ids` (`list`): Set the `identity_ids` field on the resulting object. When `null`, the `identity_ids` field will be omitted from the resulting object. + - `type` (`string`): Set the `type` field on the resulting object. + +**Returns**: + - An attribute object that represents the `identity` sub block. + + ## obj timeouts diff --git a/docs/3.x/netapp_account_encryption.md b/docs/3.x/netapp_account_encryption.md new file mode 100644 index 00000000..3cab771f --- /dev/null +++ b/docs/3.x/netapp_account_encryption.md @@ -0,0 +1,217 @@ +--- +permalink: /netapp_account_encryption/ +--- + +# netapp_account_encryption + +`netapp_account_encryption` represents the `azurerm_netapp_account_encryption` 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 withEncryptionKey()`](#fn-withencryptionkey) +* [`fn withNetappAccountId()`](#fn-withnetappaccountid) +* [`fn withSystemAssignedIdentityPrincipalId()`](#fn-withsystemassignedidentityprincipalid) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`fn withUserAssignedIdentityId()`](#fn-withuserassignedidentityid) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.netapp_account_encryption.new` injects a new `azurerm_netapp_account_encryption` 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.netapp_account_encryption.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.netapp_account_encryption` using the reference: + + $._ref.azurerm_netapp_account_encryption.some_id.get('id') + +This is the same as directly entering `"${ azurerm_netapp_account_encryption.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. + - `encryption_key` (`string`): The versionless encryption key url. + - `netapp_account_id` (`string`): The ID of the NetApp Account where encryption will be set. + - `system_assigned_identity_principal_id` (`string`): The Principal ID of the System Assigned Identity to use for encryption. When `null`, the `system_assigned_identity_principal_id` field will be omitted from the resulting object. + - `user_assigned_identity_id` (`string`): The resource ID of the User Assigned Identity to use for encryption. When `null`, the `user_assigned_identity_id` 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.netapp_account_encryption.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.netapp_account_encryption.newAttrs` constructs a new object with attributes and blocks configured for the `netapp_account_encryption` +Terraform resource. + +Unlike [azurerm.netapp_account_encryption.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**: + - `encryption_key` (`string`): The versionless encryption key url. + - `netapp_account_id` (`string`): The ID of the NetApp Account where encryption will be set. + - `system_assigned_identity_principal_id` (`string`): The Principal ID of the System Assigned Identity to use for encryption. When `null`, the `system_assigned_identity_principal_id` field will be omitted from the resulting object. + - `user_assigned_identity_id` (`string`): The resource ID of the User Assigned Identity to use for encryption. When `null`, the `user_assigned_identity_id` 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.netapp_account_encryption.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 `netapp_account_encryption` resource into the root Terraform configuration. + + +### fn withEncryptionKey + +```ts +withEncryptionKey() +``` + +`azurerm.string.withEncryptionKey` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the encryption_key field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `encryption_key` field. + + +### fn withNetappAccountId + +```ts +withNetappAccountId() +``` + +`azurerm.string.withNetappAccountId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the netapp_account_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `netapp_account_id` field. + + +### fn withSystemAssignedIdentityPrincipalId + +```ts +withSystemAssignedIdentityPrincipalId() +``` + +`azurerm.string.withSystemAssignedIdentityPrincipalId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the system_assigned_identity_principal_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `system_assigned_identity_principal_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. + + +### fn withUserAssignedIdentityId + +```ts +withUserAssignedIdentityId() +``` + +`azurerm.string.withUserAssignedIdentityId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the user_assigned_identity_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `user_assigned_identity_id` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.netapp_account_encryption.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/netapp_snapshot.md b/docs/3.x/netapp_snapshot.md index 41481daf..7f7f028a 100644 --- a/docs/3.x/netapp_snapshot.md +++ b/docs/3.x/netapp_snapshot.md @@ -249,7 +249,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/netapp_volume.md b/docs/3.x/netapp_volume.md index c46301ad..7a13cce2 100644 --- a/docs/3.x/netapp_volume.md +++ b/docs/3.x/netapp_volume.md @@ -22,8 +22,10 @@ This package contains functions and utilities for setting up the resource using * [`fn withDataProtectionReplicationMixin()`](#fn-withdataprotectionreplicationmixin) * [`fn withDataProtectionSnapshotPolicy()`](#fn-withdataprotectionsnapshotpolicy) * [`fn withDataProtectionSnapshotPolicyMixin()`](#fn-withdataprotectionsnapshotpolicymixin) +* [`fn withEncryptionKeySource()`](#fn-withencryptionkeysource) * [`fn withExportPolicyRule()`](#fn-withexportpolicyrule) * [`fn withExportPolicyRuleMixin()`](#fn-withexportpolicyrulemixin) +* [`fn withKeyVaultPrivateEndpointId()`](#fn-withkeyvaultprivateendpointid) * [`fn withLocation()`](#fn-withlocation) * [`fn withName()`](#fn-withname) * [`fn withNetworkFeatures()`](#fn-withnetworkfeatures) @@ -82,6 +84,8 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `account_name` (`string`): Set the `account_name` field on the resulting resource block. - `azure_vmware_data_store_enabled` (`bool`): Set the `azure_vmware_data_store_enabled` field on the resulting resource block. When `null`, the `azure_vmware_data_store_enabled` field will be omitted from the resulting object. - `create_from_snapshot_resource_id` (`string`): Set the `create_from_snapshot_resource_id` field on the resulting resource block. When `null`, the `create_from_snapshot_resource_id` field will be omitted from the resulting object. + - `encryption_key_source` (`string`): Set the `encryption_key_source` field on the resulting resource block. When `null`, the `encryption_key_source` field will be omitted from the resulting object. + - `key_vault_private_endpoint_id` (`string`): Set the `key_vault_private_endpoint_id` field on the resulting resource block. When `null`, the `key_vault_private_endpoint_id` 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. - `network_features` (`string`): Set the `network_features` field on the resulting resource block. When `null`, the `network_features` field will be omitted from the resulting object. @@ -127,6 +131,8 @@ injecting into a complete block. - `account_name` (`string`): Set the `account_name` field on the resulting object. - `azure_vmware_data_store_enabled` (`bool`): Set the `azure_vmware_data_store_enabled` field on the resulting object. When `null`, the `azure_vmware_data_store_enabled` field will be omitted from the resulting object. - `create_from_snapshot_resource_id` (`string`): Set the `create_from_snapshot_resource_id` field on the resulting object. When `null`, the `create_from_snapshot_resource_id` field will be omitted from the resulting object. + - `encryption_key_source` (`string`): Set the `encryption_key_source` field on the resulting object. When `null`, the `encryption_key_source` field will be omitted from the resulting object. + - `key_vault_private_endpoint_id` (`string`): Set the `key_vault_private_endpoint_id` field on the resulting object. When `null`, the `key_vault_private_endpoint_id` 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. - `network_features` (`string`): Set the `network_features` field on the resulting object. When `null`, the `network_features` field will be omitted from the resulting object. @@ -273,6 +279,22 @@ function. - `value` (`list[obj]`): The value to set for the `data_protection_snapshot_policy` field. +### fn withEncryptionKeySource + +```ts +withEncryptionKeySource() +``` + +`azurerm.string.withEncryptionKeySource` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the encryption_key_source field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `encryption_key_source` field. + + ### fn withExportPolicyRule ```ts @@ -310,6 +332,22 @@ function. - `value` (`list[obj]`): The value to set for the `export_policy_rule` field. +### fn withKeyVaultPrivateEndpointId + +```ts +withKeyVaultPrivateEndpointId() +``` + +`azurerm.string.withKeyVaultPrivateEndpointId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the key_vault_private_endpoint_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `key_vault_private_endpoint_id` field. + + ### fn withLocation ```ts diff --git a/docs/3.x/network_interface_application_gateway_backend_address_pool_association.md b/docs/3.x/network_interface_application_gateway_backend_address_pool_association.md index 43866504..c0190c52 100644 --- a/docs/3.x/network_interface_application_gateway_backend_address_pool_association.md +++ b/docs/3.x/network_interface_application_gateway_backend_address_pool_association.md @@ -192,7 +192,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/network_interface_application_security_group_association.md b/docs/3.x/network_interface_application_security_group_association.md index 1761f23a..5f2c26f3 100644 --- a/docs/3.x/network_interface_application_security_group_association.md +++ b/docs/3.x/network_interface_application_security_group_association.md @@ -173,7 +173,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/network_interface_backend_address_pool_association.md b/docs/3.x/network_interface_backend_address_pool_association.md index 577c2f07..bf7ebaf6 100644 --- a/docs/3.x/network_interface_backend_address_pool_association.md +++ b/docs/3.x/network_interface_backend_address_pool_association.md @@ -192,7 +192,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/network_interface_nat_rule_association.md b/docs/3.x/network_interface_nat_rule_association.md index f6572581..87502b4f 100644 --- a/docs/3.x/network_interface_nat_rule_association.md +++ b/docs/3.x/network_interface_nat_rule_association.md @@ -192,7 +192,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/network_interface_security_group_association.md b/docs/3.x/network_interface_security_group_association.md index 35881b89..d0823a7c 100644 --- a/docs/3.x/network_interface_security_group_association.md +++ b/docs/3.x/network_interface_security_group_association.md @@ -173,7 +173,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/network_packet_capture.md b/docs/3.x/network_packet_capture.md index f2ca5861..c201c5c2 100644 --- a/docs/3.x/network_packet_capture.md +++ b/docs/3.x/network_packet_capture.md @@ -405,7 +405,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/palo_alto_next_generation_firewall_virtual_hub_local_rulestack.md b/docs/3.x/palo_alto_next_generation_firewall_virtual_hub_local_rulestack.md index 8e02d349..b453bca0 100644 --- a/docs/3.x/palo_alto_next_generation_firewall_virtual_hub_local_rulestack.md +++ b/docs/3.x/palo_alto_next_generation_firewall_virtual_hub_local_rulestack.md @@ -442,6 +442,7 @@ Terraform sub block. - `egress_nat_ip_address_ids` (`list`): Set the `egress_nat_ip_address_ids` field on the resulting object. When `null`, the `egress_nat_ip_address_ids` field will be omitted from the resulting object. - `network_virtual_appliance_id` (`string`): Set the `network_virtual_appliance_id` field on the resulting object. - `public_ip_address_ids` (`list`): Set the `public_ip_address_ids` field on the resulting object. + - `trusted_address_ranges` (`list`): Set the `trusted_address_ranges` field on the resulting object. When `null`, the `trusted_address_ranges` field will be omitted from the resulting object. - `virtual_hub_id` (`string`): Set the `virtual_hub_id` field on the resulting object. **Returns**: diff --git a/docs/3.x/palo_alto_next_generation_firewall_virtual_hub_panorama.md b/docs/3.x/palo_alto_next_generation_firewall_virtual_hub_panorama.md index a2f327fe..f74f8cc2 100644 --- a/docs/3.x/palo_alto_next_generation_firewall_virtual_hub_panorama.md +++ b/docs/3.x/palo_alto_next_generation_firewall_virtual_hub_panorama.md @@ -461,6 +461,7 @@ Terraform sub block. - `egress_nat_ip_address_ids` (`list`): Set the `egress_nat_ip_address_ids` field on the resulting object. When `null`, the `egress_nat_ip_address_ids` field will be omitted from the resulting object. - `network_virtual_appliance_id` (`string`): Set the `network_virtual_appliance_id` field on the resulting object. - `public_ip_address_ids` (`list`): Set the `public_ip_address_ids` field on the resulting object. + - `trusted_address_ranges` (`list`): Set the `trusted_address_ranges` field on the resulting object. When `null`, the `trusted_address_ranges` field will be omitted from the resulting object. - `virtual_hub_id` (`string`): Set the `virtual_hub_id` field on the resulting object. **Returns**: diff --git a/docs/3.x/palo_alto_next_generation_firewall_virtual_network_local_rulestack.md b/docs/3.x/palo_alto_next_generation_firewall_virtual_network_local_rulestack.md index 33dadd9b..3883f0e4 100644 --- a/docs/3.x/palo_alto_next_generation_firewall_virtual_network_local_rulestack.md +++ b/docs/3.x/palo_alto_next_generation_firewall_virtual_network_local_rulestack.md @@ -443,6 +443,7 @@ Terraform sub block. **Args**: - `egress_nat_ip_address_ids` (`list`): Set the `egress_nat_ip_address_ids` field on the resulting object. When `null`, the `egress_nat_ip_address_ids` field will be omitted from the resulting object. - `public_ip_address_ids` (`list`): Set the `public_ip_address_ids` field on the resulting object. + - `trusted_address_ranges` (`list`): Set the `trusted_address_ranges` field on the resulting object. When `null`, the `trusted_address_ranges` field will be omitted from the resulting object. - `vnet_configuration` (`list[obj]`): Set the `vnet_configuration` field on the resulting object. When `null`, the `vnet_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.palo_alto_next_generation_firewall_virtual_network_local_rulestack.network_profile.vnet_configuration.new](#fn-network_profilevnet_configurationnew) constructor. **Returns**: diff --git a/docs/3.x/palo_alto_next_generation_firewall_virtual_network_panorama.md b/docs/3.x/palo_alto_next_generation_firewall_virtual_network_panorama.md index dc4602b4..6e4fc74f 100644 --- a/docs/3.x/palo_alto_next_generation_firewall_virtual_network_panorama.md +++ b/docs/3.x/palo_alto_next_generation_firewall_virtual_network_panorama.md @@ -462,6 +462,7 @@ Terraform sub block. **Args**: - `egress_nat_ip_address_ids` (`list`): Set the `egress_nat_ip_address_ids` field on the resulting object. When `null`, the `egress_nat_ip_address_ids` field will be omitted from the resulting object. - `public_ip_address_ids` (`list`): Set the `public_ip_address_ids` field on the resulting object. + - `trusted_address_ranges` (`list`): Set the `trusted_address_ranges` field on the resulting object. When `null`, the `trusted_address_ranges` field will be omitted from the resulting object. - `vnet_configuration` (`list[obj]`): Set the `vnet_configuration` field on the resulting object. When `null`, the `vnet_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.palo_alto_next_generation_firewall_virtual_network_panorama.network_profile.vnet_configuration.new](#fn-network_profilevnet_configurationnew) constructor. **Returns**: diff --git a/docs/3.x/postgresql_configuration.md b/docs/3.x/postgresql_configuration.md index 7918d852..28ae5eea 100644 --- a/docs/3.x/postgresql_configuration.md +++ b/docs/3.x/postgresql_configuration.md @@ -211,7 +211,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/postgresql_database.md b/docs/3.x/postgresql_database.md index 216c8e94..aa7683c4 100644 --- a/docs/3.x/postgresql_database.md +++ b/docs/3.x/postgresql_database.md @@ -230,7 +230,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/postgresql_firewall_rule.md b/docs/3.x/postgresql_firewall_rule.md index cfa34d1c..9010149d 100644 --- a/docs/3.x/postgresql_firewall_rule.md +++ b/docs/3.x/postgresql_firewall_rule.md @@ -230,7 +230,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/postgresql_flexible_server_active_directory_administrator.md b/docs/3.x/postgresql_flexible_server_active_directory_administrator.md index 1b5d887a..f2183c70 100644 --- a/docs/3.x/postgresql_flexible_server_active_directory_administrator.md +++ b/docs/3.x/postgresql_flexible_server_active_directory_administrator.md @@ -249,7 +249,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/provider.md b/docs/3.x/provider.md index 67914e46..8c29ee17 100644 --- a/docs/3.x/provider.md +++ b/docs/3.x/provider.md @@ -81,6 +81,7 @@ the `src` and/or `version` parameters are set. - `storage_use_azuread` (`bool`): Should the AzureRM Provider use AzureAD to access the Storage Data Plane API's? When `null`, the `storage_use_azuread` field will be omitted from the resulting object. - `subscription_id` (`string`): The Subscription ID which should be used. When `null`, the `subscription_id` field will be omitted from the resulting object. - `tenant_id` (`string`): The Tenant ID which should be used. When `null`, the `tenant_id` field will be omitted from the resulting object. + - `use_aks_workload_identity` (`bool`): Allow Azure AKS Workload Identity to be used for Authentication. When `null`, the `use_aks_workload_identity` field will be omitted from the resulting object. - `use_cli` (`bool`): Allow Azure CLI to be used for Authentication. When `null`, the `use_cli` field will be omitted from the resulting object. - `use_msi` (`bool`): Allow Managed Service Identity to be used for Authentication. When `null`, the `use_msi` field will be omitted from the resulting object. - `use_oidc` (`bool`): Allow OpenID Connect to be used for authentication When `null`, the `use_oidc` field will be omitted from the resulting object. @@ -138,6 +139,7 @@ injecting into a complete block. - `storage_use_azuread` (`bool`): Should the AzureRM Provider use AzureAD to access the Storage Data Plane API's? When `null`, the `storage_use_azuread` field will be omitted from the resulting object. - `subscription_id` (`string`): The Subscription ID which should be used. When `null`, the `subscription_id` field will be omitted from the resulting object. - `tenant_id` (`string`): The Tenant ID which should be used. When `null`, the `tenant_id` field will be omitted from the resulting object. + - `use_aks_workload_identity` (`bool`): Allow Azure AKS Workload Identity to be used for Authentication. When `null`, the `use_aks_workload_identity` field will be omitted from the resulting object. - `use_cli` (`bool`): Allow Azure CLI to be used for Authentication. When `null`, the `use_cli` field will be omitted from the resulting object. - `use_msi` (`bool`): Allow Managed Service Identity to be used for Authentication. When `null`, the `use_msi` field will be omitted from the resulting object. - `use_oidc` (`bool`): Allow OpenID Connect to be used for authentication When `null`, the `use_oidc` field will be omitted from the resulting object. diff --git a/docs/3.x/redhat_openshift_cluster.md b/docs/3.x/redhat_openshift_cluster.md new file mode 100644 index 00000000..0aa7a068 --- /dev/null +++ b/docs/3.x/redhat_openshift_cluster.md @@ -0,0 +1,693 @@ +--- +permalink: /redhat_openshift_cluster/ +--- + +# redhat_openshift_cluster + +`redhat_openshift_cluster` represents the `azurerm_redhat_openshift_cluster` 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 withApiServerProfile()`](#fn-withapiserverprofile) +* [`fn withApiServerProfileMixin()`](#fn-withapiserverprofilemixin) +* [`fn withClusterProfile()`](#fn-withclusterprofile) +* [`fn withClusterProfileMixin()`](#fn-withclusterprofilemixin) +* [`fn withIngressProfile()`](#fn-withingressprofile) +* [`fn withIngressProfileMixin()`](#fn-withingressprofilemixin) +* [`fn withLocation()`](#fn-withlocation) +* [`fn withMainProfile()`](#fn-withmainprofile) +* [`fn withMainProfileMixin()`](#fn-withmainprofilemixin) +* [`fn withName()`](#fn-withname) +* [`fn withNetworkProfile()`](#fn-withnetworkprofile) +* [`fn withNetworkProfileMixin()`](#fn-withnetworkprofilemixin) +* [`fn withResourceGroupName()`](#fn-withresourcegroupname) +* [`fn withServicePrincipal()`](#fn-withserviceprincipal) +* [`fn withServicePrincipalMixin()`](#fn-withserviceprincipalmixin) +* [`fn withTags()`](#fn-withtags) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`fn withWorkerProfile()`](#fn-withworkerprofile) +* [`fn withWorkerProfileMixin()`](#fn-withworkerprofilemixin) +* [`obj api_server_profile`](#obj-api_server_profile) + * [`fn new()`](#fn-api_server_profilenew) +* [`obj cluster_profile`](#obj-cluster_profile) + * [`fn new()`](#fn-cluster_profilenew) +* [`obj ingress_profile`](#obj-ingress_profile) + * [`fn new()`](#fn-ingress_profilenew) +* [`obj main_profile`](#obj-main_profile) + * [`fn new()`](#fn-main_profilenew) +* [`obj network_profile`](#obj-network_profile) + * [`fn new()`](#fn-network_profilenew) +* [`obj service_principal`](#obj-service_principal) + * [`fn new()`](#fn-service_principalnew) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) +* [`obj worker_profile`](#obj-worker_profile) + * [`fn new()`](#fn-worker_profilenew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.redhat_openshift_cluster.new` injects a new `azurerm_redhat_openshift_cluster` 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.redhat_openshift_cluster.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.redhat_openshift_cluster` using the reference: + + $._ref.azurerm_redhat_openshift_cluster.some_id.get('id') + +This is the same as directly entering `"${ azurerm_redhat_openshift_cluster.some_id.id }"` as the value. + +NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`, +or `$` to refer to the root object. Instead, make an explicit outer object using `local`. + +**Args**: + - `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. + - `api_server_profile` (`list[obj]`): Set the `api_server_profile` field on the resulting resource block. When `null`, the `api_server_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.api_server_profile.new](#fn-api_server_profilenew) constructor. + - `cluster_profile` (`list[obj]`): Set the `cluster_profile` field on the resulting resource block. When `null`, the `cluster_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.cluster_profile.new](#fn-cluster_profilenew) constructor. + - `ingress_profile` (`list[obj]`): Set the `ingress_profile` field on the resulting resource block. When `null`, the `ingress_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.ingress_profile.new](#fn-ingress_profilenew) constructor. + - `main_profile` (`list[obj]`): Set the `main_profile` field on the resulting resource block. When `null`, the `main_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.main_profile.new](#fn-main_profilenew) constructor. + - `network_profile` (`list[obj]`): Set the `network_profile` field on the resulting resource block. When `null`, the `network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.network_profile.new](#fn-network_profilenew) constructor. + - `service_principal` (`list[obj]`): Set the `service_principal` field on the resulting resource block. When `null`, the `service_principal` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.service_principal.new](#fn-service_principalnew) 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.redhat_openshift_cluster.timeouts.new](#fn-timeoutsnew) constructor. + - `worker_profile` (`list[obj]`): Set the `worker_profile` field on the resulting resource block. When `null`, the `worker_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.worker_profile.new](#fn-worker_profilenew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.redhat_openshift_cluster.newAttrs` constructs a new object with attributes and blocks configured for the `redhat_openshift_cluster` +Terraform resource. + +Unlike [azurerm.redhat_openshift_cluster.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. + - `api_server_profile` (`list[obj]`): Set the `api_server_profile` field on the resulting object. When `null`, the `api_server_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.api_server_profile.new](#fn-api_server_profilenew) constructor. + - `cluster_profile` (`list[obj]`): Set the `cluster_profile` field on the resulting object. When `null`, the `cluster_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.cluster_profile.new](#fn-cluster_profilenew) constructor. + - `ingress_profile` (`list[obj]`): Set the `ingress_profile` field on the resulting object. When `null`, the `ingress_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.ingress_profile.new](#fn-ingress_profilenew) constructor. + - `main_profile` (`list[obj]`): Set the `main_profile` field on the resulting object. When `null`, the `main_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.main_profile.new](#fn-main_profilenew) constructor. + - `network_profile` (`list[obj]`): Set the `network_profile` field on the resulting object. When `null`, the `network_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.network_profile.new](#fn-network_profilenew) constructor. + - `service_principal` (`list[obj]`): Set the `service_principal` field on the resulting object. When `null`, the `service_principal` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.service_principal.new](#fn-service_principalnew) 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.redhat_openshift_cluster.timeouts.new](#fn-timeoutsnew) constructor. + - `worker_profile` (`list[obj]`): Set the `worker_profile` field on the resulting object. When `null`, the `worker_profile` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.redhat_openshift_cluster.worker_profile.new](#fn-worker_profilenew) 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 `redhat_openshift_cluster` resource into the root Terraform configuration. + + +### fn withApiServerProfile + +```ts +withApiServerProfile() +``` + +`azurerm.list[obj].withApiServerProfile` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the api_server_profile 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].withApiServerProfileMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `api_server_profile` field. + + +### fn withApiServerProfileMixin + +```ts +withApiServerProfileMixin() +``` + +`azurerm.list[obj].withApiServerProfileMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the api_server_profile 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].withApiServerProfile](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `api_server_profile` field. + + +### fn withClusterProfile + +```ts +withClusterProfile() +``` + +`azurerm.list[obj].withClusterProfile` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the cluster_profile 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].withClusterProfileMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `cluster_profile` field. + + +### fn withClusterProfileMixin + +```ts +withClusterProfileMixin() +``` + +`azurerm.list[obj].withClusterProfileMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the cluster_profile 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].withClusterProfile](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `cluster_profile` field. + + +### fn withIngressProfile + +```ts +withIngressProfile() +``` + +`azurerm.list[obj].withIngressProfile` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the ingress_profile 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].withIngressProfileMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `ingress_profile` field. + + +### fn withIngressProfileMixin + +```ts +withIngressProfileMixin() +``` + +`azurerm.list[obj].withIngressProfileMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the ingress_profile 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].withIngressProfile](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `ingress_profile` 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 withMainProfile + +```ts +withMainProfile() +``` + +`azurerm.list[obj].withMainProfile` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the main_profile 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].withMainProfileMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `main_profile` field. + + +### fn withMainProfileMixin + +```ts +withMainProfileMixin() +``` + +`azurerm.list[obj].withMainProfileMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the main_profile 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].withMainProfile](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `main_profile` 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 withNetworkProfile + +```ts +withNetworkProfile() +``` + +`azurerm.list[obj].withNetworkProfile` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the network_profile 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].withNetworkProfileMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `network_profile` field. + + +### fn withNetworkProfileMixin + +```ts +withNetworkProfileMixin() +``` + +`azurerm.list[obj].withNetworkProfileMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the network_profile 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].withNetworkProfile](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `network_profile` 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 withServicePrincipal + +```ts +withServicePrincipal() +``` + +`azurerm.list[obj].withServicePrincipal` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the service_principal 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].withServicePrincipalMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `service_principal` field. + + +### fn withServicePrincipalMixin + +```ts +withServicePrincipalMixin() +``` + +`azurerm.list[obj].withServicePrincipalMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the service_principal 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].withServicePrincipal](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `service_principal` 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 withWorkerProfile + +```ts +withWorkerProfile() +``` + +`azurerm.list[obj].withWorkerProfile` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the worker_profile 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].withWorkerProfileMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `worker_profile` field. + + +### fn withWorkerProfileMixin + +```ts +withWorkerProfileMixin() +``` + +`azurerm.list[obj].withWorkerProfileMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the worker_profile 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].withWorkerProfile](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `worker_profile` field. + + +## obj api_server_profile + + + +### fn api_server_profile.new + +```ts +new() +``` + + +`azurerm.redhat_openshift_cluster.api_server_profile.new` constructs a new object with attributes and blocks configured for the `api_server_profile` +Terraform sub block. + + + +**Args**: + - `visibility` (`string`): Set the `visibility` field on the resulting object. + +**Returns**: + - An attribute object that represents the `api_server_profile` sub block. + + +## obj cluster_profile + + + +### fn cluster_profile.new + +```ts +new() +``` + + +`azurerm.redhat_openshift_cluster.cluster_profile.new` constructs a new object with attributes and blocks configured for the `cluster_profile` +Terraform sub block. + + + +**Args**: + - `domain` (`string`): Set the `domain` field on the resulting object. + - `fips_enabled` (`bool`): Set the `fips_enabled` field on the resulting object. When `null`, the `fips_enabled` field will be omitted from the resulting object. + - `pull_secret` (`string`): Set the `pull_secret` field on the resulting object. When `null`, the `pull_secret` field will be omitted from the resulting object. + - `version` (`string`): Set the `version` field on the resulting object. + +**Returns**: + - An attribute object that represents the `cluster_profile` sub block. + + +## obj ingress_profile + + + +### fn ingress_profile.new + +```ts +new() +``` + + +`azurerm.redhat_openshift_cluster.ingress_profile.new` constructs a new object with attributes and blocks configured for the `ingress_profile` +Terraform sub block. + + + +**Args**: + - `visibility` (`string`): Set the `visibility` field on the resulting object. + +**Returns**: + - An attribute object that represents the `ingress_profile` sub block. + + +## obj main_profile + + + +### fn main_profile.new + +```ts +new() +``` + + +`azurerm.redhat_openshift_cluster.main_profile.new` constructs a new object with attributes and blocks configured for the `main_profile` +Terraform sub block. + + + +**Args**: + - `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. + - `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. + - `subnet_id` (`string`): Set the `subnet_id` field on the resulting object. + - `vm_size` (`string`): Set the `vm_size` field on the resulting object. + +**Returns**: + - An attribute object that represents the `main_profile` sub block. + + +## obj network_profile + + + +### fn network_profile.new + +```ts +new() +``` + + +`azurerm.redhat_openshift_cluster.network_profile.new` constructs a new object with attributes and blocks configured for the `network_profile` +Terraform sub block. + + + +**Args**: + - `outbound_type` (`string`): Set the `outbound_type` field on the resulting object. When `null`, the `outbound_type` field will be omitted from the resulting object. + - `pod_cidr` (`string`): Set the `pod_cidr` field on the resulting object. + - `service_cidr` (`string`): Set the `service_cidr` field on the resulting object. + +**Returns**: + - An attribute object that represents the `network_profile` sub block. + + +## obj service_principal + + + +### fn service_principal.new + +```ts +new() +``` + + +`azurerm.redhat_openshift_cluster.service_principal.new` constructs a new object with attributes and blocks configured for the `service_principal` +Terraform sub block. + + + +**Args**: + - `client_id` (`string`): Set the `client_id` field on the resulting object. + - `client_secret` (`string`): Set the `client_secret` field on the resulting object. + +**Returns**: + - An attribute object that represents the `service_principal` sub block. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.redhat_openshift_cluster.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. + + +## obj worker_profile + + + +### fn worker_profile.new + +```ts +new() +``` + + +`azurerm.redhat_openshift_cluster.worker_profile.new` constructs a new object with attributes and blocks configured for the `worker_profile` +Terraform sub block. + + + +**Args**: + - `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. + - `disk_size_gb` (`number`): Set the `disk_size_gb` field on the resulting object. + - `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. + - `node_count` (`number`): Set the `node_count` field on the resulting object. + - `subnet_id` (`string`): Set the `subnet_id` field on the resulting object. + - `vm_size` (`string`): Set the `vm_size` field on the resulting object. + +**Returns**: + - An attribute object that represents the `worker_profile` sub block. diff --git a/docs/3.x/redis_cache.md b/docs/3.x/redis_cache.md index f6931ff0..e0f4baf1 100644 --- a/docs/3.x/redis_cache.md +++ b/docs/3.x/redis_cache.md @@ -652,6 +652,7 @@ Terraform sub block. **Args**: + - `active_directory_authentication_enabled` (`bool`): Set the `active_directory_authentication_enabled` field on the resulting object. When `null`, the `active_directory_authentication_enabled` field will be omitted from the resulting object. - `aof_backup_enabled` (`bool`): Set the `aof_backup_enabled` field on the resulting object. When `null`, the `aof_backup_enabled` field will be omitted from the resulting object. - `aof_storage_connection_string_0` (`string`): Set the `aof_storage_connection_string_0` field on the resulting object. When `null`, the `aof_storage_connection_string_0` field will be omitted from the resulting object. - `aof_storage_connection_string_1` (`string`): Set the `aof_storage_connection_string_1` field on the resulting object. When `null`, the `aof_storage_connection_string_1` field will be omitted from the resulting object. @@ -665,6 +666,7 @@ Terraform sub block. - `rdb_backup_frequency` (`number`): Set the `rdb_backup_frequency` field on the resulting object. When `null`, the `rdb_backup_frequency` field will be omitted from the resulting object. - `rdb_backup_max_snapshot_count` (`number`): Set the `rdb_backup_max_snapshot_count` field on the resulting object. When `null`, the `rdb_backup_max_snapshot_count` field will be omitted from the resulting object. - `rdb_storage_connection_string` (`string`): Set the `rdb_storage_connection_string` field on the resulting object. When `null`, the `rdb_storage_connection_string` field will be omitted from the resulting object. + - `storage_account_subscription_id` (`string`): Set the `storage_account_subscription_id` field on the resulting object. When `null`, the `storage_account_subscription_id` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `redis_configuration` sub block. diff --git a/docs/3.x/redis_linked_server.md b/docs/3.x/redis_linked_server.md index ed07e52e..bc1c8eb6 100644 --- a/docs/3.x/redis_linked_server.md +++ b/docs/3.x/redis_linked_server.md @@ -230,7 +230,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/role_assignment.md b/docs/3.x/role_assignment.md index 70d1369c..d30178e5 100644 --- a/docs/3.x/role_assignment.md +++ b/docs/3.x/role_assignment.md @@ -21,6 +21,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withDescription()`](#fn-withdescription) * [`fn withName()`](#fn-withname) * [`fn withPrincipalId()`](#fn-withprincipalid) +* [`fn withPrincipalType()`](#fn-withprincipaltype) * [`fn withRoleDefinitionId()`](#fn-withroledefinitionid) * [`fn withRoleDefinitionName()`](#fn-withroledefinitionname) * [`fn withScope()`](#fn-withscope) @@ -65,6 +66,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `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. + - `principal_type` (`string`): Set the `principal_type` field on the resulting resource block. When `null`, the `principal_type` field will be omitted from the resulting object. - `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. - `scope` (`string`): Set the `scope` field on the resulting resource block. @@ -99,6 +101,7 @@ injecting into a complete block. - `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. + - `principal_type` (`string`): Set the `principal_type` field on the resulting object. When `null`, the `principal_type` field will be omitted from 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. - `scope` (`string`): Set the `scope` field on the resulting object. @@ -205,6 +208,22 @@ Terraform resource block to set or update the principal_id field. - `value` (`string`): The value to set for the `principal_id` field. +### fn withPrincipalType + +```ts +withPrincipalType() +``` + +`azurerm.string.withPrincipalType` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the principal_type field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `principal_type` field. + + ### fn withRoleDefinitionId ```ts @@ -325,7 +344,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/security_center_server_vulnerability_assessments_setting.md b/docs/3.x/security_center_server_vulnerability_assessments_setting.md new file mode 100644 index 00000000..215ce355 --- /dev/null +++ b/docs/3.x/security_center_server_vulnerability_assessments_setting.md @@ -0,0 +1,160 @@ +--- +permalink: /security_center_server_vulnerability_assessments_setting/ +--- + +# security_center_server_vulnerability_assessments_setting + +`security_center_server_vulnerability_assessments_setting` represents the `azurerm_security_center_server_vulnerability_assessments_setting` 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 withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`fn withVulnerabilityAssessmentProvider()`](#fn-withvulnerabilityassessmentprovider) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.security_center_server_vulnerability_assessments_setting.new` injects a new `azurerm_security_center_server_vulnerability_assessments_setting` 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.security_center_server_vulnerability_assessments_setting.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.security_center_server_vulnerability_assessments_setting` using the reference: + + $._ref.azurerm_security_center_server_vulnerability_assessments_setting.some_id.get('id') + +This is the same as directly entering `"${ azurerm_security_center_server_vulnerability_assessments_setting.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. + - `vulnerability_assessment_provider` (`string`): Set the `vulnerability_assessment_provider` 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.security_center_server_vulnerability_assessments_setting.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.security_center_server_vulnerability_assessments_setting.newAttrs` constructs a new object with attributes and blocks configured for the `security_center_server_vulnerability_assessments_setting` +Terraform resource. + +Unlike [azurerm.security_center_server_vulnerability_assessments_setting.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**: + - `vulnerability_assessment_provider` (`string`): Set the `vulnerability_assessment_provider` 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.security_center_server_vulnerability_assessments_setting.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 `security_center_server_vulnerability_assessments_setting` resource into the root Terraform configuration. + + +### 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 withVulnerabilityAssessmentProvider + +```ts +withVulnerabilityAssessmentProvider() +``` + +`azurerm.string.withVulnerabilityAssessmentProvider` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the vulnerability_assessment_provider field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `vulnerability_assessment_provider` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.security_center_server_vulnerability_assessments_setting.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.md b/docs/3.x/shared_image.md index 48bde4ea..3311260e 100644 --- a/docs/3.x/shared_image.md +++ b/docs/3.x/shared_image.md @@ -44,6 +44,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`fn withTrustedLaunchEnabled()`](#fn-withtrustedlaunchenabled) +* [`fn withTrustedLaunchSupported()`](#fn-withtrustedlaunchsupported) * [`obj identifier`](#obj-identifier) * [`fn new()`](#fn-identifiernew) * [`obj purchase_plan`](#obj-purchase_plan) @@ -103,6 +104,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `specialized` (`bool`): Set the `specialized` field on the resulting resource block. When `null`, the `specialized` 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. - `trusted_launch_enabled` (`bool`): Set the `trusted_launch_enabled` field on the resulting resource block. When `null`, the `trusted_launch_enabled` field will be omitted from the resulting object. + - `trusted_launch_supported` (`bool`): Set the `trusted_launch_supported` field on the resulting resource block. When `null`, the `trusted_launch_supported` field will be omitted from the resulting object. - `identifier` (`list[obj]`): Set the `identifier` field on the resulting resource block. When `null`, the `identifier` 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.identifier.new](#fn-identifiernew) constructor. - `purchase_plan` (`list[obj]`): Set the `purchase_plan` field on the resulting resource block. When `null`, the `purchase_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.shared_image.purchase_plan.new](#fn-purchase_plannew) 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.timeouts.new](#fn-timeoutsnew) constructor. @@ -152,6 +154,7 @@ injecting into a complete block. - `specialized` (`bool`): Set the `specialized` field on the resulting object. When `null`, the `specialized` 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. - `trusted_launch_enabled` (`bool`): Set the `trusted_launch_enabled` field on the resulting object. When `null`, the `trusted_launch_enabled` field will be omitted from the resulting object. + - `trusted_launch_supported` (`bool`): Set the `trusted_launch_supported` field on the resulting object. When `null`, the `trusted_launch_supported` field will be omitted from the resulting object. - `identifier` (`list[obj]`): Set the `identifier` field on the resulting object. When `null`, the `identifier` 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.identifier.new](#fn-identifiernew) constructor. - `purchase_plan` (`list[obj]`): Set the `purchase_plan` field on the resulting object. When `null`, the `purchase_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.shared_image.purchase_plan.new](#fn-purchase_plannew) 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.timeouts.new](#fn-timeoutsnew) constructor. @@ -638,6 +641,22 @@ Terraform resource block to set or update the trusted_launch_enabled field. - `value` (`bool`): The value to set for the `trusted_launch_enabled` field. +### fn withTrustedLaunchSupported + +```ts +withTrustedLaunchSupported() +``` + +`azurerm.bool.withTrustedLaunchSupported` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the trusted_launch_supported field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `trusted_launch_supported` field. + + ## obj identifier diff --git a/docs/3.x/site_recovery_fabric.md b/docs/3.x/site_recovery_fabric.md index 657a4632..f3ee3428 100644 --- a/docs/3.x/site_recovery_fabric.md +++ b/docs/3.x/site_recovery_fabric.md @@ -211,7 +211,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/site_recovery_network_mapping.md b/docs/3.x/site_recovery_network_mapping.md index 3dd9c2a2..1ae2fe7d 100644 --- a/docs/3.x/site_recovery_network_mapping.md +++ b/docs/3.x/site_recovery_network_mapping.md @@ -268,7 +268,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/site_recovery_protection_container.md b/docs/3.x/site_recovery_protection_container.md index 7923957d..02e63535 100644 --- a/docs/3.x/site_recovery_protection_container.md +++ b/docs/3.x/site_recovery_protection_container.md @@ -211,7 +211,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/site_recovery_vmware_replicated_vm.md b/docs/3.x/site_recovery_vmware_replicated_vm.md new file mode 100644 index 00000000..5e634604 --- /dev/null +++ b/docs/3.x/site_recovery_vmware_replicated_vm.md @@ -0,0 +1,660 @@ +--- +permalink: /site_recovery_vmware_replicated_vm/ +--- + +# site_recovery_vmware_replicated_vm + +`site_recovery_vmware_replicated_vm` represents the `azurerm_site_recovery_vmware_replicated_vm` 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 withApplianceName()`](#fn-withappliancename) +* [`fn withDefaultLogStorageAccountId()`](#fn-withdefaultlogstorageaccountid) +* [`fn withDefaultRecoveryDiskType()`](#fn-withdefaultrecoverydisktype) +* [`fn withDefaultTargetDiskEncryptionSetId()`](#fn-withdefaulttargetdiskencryptionsetid) +* [`fn withLicenseType()`](#fn-withlicensetype) +* [`fn withManagedDisk()`](#fn-withmanageddisk) +* [`fn withManagedDiskMixin()`](#fn-withmanageddiskmixin) +* [`fn withMultiVmGroupName()`](#fn-withmultivmgroupname) +* [`fn withName()`](#fn-withname) +* [`fn withNetworkInterface()`](#fn-withnetworkinterface) +* [`fn withNetworkInterfaceMixin()`](#fn-withnetworkinterfacemixin) +* [`fn withPhysicalServerCredentialName()`](#fn-withphysicalservercredentialname) +* [`fn withRecoveryReplicationPolicyId()`](#fn-withrecoveryreplicationpolicyid) +* [`fn withRecoveryVaultId()`](#fn-withrecoveryvaultid) +* [`fn withSourceVmName()`](#fn-withsourcevmname) +* [`fn withTargetAvailabilitySetId()`](#fn-withtargetavailabilitysetid) +* [`fn withTargetBootDiagnosticsStorageAccountId()`](#fn-withtargetbootdiagnosticsstorageaccountid) +* [`fn withTargetNetworkId()`](#fn-withtargetnetworkid) +* [`fn withTargetProximityPlacementGroupId()`](#fn-withtargetproximityplacementgroupid) +* [`fn withTargetResourceGroupId()`](#fn-withtargetresourcegroupid) +* [`fn withTargetVmName()`](#fn-withtargetvmname) +* [`fn withTargetVmSize()`](#fn-withtargetvmsize) +* [`fn withTargetZone()`](#fn-withtargetzone) +* [`fn withTestNetworkId()`](#fn-withtestnetworkid) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj managed_disk`](#obj-managed_disk) + * [`fn new()`](#fn-managed_disknew) +* [`obj network_interface`](#obj-network_interface) + * [`fn new()`](#fn-network_interfacenew) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.site_recovery_vmware_replicated_vm.new` injects a new `azurerm_site_recovery_vmware_replicated_vm` 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.site_recovery_vmware_replicated_vm.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.site_recovery_vmware_replicated_vm` using the reference: + + $._ref.azurerm_site_recovery_vmware_replicated_vm.some_id.get('id') + +This is the same as directly entering `"${ azurerm_site_recovery_vmware_replicated_vm.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. + - `appliance_name` (`string`): Set the `appliance_name` field on the resulting resource block. + - `default_log_storage_account_id` (`string`): Set the `default_log_storage_account_id` field on the resulting resource block. When `null`, the `default_log_storage_account_id` field will be omitted from the resulting object. + - `default_recovery_disk_type` (`string`): Set the `default_recovery_disk_type` field on the resulting resource block. When `null`, the `default_recovery_disk_type` field will be omitted from the resulting object. + - `default_target_disk_encryption_set_id` (`string`): Set the `default_target_disk_encryption_set_id` field on the resulting resource block. When `null`, the `default_target_disk_encryption_set_id` field will be omitted from the resulting object. + - `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. + - `multi_vm_group_name` (`string`): Set the `multi_vm_group_name` field on the resulting resource block. When `null`, the `multi_vm_group_name` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting resource block. + - `physical_server_credential_name` (`string`): Set the `physical_server_credential_name` field on the resulting resource block. + - `recovery_replication_policy_id` (`string`): Set the `recovery_replication_policy_id` field on the resulting resource block. + - `recovery_vault_id` (`string`): Set the `recovery_vault_id` field on the resulting resource block. + - `source_vm_name` (`string`): Set the `source_vm_name` field on the resulting resource block. + - `target_availability_set_id` (`string`): Set the `target_availability_set_id` field on the resulting resource block. When `null`, the `target_availability_set_id` field will be omitted from the resulting object. + - `target_boot_diagnostics_storage_account_id` (`string`): Set the `target_boot_diagnostics_storage_account_id` field on the resulting resource block. When `null`, the `target_boot_diagnostics_storage_account_id` field will be omitted from the resulting object. + - `target_network_id` (`string`): Set the `target_network_id` field on the resulting resource block. When `null`, the `target_network_id` field will be omitted from the resulting object. + - `target_proximity_placement_group_id` (`string`): Set the `target_proximity_placement_group_id` field on the resulting resource block. When `null`, the `target_proximity_placement_group_id` field will be omitted from the resulting object. + - `target_resource_group_id` (`string`): Set the `target_resource_group_id` field on the resulting resource block. + - `target_vm_name` (`string`): Set the `target_vm_name` field on the resulting resource block. + - `target_vm_size` (`string`): Set the `target_vm_size` field on the resulting resource block. When `null`, the `target_vm_size` field will be omitted from the resulting object. + - `target_zone` (`string`): Set the `target_zone` field on the resulting resource block. When `null`, the `target_zone` field will be omitted from the resulting object. + - `test_network_id` (`string`): Set the `test_network_id` field on the resulting resource block. When `null`, the `test_network_id` field will be omitted from the resulting object. + - `managed_disk` (`list[obj]`): Set the `managed_disk` field on the resulting resource block. When `null`, the `managed_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.site_recovery_vmware_replicated_vm.managed_disk.new](#fn-managed_disknew) constructor. + - `network_interface` (`list[obj]`): Set the `network_interface` field on the resulting resource block. When `null`, the `network_interface` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.site_recovery_vmware_replicated_vm.network_interface.new](#fn-network_interfacenew) 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.site_recovery_vmware_replicated_vm.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.site_recovery_vmware_replicated_vm.newAttrs` constructs a new object with attributes and blocks configured for the `site_recovery_vmware_replicated_vm` +Terraform resource. + +Unlike [azurerm.site_recovery_vmware_replicated_vm.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**: + - `appliance_name` (`string`): Set the `appliance_name` field on the resulting object. + - `default_log_storage_account_id` (`string`): Set the `default_log_storage_account_id` field on the resulting object. When `null`, the `default_log_storage_account_id` field will be omitted from the resulting object. + - `default_recovery_disk_type` (`string`): Set the `default_recovery_disk_type` field on the resulting object. When `null`, the `default_recovery_disk_type` field will be omitted from the resulting object. + - `default_target_disk_encryption_set_id` (`string`): Set the `default_target_disk_encryption_set_id` field on the resulting object. When `null`, the `default_target_disk_encryption_set_id` field will be omitted from the resulting object. + - `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. + - `multi_vm_group_name` (`string`): Set the `multi_vm_group_name` field on the resulting object. When `null`, the `multi_vm_group_name` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `physical_server_credential_name` (`string`): Set the `physical_server_credential_name` field on the resulting object. + - `recovery_replication_policy_id` (`string`): Set the `recovery_replication_policy_id` field on the resulting object. + - `recovery_vault_id` (`string`): Set the `recovery_vault_id` field on the resulting object. + - `source_vm_name` (`string`): Set the `source_vm_name` field on the resulting object. + - `target_availability_set_id` (`string`): Set the `target_availability_set_id` field on the resulting object. When `null`, the `target_availability_set_id` field will be omitted from the resulting object. + - `target_boot_diagnostics_storage_account_id` (`string`): Set the `target_boot_diagnostics_storage_account_id` field on the resulting object. When `null`, the `target_boot_diagnostics_storage_account_id` field will be omitted from the resulting object. + - `target_network_id` (`string`): Set the `target_network_id` field on the resulting object. When `null`, the `target_network_id` field will be omitted from the resulting object. + - `target_proximity_placement_group_id` (`string`): Set the `target_proximity_placement_group_id` field on the resulting object. When `null`, the `target_proximity_placement_group_id` field will be omitted from the resulting object. + - `target_resource_group_id` (`string`): Set the `target_resource_group_id` field on the resulting object. + - `target_vm_name` (`string`): Set the `target_vm_name` field on the resulting object. + - `target_vm_size` (`string`): Set the `target_vm_size` field on the resulting object. When `null`, the `target_vm_size` field will be omitted from the resulting object. + - `target_zone` (`string`): Set the `target_zone` field on the resulting object. When `null`, the `target_zone` field will be omitted from the resulting object. + - `test_network_id` (`string`): Set the `test_network_id` field on the resulting object. When `null`, the `test_network_id` field will be omitted from the resulting object. + - `managed_disk` (`list[obj]`): Set the `managed_disk` field on the resulting object. When `null`, the `managed_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.site_recovery_vmware_replicated_vm.managed_disk.new](#fn-managed_disknew) constructor. + - `network_interface` (`list[obj]`): Set the `network_interface` field on the resulting object. When `null`, the `network_interface` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.site_recovery_vmware_replicated_vm.network_interface.new](#fn-network_interfacenew) 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.site_recovery_vmware_replicated_vm.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 `site_recovery_vmware_replicated_vm` resource into the root Terraform configuration. + + +### fn withApplianceName + +```ts +withApplianceName() +``` + +`azurerm.string.withApplianceName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the appliance_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `appliance_name` field. + + +### fn withDefaultLogStorageAccountId + +```ts +withDefaultLogStorageAccountId() +``` + +`azurerm.string.withDefaultLogStorageAccountId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the default_log_storage_account_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `default_log_storage_account_id` field. + + +### fn withDefaultRecoveryDiskType + +```ts +withDefaultRecoveryDiskType() +``` + +`azurerm.string.withDefaultRecoveryDiskType` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the default_recovery_disk_type field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `default_recovery_disk_type` field. + + +### fn withDefaultTargetDiskEncryptionSetId + +```ts +withDefaultTargetDiskEncryptionSetId() +``` + +`azurerm.string.withDefaultTargetDiskEncryptionSetId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the default_target_disk_encryption_set_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `default_target_disk_encryption_set_id` field. + + +### fn withLicenseType + +```ts +withLicenseType() +``` + +`azurerm.string.withLicenseType` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the license_type field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `license_type` field. + + +### fn withManagedDisk + +```ts +withManagedDisk() +``` + +`azurerm.list[obj].withManagedDisk` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the managed_disk 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].withManagedDiskMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `managed_disk` field. + + +### fn withManagedDiskMixin + +```ts +withManagedDiskMixin() +``` + +`azurerm.list[obj].withManagedDiskMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the managed_disk 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].withManagedDisk](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `managed_disk` field. + + +### fn withMultiVmGroupName + +```ts +withMultiVmGroupName() +``` + +`azurerm.string.withMultiVmGroupName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the multi_vm_group_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `multi_vm_group_name` 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 withNetworkInterface + +```ts +withNetworkInterface() +``` + +`azurerm.list[obj].withNetworkInterface` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the network_interface 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].withNetworkInterfaceMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `network_interface` field. + + +### fn withNetworkInterfaceMixin + +```ts +withNetworkInterfaceMixin() +``` + +`azurerm.list[obj].withNetworkInterfaceMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the network_interface 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].withNetworkInterface](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `network_interface` field. + + +### fn withPhysicalServerCredentialName + +```ts +withPhysicalServerCredentialName() +``` + +`azurerm.string.withPhysicalServerCredentialName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the physical_server_credential_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `physical_server_credential_name` field. + + +### fn withRecoveryReplicationPolicyId + +```ts +withRecoveryReplicationPolicyId() +``` + +`azurerm.string.withRecoveryReplicationPolicyId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the recovery_replication_policy_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `recovery_replication_policy_id` field. + + +### fn withRecoveryVaultId + +```ts +withRecoveryVaultId() +``` + +`azurerm.string.withRecoveryVaultId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the recovery_vault_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `recovery_vault_id` field. + + +### fn withSourceVmName + +```ts +withSourceVmName() +``` + +`azurerm.string.withSourceVmName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the source_vm_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `source_vm_name` field. + + +### fn withTargetAvailabilitySetId + +```ts +withTargetAvailabilitySetId() +``` + +`azurerm.string.withTargetAvailabilitySetId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the target_availability_set_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `target_availability_set_id` field. + + +### fn withTargetBootDiagnosticsStorageAccountId + +```ts +withTargetBootDiagnosticsStorageAccountId() +``` + +`azurerm.string.withTargetBootDiagnosticsStorageAccountId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the target_boot_diagnostics_storage_account_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `target_boot_diagnostics_storage_account_id` field. + + +### fn withTargetNetworkId + +```ts +withTargetNetworkId() +``` + +`azurerm.string.withTargetNetworkId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the target_network_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `target_network_id` field. + + +### fn withTargetProximityPlacementGroupId + +```ts +withTargetProximityPlacementGroupId() +``` + +`azurerm.string.withTargetProximityPlacementGroupId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the target_proximity_placement_group_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `target_proximity_placement_group_id` field. + + +### fn withTargetResourceGroupId + +```ts +withTargetResourceGroupId() +``` + +`azurerm.string.withTargetResourceGroupId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the target_resource_group_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `target_resource_group_id` field. + + +### fn withTargetVmName + +```ts +withTargetVmName() +``` + +`azurerm.string.withTargetVmName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the target_vm_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `target_vm_name` field. + + +### fn withTargetVmSize + +```ts +withTargetVmSize() +``` + +`azurerm.string.withTargetVmSize` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the target_vm_size field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `target_vm_size` field. + + +### fn withTargetZone + +```ts +withTargetZone() +``` + +`azurerm.string.withTargetZone` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the target_zone field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `target_zone` field. + + +### fn withTestNetworkId + +```ts +withTestNetworkId() +``` + +`azurerm.string.withTestNetworkId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the test_network_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `test_network_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 managed_disk + + + +### fn managed_disk.new + +```ts +new() +``` + + +`azurerm.site_recovery_vmware_replicated_vm.managed_disk.new` constructs a new object with attributes and blocks configured for the `managed_disk` +Terraform sub block. + + + +**Args**: + - `disk_id` (`string`): Set the `disk_id` field on the resulting object. + - `log_storage_account_id` (`string`): Set the `log_storage_account_id` field on the resulting object. When `null`, the `log_storage_account_id` field will be omitted from the resulting object. + - `target_disk_encryption_set_id` (`string`): Set the `target_disk_encryption_set_id` field on the resulting object. When `null`, the `target_disk_encryption_set_id` field will be omitted from the resulting object. + - `target_disk_type` (`string`): Set the `target_disk_type` field on the resulting object. + +**Returns**: + - An attribute object that represents the `managed_disk` sub block. + + +## obj network_interface + + + +### fn network_interface.new + +```ts +new() +``` + + +`azurerm.site_recovery_vmware_replicated_vm.network_interface.new` constructs a new object with attributes and blocks configured for the `network_interface` +Terraform sub block. + + + +**Args**: + - `is_primary` (`bool`): Set the `is_primary` field on the resulting object. + - `source_mac_address` (`string`): Set the `source_mac_address` field on the resulting object. + - `target_static_ip` (`string`): Set the `target_static_ip` field on the resulting object. When `null`, the `target_static_ip` field will be omitted from the resulting object. + - `target_subnet_name` (`string`): Set the `target_subnet_name` field on the resulting object. When `null`, the `target_subnet_name` field will be omitted from the resulting object. + - `test_subnet_name` (`string`): Set the `test_subnet_name` field on the resulting object. When `null`, the `test_subnet_name` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `network_interface` sub block. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.site_recovery_vmware_replicated_vm.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/spring_cloud_api_portal.md b/docs/3.x/spring_cloud_api_portal.md index 05fa10e8..5ea6a49c 100644 --- a/docs/3.x/spring_cloud_api_portal.md +++ b/docs/3.x/spring_cloud_api_portal.md @@ -15,6 +15,7 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-new) * [`fn newAttrs()`](#fn-newattrs) +* [`fn withApiTryOutEnabled()`](#fn-withapitryoutenabled) * [`fn withGatewayIds()`](#fn-withgatewayids) * [`fn withHttpsOnlyEnabled()`](#fn-withhttpsonlyenabled) * [`fn withInstanceCount()`](#fn-withinstancecount) @@ -59,6 +60,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `resourceLabel` (`string`): The name label of the block. + - `api_try_out_enabled` (`bool`): Set the `api_try_out_enabled` field on the resulting resource block. When `null`, the `api_try_out_enabled` field will be omitted from the resulting object. - `gateway_ids` (`list`): Set the `gateway_ids` field on the resulting resource block. When `null`, the `gateway_ids` field will be omitted from the resulting object. - `https_only_enabled` (`bool`): Set the `https_only_enabled` field on the resulting resource block. When `null`, the `https_only_enabled` field will be omitted from the resulting object. - `instance_count` (`number`): Set the `instance_count` field on the resulting resource block. When `null`, the `instance_count` field will be omitted from the resulting object. @@ -90,6 +92,7 @@ This is most useful when you need to preprocess the attributes with functions, c injecting into a complete block. **Args**: + - `api_try_out_enabled` (`bool`): Set the `api_try_out_enabled` field on the resulting object. When `null`, the `api_try_out_enabled` field will be omitted from the resulting object. - `gateway_ids` (`list`): Set the `gateway_ids` field on the resulting object. When `null`, the `gateway_ids` field will be omitted from the resulting object. - `https_only_enabled` (`bool`): Set the `https_only_enabled` field on the resulting object. When `null`, the `https_only_enabled` field will be omitted from the resulting object. - `instance_count` (`number`): Set the `instance_count` field on the resulting object. When `null`, the `instance_count` field will be omitted from the resulting object. @@ -103,6 +106,22 @@ injecting into a complete block. - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `spring_cloud_api_portal` resource into the root Terraform configuration. +### fn withApiTryOutEnabled + +```ts +withApiTryOutEnabled() +``` + +`azurerm.bool.withApiTryOutEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the api_try_out_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `api_try_out_enabled` field. + + ### fn withGatewayIds ```ts diff --git a/docs/3.x/spring_cloud_build_deployment.md b/docs/3.x/spring_cloud_build_deployment.md index 2eca147b..258b8b8c 100644 --- a/docs/3.x/spring_cloud_build_deployment.md +++ b/docs/3.x/spring_cloud_build_deployment.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 withAddonJson()`](#fn-withaddonjson) +* [`fn withApplicationPerformanceMonitoringIds()`](#fn-withapplicationperformancemonitoringids) * [`fn withBuildResultId()`](#fn-withbuildresultid) * [`fn withEnvironmentVariables()`](#fn-withenvironmentvariables) * [`fn withInstanceCount()`](#fn-withinstancecount) @@ -60,6 +61,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `resourceLabel` (`string`): The name label of the block. - `addon_json` (`string`): Set the `addon_json` field on the resulting resource block. When `null`, the `addon_json` field will be omitted from the resulting object. + - `application_performance_monitoring_ids` (`list`): Set the `application_performance_monitoring_ids` field on the resulting resource block. When `null`, the `application_performance_monitoring_ids` field will be omitted from the resulting object. - `build_result_id` (`string`): Set the `build_result_id` field on the resulting resource block. - `environment_variables` (`obj`): Set the `environment_variables` field on the resulting resource block. When `null`, the `environment_variables` field will be omitted from the resulting object. - `instance_count` (`number`): Set the `instance_count` field on the resulting resource block. When `null`, the `instance_count` field will be omitted from the resulting object. @@ -91,6 +93,7 @@ injecting into a complete block. **Args**: - `addon_json` (`string`): Set the `addon_json` field on the resulting object. When `null`, the `addon_json` field will be omitted from the resulting object. + - `application_performance_monitoring_ids` (`list`): Set the `application_performance_monitoring_ids` field on the resulting object. When `null`, the `application_performance_monitoring_ids` field will be omitted from the resulting object. - `build_result_id` (`string`): Set the `build_result_id` field on the resulting object. - `environment_variables` (`obj`): Set the `environment_variables` field on the resulting object. When `null`, the `environment_variables` field will be omitted from the resulting object. - `instance_count` (`number`): Set the `instance_count` field on the resulting object. When `null`, the `instance_count` field will be omitted from the resulting object. @@ -119,6 +122,22 @@ Terraform resource block to set or update the addon_json field. - `value` (`string`): The value to set for the `addon_json` field. +### fn withApplicationPerformanceMonitoringIds + +```ts +withApplicationPerformanceMonitoringIds() +``` + +`azurerm.list.withApplicationPerformanceMonitoringIds` constructs a mixin object that can be merged into the `list` +Terraform resource block to set or update the application_performance_monitoring_ids field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list`): The value to set for the `application_performance_monitoring_ids` field. + + ### fn withBuildResultId ```ts diff --git a/docs/3.x/spring_cloud_container_deployment.md b/docs/3.x/spring_cloud_container_deployment.md index e6e59e9f..473927cf 100644 --- a/docs/3.x/spring_cloud_container_deployment.md +++ b/docs/3.x/spring_cloud_container_deployment.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 withAddonJson()`](#fn-withaddonjson) +* [`fn withApplicationPerformanceMonitoringIds()`](#fn-withapplicationperformancemonitoringids) * [`fn withArguments()`](#fn-witharguments) * [`fn withCommands()`](#fn-withcommands) * [`fn withEnvironmentVariables()`](#fn-withenvironmentvariables) @@ -64,6 +65,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `resourceLabel` (`string`): The name label of the block. - `addon_json` (`string`): Set the `addon_json` field on the resulting resource block. When `null`, the `addon_json` field will be omitted from the resulting object. + - `application_performance_monitoring_ids` (`list`): Set the `application_performance_monitoring_ids` field on the resulting resource block. When `null`, the `application_performance_monitoring_ids` field will be omitted from the resulting object. - `arguments` (`list`): Set the `arguments` field on the resulting resource block. When `null`, the `arguments` field will be omitted from the resulting object. - `commands` (`list`): Set the `commands` field on the resulting resource block. When `null`, the `commands` field will be omitted from the resulting object. - `environment_variables` (`obj`): Set the `environment_variables` field on the resulting resource block. When `null`, the `environment_variables` field will be omitted from the resulting object. @@ -99,6 +101,7 @@ injecting into a complete block. **Args**: - `addon_json` (`string`): Set the `addon_json` field on the resulting object. When `null`, the `addon_json` field will be omitted from the resulting object. + - `application_performance_monitoring_ids` (`list`): Set the `application_performance_monitoring_ids` field on the resulting object. When `null`, the `application_performance_monitoring_ids` field will be omitted from the resulting object. - `arguments` (`list`): Set the `arguments` field on the resulting object. When `null`, the `arguments` field will be omitted from the resulting object. - `commands` (`list`): Set the `commands` field on the resulting object. When `null`, the `commands` field will be omitted from the resulting object. - `environment_variables` (`obj`): Set the `environment_variables` field on the resulting object. When `null`, the `environment_variables` field will be omitted from the resulting object. @@ -131,6 +134,22 @@ Terraform resource block to set or update the addon_json field. - `value` (`string`): The value to set for the `addon_json` field. +### fn withApplicationPerformanceMonitoringIds + +```ts +withApplicationPerformanceMonitoringIds() +``` + +`azurerm.list.withApplicationPerformanceMonitoringIds` constructs a mixin object that can be merged into the `list` +Terraform resource block to set or update the application_performance_monitoring_ids field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list`): The value to set for the `application_performance_monitoring_ids` field. + + ### fn withArguments ```ts diff --git a/docs/3.x/spring_cloud_customized_accelerator.md b/docs/3.x/spring_cloud_customized_accelerator.md index 18e7329c..671e4c03 100644 --- a/docs/3.x/spring_cloud_customized_accelerator.md +++ b/docs/3.x/spring_cloud_customized_accelerator.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 withAcceleratorTags()`](#fn-withacceleratortags) +* [`fn withAcceleratorType()`](#fn-withacceleratortype) * [`fn withDescription()`](#fn-withdescription) * [`fn withDisplayName()`](#fn-withdisplayname) * [`fn withGitRepository()`](#fn-withgitrepository) @@ -64,6 +65,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `resourceLabel` (`string`): The name label of the block. - `accelerator_tags` (`list`): Set the `accelerator_tags` field on the resulting resource block. When `null`, the `accelerator_tags` field will be omitted from the resulting object. + - `accelerator_type` (`string`): Set the `accelerator_type` field on the resulting resource block. When `null`, the `accelerator_type` 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. - `display_name` (`string`): Set the `display_name` field on the resulting resource block. When `null`, the `display_name` field will be omitted from the resulting object. - `icon_url` (`string`): Set the `icon_url` field on the resulting resource block. When `null`, the `icon_url` field will be omitted from the resulting object. @@ -95,6 +97,7 @@ injecting into a complete block. **Args**: - `accelerator_tags` (`list`): Set the `accelerator_tags` field on the resulting object. When `null`, the `accelerator_tags` field will be omitted from the resulting object. + - `accelerator_type` (`string`): Set the `accelerator_type` field on the resulting object. When `null`, the `accelerator_type` 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. - `display_name` (`string`): Set the `display_name` field on the resulting object. When `null`, the `display_name` field will be omitted from the resulting object. - `icon_url` (`string`): Set the `icon_url` field on the resulting object. When `null`, the `icon_url` field will be omitted from the resulting object. @@ -123,6 +126,22 @@ Terraform resource block to set or update the accelerator_tags field. - `value` (`list`): The value to set for the `accelerator_tags` field. +### fn withAcceleratorType + +```ts +withAcceleratorType() +``` + +`azurerm.string.withAcceleratorType` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the accelerator_type field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `accelerator_type` field. + + ### fn withDescription ```ts @@ -298,6 +317,7 @@ Terraform sub block. - `commit` (`string`): Set the `commit` field on the resulting object. When `null`, the `commit` field will be omitted from the resulting object. - `git_tag` (`string`): Set the `git_tag` field on the resulting object. When `null`, the `git_tag` field will be omitted from the resulting object. - `interval_in_seconds` (`number`): Set the `interval_in_seconds` field on the resulting object. When `null`, the `interval_in_seconds` field will be omitted from the resulting object. + - `path` (`string`): Set the `path` field on the resulting object. When `null`, the `path` field will be omitted from the resulting object. - `url` (`string`): Set the `url` field on the resulting object. - `basic_auth` (`list[obj]`): Set the `basic_auth` field on the resulting object. When `null`, the `basic_auth` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_customized_accelerator.git_repository.basic_auth.new](#fn-git_repositorybasic_authnew) constructor. - `ssh_auth` (`list[obj]`): Set the `ssh_auth` field on the resulting object. When `null`, the `ssh_auth` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_customized_accelerator.git_repository.ssh_auth.new](#fn-git_repositoryssh_authnew) constructor. diff --git a/docs/3.x/spring_cloud_dynatrace_application_performance_monitoring.md b/docs/3.x/spring_cloud_dynatrace_application_performance_monitoring.md new file mode 100644 index 00000000..3bcd66ef --- /dev/null +++ b/docs/3.x/spring_cloud_dynatrace_application_performance_monitoring.md @@ -0,0 +1,312 @@ +--- +permalink: /spring_cloud_dynatrace_application_performance_monitoring/ +--- + +# spring_cloud_dynatrace_application_performance_monitoring + +`spring_cloud_dynatrace_application_performance_monitoring` represents the `azurerm_spring_cloud_dynatrace_application_performance_monitoring` 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 withApiToken()`](#fn-withapitoken) +* [`fn withApiUrl()`](#fn-withapiurl) +* [`fn withConnectionPoint()`](#fn-withconnectionpoint) +* [`fn withEnvironmentId()`](#fn-withenvironmentid) +* [`fn withGloballyEnabled()`](#fn-withgloballyenabled) +* [`fn withName()`](#fn-withname) +* [`fn withSpringCloudServiceId()`](#fn-withspringcloudserviceid) +* [`fn withTenant()`](#fn-withtenant) +* [`fn withTenantToken()`](#fn-withtenanttoken) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.spring_cloud_dynatrace_application_performance_monitoring.new` injects a new `azurerm_spring_cloud_dynatrace_application_performance_monitoring` 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.spring_cloud_dynatrace_application_performance_monitoring.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.spring_cloud_dynatrace_application_performance_monitoring` using the reference: + + $._ref.azurerm_spring_cloud_dynatrace_application_performance_monitoring.some_id.get('id') + +This is the same as directly entering `"${ azurerm_spring_cloud_dynatrace_application_performance_monitoring.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. + - `api_token` (`string`): Set the `api_token` field on the resulting resource block. When `null`, the `api_token` field will be omitted from the resulting object. + - `api_url` (`string`): Set the `api_url` field on the resulting resource block. When `null`, the `api_url` field will be omitted from the resulting object. + - `connection_point` (`string`): Set the `connection_point` field on the resulting resource block. + - `environment_id` (`string`): Set the `environment_id` field on the resulting resource block. When `null`, the `environment_id` field will be omitted from the resulting object. + - `globally_enabled` (`bool`): Set the `globally_enabled` field on the resulting resource block. When `null`, the `globally_enabled` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting resource block. + - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting resource block. + - `tenant` (`string`): Set the `tenant` field on the resulting resource block. + - `tenant_token` (`string`): Set the `tenant_token` 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.spring_cloud_dynatrace_application_performance_monitoring.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.spring_cloud_dynatrace_application_performance_monitoring.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_dynatrace_application_performance_monitoring` +Terraform resource. + +Unlike [azurerm.spring_cloud_dynatrace_application_performance_monitoring.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**: + - `api_token` (`string`): Set the `api_token` field on the resulting object. When `null`, the `api_token` field will be omitted from the resulting object. + - `api_url` (`string`): Set the `api_url` field on the resulting object. When `null`, the `api_url` field will be omitted from the resulting object. + - `connection_point` (`string`): Set the `connection_point` field on the resulting object. + - `environment_id` (`string`): Set the `environment_id` field on the resulting object. When `null`, the `environment_id` field will be omitted from the resulting object. + - `globally_enabled` (`bool`): Set the `globally_enabled` field on the resulting object. When `null`, the `globally_enabled` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting object. + - `tenant` (`string`): Set the `tenant` field on the resulting object. + - `tenant_token` (`string`): Set the `tenant_token` 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.spring_cloud_dynatrace_application_performance_monitoring.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 `spring_cloud_dynatrace_application_performance_monitoring` resource into the root Terraform configuration. + + +### fn withApiToken + +```ts +withApiToken() +``` + +`azurerm.string.withApiToken` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the api_token field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `api_token` field. + + +### fn withApiUrl + +```ts +withApiUrl() +``` + +`azurerm.string.withApiUrl` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the api_url field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `api_url` field. + + +### fn withConnectionPoint + +```ts +withConnectionPoint() +``` + +`azurerm.string.withConnectionPoint` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the connection_point field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `connection_point` field. + + +### fn withEnvironmentId + +```ts +withEnvironmentId() +``` + +`azurerm.string.withEnvironmentId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the environment_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `environment_id` field. + + +### fn withGloballyEnabled + +```ts +withGloballyEnabled() +``` + +`azurerm.bool.withGloballyEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the globally_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `globally_enabled` 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 withSpringCloudServiceId + +```ts +withSpringCloudServiceId() +``` + +`azurerm.string.withSpringCloudServiceId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the spring_cloud_service_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `spring_cloud_service_id` field. + + +### fn withTenant + +```ts +withTenant() +``` + +`azurerm.string.withTenant` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the tenant field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `tenant` field. + + +### fn withTenantToken + +```ts +withTenantToken() +``` + +`azurerm.string.withTenantToken` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the tenant_token field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `tenant_token` 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.spring_cloud_dynatrace_application_performance_monitoring.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/spring_cloud_elastic_application_performance_monitoring.md b/docs/3.x/spring_cloud_elastic_application_performance_monitoring.md new file mode 100644 index 00000000..37bc981d --- /dev/null +++ b/docs/3.x/spring_cloud_elastic_application_performance_monitoring.md @@ -0,0 +1,255 @@ +--- +permalink: /spring_cloud_elastic_application_performance_monitoring/ +--- + +# spring_cloud_elastic_application_performance_monitoring + +`spring_cloud_elastic_application_performance_monitoring` represents the `azurerm_spring_cloud_elastic_application_performance_monitoring` 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 withApplicationPackages()`](#fn-withapplicationpackages) +* [`fn withGloballyEnabled()`](#fn-withgloballyenabled) +* [`fn withName()`](#fn-withname) +* [`fn withServerUrl()`](#fn-withserverurl) +* [`fn withServiceName()`](#fn-withservicename) +* [`fn withSpringCloudServiceId()`](#fn-withspringcloudserviceid) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.spring_cloud_elastic_application_performance_monitoring.new` injects a new `azurerm_spring_cloud_elastic_application_performance_monitoring` 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.spring_cloud_elastic_application_performance_monitoring.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.spring_cloud_elastic_application_performance_monitoring` using the reference: + + $._ref.azurerm_spring_cloud_elastic_application_performance_monitoring.some_id.get('id') + +This is the same as directly entering `"${ azurerm_spring_cloud_elastic_application_performance_monitoring.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. + - `application_packages` (`list`): Set the `application_packages` field on the resulting resource block. + - `globally_enabled` (`bool`): Set the `globally_enabled` field on the resulting resource block. When `null`, the `globally_enabled` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting resource block. + - `server_url` (`string`): Set the `server_url` field on the resulting resource block. + - `service_name` (`string`): Set the `service_name` field on the resulting resource block. + - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_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.spring_cloud_elastic_application_performance_monitoring.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.spring_cloud_elastic_application_performance_monitoring.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_elastic_application_performance_monitoring` +Terraform resource. + +Unlike [azurerm.spring_cloud_elastic_application_performance_monitoring.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**: + - `application_packages` (`list`): Set the `application_packages` field on the resulting object. + - `globally_enabled` (`bool`): Set the `globally_enabled` field on the resulting object. When `null`, the `globally_enabled` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `server_url` (`string`): Set the `server_url` field on the resulting object. + - `service_name` (`string`): Set the `service_name` field on the resulting object. + - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_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.spring_cloud_elastic_application_performance_monitoring.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 `spring_cloud_elastic_application_performance_monitoring` resource into the root Terraform configuration. + + +### fn withApplicationPackages + +```ts +withApplicationPackages() +``` + +`azurerm.list.withApplicationPackages` constructs a mixin object that can be merged into the `list` +Terraform resource block to set or update the application_packages field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list`): The value to set for the `application_packages` field. + + +### fn withGloballyEnabled + +```ts +withGloballyEnabled() +``` + +`azurerm.bool.withGloballyEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the globally_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `globally_enabled` 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 withServerUrl + +```ts +withServerUrl() +``` + +`azurerm.string.withServerUrl` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the server_url field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `server_url` field. + + +### fn withServiceName + +```ts +withServiceName() +``` + +`azurerm.string.withServiceName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the service_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `service_name` field. + + +### fn withSpringCloudServiceId + +```ts +withSpringCloudServiceId() +``` + +`azurerm.string.withSpringCloudServiceId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the spring_cloud_service_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `spring_cloud_service_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.spring_cloud_elastic_application_performance_monitoring.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/spring_cloud_gateway.md b/docs/3.x/spring_cloud_gateway.md index 28ee06d9..d08fe752 100644 --- a/docs/3.x/spring_cloud_gateway.md +++ b/docs/3.x/spring_cloud_gateway.md @@ -25,6 +25,10 @@ This package contains functions and utilities for setting up the resource using * [`fn withEnvironmentVariables()`](#fn-withenvironmentvariables) * [`fn withHttpsOnly()`](#fn-withhttpsonly) * [`fn withInstanceCount()`](#fn-withinstancecount) +* [`fn withLocalResponseCachePerInstance()`](#fn-withlocalresponsecacheperinstance) +* [`fn withLocalResponseCachePerInstanceMixin()`](#fn-withlocalresponsecacheperinstancemixin) +* [`fn withLocalResponseCachePerRoute()`](#fn-withlocalresponsecacheperroute) +* [`fn withLocalResponseCachePerRouteMixin()`](#fn-withlocalresponsecacheperroutemixin) * [`fn withName()`](#fn-withname) * [`fn withPublicNetworkAccessEnabled()`](#fn-withpublicnetworkaccessenabled) * [`fn withQuota()`](#fn-withquota) @@ -41,6 +45,10 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-client_authorizationnew) * [`obj cors`](#obj-cors) * [`fn new()`](#fn-corsnew) +* [`obj local_response_cache_per_instance`](#obj-local_response_cache_per_instance) + * [`fn new()`](#fn-local_response_cache_per_instancenew) +* [`obj local_response_cache_per_route`](#obj-local_response_cache_per_route) + * [`fn new()`](#fn-local_response_cache_per_routenew) * [`obj quota`](#obj-quota) * [`fn new()`](#fn-quotanew) * [`obj sso`](#obj-sso) @@ -88,6 +96,8 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `api_metadata` (`list[obj]`): Set the `api_metadata` field on the resulting resource block. When `null`, the `api_metadata` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.api_metadata.new](#fn-api_metadatanew) constructor. - `client_authorization` (`list[obj]`): Set the `client_authorization` field on the resulting resource block. When `null`, the `client_authorization` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.client_authorization.new](#fn-client_authorizationnew) constructor. - `cors` (`list[obj]`): Set the `cors` field on the resulting resource block. When `null`, the `cors` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.cors.new](#fn-corsnew) constructor. + - `local_response_cache_per_instance` (`list[obj]`): Set the `local_response_cache_per_instance` field on the resulting resource block. When `null`, the `local_response_cache_per_instance` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.local_response_cache_per_instance.new](#fn-local_response_cache_per_instancenew) constructor. + - `local_response_cache_per_route` (`list[obj]`): Set the `local_response_cache_per_route` field on the resulting resource block. When `null`, the `local_response_cache_per_route` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.local_response_cache_per_route.new](#fn-local_response_cache_per_routenew) constructor. - `quota` (`list[obj]`): Set the `quota` field on the resulting resource block. When `null`, the `quota` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.quota.new](#fn-quotanew) constructor. - `sso` (`list[obj]`): Set the `sso` field on the resulting resource block. When `null`, the `sso` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.sso.new](#fn-ssonew) 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.spring_cloud_gateway.timeouts.new](#fn-timeoutsnew) constructor. @@ -125,6 +135,8 @@ injecting into a complete block. - `api_metadata` (`list[obj]`): Set the `api_metadata` field on the resulting object. When `null`, the `api_metadata` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.api_metadata.new](#fn-api_metadatanew) constructor. - `client_authorization` (`list[obj]`): Set the `client_authorization` field on the resulting object. When `null`, the `client_authorization` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.client_authorization.new](#fn-client_authorizationnew) constructor. - `cors` (`list[obj]`): Set the `cors` field on the resulting object. When `null`, the `cors` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.cors.new](#fn-corsnew) constructor. + - `local_response_cache_per_instance` (`list[obj]`): Set the `local_response_cache_per_instance` field on the resulting object. When `null`, the `local_response_cache_per_instance` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.local_response_cache_per_instance.new](#fn-local_response_cache_per_instancenew) constructor. + - `local_response_cache_per_route` (`list[obj]`): Set the `local_response_cache_per_route` field on the resulting object. When `null`, the `local_response_cache_per_route` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.local_response_cache_per_route.new](#fn-local_response_cache_per_routenew) constructor. - `quota` (`list[obj]`): Set the `quota` field on the resulting object. When `null`, the `quota` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.quota.new](#fn-quotanew) constructor. - `sso` (`list[obj]`): Set the `sso` field on the resulting object. When `null`, the `sso` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_gateway.sso.new](#fn-ssonew) 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.spring_cloud_gateway.timeouts.new](#fn-timeoutsnew) constructor. @@ -308,6 +320,80 @@ Terraform resource block to set or update the instance_count field. - `value` (`number`): The value to set for the `instance_count` field. +### fn withLocalResponseCachePerInstance + +```ts +withLocalResponseCachePerInstance() +``` + +`azurerm.list[obj].withLocalResponseCachePerInstance` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the local_response_cache_per_instance 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].withLocalResponseCachePerInstanceMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `local_response_cache_per_instance` field. + + +### fn withLocalResponseCachePerInstanceMixin + +```ts +withLocalResponseCachePerInstanceMixin() +``` + +`azurerm.list[obj].withLocalResponseCachePerInstanceMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the local_response_cache_per_instance 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].withLocalResponseCachePerInstance](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `local_response_cache_per_instance` field. + + +### fn withLocalResponseCachePerRoute + +```ts +withLocalResponseCachePerRoute() +``` + +`azurerm.list[obj].withLocalResponseCachePerRoute` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the local_response_cache_per_route 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].withLocalResponseCachePerRouteMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `local_response_cache_per_route` field. + + +### fn withLocalResponseCachePerRouteMixin + +```ts +withLocalResponseCachePerRouteMixin() +``` + +`azurerm.list[obj].withLocalResponseCachePerRouteMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the local_response_cache_per_route 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].withLocalResponseCachePerRoute](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `local_response_cache_per_route` field. + + ### fn withName ```ts @@ -562,6 +648,54 @@ Terraform sub block. - An attribute object that represents the `cors` sub block. +## obj local_response_cache_per_instance + + + +### fn local_response_cache_per_instance.new + +```ts +new() +``` + + +`azurerm.spring_cloud_gateway.local_response_cache_per_instance.new` constructs a new object with attributes and blocks configured for the `local_response_cache_per_instance` +Terraform sub block. + + + +**Args**: + - `size` (`string`): Set the `size` field on the resulting object. When `null`, the `size` field will be omitted from the resulting object. + - `time_to_live` (`string`): Set the `time_to_live` field on the resulting object. When `null`, the `time_to_live` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `local_response_cache_per_instance` sub block. + + +## obj local_response_cache_per_route + + + +### fn local_response_cache_per_route.new + +```ts +new() +``` + + +`azurerm.spring_cloud_gateway.local_response_cache_per_route.new` constructs a new object with attributes and blocks configured for the `local_response_cache_per_route` +Terraform sub block. + + + +**Args**: + - `size` (`string`): Set the `size` field on the resulting object. When `null`, the `size` field will be omitted from the resulting object. + - `time_to_live` (`string`): Set the `time_to_live` field on the resulting object. When `null`, the `time_to_live` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `local_response_cache_per_route` sub block. + + ## obj quota diff --git a/docs/3.x/spring_cloud_new_relic_application_performance_monitoring.md b/docs/3.x/spring_cloud_new_relic_application_performance_monitoring.md new file mode 100644 index 00000000..85dde2d7 --- /dev/null +++ b/docs/3.x/spring_cloud_new_relic_application_performance_monitoring.md @@ -0,0 +1,369 @@ +--- +permalink: /spring_cloud_new_relic_application_performance_monitoring/ +--- + +# spring_cloud_new_relic_application_performance_monitoring + +`spring_cloud_new_relic_application_performance_monitoring` represents the `azurerm_spring_cloud_new_relic_application_performance_monitoring` 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 withAgentEnabled()`](#fn-withagentenabled) +* [`fn withAppName()`](#fn-withappname) +* [`fn withAppServerPort()`](#fn-withappserverport) +* [`fn withAuditModeEnabled()`](#fn-withauditmodeenabled) +* [`fn withAutoAppNamingEnabled()`](#fn-withautoappnamingenabled) +* [`fn withAutoTransactionNamingEnabled()`](#fn-withautotransactionnamingenabled) +* [`fn withCustomTracingEnabled()`](#fn-withcustomtracingenabled) +* [`fn withGloballyEnabled()`](#fn-withgloballyenabled) +* [`fn withLabels()`](#fn-withlabels) +* [`fn withLicenseKey()`](#fn-withlicensekey) +* [`fn withName()`](#fn-withname) +* [`fn withSpringCloudServiceId()`](#fn-withspringcloudserviceid) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.spring_cloud_new_relic_application_performance_monitoring.new` injects a new `azurerm_spring_cloud_new_relic_application_performance_monitoring` 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.spring_cloud_new_relic_application_performance_monitoring.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.spring_cloud_new_relic_application_performance_monitoring` using the reference: + + $._ref.azurerm_spring_cloud_new_relic_application_performance_monitoring.some_id.get('id') + +This is the same as directly entering `"${ azurerm_spring_cloud_new_relic_application_performance_monitoring.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. + - `agent_enabled` (`bool`): Set the `agent_enabled` field on the resulting resource block. When `null`, the `agent_enabled` field will be omitted from the resulting object. + - `app_name` (`string`): Set the `app_name` field on the resulting resource block. + - `app_server_port` (`number`): Set the `app_server_port` field on the resulting resource block. When `null`, the `app_server_port` field will be omitted from the resulting object. + - `audit_mode_enabled` (`bool`): Set the `audit_mode_enabled` field on the resulting resource block. When `null`, the `audit_mode_enabled` field will be omitted from the resulting object. + - `auto_app_naming_enabled` (`bool`): Set the `auto_app_naming_enabled` field on the resulting resource block. When `null`, the `auto_app_naming_enabled` field will be omitted from the resulting object. + - `auto_transaction_naming_enabled` (`bool`): Set the `auto_transaction_naming_enabled` field on the resulting resource block. When `null`, the `auto_transaction_naming_enabled` field will be omitted from the resulting object. + - `custom_tracing_enabled` (`bool`): Set the `custom_tracing_enabled` field on the resulting resource block. When `null`, the `custom_tracing_enabled` field will be omitted from the resulting object. + - `globally_enabled` (`bool`): Set the `globally_enabled` field on the resulting resource block. When `null`, the `globally_enabled` field will be omitted from the resulting object. + - `labels` (`obj`): Set the `labels` field on the resulting resource block. When `null`, the `labels` field will be omitted from the resulting object. + - `license_key` (`string`): Set the `license_key` field on the resulting resource block. + - `name` (`string`): Set the `name` field on the resulting resource block. + - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting resource block. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_new_relic_application_performance_monitoring.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.spring_cloud_new_relic_application_performance_monitoring.newAttrs` constructs a new object with attributes and blocks configured for the `spring_cloud_new_relic_application_performance_monitoring` +Terraform resource. + +Unlike [azurerm.spring_cloud_new_relic_application_performance_monitoring.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**: + - `agent_enabled` (`bool`): Set the `agent_enabled` field on the resulting object. When `null`, the `agent_enabled` field will be omitted from the resulting object. + - `app_name` (`string`): Set the `app_name` field on the resulting object. + - `app_server_port` (`number`): Set the `app_server_port` field on the resulting object. When `null`, the `app_server_port` field will be omitted from the resulting object. + - `audit_mode_enabled` (`bool`): Set the `audit_mode_enabled` field on the resulting object. When `null`, the `audit_mode_enabled` field will be omitted from the resulting object. + - `auto_app_naming_enabled` (`bool`): Set the `auto_app_naming_enabled` field on the resulting object. When `null`, the `auto_app_naming_enabled` field will be omitted from the resulting object. + - `auto_transaction_naming_enabled` (`bool`): Set the `auto_transaction_naming_enabled` field on the resulting object. When `null`, the `auto_transaction_naming_enabled` field will be omitted from the resulting object. + - `custom_tracing_enabled` (`bool`): Set the `custom_tracing_enabled` field on the resulting object. When `null`, the `custom_tracing_enabled` field will be omitted from the resulting object. + - `globally_enabled` (`bool`): Set the `globally_enabled` field on the resulting object. When `null`, the `globally_enabled` field will be omitted from the resulting object. + - `labels` (`obj`): Set the `labels` field on the resulting object. When `null`, the `labels` field will be omitted from the resulting object. + - `license_key` (`string`): Set the `license_key` field on the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `spring_cloud_service_id` (`string`): Set the `spring_cloud_service_id` field on the resulting object. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_new_relic_application_performance_monitoring.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 `spring_cloud_new_relic_application_performance_monitoring` resource into the root Terraform configuration. + + +### fn withAgentEnabled + +```ts +withAgentEnabled() +``` + +`azurerm.bool.withAgentEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the agent_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `agent_enabled` field. + + +### fn withAppName + +```ts +withAppName() +``` + +`azurerm.string.withAppName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the app_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `app_name` field. + + +### fn withAppServerPort + +```ts +withAppServerPort() +``` + +`azurerm.number.withAppServerPort` constructs a mixin object that can be merged into the `number` +Terraform resource block to set or update the app_server_port field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`number`): The value to set for the `app_server_port` field. + + +### fn withAuditModeEnabled + +```ts +withAuditModeEnabled() +``` + +`azurerm.bool.withAuditModeEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the audit_mode_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `audit_mode_enabled` field. + + +### fn withAutoAppNamingEnabled + +```ts +withAutoAppNamingEnabled() +``` + +`azurerm.bool.withAutoAppNamingEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the auto_app_naming_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `auto_app_naming_enabled` field. + + +### fn withAutoTransactionNamingEnabled + +```ts +withAutoTransactionNamingEnabled() +``` + +`azurerm.bool.withAutoTransactionNamingEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the auto_transaction_naming_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `auto_transaction_naming_enabled` field. + + +### fn withCustomTracingEnabled + +```ts +withCustomTracingEnabled() +``` + +`azurerm.bool.withCustomTracingEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the custom_tracing_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `custom_tracing_enabled` field. + + +### fn withGloballyEnabled + +```ts +withGloballyEnabled() +``` + +`azurerm.bool.withGloballyEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the globally_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `globally_enabled` field. + + +### fn withLabels + +```ts +withLabels() +``` + +`azurerm.obj.withLabels` constructs a mixin object that can be merged into the `obj` +Terraform resource block to set or update the labels field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `labels` field. + + +### fn withLicenseKey + +```ts +withLicenseKey() +``` + +`azurerm.string.withLicenseKey` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the license_key field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `license_key` 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 withSpringCloudServiceId + +```ts +withSpringCloudServiceId() +``` + +`azurerm.string.withSpringCloudServiceId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the spring_cloud_service_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `spring_cloud_service_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.spring_cloud_new_relic_application_performance_monitoring.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/spring_cloud_service.md b/docs/3.x/spring_cloud_service.md index 5dc765e7..44c91fe4 100644 --- a/docs/3.x/spring_cloud_service.md +++ b/docs/3.x/spring_cloud_service.md @@ -24,6 +24,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withDefaultBuildServiceMixin()`](#fn-withdefaultbuildservicemixin) * [`fn withLocation()`](#fn-withlocation) * [`fn withLogStreamPublicEndpointEnabled()`](#fn-withlogstreampublicendpointenabled) +* [`fn withManagedEnvironmentId()`](#fn-withmanagedenvironmentid) * [`fn withMarketplace()`](#fn-withmarketplace) * [`fn withMarketplaceMixin()`](#fn-withmarketplacemixin) * [`fn withName()`](#fn-withname) @@ -32,6 +33,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withResourceGroupName()`](#fn-withresourcegroupname) * [`fn withServiceRegistryEnabled()`](#fn-withserviceregistryenabled) * [`fn withSkuName()`](#fn-withskuname) +* [`fn withSkuTier()`](#fn-withskutier) * [`fn withTags()`](#fn-withtags) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) @@ -95,10 +97,12 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `build_agent_pool_size` (`string`): Set the `build_agent_pool_size` field on the resulting resource block. When `null`, the `build_agent_pool_size` field will be omitted from the resulting object. - `location` (`string`): Set the `location` field on the resulting resource block. - `log_stream_public_endpoint_enabled` (`bool`): Set the `log_stream_public_endpoint_enabled` field on the resulting resource block. When `null`, the `log_stream_public_endpoint_enabled` field will be omitted from the resulting object. + - `managed_environment_id` (`string`): Set the `managed_environment_id` field on the resulting resource block. When `null`, the `managed_environment_id` 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. - `service_registry_enabled` (`bool`): Set the `service_registry_enabled` field on the resulting resource block. When `null`, the `service_registry_enabled` field will be omitted from the resulting object. - `sku_name` (`string`): Set the `sku_name` field on the resulting resource block. When `null`, the `sku_name` field will be omitted from the resulting object. + - `sku_tier` (`string`): Set the `sku_tier` field on the resulting resource block. When `null`, the `sku_tier` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object. - `zone_redundant` (`bool`): Set the `zone_redundant` field on the resulting resource block. When `null`, the `zone_redundant` field will be omitted from the resulting object. - `config_server_git_setting` (`list[obj]`): Set the `config_server_git_setting` field on the resulting resource block. When `null`, the `config_server_git_setting` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.config_server_git_setting.new](#fn-config_server_git_settingnew) constructor. @@ -134,10 +138,12 @@ injecting into a complete block. - `build_agent_pool_size` (`string`): Set the `build_agent_pool_size` field on the resulting object. When `null`, the `build_agent_pool_size` field will be omitted from the resulting object. - `location` (`string`): Set the `location` field on the resulting object. - `log_stream_public_endpoint_enabled` (`bool`): Set the `log_stream_public_endpoint_enabled` field on the resulting object. When `null`, the `log_stream_public_endpoint_enabled` field will be omitted from the resulting object. + - `managed_environment_id` (`string`): Set the `managed_environment_id` field on the resulting object. When `null`, the `managed_environment_id` 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. - `service_registry_enabled` (`bool`): Set the `service_registry_enabled` field on the resulting object. When `null`, the `service_registry_enabled` field will be omitted from the resulting object. - `sku_name` (`string`): Set the `sku_name` field on the resulting object. When `null`, the `sku_name` field will be omitted from the resulting object. + - `sku_tier` (`string`): Set the `sku_tier` field on the resulting object. When `null`, the `sku_tier` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object. - `zone_redundant` (`bool`): Set the `zone_redundant` field on the resulting object. When `null`, the `zone_redundant` field will be omitted from the resulting object. - `config_server_git_setting` (`list[obj]`): Set the `config_server_git_setting` field on the resulting object. When `null`, the `config_server_git_setting` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.spring_cloud_service.config_server_git_setting.new](#fn-config_server_git_settingnew) constructor. @@ -311,6 +317,22 @@ Terraform resource block to set or update the log_stream_public_endpoint_enabled - `value` (`bool`): The value to set for the `log_stream_public_endpoint_enabled` field. +### fn withManagedEnvironmentId + +```ts +withManagedEnvironmentId() +``` + +`azurerm.string.withManagedEnvironmentId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the managed_environment_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `managed_environment_id` field. + + ### fn withMarketplace ```ts @@ -449,6 +471,22 @@ Terraform resource block to set or update the sku_name field. - `value` (`string`): The value to set for the `sku_name` field. +### fn withSkuTier + +```ts +withSkuTier() +``` + +`azurerm.string.withSkuTier` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the sku_tier field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `sku_tier` field. + + ### fn withTags ```ts diff --git a/docs/3.x/sql_managed_database.md b/docs/3.x/sql_managed_database.md index aefdd414..c33eb5d3 100644 --- a/docs/3.x/sql_managed_database.md +++ b/docs/3.x/sql_managed_database.md @@ -192,7 +192,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/static_site_custom_domain.md b/docs/3.x/static_site_custom_domain.md index 379be1fd..1e3eb5d5 100644 --- a/docs/3.x/static_site_custom_domain.md +++ b/docs/3.x/static_site_custom_domain.md @@ -192,7 +192,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/stream_analytics_job.md b/docs/3.x/stream_analytics_job.md index 599a65f1..8661a86d 100644 --- a/docs/3.x/stream_analytics_job.md +++ b/docs/3.x/stream_analytics_job.md @@ -29,6 +29,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withName()`](#fn-withname) * [`fn withOutputErrorPolicy()`](#fn-withoutputerrorpolicy) * [`fn withResourceGroupName()`](#fn-withresourcegroupname) +* [`fn withSkuName()`](#fn-withskuname) * [`fn withStreamAnalyticsClusterId()`](#fn-withstreamanalyticsclusterid) * [`fn withStreamingUnits()`](#fn-withstreamingunits) * [`fn withTags()`](#fn-withtags) @@ -82,6 +83,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. - `output_error_policy` (`string`): Set the `output_error_policy` field on the resulting resource block. When `null`, the `output_error_policy` field will be omitted from the resulting object. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block. + - `sku_name` (`string`): Set the `sku_name` field on the resulting resource block. When `null`, the `sku_name` field will be omitted from the resulting object. - `stream_analytics_cluster_id` (`string`): Set the `stream_analytics_cluster_id` field on the resulting resource block. When `null`, the `stream_analytics_cluster_id` field will be omitted from the resulting object. - `streaming_units` (`number`): Set the `streaming_units` field on the resulting resource block. When `null`, the `streaming_units` 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. @@ -123,6 +125,7 @@ injecting into a complete block. - `name` (`string`): Set the `name` field on the resulting object. - `output_error_policy` (`string`): Set the `output_error_policy` field on the resulting object. When `null`, the `output_error_policy` field will be omitted from the resulting object. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. + - `sku_name` (`string`): Set the `sku_name` field on the resulting object. When `null`, the `sku_name` field will be omitted from the resulting object. - `stream_analytics_cluster_id` (`string`): Set the `stream_analytics_cluster_id` field on the resulting object. When `null`, the `stream_analytics_cluster_id` field will be omitted from the resulting object. - `streaming_units` (`number`): Set the `streaming_units` field on the resulting object. When `null`, the `streaming_units` 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. @@ -370,6 +373,22 @@ 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 withSkuName + +```ts +withSkuName() +``` + +`azurerm.string.withSkuName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the sku_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `sku_name` field. + + ### fn withStreamAnalyticsClusterId ```ts @@ -503,6 +522,7 @@ Terraform sub block. **Args**: + - `identity_ids` (`list`): Set the `identity_ids` field on the resulting object. When `null`, the `identity_ids` field will be omitted from the resulting object. - `type` (`string`): Set the `type` field on the resulting object. **Returns**: diff --git a/docs/3.x/subnet_nat_gateway_association.md b/docs/3.x/subnet_nat_gateway_association.md index 4481d78a..f97bb1c7 100644 --- a/docs/3.x/subnet_nat_gateway_association.md +++ b/docs/3.x/subnet_nat_gateway_association.md @@ -173,7 +173,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/subnet_network_security_group_association.md b/docs/3.x/subnet_network_security_group_association.md index 245bc63e..1ab2bb53 100644 --- a/docs/3.x/subnet_network_security_group_association.md +++ b/docs/3.x/subnet_network_security_group_association.md @@ -173,7 +173,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/subnet_route_table_association.md b/docs/3.x/subnet_route_table_association.md index 3ff0a6a1..9b2e09bd 100644 --- a/docs/3.x/subnet_route_table_association.md +++ b/docs/3.x/subnet_route_table_association.md @@ -173,7 +173,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/synapse_role_assignment.md b/docs/3.x/synapse_role_assignment.md index 7e52b6d7..4dcae37c 100644 --- a/docs/3.x/synapse_role_assignment.md +++ b/docs/3.x/synapse_role_assignment.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 withPrincipalId()`](#fn-withprincipalid) +* [`fn withPrincipalType()`](#fn-withprincipaltype) * [`fn withRoleName()`](#fn-withrolename) * [`fn withSynapseSparkPoolId()`](#fn-withsynapsesparkpoolid) * [`fn withSynapseWorkspaceId()`](#fn-withsynapseworkspaceid) @@ -54,6 +55,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `resourceLabel` (`string`): The name label of the block. - `principal_id` (`string`): Set the `principal_id` field on the resulting resource block. + - `principal_type` (`string`): Set the `principal_type` field on the resulting resource block. When `null`, the `principal_type` field will be omitted from the resulting object. - `role_name` (`string`): Set the `role_name` field on the resulting resource block. - `synapse_spark_pool_id` (`string`): Set the `synapse_spark_pool_id` field on the resulting resource block. When `null`, the `synapse_spark_pool_id` field will be omitted from the resulting object. - `synapse_workspace_id` (`string`): Set the `synapse_workspace_id` field on the resulting resource block. When `null`, the `synapse_workspace_id` field will be omitted from the resulting object. @@ -82,6 +84,7 @@ injecting into a complete block. **Args**: - `principal_id` (`string`): Set the `principal_id` field on the resulting object. + - `principal_type` (`string`): Set the `principal_type` field on the resulting object. When `null`, the `principal_type` field will be omitted from the resulting object. - `role_name` (`string`): Set the `role_name` field on the resulting object. - `synapse_spark_pool_id` (`string`): Set the `synapse_spark_pool_id` field on the resulting object. When `null`, the `synapse_spark_pool_id` field will be omitted from the resulting object. - `synapse_workspace_id` (`string`): Set the `synapse_workspace_id` field on the resulting object. When `null`, the `synapse_workspace_id` field will be omitted from the resulting object. @@ -107,6 +110,22 @@ Terraform resource block to set or update the principal_id field. - `value` (`string`): The value to set for the `principal_id` field. +### fn withPrincipalType + +```ts +withPrincipalType() +``` + +`azurerm.string.withPrincipalType` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the principal_type field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `principal_type` field. + + ### fn withRoleName ```ts diff --git a/docs/3.x/virtual_desktop_workspace_application_group_association.md b/docs/3.x/virtual_desktop_workspace_application_group_association.md index e3ce4771..e5b8b24a 100644 --- a/docs/3.x/virtual_desktop_workspace_application_group_association.md +++ b/docs/3.x/virtual_desktop_workspace_application_group_association.md @@ -173,7 +173,6 @@ Terraform sub block. - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object. - - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `timeouts` sub block. diff --git a/docs/3.x/virtual_machine_run_command.md b/docs/3.x/virtual_machine_run_command.md new file mode 100644 index 00000000..c7626a50 --- /dev/null +++ b/docs/3.x/virtual_machine_run_command.md @@ -0,0 +1,656 @@ +--- +permalink: /virtual_machine_run_command/ +--- + +# virtual_machine_run_command + +`virtual_machine_run_command` represents the `azurerm_virtual_machine_run_command` 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 withErrorBlobManagedIdentity()`](#fn-witherrorblobmanagedidentity) +* [`fn withErrorBlobManagedIdentityMixin()`](#fn-witherrorblobmanagedidentitymixin) +* [`fn withErrorBlobUri()`](#fn-witherrorbloburi) +* [`fn withLocation()`](#fn-withlocation) +* [`fn withName()`](#fn-withname) +* [`fn withOutputBlobManagedIdentity()`](#fn-withoutputblobmanagedidentity) +* [`fn withOutputBlobManagedIdentityMixin()`](#fn-withoutputblobmanagedidentitymixin) +* [`fn withOutputBlobUri()`](#fn-withoutputbloburi) +* [`fn withParameter()`](#fn-withparameter) +* [`fn withParameterMixin()`](#fn-withparametermixin) +* [`fn withProtectedParameter()`](#fn-withprotectedparameter) +* [`fn withProtectedParameterMixin()`](#fn-withprotectedparametermixin) +* [`fn withRunAsPassword()`](#fn-withrunaspassword) +* [`fn withRunAsUser()`](#fn-withrunasuser) +* [`fn withSource()`](#fn-withsource) +* [`fn withSourceMixin()`](#fn-withsourcemixin) +* [`fn withTags()`](#fn-withtags) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`fn withVirtualMachineId()`](#fn-withvirtualmachineid) +* [`obj error_blob_managed_identity`](#obj-error_blob_managed_identity) + * [`fn new()`](#fn-error_blob_managed_identitynew) +* [`obj output_blob_managed_identity`](#obj-output_blob_managed_identity) + * [`fn new()`](#fn-output_blob_managed_identitynew) +* [`obj parameter`](#obj-parameter) + * [`fn new()`](#fn-parameternew) +* [`obj protected_parameter`](#obj-protected_parameter) + * [`fn new()`](#fn-protected_parameternew) +* [`obj source`](#obj-source) + * [`fn new()`](#fn-sourcenew) + * [`obj source.script_uri_managed_identity`](#obj-sourcescript_uri_managed_identity) + * [`fn new()`](#fn-sourcescript_uri_managed_identitynew) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`azurerm.virtual_machine_run_command.new` injects a new `azurerm_virtual_machine_run_command` 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.virtual_machine_run_command.new('some_id') + +You can get the reference to the `id` field of the created `azurerm.virtual_machine_run_command` using the reference: + + $._ref.azurerm_virtual_machine_run_command.some_id.get('id') + +This is the same as directly entering `"${ azurerm_virtual_machine_run_command.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. + - `error_blob_uri` (`string`): Set the `error_blob_uri` field on the resulting resource block. When `null`, the `error_blob_uri` 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. + - `output_blob_uri` (`string`): Set the `output_blob_uri` field on the resulting resource block. When `null`, the `output_blob_uri` field will be omitted from the resulting object. + - `run_as_password` (`string`): Set the `run_as_password` field on the resulting resource block. When `null`, the `run_as_password` field will be omitted from the resulting object. + - `run_as_user` (`string`): Set the `run_as_user` field on the resulting resource block. When `null`, the `run_as_user` 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. + - `virtual_machine_id` (`string`): Set the `virtual_machine_id` field on the resulting resource block. + - `error_blob_managed_identity` (`list[obj]`): Set the `error_blob_managed_identity` field on the resulting resource block. When `null`, the `error_blob_managed_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.virtual_machine_run_command.error_blob_managed_identity.new](#fn-error_blob_managed_identitynew) constructor. + - `output_blob_managed_identity` (`list[obj]`): Set the `output_blob_managed_identity` field on the resulting resource block. When `null`, the `output_blob_managed_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.virtual_machine_run_command.output_blob_managed_identity.new](#fn-output_blob_managed_identitynew) constructor. + - `parameter` (`list[obj]`): Set the `parameter` field on the resulting resource block. When `null`, the `parameter` 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_machine_run_command.parameter.new](#fn-parameternew) constructor. + - `protected_parameter` (`list[obj]`): Set the `protected_parameter` field on the resulting resource block. When `null`, the `protected_parameter` 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_machine_run_command.protected_parameter.new](#fn-protected_parameternew) constructor. + - `source` (`list[obj]`): Set the `source` field on the resulting resource block. When `null`, the `source` 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_machine_run_command.source.new](#fn-sourcenew) 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_machine_run_command.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`azurerm.virtual_machine_run_command.newAttrs` constructs a new object with attributes and blocks configured for the `virtual_machine_run_command` +Terraform resource. + +Unlike [azurerm.virtual_machine_run_command.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**: + - `error_blob_uri` (`string`): Set the `error_blob_uri` field on the resulting object. When `null`, the `error_blob_uri` 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. + - `output_blob_uri` (`string`): Set the `output_blob_uri` field on the resulting object. When `null`, the `output_blob_uri` field will be omitted from the resulting object. + - `run_as_password` (`string`): Set the `run_as_password` field on the resulting object. When `null`, the `run_as_password` field will be omitted from the resulting object. + - `run_as_user` (`string`): Set the `run_as_user` field on the resulting object. When `null`, the `run_as_user` 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. + - `virtual_machine_id` (`string`): Set the `virtual_machine_id` field on the resulting object. + - `error_blob_managed_identity` (`list[obj]`): Set the `error_blob_managed_identity` field on the resulting object. When `null`, the `error_blob_managed_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.virtual_machine_run_command.error_blob_managed_identity.new](#fn-error_blob_managed_identitynew) constructor. + - `output_blob_managed_identity` (`list[obj]`): Set the `output_blob_managed_identity` field on the resulting object. When `null`, the `output_blob_managed_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.virtual_machine_run_command.output_blob_managed_identity.new](#fn-output_blob_managed_identitynew) constructor. + - `parameter` (`list[obj]`): Set the `parameter` field on the resulting object. When `null`, the `parameter` 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_machine_run_command.parameter.new](#fn-parameternew) constructor. + - `protected_parameter` (`list[obj]`): Set the `protected_parameter` field on the resulting object. When `null`, the `protected_parameter` 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_machine_run_command.protected_parameter.new](#fn-protected_parameternew) constructor. + - `source` (`list[obj]`): Set the `source` field on the resulting object. When `null`, the `source` 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_machine_run_command.source.new](#fn-sourcenew) 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_machine_run_command.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 `virtual_machine_run_command` resource into the root Terraform configuration. + + +### fn withErrorBlobManagedIdentity + +```ts +withErrorBlobManagedIdentity() +``` + +`azurerm.list[obj].withErrorBlobManagedIdentity` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the error_blob_managed_identity 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].withErrorBlobManagedIdentityMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `error_blob_managed_identity` field. + + +### fn withErrorBlobManagedIdentityMixin + +```ts +withErrorBlobManagedIdentityMixin() +``` + +`azurerm.list[obj].withErrorBlobManagedIdentityMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the error_blob_managed_identity 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].withErrorBlobManagedIdentity](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `error_blob_managed_identity` field. + + +### fn withErrorBlobUri + +```ts +withErrorBlobUri() +``` + +`azurerm.string.withErrorBlobUri` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the error_blob_uri field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `error_blob_uri` 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 withOutputBlobManagedIdentity + +```ts +withOutputBlobManagedIdentity() +``` + +`azurerm.list[obj].withOutputBlobManagedIdentity` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the output_blob_managed_identity 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].withOutputBlobManagedIdentityMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `output_blob_managed_identity` field. + + +### fn withOutputBlobManagedIdentityMixin + +```ts +withOutputBlobManagedIdentityMixin() +``` + +`azurerm.list[obj].withOutputBlobManagedIdentityMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the output_blob_managed_identity 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].withOutputBlobManagedIdentity](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `output_blob_managed_identity` field. + + +### fn withOutputBlobUri + +```ts +withOutputBlobUri() +``` + +`azurerm.string.withOutputBlobUri` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the output_blob_uri field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `output_blob_uri` field. + + +### fn withParameter + +```ts +withParameter() +``` + +`azurerm.list[obj].withParameter` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the parameter 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].withParameterMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `parameter` field. + + +### fn withParameterMixin + +```ts +withParameterMixin() +``` + +`azurerm.list[obj].withParameterMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the parameter 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].withParameter](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `parameter` field. + + +### fn withProtectedParameter + +```ts +withProtectedParameter() +``` + +`azurerm.list[obj].withProtectedParameter` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the protected_parameter 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].withProtectedParameterMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `protected_parameter` field. + + +### fn withProtectedParameterMixin + +```ts +withProtectedParameterMixin() +``` + +`azurerm.list[obj].withProtectedParameterMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the protected_parameter 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].withProtectedParameter](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `protected_parameter` field. + + +### fn withRunAsPassword + +```ts +withRunAsPassword() +``` + +`azurerm.string.withRunAsPassword` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the run_as_password field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `run_as_password` field. + + +### fn withRunAsUser + +```ts +withRunAsUser() +``` + +`azurerm.string.withRunAsUser` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the run_as_user field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `run_as_user` field. + + +### fn withSource + +```ts +withSource() +``` + +`azurerm.list[obj].withSource` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the source 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].withSourceMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `source` field. + + +### fn withSourceMixin + +```ts +withSourceMixin() +``` + +`azurerm.list[obj].withSourceMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the source 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].withSource](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `source` 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 withVirtualMachineId + +```ts +withVirtualMachineId() +``` + +`azurerm.string.withVirtualMachineId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the virtual_machine_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `virtual_machine_id` field. + + +## obj error_blob_managed_identity + + + +### fn error_blob_managed_identity.new + +```ts +new() +``` + + +`azurerm.virtual_machine_run_command.error_blob_managed_identity.new` constructs a new object with attributes and blocks configured for the `error_blob_managed_identity` +Terraform sub block. + + + +**Args**: + - `client_id` (`string`): Set the `client_id` field on the resulting object. When `null`, the `client_id` field will be omitted from the resulting object. + - `object_id` (`string`): Set the `object_id` field on the resulting object. When `null`, the `object_id` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `error_blob_managed_identity` sub block. + + +## obj output_blob_managed_identity + + + +### fn output_blob_managed_identity.new + +```ts +new() +``` + + +`azurerm.virtual_machine_run_command.output_blob_managed_identity.new` constructs a new object with attributes and blocks configured for the `output_blob_managed_identity` +Terraform sub block. + + + +**Args**: + - `client_id` (`string`): Set the `client_id` field on the resulting object. When `null`, the `client_id` field will be omitted from the resulting object. + - `object_id` (`string`): Set the `object_id` field on the resulting object. When `null`, the `object_id` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `output_blob_managed_identity` sub block. + + +## obj parameter + + + +### fn parameter.new + +```ts +new() +``` + + +`azurerm.virtual_machine_run_command.parameter.new` constructs a new object with attributes and blocks configured for the `parameter` +Terraform sub block. + + + +**Args**: + - `name` (`string`): Set the `name` field on the resulting object. + - `value` (`string`): Set the `value` field on the resulting object. + +**Returns**: + - An attribute object that represents the `parameter` sub block. + + +## obj protected_parameter + + + +### fn protected_parameter.new + +```ts +new() +``` + + +`azurerm.virtual_machine_run_command.protected_parameter.new` constructs a new object with attributes and blocks configured for the `protected_parameter` +Terraform sub block. + + + +**Args**: + - `name` (`string`): Set the `name` field on the resulting object. + - `value` (`string`): Set the `value` field on the resulting object. + +**Returns**: + - An attribute object that represents the `protected_parameter` sub block. + + +## obj source + + + +### fn source.new + +```ts +new() +``` + + +`azurerm.virtual_machine_run_command.source.new` constructs a new object with attributes and blocks configured for the `source` +Terraform sub block. + + + +**Args**: + - `command_id` (`string`): Set the `command_id` field on the resulting object. When `null`, the `command_id` field will be omitted from the resulting object. + - `script` (`string`): Set the `script` field on the resulting object. When `null`, the `script` field will be omitted from the resulting object. + - `script_uri` (`string`): Set the `script_uri` field on the resulting object. When `null`, the `script_uri` field will be omitted from the resulting object. + - `script_uri_managed_identity` (`list[obj]`): Set the `script_uri_managed_identity` field on the resulting object. When `null`, the `script_uri_managed_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.virtual_machine_run_command.source.script_uri_managed_identity.new](#fn-sourcescript_uri_managed_identitynew) constructor. + +**Returns**: + - An attribute object that represents the `source` sub block. + + +## obj source.script_uri_managed_identity + + + +### fn source.script_uri_managed_identity.new + +```ts +new() +``` + + +`azurerm.virtual_machine_run_command.source.script_uri_managed_identity.new` constructs a new object with attributes and blocks configured for the `script_uri_managed_identity` +Terraform sub block. + + + +**Args**: + - `client_id` (`string`): Set the `client_id` field on the resulting object. When `null`, the `client_id` field will be omitted from the resulting object. + - `object_id` (`string`): Set the `object_id` field on the resulting object. When `null`, the `object_id` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `script_uri_managed_identity` sub block. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`azurerm.virtual_machine_run_command.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/virtual_network_gateway.md b/docs/3.x/virtual_network_gateway.md index 7ff4d520..9e223be6 100644 --- a/docs/3.x/virtual_network_gateway.md +++ b/docs/3.x/virtual_network_gateway.md @@ -16,25 +16,32 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-new) * [`fn newAttrs()`](#fn-newattrs) * [`fn withActiveActive()`](#fn-withactiveactive) +* [`fn withBgpRouteTranslationForNatEnabled()`](#fn-withbgproutetranslationfornatenabled) * [`fn withBgpSettings()`](#fn-withbgpsettings) * [`fn withBgpSettingsMixin()`](#fn-withbgpsettingsmixin) * [`fn withCustomRoute()`](#fn-withcustomroute) * [`fn withCustomRouteMixin()`](#fn-withcustomroutemixin) * [`fn withDefaultLocalNetworkGatewayId()`](#fn-withdefaultlocalnetworkgatewayid) +* [`fn withDnsForwardingEnabled()`](#fn-withdnsforwardingenabled) * [`fn withEdgeZone()`](#fn-withedgezone) * [`fn withEnableBgp()`](#fn-withenablebgp) * [`fn withGeneration()`](#fn-withgeneration) * [`fn withIpConfiguration()`](#fn-withipconfiguration) * [`fn withIpConfigurationMixin()`](#fn-withipconfigurationmixin) +* [`fn withIpSecReplayProtectionEnabled()`](#fn-withipsecreplayprotectionenabled) * [`fn withLocation()`](#fn-withlocation) * [`fn withName()`](#fn-withname) +* [`fn withPolicyGroup()`](#fn-withpolicygroup) +* [`fn withPolicyGroupMixin()`](#fn-withpolicygroupmixin) * [`fn withPrivateIpAddressEnabled()`](#fn-withprivateipaddressenabled) +* [`fn withRemoteVnetTrafficEnabled()`](#fn-withremotevnettrafficenabled) * [`fn withResourceGroupName()`](#fn-withresourcegroupname) * [`fn withSku()`](#fn-withsku) * [`fn withTags()`](#fn-withtags) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`fn withType()`](#fn-withtype) +* [`fn withVirtualWanTrafficEnabled()`](#fn-withvirtualwantrafficenabled) * [`fn withVpnClientConfiguration()`](#fn-withvpnclientconfiguration) * [`fn withVpnClientConfigurationMixin()`](#fn-withvpnclientconfigurationmixin) * [`fn withVpnType()`](#fn-withvpntype) @@ -46,14 +53,24 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-custom_routenew) * [`obj ip_configuration`](#obj-ip_configuration) * [`fn new()`](#fn-ip_configurationnew) +* [`obj policy_group`](#obj-policy_group) + * [`fn new()`](#fn-policy_groupnew) + * [`obj policy_group.policy_member`](#obj-policy_grouppolicy_member) + * [`fn new()`](#fn-policy_grouppolicy_membernew) * [`obj timeouts`](#obj-timeouts) * [`fn new()`](#fn-timeoutsnew) * [`obj vpn_client_configuration`](#obj-vpn_client_configuration) * [`fn new()`](#fn-vpn_client_configurationnew) + * [`obj vpn_client_configuration.ipsec_policy`](#obj-vpn_client_configurationipsec_policy) + * [`fn new()`](#fn-vpn_client_configurationipsec_policynew) + * [`obj vpn_client_configuration.radius_server`](#obj-vpn_client_configurationradius_server) + * [`fn new()`](#fn-vpn_client_configurationradius_servernew) * [`obj vpn_client_configuration.revoked_certificate`](#obj-vpn_client_configurationrevoked_certificate) * [`fn new()`](#fn-vpn_client_configurationrevoked_certificatenew) * [`obj vpn_client_configuration.root_certificate`](#obj-vpn_client_configurationroot_certificate) * [`fn new()`](#fn-vpn_client_configurationroot_certificatenew) + * [`obj vpn_client_configuration.virtual_network_gateway_client_connection`](#obj-vpn_client_configurationvirtual_network_gateway_client_connection) + * [`fn new()`](#fn-vpn_client_configurationvirtual_network_gateway_client_connectionnew) ## Fields @@ -85,21 +102,27 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `resourceLabel` (`string`): The name label of the block. - `active_active` (`bool`): Set the `active_active` field on the resulting resource block. When `null`, the `active_active` field will be omitted from the resulting object. + - `bgp_route_translation_for_nat_enabled` (`bool`): Set the `bgp_route_translation_for_nat_enabled` field on the resulting resource block. When `null`, the `bgp_route_translation_for_nat_enabled` field will be omitted from the resulting object. - `default_local_network_gateway_id` (`string`): Set the `default_local_network_gateway_id` field on the resulting resource block. When `null`, the `default_local_network_gateway_id` field will be omitted from the resulting object. + - `dns_forwarding_enabled` (`bool`): Set the `dns_forwarding_enabled` field on the resulting resource block. When `null`, the `dns_forwarding_enabled` field will be omitted from the resulting object. - `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. - `enable_bgp` (`bool`): Set the `enable_bgp` field on the resulting resource block. When `null`, the `enable_bgp` field will be omitted from the resulting object. - `generation` (`string`): Set the `generation` field on the resulting resource block. When `null`, the `generation` field will be omitted from the resulting object. + - `ip_sec_replay_protection_enabled` (`bool`): Set the `ip_sec_replay_protection_enabled` field on the resulting resource block. When `null`, the `ip_sec_replay_protection_enabled` 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. - `private_ip_address_enabled` (`bool`): Set the `private_ip_address_enabled` field on the resulting resource block. When `null`, the `private_ip_address_enabled` field will be omitted from the resulting object. + - `remote_vnet_traffic_enabled` (`bool`): Set the `remote_vnet_traffic_enabled` field on the resulting resource block. When `null`, the `remote_vnet_traffic_enabled` field will be omitted from the resulting object. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting resource block. - `sku` (`string`): Set the `sku` 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. - `type` (`string`): Set the `type` field on the resulting resource block. + - `virtual_wan_traffic_enabled` (`bool`): Set the `virtual_wan_traffic_enabled` field on the resulting resource block. When `null`, the `virtual_wan_traffic_enabled` field will be omitted from the resulting object. - `vpn_type` (`string`): Set the `vpn_type` field on the resulting resource block. When `null`, the `vpn_type` field will be omitted from the resulting object. - `bgp_settings` (`list[obj]`): Set the `bgp_settings` field on the resulting resource block. When `null`, the `bgp_settings` 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_gateway.bgp_settings.new](#fn-bgp_settingsnew) constructor. - `custom_route` (`list[obj]`): Set the `custom_route` field on the resulting resource block. When `null`, the `custom_route` 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_gateway.custom_route.new](#fn-custom_routenew) constructor. - `ip_configuration` (`list[obj]`): Set the `ip_configuration` field on the resulting resource block. When `null`, the `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.virtual_network_gateway.ip_configuration.new](#fn-ip_configurationnew) constructor. + - `policy_group` (`list[obj]`): Set the `policy_group` field on the resulting resource block. When `null`, the `policy_group` 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_gateway.policy_group.new](#fn-policy_groupnew) 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_gateway.timeouts.new](#fn-timeoutsnew) constructor. - `vpn_client_configuration` (`list[obj]`): Set the `vpn_client_configuration` field on the resulting resource block. When `null`, the `vpn_client_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.virtual_network_gateway.vpn_client_configuration.new](#fn-vpn_client_configurationnew) constructor. @@ -126,21 +149,27 @@ injecting into a complete block. **Args**: - `active_active` (`bool`): Set the `active_active` field on the resulting object. When `null`, the `active_active` field will be omitted from the resulting object. + - `bgp_route_translation_for_nat_enabled` (`bool`): Set the `bgp_route_translation_for_nat_enabled` field on the resulting object. When `null`, the `bgp_route_translation_for_nat_enabled` field will be omitted from the resulting object. - `default_local_network_gateway_id` (`string`): Set the `default_local_network_gateway_id` field on the resulting object. When `null`, the `default_local_network_gateway_id` field will be omitted from the resulting object. + - `dns_forwarding_enabled` (`bool`): Set the `dns_forwarding_enabled` field on the resulting object. When `null`, the `dns_forwarding_enabled` field will be omitted from the resulting object. - `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. - `enable_bgp` (`bool`): Set the `enable_bgp` field on the resulting object. When `null`, the `enable_bgp` field will be omitted from the resulting object. - `generation` (`string`): Set the `generation` field on the resulting object. When `null`, the `generation` field will be omitted from the resulting object. + - `ip_sec_replay_protection_enabled` (`bool`): Set the `ip_sec_replay_protection_enabled` field on the resulting object. When `null`, the `ip_sec_replay_protection_enabled` 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. - `private_ip_address_enabled` (`bool`): Set the `private_ip_address_enabled` field on the resulting object. When `null`, the `private_ip_address_enabled` field will be omitted from the resulting object. + - `remote_vnet_traffic_enabled` (`bool`): Set the `remote_vnet_traffic_enabled` field on the resulting object. When `null`, the `remote_vnet_traffic_enabled` field will be omitted from the resulting object. - `resource_group_name` (`string`): Set the `resource_group_name` field on the resulting object. - `sku` (`string`): Set the `sku` 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. - `type` (`string`): Set the `type` field on the resulting object. + - `virtual_wan_traffic_enabled` (`bool`): Set the `virtual_wan_traffic_enabled` field on the resulting object. When `null`, the `virtual_wan_traffic_enabled` field will be omitted from the resulting object. - `vpn_type` (`string`): Set the `vpn_type` field on the resulting object. When `null`, the `vpn_type` field will be omitted from the resulting object. - `bgp_settings` (`list[obj]`): Set the `bgp_settings` field on the resulting object. When `null`, the `bgp_settings` 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_gateway.bgp_settings.new](#fn-bgp_settingsnew) constructor. - `custom_route` (`list[obj]`): Set the `custom_route` field on the resulting object. When `null`, the `custom_route` 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_gateway.custom_route.new](#fn-custom_routenew) constructor. - `ip_configuration` (`list[obj]`): Set the `ip_configuration` field on the resulting object. When `null`, the `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.virtual_network_gateway.ip_configuration.new](#fn-ip_configurationnew) constructor. + - `policy_group` (`list[obj]`): Set the `policy_group` field on the resulting object. When `null`, the `policy_group` 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_gateway.policy_group.new](#fn-policy_groupnew) 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_gateway.timeouts.new](#fn-timeoutsnew) constructor. - `vpn_client_configuration` (`list[obj]`): Set the `vpn_client_configuration` field on the resulting object. When `null`, the `vpn_client_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.virtual_network_gateway.vpn_client_configuration.new](#fn-vpn_client_configurationnew) constructor. @@ -164,6 +193,22 @@ Terraform resource block to set or update the active_active field. - `value` (`bool`): The value to set for the `active_active` field. +### fn withBgpRouteTranslationForNatEnabled + +```ts +withBgpRouteTranslationForNatEnabled() +``` + +`azurerm.bool.withBgpRouteTranslationForNatEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the bgp_route_translation_for_nat_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `bgp_route_translation_for_nat_enabled` field. + + ### fn withBgpSettings ```ts @@ -254,6 +299,22 @@ Terraform resource block to set or update the default_local_network_gateway_id f - `value` (`string`): The value to set for the `default_local_network_gateway_id` field. +### fn withDnsForwardingEnabled + +```ts +withDnsForwardingEnabled() +``` + +`azurerm.bool.withDnsForwardingEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the dns_forwarding_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `dns_forwarding_enabled` field. + + ### fn withEdgeZone ```ts @@ -339,6 +400,22 @@ function. - `value` (`list[obj]`): The value to set for the `ip_configuration` field. +### fn withIpSecReplayProtectionEnabled + +```ts +withIpSecReplayProtectionEnabled() +``` + +`azurerm.bool.withIpSecReplayProtectionEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the ip_sec_replay_protection_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `ip_sec_replay_protection_enabled` field. + + ### fn withLocation ```ts @@ -371,6 +448,43 @@ Terraform resource block to set or update the name field. - `value` (`string`): The value to set for the `name` field. +### fn withPolicyGroup + +```ts +withPolicyGroup() +``` + +`azurerm.list[obj].withPolicyGroup` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the policy_group 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].withPolicyGroupMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `policy_group` field. + + +### fn withPolicyGroupMixin + +```ts +withPolicyGroupMixin() +``` + +`azurerm.list[obj].withPolicyGroupMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the policy_group 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].withPolicyGroup](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `policy_group` field. + + ### fn withPrivateIpAddressEnabled ```ts @@ -387,6 +501,22 @@ Terraform resource block to set or update the private_ip_address_enabled field. - `value` (`bool`): The value to set for the `private_ip_address_enabled` field. +### fn withRemoteVnetTrafficEnabled + +```ts +withRemoteVnetTrafficEnabled() +``` + +`azurerm.bool.withRemoteVnetTrafficEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the remote_vnet_traffic_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `remote_vnet_traffic_enabled` field. + + ### fn withResourceGroupName ```ts @@ -487,6 +617,22 @@ Terraform resource block to set or update the type field. - `value` (`string`): The value to set for the `type` field. +### fn withVirtualWanTrafficEnabled + +```ts +withVirtualWanTrafficEnabled() +``` + +`azurerm.bool.withVirtualWanTrafficEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the virtual_wan_traffic_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `virtual_wan_traffic_enabled` field. + + ### fn withVpnClientConfiguration ```ts @@ -638,6 +784,57 @@ Terraform sub block. - An attribute object that represents the `ip_configuration` sub block. +## obj policy_group + + + +### fn policy_group.new + +```ts +new() +``` + + +`azurerm.virtual_network_gateway.policy_group.new` constructs a new object with attributes and blocks configured for the `policy_group` +Terraform sub block. + + + +**Args**: + - `is_default` (`bool`): Set the `is_default` field on the resulting object. When `null`, the `is_default` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `priority` (`number`): Set the `priority` field on the resulting object. When `null`, the `priority` field will be omitted from the resulting object. + - `policy_member` (`list[obj]`): Set the `policy_member` field on the resulting object. When `null`, the `policy_member` 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_gateway.policy_group.policy_member.new](#fn-policy_grouppolicy_membernew) constructor. + +**Returns**: + - An attribute object that represents the `policy_group` sub block. + + +## obj policy_group.policy_member + + + +### fn policy_group.policy_member.new + +```ts +new() +``` + + +`azurerm.virtual_network_gateway.policy_group.policy_member.new` constructs a new object with attributes and blocks configured for the `policy_member` +Terraform sub block. + + + +**Args**: + - `name` (`string`): Set the `name` field on the resulting object. + - `type` (`string`): Set the `type` field on the resulting object. + - `value` (`string`): Set the `value` field on the resulting object. + +**Returns**: + - An attribute object that represents the `policy_member` sub block. + + ## obj timeouts @@ -689,13 +886,71 @@ Terraform sub block. - `radius_server_secret` (`string`): Set the `radius_server_secret` field on the resulting object. When `null`, the `radius_server_secret` field will be omitted from the resulting object. - `vpn_auth_types` (`list`): Set the `vpn_auth_types` field on the resulting object. When `null`, the `vpn_auth_types` field will be omitted from the resulting object. - `vpn_client_protocols` (`list`): Set the `vpn_client_protocols` field on the resulting object. When `null`, the `vpn_client_protocols` field will be omitted from the resulting object. + - `ipsec_policy` (`list[obj]`): Set the `ipsec_policy` field on the resulting object. When `null`, the `ipsec_policy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azurerm.virtual_network_gateway.vpn_client_configuration.ipsec_policy.new](#fn-vpn_client_configurationipsec_policynew) constructor. + - `radius_server` (`list[obj]`): Set the `radius_server` field on the resulting object. When `null`, the `radius_server` 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_gateway.vpn_client_configuration.radius_server.new](#fn-vpn_client_configurationradius_servernew) constructor. - `revoked_certificate` (`list[obj]`): Set the `revoked_certificate` field on the resulting object. When `null`, the `revoked_certificate` 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_gateway.vpn_client_configuration.revoked_certificate.new](#fn-vpn_client_configurationrevoked_certificatenew) constructor. - `root_certificate` (`list[obj]`): Set the `root_certificate` field on the resulting object. When `null`, the `root_certificate` 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_gateway.vpn_client_configuration.root_certificate.new](#fn-vpn_client_configurationroot_certificatenew) constructor. + - `virtual_network_gateway_client_connection` (`list[obj]`): Set the `virtual_network_gateway_client_connection` field on the resulting object. When `null`, the `virtual_network_gateway_client_connection` 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_gateway.vpn_client_configuration.virtual_network_gateway_client_connection.new](#fn-vpn_client_configurationvirtual_network_gateway_client_connectionnew) constructor. **Returns**: - An attribute object that represents the `vpn_client_configuration` sub block. +## obj vpn_client_configuration.ipsec_policy + + + +### fn vpn_client_configuration.ipsec_policy.new + +```ts +new() +``` + + +`azurerm.virtual_network_gateway.vpn_client_configuration.ipsec_policy.new` constructs a new object with attributes and blocks configured for the `ipsec_policy` +Terraform sub block. + + + +**Args**: + - `dh_group` (`string`): Set the `dh_group` field on the resulting object. + - `ike_encryption` (`string`): Set the `ike_encryption` field on the resulting object. + - `ike_integrity` (`string`): Set the `ike_integrity` field on the resulting object. + - `ipsec_encryption` (`string`): Set the `ipsec_encryption` field on the resulting object. + - `ipsec_integrity` (`string`): Set the `ipsec_integrity` field on the resulting object. + - `pfs_group` (`string`): Set the `pfs_group` field on the resulting object. + - `sa_data_size_in_kilobytes` (`number`): Set the `sa_data_size_in_kilobytes` field on the resulting object. + - `sa_lifetime_in_seconds` (`number`): Set the `sa_lifetime_in_seconds` field on the resulting object. + +**Returns**: + - An attribute object that represents the `ipsec_policy` sub block. + + +## obj vpn_client_configuration.radius_server + + + +### fn vpn_client_configuration.radius_server.new + +```ts +new() +``` + + +`azurerm.virtual_network_gateway.vpn_client_configuration.radius_server.new` constructs a new object with attributes and blocks configured for the `radius_server` +Terraform sub block. + + + +**Args**: + - `address` (`string`): Set the `address` field on the resulting object. + - `score` (`number`): Set the `score` field on the resulting object. + - `secret` (`string`): Set the `secret` field on the resulting object. + +**Returns**: + - An attribute object that represents the `radius_server` sub block. + + ## obj vpn_client_configuration.revoked_certificate @@ -742,3 +997,28 @@ Terraform sub block. **Returns**: - An attribute object that represents the `root_certificate` sub block. + + +## obj vpn_client_configuration.virtual_network_gateway_client_connection + + + +### fn vpn_client_configuration.virtual_network_gateway_client_connection.new + +```ts +new() +``` + + +`azurerm.virtual_network_gateway.vpn_client_configuration.virtual_network_gateway_client_connection.new` constructs a new object with attributes and blocks configured for the `virtual_network_gateway_client_connection` +Terraform sub block. + + + +**Args**: + - `address_prefixes` (`list`): Set the `address_prefixes` field on the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `policy_group_names` (`list`): Set the `policy_group_names` field on the resulting object. + +**Returns**: + - An attribute object that represents the `virtual_network_gateway_client_connection` sub block. diff --git a/docs/3.x/windows_function_app.md b/docs/3.x/windows_function_app.md index 0a5fbf03..b39cb49b 100644 --- a/docs/3.x/windows_function_app.md +++ b/docs/3.x/windows_function_app.md @@ -31,6 +31,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withContentShareForceDisabled()`](#fn-withcontentshareforcedisabled) * [`fn withDailyMemoryTimeQuota()`](#fn-withdailymemorytimequota) * [`fn withEnabled()`](#fn-withenabled) +* [`fn withFtpPublishBasicAuthenticationEnabled()`](#fn-withftppublishbasicauthenticationenabled) * [`fn withFunctionsExtensionVersion()`](#fn-withfunctionsextensionversion) * [`fn withHttpsOnly()`](#fn-withhttpsonly) * [`fn withIdentity()`](#fn-withidentity) @@ -55,6 +56,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`fn withVirtualNetworkSubnetId()`](#fn-withvirtualnetworksubnetid) +* [`fn withWebdeployPublishBasicAuthenticationEnabled()`](#fn-withwebdeploypublishbasicauthenticationenabled) * [`fn withZipDeployFile()`](#fn-withzipdeployfile) * [`obj auth_settings`](#obj-auth_settings) * [`fn new()`](#fn-auth_settingsnew) @@ -156,6 +158,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object. - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object. - `enabled` (`bool`): Is the Windows Function App enabled. When `null`, the `enabled` field will be omitted from the resulting object. + - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `functions_extension_version` (`string`): The runtime version associated with the Function App. When `null`, the `functions_extension_version` field will be omitted from the resulting object. - `https_only` (`bool`): Can the Function App only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object. - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object. @@ -170,6 +173,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `storage_uses_managed_identity` (`bool`): Should the Function App use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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. - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object. + - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Function App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object. - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_function_app.auth_settings.new](#fn-auth_settingsnew) constructor. - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_function_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor. @@ -211,6 +215,7 @@ injecting into a complete block. - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object. - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object. - `enabled` (`bool`): Is the Windows Function App enabled. When `null`, the `enabled` field will be omitted from the resulting object. + - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `functions_extension_version` (`string`): The runtime version associated with the Function App. When `null`, the `functions_extension_version` field will be omitted from the resulting object. - `https_only` (`bool`): Can the Function App only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object. - `key_vault_reference_identity_id` (`string`): The User Assigned Identity to use for Key Vault access. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object. @@ -225,6 +230,7 @@ injecting into a complete block. - `storage_uses_managed_identity` (`bool`): Should the Function App use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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. - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object. + - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Function App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object. - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_function_app.auth_settings.new](#fn-auth_settingsnew) constructor. - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_function_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor. @@ -516,6 +522,22 @@ Terraform resource block to set or update the enabled field. - `value` (`bool`): The value to set for the `enabled` field. +### fn withFtpPublishBasicAuthenticationEnabled + +```ts +withFtpPublishBasicAuthenticationEnabled() +``` + +`azurerm.bool.withFtpPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the ftp_publish_basic_authentication_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `ftp_publish_basic_authentication_enabled` field. + + ### fn withFunctionsExtensionVersion ```ts @@ -924,6 +946,22 @@ Terraform resource block to set or update the virtual_network_subnet_id field. - `value` (`string`): The value to set for the `virtual_network_subnet_id` field. +### fn withWebdeployPublishBasicAuthenticationEnabled + +```ts +withWebdeployPublishBasicAuthenticationEnabled() +``` + +`azurerm.bool.withWebdeployPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the webdeploy_publish_basic_authentication_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `webdeploy_publish_basic_authentication_enabled` field. + + ### fn withZipDeployFile ```ts diff --git a/docs/3.x/windows_function_app_slot.md b/docs/3.x/windows_function_app_slot.md index da545938..4d1445b6 100644 --- a/docs/3.x/windows_function_app_slot.md +++ b/docs/3.x/windows_function_app_slot.md @@ -31,6 +31,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withContentShareForceDisabled()`](#fn-withcontentshareforcedisabled) * [`fn withDailyMemoryTimeQuota()`](#fn-withdailymemorytimequota) * [`fn withEnabled()`](#fn-withenabled) +* [`fn withFtpPublishBasicAuthenticationEnabled()`](#fn-withftppublishbasicauthenticationenabled) * [`fn withFunctionAppId()`](#fn-withfunctionappid) * [`fn withFunctionsExtensionVersion()`](#fn-withfunctionsextensionversion) * [`fn withHttpsOnly()`](#fn-withhttpsonly) @@ -52,6 +53,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`fn withVirtualNetworkSubnetId()`](#fn-withvirtualnetworksubnetid) +* [`fn withWebdeployPublishBasicAuthenticationEnabled()`](#fn-withwebdeploypublishbasicauthenticationenabled) * [`obj auth_settings`](#obj-auth_settings) * [`fn new()`](#fn-auth_settingsnew) * [`obj auth_settings.active_directory`](#obj-auth_settingsactive_directory) @@ -150,6 +152,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object. - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object. - `enabled` (`bool`): Is the Windows Function App Slot enabled. When `null`, the `enabled` field will be omitted from the resulting object. + - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `function_app_id` (`string`): The ID of the Windows Function App this Slot is a member of. - `functions_extension_version` (`string`): The runtime version associated with the Function App Slot. When `null`, the `functions_extension_version` field will be omitted from the resulting object. - `https_only` (`bool`): Can the Function App Slot only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object. @@ -163,6 +166,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `storage_uses_managed_identity` (`bool`): Should the Function App Slot use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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. - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object. + - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_function_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor. - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_function_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor. - `backup` (`list[obj]`): Set the `backup` field on the resulting resource block. When `null`, the `backup` 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_function_app_slot.backup.new](#fn-backupnew) constructor. @@ -202,6 +206,7 @@ injecting into a complete block. - `content_share_force_disabled` (`bool`): Force disable the content share settings. When `null`, the `content_share_force_disabled` field will be omitted from the resulting object. - `daily_memory_time_quota` (`number`): The amount of memory in gigabyte-seconds that your application is allowed to consume per day. Setting this value only affects function apps in Consumption Plans. When `null`, the `daily_memory_time_quota` field will be omitted from the resulting object. - `enabled` (`bool`): Is the Windows Function App Slot enabled. When `null`, the `enabled` field will be omitted from the resulting object. + - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `function_app_id` (`string`): The ID of the Windows Function App this Slot is a member of. - `functions_extension_version` (`string`): The runtime version associated with the Function App Slot. When `null`, the `functions_extension_version` field will be omitted from the resulting object. - `https_only` (`bool`): Can the Function App Slot only be accessed via HTTPS? When `null`, the `https_only` field will be omitted from the resulting object. @@ -215,6 +220,7 @@ injecting into a complete block. - `storage_uses_managed_identity` (`bool`): Should the Function App Slot use its Managed Identity to access storage? When `null`, the `storage_uses_managed_identity` 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. - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object. + - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_function_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor. - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_function_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor. - `backup` (`list[obj]`): Set the `backup` field on the resulting object. When `null`, the `backup` 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_function_app_slot.backup.new](#fn-backupnew) constructor. @@ -504,6 +510,22 @@ Terraform resource block to set or update the enabled field. - `value` (`bool`): The value to set for the `enabled` field. +### fn withFtpPublishBasicAuthenticationEnabled + +```ts +withFtpPublishBasicAuthenticationEnabled() +``` + +`azurerm.bool.withFtpPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the ftp_publish_basic_authentication_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `ftp_publish_basic_authentication_enabled` field. + + ### fn withFunctionAppId ```ts @@ -859,6 +881,22 @@ Terraform resource block to set or update the virtual_network_subnet_id field. - `value` (`string`): The value to set for the `virtual_network_subnet_id` field. +### fn withWebdeployPublishBasicAuthenticationEnabled + +```ts +withWebdeployPublishBasicAuthenticationEnabled() +``` + +`azurerm.bool.withWebdeployPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the webdeploy_publish_basic_authentication_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `webdeploy_publish_basic_authentication_enabled` field. + + ## obj auth_settings diff --git a/docs/3.x/windows_web_app.md b/docs/3.x/windows_web_app.md index 5837724e..32fcd626 100644 --- a/docs/3.x/windows_web_app.md +++ b/docs/3.x/windows_web_app.md @@ -29,6 +29,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withConnectionString()`](#fn-withconnectionstring) * [`fn withConnectionStringMixin()`](#fn-withconnectionstringmixin) * [`fn withEnabled()`](#fn-withenabled) +* [`fn withFtpPublishBasicAuthenticationEnabled()`](#fn-withftppublishbasicauthenticationenabled) * [`fn withHttpsOnly()`](#fn-withhttpsonly) * [`fn withIdentity()`](#fn-withidentity) * [`fn withIdentityMixin()`](#fn-withidentitymixin) @@ -50,6 +51,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`fn withVirtualNetworkSubnetId()`](#fn-withvirtualnetworksubnetid) +* [`fn withWebdeployPublishBasicAuthenticationEnabled()`](#fn-withwebdeploypublishbasicauthenticationenabled) * [`fn withZipDeployFile()`](#fn-withzipdeployfile) * [`obj auth_settings`](#obj-auth_settings) * [`fn new()`](#fn-auth_settingsnew) @@ -177,6 +179,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object. - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting resource block. When `null`, the `client_certificate_mode` field will be omitted from the resulting object. - `enabled` (`bool`): Set the `enabled` field on the resulting resource block. When `null`, the `enabled` field will be omitted from the resulting object. + - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `https_only` (`bool`): Set the `https_only` field on the resulting resource block. When `null`, the `https_only` field will be omitted from the resulting object. - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting resource block. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object. - `location` (`string`): Set the `location` field on the resulting resource block. @@ -186,6 +189,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `service_plan_id` (`string`): Set the `service_plan_id` 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. - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object. + - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object. - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_web_app.auth_settings.new](#fn-auth_settingsnew) constructor. - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_web_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor. @@ -226,6 +230,7 @@ injecting into a complete block. - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object. - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting object. When `null`, the `client_certificate_mode` field will be omitted from the resulting object. - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object. + - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `https_only` (`bool`): Set the `https_only` field on the resulting object. When `null`, the `https_only` field will be omitted from the resulting object. - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting object. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object. - `location` (`string`): Set the `location` field on the resulting object. @@ -235,6 +240,7 @@ injecting into a complete block. - `service_plan_id` (`string`): Set the `service_plan_id` 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. - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object. + - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object. - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_web_app.auth_settings.new](#fn-auth_settingsnew) constructor. - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_web_app.auth_settings_v2.new](#fn-auth_settings_v2new) constructor. @@ -495,6 +501,22 @@ Terraform resource block to set or update the enabled field. - `value` (`bool`): The value to set for the `enabled` field. +### fn withFtpPublishBasicAuthenticationEnabled + +```ts +withFtpPublishBasicAuthenticationEnabled() +``` + +`azurerm.bool.withFtpPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the ftp_publish_basic_authentication_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `ftp_publish_basic_authentication_enabled` field. + + ### fn withHttpsOnly ```ts @@ -860,6 +882,22 @@ Terraform resource block to set or update the virtual_network_subnet_id field. - `value` (`string`): The value to set for the `virtual_network_subnet_id` field. +### fn withWebdeployPublishBasicAuthenticationEnabled + +```ts +withWebdeployPublishBasicAuthenticationEnabled() +``` + +`azurerm.bool.withWebdeployPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the webdeploy_publish_basic_authentication_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `webdeploy_publish_basic_authentication_enabled` field. + + ### fn withZipDeployFile ```ts diff --git a/docs/3.x/windows_web_app_slot.md b/docs/3.x/windows_web_app_slot.md index 3dbe4e56..3961ce12 100644 --- a/docs/3.x/windows_web_app_slot.md +++ b/docs/3.x/windows_web_app_slot.md @@ -30,6 +30,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withConnectionString()`](#fn-withconnectionstring) * [`fn withConnectionStringMixin()`](#fn-withconnectionstringmixin) * [`fn withEnabled()`](#fn-withenabled) +* [`fn withFtpPublishBasicAuthenticationEnabled()`](#fn-withftppublishbasicauthenticationenabled) * [`fn withHttpsOnly()`](#fn-withhttpsonly) * [`fn withIdentity()`](#fn-withidentity) * [`fn withIdentityMixin()`](#fn-withidentitymixin) @@ -47,6 +48,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`fn withVirtualNetworkSubnetId()`](#fn-withvirtualnetworksubnetid) +* [`fn withWebdeployPublishBasicAuthenticationEnabled()`](#fn-withwebdeploypublishbasicauthenticationenabled) * [`fn withZipDeployFile()`](#fn-withzipdeployfile) * [`obj auth_settings`](#obj-auth_settings) * [`fn new()`](#fn-auth_settingsnew) @@ -173,6 +175,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object. - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting resource block. When `null`, the `client_certificate_mode` field will be omitted from the resulting object. - `enabled` (`bool`): Set the `enabled` field on the resulting resource block. When `null`, the `enabled` field will be omitted from the resulting object. + - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `https_only` (`bool`): Set the `https_only` field on the resulting resource block. When `null`, the `https_only` field will be omitted from the resulting object. - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting resource block. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting resource block. @@ -180,6 +183,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting resource block. When `null`, the `service_plan_id` 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. - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting resource block. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object. + - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting resource block. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object. - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting resource block. When `null`, the `auth_settings` 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_web_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor. - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting resource block. When `null`, the `auth_settings_v2` 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_web_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor. @@ -220,6 +224,7 @@ injecting into a complete block. - `client_certificate_exclusion_paths` (`string`): Paths to exclude when using client certificates, separated by ; When `null`, the `client_certificate_exclusion_paths` field will be omitted from the resulting object. - `client_certificate_mode` (`string`): Set the `client_certificate_mode` field on the resulting object. When `null`, the `client_certificate_mode` field will be omitted from the resulting object. - `enabled` (`bool`): Set the `enabled` field on the resulting object. When `null`, the `enabled` field will be omitted from the resulting object. + - `ftp_publish_basic_authentication_enabled` (`bool`): Set the `ftp_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `ftp_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `https_only` (`bool`): Set the `https_only` field on the resulting object. When `null`, the `https_only` field will be omitted from the resulting object. - `key_vault_reference_identity_id` (`string`): Set the `key_vault_reference_identity_id` field on the resulting object. When `null`, the `key_vault_reference_identity_id` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting object. @@ -227,6 +232,7 @@ injecting into a complete block. - `service_plan_id` (`string`): Set the `service_plan_id` field on the resulting object. When `null`, the `service_plan_id` 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. - `virtual_network_subnet_id` (`string`): Set the `virtual_network_subnet_id` field on the resulting object. When `null`, the `virtual_network_subnet_id` field will be omitted from the resulting object. + - `webdeploy_publish_basic_authentication_enabled` (`bool`): Set the `webdeploy_publish_basic_authentication_enabled` field on the resulting object. When `null`, the `webdeploy_publish_basic_authentication_enabled` field will be omitted from the resulting object. - `zip_deploy_file` (`string`): The local path and filename of the Zip packaged application to deploy to this Windows Web App. **Note:** Using this value requires `WEBSITE_RUN_FROM_PACKAGE=1` on the App in `app_settings`. When `null`, the `zip_deploy_file` field will be omitted from the resulting object. - `auth_settings` (`list[obj]`): Set the `auth_settings` field on the resulting object. When `null`, the `auth_settings` 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_web_app_slot.auth_settings.new](#fn-auth_settingsnew) constructor. - `auth_settings_v2` (`list[obj]`): Set the `auth_settings_v2` field on the resulting object. When `null`, the `auth_settings_v2` 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_web_app_slot.auth_settings_v2.new](#fn-auth_settings_v2new) constructor. @@ -502,6 +508,22 @@ Terraform resource block to set or update the enabled field. - `value` (`bool`): The value to set for the `enabled` field. +### fn withFtpPublishBasicAuthenticationEnabled + +```ts +withFtpPublishBasicAuthenticationEnabled() +``` + +`azurerm.bool.withFtpPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the ftp_publish_basic_authentication_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `ftp_publish_basic_authentication_enabled` field. + + ### fn withHttpsOnly ```ts @@ -798,6 +820,22 @@ Terraform resource block to set or update the virtual_network_subnet_id field. - `value` (`string`): The value to set for the `virtual_network_subnet_id` field. +### fn withWebdeployPublishBasicAuthenticationEnabled + +```ts +withWebdeployPublishBasicAuthenticationEnabled() +``` + +`azurerm.bool.withWebdeployPublishBasicAuthenticationEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the webdeploy_publish_basic_authentication_enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `webdeploy_publish_basic_authentication_enabled` field. + + ### fn withZipDeployFile ```ts