DSCResources/MSFT_SPORetentionLabelsSettings/settings.json

{
  "resourceName": "SPORetentionLabelsSettings",
  "description": "Configures the retention label settings. This setting is accessible via the Purview Record Management settings screen.",
  "roles": {
    "read": [],
    "update": []
  },
  "permissions": {
    "graph": {
      "delegated": {
        "read": [],
        "update": []
      },
      "application": {
        "read": [],
        "update": []
      }
    },
    "sharepoint": {
      "delegated": {
        "read": [
          {
            "name": "Sites.FullControl.All"
          }
        ],
        "update": [
          {
            "name": "Sites.FullControl.All"
          }
        ]
      },
      "application": {
        "read": [
          {
            "name": "Sites.FullControl.All"
          }
        ],
        "update": [
          {
            "name": "Sites.FullControl.All"
          }
        ]
      }
    }
  },
  "requiredModules": [
    "PnP.PowerShell"
  ],
  "supportedEnvironments": [
    "Global",
    "USGov"
  ],
  "mode": "Configuration",
  "commands": [
    {
      "module": "PnP.PowerShell",
      "cmdlets": [
        "Invoke-PnPSPRestMethod"
      ]
    }
  ]
}