Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency hashicorp/terraform-provider-azuread to v2.40.0 #18

Merged
merged 1 commit into from
Jul 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions 2.x/_gen/data/user.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ 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='user', url='', help='`user` represents the `azuread_user` 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`azuread.data.user.new` injects a new `data_azuread_user` 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 azuread.data.user.new('some_id')\n\nYou can get the reference to the `id` field of the created `azuread.data.user` using the reference:\n\n $._ref.data_azuread_user.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azuread_user.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 - `mail` (`string`): The SMTP address for the user When `null`, the `mail` field will be omitted from the resulting object.\n - `mail_nickname` (`string`): The email alias of the user When `null`, the `mail_nickname` field will be omitted from the resulting object.\n - `object_id` (`string`): The object ID of the user When `null`, the `object_id` field will be omitted from the resulting object.\n - `user_principal_name` (`string`): The user principal name (UPN) of the user When `null`, the `user_principal_name` 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 [azuread.data.user.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]),
'#new':: d.fn(help="\n`azuread.data.user.new` injects a new `data_azuread_user` 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 azuread.data.user.new('some_id')\n\nYou can get the reference to the `id` field of the created `azuread.data.user` using the reference:\n\n $._ref.data_azuread_user.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_azuread_user.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 - `employee_id` (`string`): The employee identifier assigned to the user by the organisation When `null`, the `employee_id` field will be omitted from the resulting object.\n - `mail` (`string`): The SMTP address for the user When `null`, the `mail` field will be omitted from the resulting object.\n - `mail_nickname` (`string`): The email alias of the user When `null`, the `mail_nickname` field will be omitted from the resulting object.\n - `object_id` (`string`): The object ID of the user When `null`, the `object_id` field will be omitted from the resulting object.\n - `user_principal_name` (`string`): The user principal name (UPN) of the user When `null`, the `user_principal_name` 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 [azuread.data.user.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,
employee_id=null,
mail=null,
mail_nickname=null,
object_id=null,
Expand All @@ -15,6 +16,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
type='azuread_user',
label=dataSrcLabel,
attrs=self.newAttrs(
employee_id=employee_id,
mail=mail,
mail_nickname=mail_nickname,
object_id=object_id,
Expand All @@ -23,14 +25,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
),
_meta=_meta
),
'#newAttrs':: d.fn(help='\n`azuread.data.user.newAttrs` constructs a new object with attributes and blocks configured for the `user`\nTerraform data source.\n\nUnlike [azuread.data.user.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 - `mail` (`string`): The SMTP address for the user When `null`, the `mail` field will be omitted from the resulting object.\n - `mail_nickname` (`string`): The email alias of the user When `null`, the `mail_nickname` field will be omitted from the resulting object.\n - `object_id` (`string`): The object ID of the user When `null`, the `object_id` field will be omitted from the resulting object.\n - `user_principal_name` (`string`): The user principal name (UPN) of the user When `null`, the `user_principal_name` 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 [azuread.data.user.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 `user` data source into the root Terraform configuration.\n', args=[]),
'#newAttrs':: d.fn(help='\n`azuread.data.user.newAttrs` constructs a new object with attributes and blocks configured for the `user`\nTerraform data source.\n\nUnlike [azuread.data.user.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 - `employee_id` (`string`): The employee identifier assigned to the user by the organisation When `null`, the `employee_id` field will be omitted from the resulting object.\n - `mail` (`string`): The SMTP address for the user When `null`, the `mail` field will be omitted from the resulting object.\n - `mail_nickname` (`string`): The email alias of the user When `null`, the `mail_nickname` field will be omitted from the resulting object.\n - `object_id` (`string`): The object ID of the user When `null`, the `object_id` field will be omitted from the resulting object.\n - `user_principal_name` (`string`): The user principal name (UPN) of the user When `null`, the `user_principal_name` 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 [azuread.data.user.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 `user` data source into the root Terraform configuration.\n', args=[]),
newAttrs(
employee_id=null,
mail=null,
mail_nickname=null,
object_id=null,
timeouts=null,
user_principal_name=null
):: std.prune(a={
employee_id: employee_id,
mail: mail,
mail_nickname: mail_nickname,
object_id: object_id,
Expand All @@ -45,6 +49,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
read: read,
}),
},
'#withEmployeeId':: d.fn(help='`azuread.string.withEmployeeId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the employee_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 `employee_id` field.\n', args=[]),
withEmployeeId(dataSrcLabel, value): {
data+: {
azuread_user+: {
[dataSrcLabel]+: {
employee_id: value,
},
},
},
},
'#withMail':: d.fn(help='`azuread.string.withMail` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the mail 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 `mail` field.\n', args=[]),
withMail(dataSrcLabel, value): {
data+: {
Expand Down
Loading