permalink |
---|
/group/ |
group
represents the azuread_group
Terraform resource.
This package contains functions and utilities for setting up the resource using Jsonnet code.
fn new()
fn newAttrs()
fn withAdministrativeUnitIds()
fn withAssignableToRole()
fn withAutoSubscribeNewMembers()
fn withBehaviors()
fn withDescription()
fn withDisplayName()
fn withDynamicMembership()
fn withDynamicMembershipMixin()
fn withExternalSendersAllowed()
fn withHideFromAddressLists()
fn withHideFromOutlookClients()
fn withMailEnabled()
fn withMailNickname()
fn withMembers()
fn withOnpremisesGroupType()
fn withOwners()
fn withPreventDuplicateNames()
fn withProvisioningOptions()
fn withSecurityEnabled()
fn withTheme()
fn withTimeouts()
fn withTimeoutsMixin()
fn withTypes()
fn withVisibility()
fn withWritebackEnabled()
obj dynamic_membership
obj timeouts
new()
azuread.group.new
injects a new azuread_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
azuread.group.new('some_id')
You can get the reference to the id
field of the created azuread.group
using the reference:
$._ref.azuread_group.some_id.get('id')
This is the same as directly entering "${ azuread_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.administrative_unit_ids
(list
): The administrative unit IDs in which the group should be. If empty, the group will be created at the tenant level. Whennull
, theadministrative_unit_ids
field will be omitted from the resulting object.assignable_to_role
(bool
): Indicates whether this group can be assigned to an Azure Active Directory role. This property can only betrue
for security-enabled groups. Whennull
, theassignable_to_role
field will be omitted from the resulting object.auto_subscribe_new_members
(bool
): Indicates whether new members added to the group will be auto-subscribed to receive email notifications. Whennull
, theauto_subscribe_new_members
field will be omitted from the resulting object.behaviors
(list
): The group behaviours for a Microsoft 365 group Whennull
, thebehaviors
field will be omitted from the resulting object.description
(string
): The description for the group Whennull
, thedescription
field will be omitted from the resulting object.display_name
(string
): The display name for the groupexternal_senders_allowed
(bool
): Indicates whether people external to the organization can send messages to the group. Whennull
, theexternal_senders_allowed
field will be omitted from the resulting object.hide_from_address_lists
(bool
): Indicates whether the group is displayed in certain parts of the Outlook user interface: in the Address Book, in address lists for selecting message recipients, and in the Browse Groups dialog for searching groups. Whennull
, thehide_from_address_lists
field will be omitted from the resulting object.hide_from_outlook_clients
(bool
): Indicates whether the group is displayed in Outlook clients, such as Outlook for Windows and Outlook on the web. Whennull
, thehide_from_outlook_clients
field will be omitted from the resulting object.mail_enabled
(bool
): Whether the group is a mail enabled, with a shared group mailbox. At least one ofmail_enabled
orsecurity_enabled
must be specified. A group can be mail enabled and security enabled Whennull
, themail_enabled
field will be omitted from the resulting object.mail_nickname
(string
): The mail alias for the group, unique in the organisation Whennull
, themail_nickname
field will be omitted from the resulting object.members
(list
): A set of members who should be present in this group. Supported object types are Users, Groups or Service Principals Whennull
, themembers
field will be omitted from the resulting object.onpremises_group_type
(string
): Indicates the target on-premise group type the group will be written back as Whennull
, theonpremises_group_type
field will be omitted from the resulting object.owners
(list
): A set of owners who own this group. Supported object types are Users or Service Principals Whennull
, theowners
field will be omitted from the resulting object.prevent_duplicate_names
(bool
): Iftrue
, will return an error if an existing group is found with the same name Whennull
, theprevent_duplicate_names
field will be omitted from the resulting object.provisioning_options
(list
): The group provisioning options for a Microsoft 365 group Whennull
, theprovisioning_options
field will be omitted from the resulting object.security_enabled
(bool
): Whether the group is a security group for controlling access to in-app resources. At least one ofsecurity_enabled
ormail_enabled
must be specified. A group can be security enabled and mail enabled Whennull
, thesecurity_enabled
field will be omitted from the resulting object.theme
(string
): The colour theme for a Microsoft 365 group Whennull
, thetheme
field will be omitted from the resulting object.types
(list
): A set of group types to configure for the group.Unified
specifies a Microsoft 365 group. Required whenmail_enabled
is true Whennull
, thetypes
field will be omitted from the resulting object.visibility
(string
): Specifies the group join policy and group content visibility Whennull
, thevisibility
field will be omitted from the resulting object.writeback_enabled
(bool
): Whether this group should be synced from Azure AD to the on-premises directory when Azure AD Connect is used Whennull
, thewriteback_enabled
field will be omitted from the resulting object.dynamic_membership
(list[obj]
): An optional block to configure dynamic membership for the group. Cannot be used withmembers
Whennull
, thedynamic_membership
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the azuread.group.dynamic_membership.new constructor.timeouts
(obj
): Set thetimeouts
field on the resulting resource block. Whennull
, thetimeouts
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the azuread.group.timeouts.new constructor.
Returns:
- A mixin object that injects the new resource into the root Terraform configuration.
newAttrs()
azuread.group.newAttrs
constructs a new object with attributes and blocks configured for the group
Terraform resource.
Unlike azuread.group.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 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:
administrative_unit_ids
(list
): The administrative unit IDs in which the group should be. If empty, the group will be created at the tenant level. Whennull
, theadministrative_unit_ids
field will be omitted from the resulting object.assignable_to_role
(bool
): Indicates whether this group can be assigned to an Azure Active Directory role. This property can only betrue
for security-enabled groups. Whennull
, theassignable_to_role
field will be omitted from the resulting object.auto_subscribe_new_members
(bool
): Indicates whether new members added to the group will be auto-subscribed to receive email notifications. Whennull
, theauto_subscribe_new_members
field will be omitted from the resulting object.behaviors
(list
): The group behaviours for a Microsoft 365 group Whennull
, thebehaviors
field will be omitted from the resulting object.description
(string
): The description for the group Whennull
, thedescription
field will be omitted from the resulting object.display_name
(string
): The display name for the groupexternal_senders_allowed
(bool
): Indicates whether people external to the organization can send messages to the group. Whennull
, theexternal_senders_allowed
field will be omitted from the resulting object.hide_from_address_lists
(bool
): Indicates whether the group is displayed in certain parts of the Outlook user interface: in the Address Book, in address lists for selecting message recipients, and in the Browse Groups dialog for searching groups. Whennull
, thehide_from_address_lists
field will be omitted from the resulting object.hide_from_outlook_clients
(bool
): Indicates whether the group is displayed in Outlook clients, such as Outlook for Windows and Outlook on the web. Whennull
, thehide_from_outlook_clients
field will be omitted from the resulting object.mail_enabled
(bool
): Whether the group is a mail enabled, with a shared group mailbox. At least one ofmail_enabled
orsecurity_enabled
must be specified. A group can be mail enabled and security enabled Whennull
, themail_enabled
field will be omitted from the resulting object.mail_nickname
(string
): The mail alias for the group, unique in the organisation Whennull
, themail_nickname
field will be omitted from the resulting object.members
(list
): A set of members who should be present in this group. Supported object types are Users, Groups or Service Principals Whennull
, themembers
field will be omitted from the resulting object.onpremises_group_type
(string
): Indicates the target on-premise group type the group will be written back as Whennull
, theonpremises_group_type
field will be omitted from the resulting object.owners
(list
): A set of owners who own this group. Supported object types are Users or Service Principals Whennull
, theowners
field will be omitted from the resulting object.prevent_duplicate_names
(bool
): Iftrue
, will return an error if an existing group is found with the same name Whennull
, theprevent_duplicate_names
field will be omitted from the resulting object.provisioning_options
(list
): The group provisioning options for a Microsoft 365 group Whennull
, theprovisioning_options
field will be omitted from the resulting object.security_enabled
(bool
): Whether the group is a security group for controlling access to in-app resources. At least one ofsecurity_enabled
ormail_enabled
must be specified. A group can be security enabled and mail enabled Whennull
, thesecurity_enabled
field will be omitted from the resulting object.theme
(string
): The colour theme for a Microsoft 365 group Whennull
, thetheme
field will be omitted from the resulting object.types
(list
): A set of group types to configure for the group.Unified
specifies a Microsoft 365 group. Required whenmail_enabled
is true Whennull
, thetypes
field will be omitted from the resulting object.visibility
(string
): Specifies the group join policy and group content visibility Whennull
, thevisibility
field will be omitted from the resulting object.writeback_enabled
(bool
): Whether this group should be synced from Azure AD to the on-premises directory when Azure AD Connect is used Whennull
, thewriteback_enabled
field will be omitted from the resulting object.dynamic_membership
(list[obj]
): An optional block to configure dynamic membership for the group. Cannot be used withmembers
Whennull
, thedynamic_membership
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the azuread.group.dynamic_membership.new constructor.timeouts
(obj
): Set thetimeouts
field on the resulting object. Whennull
, thetimeouts
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the azuread.group.timeouts.new constructor.
Returns:
- An attribute object that can be used with tf.withResource to construct a new
group
resource into the root Terraform configuration.
withAdministrativeUnitIds()
azuread.list.withAdministrativeUnitIds
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the administrative_unit_ids field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for theadministrative_unit_ids
field.
withAssignableToRole()
azuread.bool.withAssignableToRole
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the assignable_to_role field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theassignable_to_role
field.
withAutoSubscribeNewMembers()
azuread.bool.withAutoSubscribeNewMembers
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the auto_subscribe_new_members field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theauto_subscribe_new_members
field.
withBehaviors()
azuread.list.withBehaviors
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the behaviors field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for thebehaviors
field.
withDescription()
azuread.string.withDescription
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the description field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thedescription
field.
withDisplayName()
azuread.string.withDisplayName
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the display_name field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thedisplay_name
field.
withDynamicMembership()
azuread.list[obj].withDynamicMembership
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the dynamic_membership 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 azuread.list[obj].withDynamicMembershipMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thedynamic_membership
field.
withDynamicMembershipMixin()
azuread.list[obj].withDynamicMembershipMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the dynamic_membership 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 azuread.list[obj].withDynamicMembership
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thedynamic_membership
field.
withExternalSendersAllowed()
azuread.bool.withExternalSendersAllowed
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the external_senders_allowed field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theexternal_senders_allowed
field.
withHideFromAddressLists()
azuread.bool.withHideFromAddressLists
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the hide_from_address_lists field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for thehide_from_address_lists
field.
withHideFromOutlookClients()
azuread.bool.withHideFromOutlookClients
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the hide_from_outlook_clients field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for thehide_from_outlook_clients
field.
withMailEnabled()
azuread.bool.withMailEnabled
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the mail_enabled field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for themail_enabled
field.
withMailNickname()
azuread.string.withMailNickname
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the mail_nickname field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for themail_nickname
field.
withMembers()
azuread.list.withMembers
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the members field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for themembers
field.
withOnpremisesGroupType()
azuread.string.withOnpremisesGroupType
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the onpremises_group_type field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theonpremises_group_type
field.
withOwners()
azuread.list.withOwners
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the owners field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for theowners
field.
withPreventDuplicateNames()
azuread.bool.withPreventDuplicateNames
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the prevent_duplicate_names field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theprevent_duplicate_names
field.
withProvisioningOptions()
azuread.list.withProvisioningOptions
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the provisioning_options field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for theprovisioning_options
field.
withSecurityEnabled()
azuread.bool.withSecurityEnabled
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the security_enabled field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for thesecurity_enabled
field.
withTheme()
azuread.string.withTheme
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the theme field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thetheme
field.
withTimeouts()
azuread.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 azuread.obj.withTimeoutsMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(obj
): The value to set for thetimeouts
field.
withTimeoutsMixin()
azuread.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 azuread.obj.withTimeouts
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(obj
): The value to set for thetimeouts
field.
withTypes()
azuread.list.withTypes
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the types field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for thetypes
field.
withVisibility()
azuread.string.withVisibility
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the visibility field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thevisibility
field.
withWritebackEnabled()
azuread.bool.withWritebackEnabled
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the writeback_enabled field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for thewriteback_enabled
field.
new()
azuread.group.dynamic_membership.new
constructs a new object with attributes and blocks configured for the dynamic_membership
Terraform sub block.
Args:
enabled
(bool
): Set theenabled
field on the resulting object.rule
(string
): Rule to determine members for a dynamic group. Required whengroup_types
contains 'DynamicMembership'
Returns:
- An attribute object that represents the
dynamic_membership
sub block.
new()
azuread.group.timeouts.new
constructs a new object with attributes and blocks configured for the timeouts
Terraform sub block.
Args:
create
(string
): Set thecreate
field on the resulting object. Whennull
, thecreate
field will be omitted from the resulting object.delete
(string
): Set thedelete
field on the resulting object. Whennull
, thedelete
field will be omitted from the resulting object.read
(string
): Set theread
field on the resulting object. Whennull
, theread
field will be omitted from the resulting object.update
(string
): Set theupdate
field on the resulting object. Whennull
, theupdate
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
timeouts
sub block.