From ac0a669415061805c40e119f2c2b71eedafc5eb2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Thu, 25 Jan 2024 17:35:16 +0000 Subject: [PATCH] Generate libsonnet source from libgenerator PR https://github.com/tf-libsonnet/libgenerator/pull/240 Signed-off-by: tflibsonnet-ci <120686569+tflibsonnet-ci@users.noreply.github.com> --- .../data_factory_trigger_schedule.libsonnet | 76 ++ .../data_factory_trigger_schedules.libsonnet | 63 ++ 3.x/_gen/data/ip_groups.libsonnet | 76 ++ 3.x/_gen/data/main.libsonnet | 6 + 3.x/_gen/data/netapp_account.libsonnet | 44 +- .../data/netapp_account_encryption.libsonnet | 108 +++ 3.x/_gen/data/nginx_certificate.libsonnet | 76 ++ 3.x/_gen/data/nginx_deployment.libsonnet | 76 ++ 3.x/_gen/main.libsonnet | 6 + .../resources/chaos_studio_target.libsonnet | 98 +++ .../resources/cognitive_deployment.libsonnet | 4 +- ...y_integration_runtime_azure_ssis.libsonnet | 18 +- .../elastic_san_volume_group.libsonnet | 216 ++++++ .../resources/linux_function_app.libsonnet | 2 +- .../linux_function_app_slot.libsonnet | 2 +- .../mssql_managed_database.libsonnet | 38 +- 3.x/_gen/resources/netapp_account.libsonnet | 38 +- .../netapp_account_encryption.libsonnet | 114 +++ 3.x/_gen/resources/netapp_volume.libsonnet | 32 +- .../redhat_openshift_cluster.libsonnet | 366 +++++++++ ...plication_performance_monitoring.libsonnet | 184 +++++ .../resources/stream_analytics_job.libsonnet | 18 +- .../virtual_machine_run_command.libsonnet | 354 +++++++++ docs/3.x/README.md | 6 + docs/3.x/chaos_studio_target.md | 197 +++++ docs/3.x/cognitive_deployment.md | 2 +- .../3.x/data/data_factory_trigger_schedule.md | 176 +++++ .../data/data_factory_trigger_schedules.md | 157 ++++ docs/3.x/data/index.md | 6 + docs/3.x/data/ip_groups.md | 176 +++++ docs/3.x/data/netapp_account.md | 67 ++ docs/3.x/data/netapp_account_encryption.md | 214 ++++++ docs/3.x/data/nginx_certificate.md | 176 +++++ docs/3.x/data/nginx_deployment.md | 176 +++++ ..._factory_integration_runtime_azure_ssis.md | 19 + docs/3.x/elastic_san_volume_group.md | 418 +++++++++++ docs/3.x/linux_function_app.md | 2 +- docs/3.x/linux_function_app_slot.md | 2 +- docs/3.x/mssql_managed_database.md | 67 ++ docs/3.x/netapp_account.md | 67 ++ docs/3.x/netapp_account_encryption.md | 217 ++++++ docs/3.x/netapp_volume.md | 38 + docs/3.x/redhat_openshift_cluster.md | 693 ++++++++++++++++++ ...race_application_performance_monitoring.md | 312 ++++++++ docs/3.x/stream_analytics_job.md | 19 + docs/3.x/virtual_machine_run_command.md | 656 +++++++++++++++++ 46 files changed, 5858 insertions(+), 20 deletions(-) create mode 100644 3.x/_gen/data/data_factory_trigger_schedule.libsonnet create mode 100644 3.x/_gen/data/data_factory_trigger_schedules.libsonnet create mode 100644 3.x/_gen/data/ip_groups.libsonnet create mode 100644 3.x/_gen/data/netapp_account_encryption.libsonnet create mode 100644 3.x/_gen/data/nginx_certificate.libsonnet create mode 100644 3.x/_gen/data/nginx_deployment.libsonnet create mode 100644 3.x/_gen/resources/chaos_studio_target.libsonnet create mode 100644 3.x/_gen/resources/elastic_san_volume_group.libsonnet create mode 100644 3.x/_gen/resources/netapp_account_encryption.libsonnet create mode 100644 3.x/_gen/resources/redhat_openshift_cluster.libsonnet create mode 100644 3.x/_gen/resources/spring_cloud_dynatrace_application_performance_monitoring.libsonnet create mode 100644 3.x/_gen/resources/virtual_machine_run_command.libsonnet create mode 100644 docs/3.x/chaos_studio_target.md create mode 100644 docs/3.x/data/data_factory_trigger_schedule.md create mode 100644 docs/3.x/data/data_factory_trigger_schedules.md create mode 100644 docs/3.x/data/ip_groups.md create mode 100644 docs/3.x/data/netapp_account_encryption.md create mode 100644 docs/3.x/data/nginx_certificate.md create mode 100644 docs/3.x/data/nginx_deployment.md create mode 100644 docs/3.x/elastic_san_volume_group.md create mode 100644 docs/3.x/netapp_account_encryption.md create mode 100644 docs/3.x/redhat_openshift_cluster.md create mode 100644 docs/3.x/spring_cloud_dynatrace_application_performance_monitoring.md create mode 100644 docs/3.x/virtual_machine_run_command.md 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/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/main.libsonnet b/3.x/_gen/data/main.libsonnet index 23dbb511..956d1f13 100644 --- a/3.x/_gen/data/main.libsonnet +++ b/3.x/_gen/data/main.libsonnet @@ -74,6 +74,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.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'), @@ -136,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'), @@ -203,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'), @@ -216,6 +220,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.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_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'), 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/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_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/main.libsonnet b/3.x/_gen/main.libsonnet index dede3ae0..7e29bc08 100644 --- a/3.x/_gen/main.libsonnet +++ b/3.x/_gen/main.libsonnet @@ -173,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'), @@ -338,6 +339,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.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'), @@ -640,6 +642,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'), @@ -742,6 +745,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'), @@ -877,6 +881,7 @@ 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_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'), @@ -1009,6 +1014,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/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/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/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/linux_function_app.libsonnet b/3.x/_gen/resources/linux_function_app.libsonnet index 8da875a1..55c7a3b1 100644 --- a/3.x/_gen/resources/linux_function_app.libsonnet +++ b/3.x/_gen/resources/linux_function_app.libsonnet @@ -557,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, diff --git a/3.x/_gen/resources/linux_function_app_slot.libsonnet b/3.x/_gen/resources/linux_function_app_slot.libsonnet index 3ed1b927..33d81dda 100644 --- a/3.x/_gen/resources/linux_function_app_slot.libsonnet +++ b/3.x/_gen/resources/linux_function_app_slot.libsonnet @@ -545,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, diff --git a/3.x/_gen/resources/mssql_managed_database.libsonnet b/3.x/_gen/resources/mssql_managed_database.libsonnet index 53af3305..3e8bde2b 100644 --- a/3.x/_gen/resources/mssql_managed_database.libsonnet +++ b/3.x/_gen/resources/mssql_managed_database.libsonnet @@ -16,12 +16,13 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); 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 +33,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 +119,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/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_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/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/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/stream_analytics_job.libsonnet b/3.x/_gen/resources/stream_analytics_job.libsonnet index df6a014e..b34c5fd1 100644 --- a/3.x/_gen/resources/stream_analytics_job.libsonnet +++ b/3.x/_gen/resources/stream_analytics_job.libsonnet @@ -22,7 +22,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 +38,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 +61,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 +71,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 +86,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 +105,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 +267,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/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/docs/3.x/README.md b/docs/3.x/README.md index 049dfadd..70c308fd 100644 --- a/docs/3.x/README.md +++ b/docs/3.x/README.md @@ -182,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) @@ -348,6 +349,7 @@ project. * [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) @@ -650,6 +652,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) @@ -753,6 +756,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) @@ -888,6 +892,7 @@ 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_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) @@ -1020,6 +1025,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/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/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/index.md b/docs/3.x/data/index.md index aa12380f..eb3771b3 100644 --- a/docs/3.x/data/index.md +++ b/docs/3.x/data/index.md @@ -79,6 +79,8 @@ permalink: /data/ * [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) @@ -141,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) @@ -208,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) @@ -221,6 +225,8 @@ permalink: /data/ * [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_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) 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/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/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_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_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/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/linux_function_app.md b/docs/3.x/linux_function_app.md index 928da965..0254322e 100644 --- a/docs/3.x/linux_function_app.md +++ b/docs/3.x/linux_function_app.md @@ -1686,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 102e567b..40ae1d69 100644 --- a/docs/3.x/linux_function_app_slot.md +++ b/docs/3.x/linux_function_app_slot.md @@ -1606,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/mssql_managed_database.md b/docs/3.x/mssql_managed_database.md index 968ef5d8..d80338b4 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 @@ -241,6 +284,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/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_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/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/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/stream_analytics_job.md b/docs/3.x/stream_analytics_job.md index 599a65f1..41a0e142 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 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.