Skip to content

DefinitionGroup

SYNOPSIS

A policy definition group in an initiative, such as a regulatory compliance control.

SYNTAX

DefinitionGroup [-Name] <Object> [[-Options] <Object>] [-DisplayName <String>] [-Category <String>] [-Description <String>] [-AdditionalMetadataId <String>] [<CommonParameters>]

DESCRIPTION

One-line form: DefinitionGroup 'AC-2' -DisplayName 'Account Management' -Category 'Access Control' Hashtable form: DefinitionGroup 'AC-2' @{ DisplayName = 'Account Management'; Category = 'Access Control' } DefinitionGroup @{ Name = 'AC-2'; DisplayName = 'Account Management' }

The hashtable form takes the same options as keys, one per line, for a group too long for one line (ADR-0033).

USED IN

Initiative

EXAMPLES

Example 1

DefinitionGroup 'AC-2' -DisplayName 'Account Management' -Category 'Access Control'

Example 2

DefinitionGroup 'Compute & VM Security' @{
    Category    = 'Compute & VM Security'
    DisplayName = 'Compute & VM Security'
    Description = 'The policies that cover compute and VM security'
}

PARAMETERS

-Name

The group's name, which PolicyDefinition -Group refers to, or a hashtable with the keys Name, DisplayName, Category, Description and AdditionalMetadataId.

Type: Object
Required: true
Position: 1
Accept pipeline input: false

-Options

The options as a hashtable, after the name: the same keys as above, without Name.

Type: Object
Required: false
Position: 2
Accept pipeline input: false

-DisplayName

The group's name as shown in the portal. Not allowed in EPAC output.

Type: String
Required: false
Position: named
Accept pipeline input: false

-Category

The group's category, such as a regulatory domain. Not allowed in EPAC output.

Type: String
Required: false
Position: named
Accept pipeline input: false

-Description

A description of the group. Not allowed in EPAC output.

Type: String
Required: false
Position: named
Accept pipeline input: false

-AdditionalMetadataId

The ID of a policyMetadata object with more about the group, such as a control's details.

Type: String
Required: false
Position: named
Accept pipeline input: false