diff --git a/resources/GitDsc/GitClone.dsc.adaptedResource.json b/resources/GitDsc/GitClone.dsc.adaptedResource.json new file mode 100644 index 00000000..6644095b --- /dev/null +++ b/resources/GitDsc/GitClone.dsc.adaptedResource.json @@ -0,0 +1,54 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "GitDsc/GitClone", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `GitClone` DSC resource is used to clone a Git repository to a local directory.", + "author": "DscSamples", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "GitDsc.psd1", + "schema": { + "embedded": { + "description": "The `GitClone` DSC resource is used to clone a Git repository to a local directory.", + "type": "object", + "required": ["HttpsUrl", "RootDirectory"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "Ensure": { + "type": "string", + "enum": ["Absent", "Present"], + "title": "Ensure", + "description": "Specifies whether the repository should be present or absent. Defaults to `Present`.\r\n Removing a cloned repository is not supported by this resource." + }, + "HttpsUrl": { + "type": "string", + "title": "HttpsUrl", + "description": "The HTTPS URL of the Git repository to clone. This is a key property." + }, + "RemoteName": { + "type": "string", + "title": "RemoteName", + "description": "The name of the remote. Defaults to `origin`." + }, + "RootDirectory": { + "type": "string", + "title": "RootDirectory", + "description": "The root directory where the repository will be cloned into. This is a mandatory property." + }, + "FolderName": { + "type": "string", + "title": "FolderName", + "description": "The folder name for the cloned repository. If not specified, it is derived from the HTTPS URL." + }, + "ExtraArgs": { + "type": "string", + "title": "ExtraArgs", + "description": "Additional arguments to pass to `git clone`." + } + }, + "title": "GitDsc/GitClone" + } + } +} diff --git a/resources/GitDsc/GitConfigUserEmail.dsc.adaptedResource.json b/resources/GitDsc/GitConfigUserEmail.dsc.adaptedResource.json new file mode 100644 index 00000000..ceaea965 --- /dev/null +++ b/resources/GitDsc/GitConfigUserEmail.dsc.adaptedResource.json @@ -0,0 +1,45 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "GitDsc/GitConfigUserEmail", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `GitConfigUserEmail` DSC resource is used to manage the Git user email configuration.", + "author": "DscSamples", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "GitDsc.psd1", + "schema": { + "embedded": { + "description": "The `GitConfigUserEmail` DSC resource is used to manage the Git user email configuration.", + "type": "object", + "required": ["UserEmail"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "Ensure": { + "type": "string", + "enum": ["Absent", "Present"], + "title": "Ensure", + "description": "Specifies whether the user email should be present or absent. Defaults to `Present`." + }, + "UserEmail": { + "type": "string", + "title": "UserEmail", + "description": "The Git user email to configure. This is a key property." + }, + "ConfigLocation": { + "type": "string", + "enum": ["none", "global", "system", "worktree", "local"], + "title": "ConfigLocation", + "description": "The Git configuration scope to apply the setting to (e.g., `global`, `system`, `local`)." + }, + "ProjectDirectory": { + "type": "string", + "title": "ProjectDirectory", + "description": "The path to the Git repository. Required for non-global and non-system configurations." + } + }, + "title": "GitDsc/GitConfigUserEmail" + } + } +} diff --git a/resources/GitDsc/GitConfigUserName.dsc.adaptedResource.json b/resources/GitDsc/GitConfigUserName.dsc.adaptedResource.json new file mode 100644 index 00000000..9db0d28c --- /dev/null +++ b/resources/GitDsc/GitConfigUserName.dsc.adaptedResource.json @@ -0,0 +1,45 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "GitDsc/GitConfigUserName", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `GitConfigUserName` DSC resource is used to manage the Git user name configuration.", + "author": "DscSamples", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "GitDsc.psd1", + "schema": { + "embedded": { + "description": "The `GitConfigUserName` DSC resource is used to manage the Git user name configuration.", + "type": "object", + "required": ["UserName"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "Ensure": { + "type": "string", + "enum": ["Absent", "Present"], + "title": "Ensure", + "description": "Specifies whether the user name should be present or absent. Defaults to `Present`." + }, + "UserName": { + "type": "string", + "title": "UserName", + "description": "The Git user name to configure. This is a key property." + }, + "ConfigLocation": { + "type": "string", + "enum": ["none", "global", "system", "worktree", "local"], + "title": "ConfigLocation", + "description": "The Git configuration scope to apply the setting to (e.g., `global`, `system`, `local`)." + }, + "ProjectDirectory": { + "type": "string", + "title": "ProjectDirectory", + "description": "The path to the Git repository. Required for non-global and non-system configurations." + } + }, + "title": "GitDsc/GitConfigUserName" + } + } +} diff --git a/resources/GitDsc/GitRemote.dsc.adaptedResource.json b/resources/GitDsc/GitRemote.dsc.adaptedResource.json new file mode 100644 index 00000000..449a69cb --- /dev/null +++ b/resources/GitDsc/GitRemote.dsc.adaptedResource.json @@ -0,0 +1,44 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "GitDsc/GitRemote", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `GitRemote` DSC resource is used to manage remote repository references in a Git project.", + "author": "DscSamples", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "GitDsc.psd1", + "schema": { + "embedded": { + "description": "The `GitRemote` DSC resource is used to manage remote repository references in a Git project.", + "type": "object", + "required": ["RemoteName", "RemoteUrl", "ProjectDirectory"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "Ensure": { + "type": "string", + "enum": ["Absent", "Present"], + "title": "Ensure", + "description": "Specifies whether the remote should be present or absent. Defaults to `Present`." + }, + "RemoteName": { + "type": "string", + "title": "RemoteName", + "description": "The name of the Git remote. This is a key property." + }, + "RemoteUrl": { + "type": "string", + "title": "RemoteUrl", + "description": "The URL of the Git remote. This is a key property." + }, + "ProjectDirectory": { + "type": "string", + "title": "ProjectDirectory", + "description": "The path to the local Git repository. This is a mandatory property." + } + }, + "title": "GitDsc/GitRemote" + } + } +} diff --git a/resources/GitDsc/gitdsc.dsc.manifests.json b/resources/GitDsc/gitdsc.dsc.manifests.json deleted file mode 100644 index a601bf24..00000000 --- a/resources/GitDsc/gitdsc.dsc.manifests.json +++ /dev/null @@ -1,192 +0,0 @@ -{ - "adaptedResources": [ - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "GitDsc/GitClone", - "author": "DscSamples", - "description": "The `GitClone` DSC resource is used to clone a Git repository to a local directory.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["HttpsUrl", "RootDirectory"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "Ensure": { - "type": "string", - "enum": ["Absent", "Present"], - "title": "Ensure", - "description": "Specifies whether the repository should be present or absent. Defaults to `Present`.\r\n Removing a cloned repository is not supported by this resource." - }, - "HttpsUrl": { - "type": "string", - "title": "HttpsUrl", - "description": "The HTTPS URL of the Git repository to clone. This is a key property." - }, - "RemoteName": { - "type": "string", - "title": "RemoteName", - "description": "The name of the remote. Defaults to `origin`." - }, - "RootDirectory": { - "type": "string", - "title": "RootDirectory", - "description": "The root directory where the repository will be cloned into. This is a mandatory property." - }, - "FolderName": { - "type": "string", - "title": "FolderName", - "description": "The folder name for the cloned repository. If not specified, it is derived from the HTTPS URL." - }, - "ExtraArgs": { - "type": "string", - "title": "ExtraArgs", - "description": "Additional arguments to pass to `git clone`." - } - }, - "description": "The `GitClone` DSC resource is used to clone a Git repository to a local directory.", - "title": "GitDsc/GitClone" - } - }, - "path": "GitDsc.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "GitDsc/GitRemote", - "author": "DscSamples", - "description": "The `GitRemote` DSC resource is used to manage remote repository references in a Git project.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["RemoteName", "RemoteUrl", "ProjectDirectory"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "Ensure": { - "type": "string", - "enum": ["Absent", "Present"], - "title": "Ensure", - "description": "Specifies whether the remote should be present or absent. Defaults to `Present`." - }, - "RemoteName": { - "type": "string", - "title": "RemoteName", - "description": "The name of the Git remote. This is a key property." - }, - "RemoteUrl": { - "type": "string", - "title": "RemoteUrl", - "description": "The URL of the Git remote. This is a key property." - }, - "ProjectDirectory": { - "type": "string", - "title": "ProjectDirectory", - "description": "The path to the local Git repository. This is a mandatory property." - } - }, - "description": "The `GitRemote` DSC resource is used to manage remote repository references in a Git project.", - "title": "GitDsc/GitRemote" - } - }, - "path": "GitDsc.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "GitDsc/GitConfigUserName", - "author": "DscSamples", - "description": "The `GitConfigUserName` DSC resource is used to manage the Git user name configuration.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["UserName"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "Ensure": { - "type": "string", - "enum": ["Absent", "Present"], - "title": "Ensure", - "description": "Specifies whether the user name should be present or absent. Defaults to `Present`." - }, - "UserName": { - "type": "string", - "title": "UserName", - "description": "The Git user name to configure. This is a key property." - }, - "ConfigLocation": { - "type": "string", - "enum": ["none", "global", "system", "worktree", "local"], - "title": "ConfigLocation", - "description": "The Git configuration scope to apply the setting to (e.g., `global`, `system`, `local`)." - }, - "ProjectDirectory": { - "type": "string", - "title": "ProjectDirectory", - "description": "The path to the Git repository. Required for non-global and non-system configurations." - } - }, - "description": "The `GitConfigUserName` DSC resource is used to manage the Git user name configuration.", - "title": "GitDsc/GitConfigUserName" - } - }, - "path": "GitDsc.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "GitDsc/GitConfigUserEmail", - "author": "DscSamples", - "description": "The `GitConfigUserEmail` DSC resource is used to manage the Git user email configuration.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["UserEmail"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "Ensure": { - "type": "string", - "enum": ["Absent", "Present"], - "title": "Ensure", - "description": "Specifies whether the user email should be present or absent. Defaults to `Present`." - }, - "UserEmail": { - "type": "string", - "title": "UserEmail", - "description": "The Git user email to configure. This is a key property." - }, - "ConfigLocation": { - "type": "string", - "enum": ["none", "global", "system", "worktree", "local"], - "title": "ConfigLocation", - "description": "The Git configuration scope to apply the setting to (e.g., `global`, `system`, `local`)." - }, - "ProjectDirectory": { - "type": "string", - "title": "ProjectDirectory", - "description": "The path to the Git repository. Required for non-global and non-system configurations." - } - }, - "description": "The `GitConfigUserEmail` DSC resource is used to manage the Git user email configuration.", - "title": "GitDsc/GitConfigUserEmail" - } - }, - "path": "GitDsc.psd1" - } - ] -} diff --git a/resources/Microsoft.DotNet.Dsc/DotNetToolPackage.dsc.adaptedResource.json b/resources/Microsoft.DotNet.Dsc/DotNetToolPackage.dsc.adaptedResource.json new file mode 100644 index 00000000..ba664c16 --- /dev/null +++ b/resources/Microsoft.DotNet.Dsc/DotNetToolPackage.dsc.adaptedResource.json @@ -0,0 +1,56 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.DotNet.Dsc/DotNetToolPackage", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "set", "test", "export"], + "description": "The `DotNetToolPackage` DSC Resource allows you to install, update, and uninstall .NET tool packages using the dotnet CLI.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.DotNet.Dsc.psd1", + "schema": { + "embedded": { + "description": "The `DotNetToolPackage` DSC Resource allows you to install, update, and uninstall .NET tool packages using the dotnet CLI.", + "type": "object", + "required": ["PackageId"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "PackageId": { + "type": "string", + "title": "PackageId", + "description": "The ID of the .NET tool package to manage. This is a required parameter.\r\n\r\n For a list of available .NET tool packages, see the following link: https://www.nuget.org/packages?q=&includeComputedFrameworks=true&packagetype=dotnettool&prerel=true&sortby=relevance" + }, + "Version": { + "type": "string", + "title": "Version", + "description": "The version of the .NET tool package to install. If not specified, the latest version will be installed." + }, + "Commands": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Commands", + "description": "An array of commands provided by the .NET tool package. This parameter is optional." + }, + "Prerelease": { + "type": "boolean", + "title": "Prerelease", + "description": "Indicates whether to include prerelease versions of the .NET tool package. The default value is $false." + }, + "ToolPathDirectory": { + "type": "string", + "title": "ToolPathDirectory", + "description": "The directory where the .NET tool package will be installed. If not specified, the package will be installed globally." + }, + "Exist": { + "type": "boolean", + "title": "Exist", + "description": "Indicates whether the package should exist. Defaults to $true." + } + }, + "title": "Microsoft.DotNet.Dsc/DotNetToolPackage" + } + } +} diff --git a/resources/Microsoft.DotNet.Dsc/microsoftdotnetdsc.dsc.manifests.json b/resources/Microsoft.DotNet.Dsc/microsoftdotnetdsc.dsc.manifests.json deleted file mode 100644 index 7841e0a5..00000000 --- a/resources/Microsoft.DotNet.Dsc/microsoftdotnetdsc.dsc.manifests.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "adaptedResources": [ - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.DotNet.Dsc/DotNetToolPackage", - "author": "Microsoft Corporation", - "description": "The `DotNetToolPackage` DSC Resource allows you to install, update, and uninstall .NET tool packages using the dotnet CLI.", - "capabilities": ["get", "set", "test", "export"], - "schema": { - "embedded": { - "type": "object", - "required": ["PackageId"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "PackageId": { - "type": "string", - "title": "PackageId", - "description": "The ID of the .NET tool package to manage. This is a required parameter.\r\n\r\n For a list of available .NET tool packages, see the following link: https://www.nuget.org/packages?q=&includeComputedFrameworks=true&packagetype=dotnettool&prerel=true&sortby=relevance" - }, - "Version": { - "type": "string", - "title": "Version", - "description": "The version of the .NET tool package to install. If not specified, the latest version will be installed." - }, - "Commands": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Commands", - "description": "An array of commands provided by the .NET tool package. This parameter is optional." - }, - "Prerelease": { - "type": "boolean", - "title": "Prerelease", - "description": "Indicates whether to include prerelease versions of the .NET tool package. The default value is $false." - }, - "ToolPathDirectory": { - "type": "string", - "title": "ToolPathDirectory", - "description": "The directory where the .NET tool package will be installed. If not specified, the package will be installed globally." - }, - "Exist": { - "type": "boolean", - "title": "Exist", - "description": "Indicates whether the package should exist. Defaults to $true." - } - }, - "description": "The `DotNetToolPackage` DSC Resource allows you to install, update, and uninstall .NET tool packages using the dotnet CLI.", - "title": "Microsoft.DotNet.Dsc/DotNetToolPackage" - } - }, - "path": "Microsoft.DotNet.Dsc.psd1" - } - ] -} diff --git a/resources/Microsoft.VSCode.Dsc/VSCodeExtension.dsc.adaptedResource.json b/resources/Microsoft.VSCode.Dsc/VSCodeExtension.dsc.adaptedResource.json new file mode 100644 index 00000000..6fa20924 --- /dev/null +++ b/resources/Microsoft.VSCode.Dsc/VSCodeExtension.dsc.adaptedResource.json @@ -0,0 +1,48 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.VSCode.Dsc/VSCodeExtension", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["export", "get", "test", "set"], + "description": "The `VSCodeExtension` DSC Resource allows you to install, update, and remove Visual Studio Code extensions. This resource ensures that the specified Visual Studio Code extension is in the desired state.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.VSCode.Dsc.psd1", + "schema": { + "embedded": { + "description": "The `VSCodeExtension` DSC Resource allows you to install, update, and remove Visual Studio Code extensions. This resource ensures that the specified Visual Studio Code extension is in the desired state.", + "type": "object", + "required": ["Name"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "Name": { + "type": "string", + "title": "Name", + "description": "The name of the Visual Studio Code extension to manage. This is a required parameter." + }, + "Version": { + "type": "string", + "title": "Version", + "description": "The version of the Visual Studio Code extension to install. If not specified, the latest version will be installed." + }, + "Exist": { + "type": "boolean", + "title": "Exist", + "description": "Indicates whether the extension should exist. The default value is `$true`." + }, + "PreRelease": { + "type": "boolean", + "title": "PreRelease", + "description": "Indicates whether to install the pre-release version of the extension. The default value is `$false`.\r\n\r\n When PreRelease is set to `$true`, the extension will be installed from the Visual Studio Code marketplace. If the extension is already installed, it will be updated to the pre-release version.\r\n If there is no prerelease version available, the extension will be installed." + }, + "Insiders": { + "type": "boolean", + "title": "Insiders", + "description": "Indicates whether to manage the extension for the Insiders version of Visual Studio Code. The default value is `$false`." + } + }, + "title": "Microsoft.VSCode.Dsc/VSCodeExtension" + } + } +} diff --git a/resources/Microsoft.VSCode.Dsc/microsoftvscodedsc.dsc.manifests.json b/resources/Microsoft.VSCode.Dsc/microsoftvscodedsc.dsc.manifests.json deleted file mode 100644 index 1cbf4cf2..00000000 --- a/resources/Microsoft.VSCode.Dsc/microsoftvscodedsc.dsc.manifests.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "adaptedResources": [ - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.VSCode.Dsc/VSCodeExtension", - "author": "Microsoft Corporation", - "description": "The `VSCodeExtension` DSC Resource allows you to install, update, and remove Visual Studio Code extensions. This resource ensures that the specified Visual Studio Code extension is in the desired state.", - "capabilities": ["export", "get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["Name"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "Name": { - "type": "string", - "title": "Name", - "description": "The name of the Visual Studio Code extension to manage. This is a required parameter." - }, - "Version": { - "type": "string", - "title": "Version", - "description": "The version of the Visual Studio Code extension to install. If not specified, the latest version will be installed." - }, - "Exist": { - "type": "boolean", - "title": "Exist", - "description": "Indicates whether the extension should exist. The default value is `$true`." - }, - "PreRelease": { - "type": "boolean", - "title": "PreRelease", - "description": "Indicates whether to install the pre-release version of the extension. The default value is `$false`.\r\n\r\n When PreRelease is set to `$true`, the extension will be installed from the Visual Studio Code marketplace. If the extension is already installed, it will be updated to the pre-release version.\r\n If there is no prerelease version available, the extension will be installed." - }, - "Insiders": { - "type": "boolean", - "title": "Insiders", - "description": "Indicates whether to manage the extension for the Insiders version of Visual Studio Code. The default value is `$false`." - } - }, - "description": "The `VSCodeExtension` DSC Resource allows you to install, update, and remove Visual Studio Code extensions. This resource ensures that the specified Visual Studio Code extension is in the desired state.", - "title": "Microsoft.VSCode.Dsc/VSCodeExtension" - } - }, - "path": "Microsoft.VSCode.Dsc.psd1" - } - ] -} diff --git a/resources/Microsoft.Windows.Developer/AdvancedNetworkSharingSetting.dsc.adaptedResource.json b/resources/Microsoft.Windows.Developer/AdvancedNetworkSharingSetting.dsc.adaptedResource.json new file mode 100644 index 00000000..46276db2 --- /dev/null +++ b/resources/Microsoft.Windows.Developer/AdvancedNetworkSharingSetting.dsc.adaptedResource.json @@ -0,0 +1,46 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Developer/AdvancedNetworkSharingSetting", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `AdvancedNetworkSharingSetting` DSC resource is used to manage Windows advanced network sharing settings.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Developer.psd1", + "schema": { + "embedded": { + "description": "The `AdvancedNetworkSharingSetting` DSC resource is used to manage Windows advanced network sharing settings.", + "type": "object", + "required": ["Name"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "Name": { + "type": "string", + "enum": ["NetworkDiscovery", "FileAndPrinterSharing"], + "title": "Name", + "description": "The advanced sharing setting to configure. Accepted values are `NetworkDiscovery`\r\n or `FileAndPrinterSharing`. This is a key and mandatory property." + }, + "Profiles": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Profiles", + "description": "The network profiles for which the setting should be enabled (e.g., `Domain`, `Private`, `Public`)." + }, + "EnabledProfiles": { + "items": { + "type": "string" + }, + "type": "array", + "title": "EnabledProfiles", + "readOnly": true, + "description": "A read-only property listing the profiles for which the setting is currently enabled.\r\n This property is not configurable." + } + }, + "title": "Microsoft.Windows.Developer/AdvancedNetworkSharingSetting" + } + } +} diff --git a/resources/Microsoft.Windows.Developer/DeveloperMode.dsc.adaptedResource.json b/resources/Microsoft.Windows.Developer/DeveloperMode.dsc.adaptedResource.json new file mode 100644 index 00000000..84bacf53 --- /dev/null +++ b/resources/Microsoft.Windows.Developer/DeveloperMode.dsc.adaptedResource.json @@ -0,0 +1,40 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Developer/DeveloperMode", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `DeveloperMode` DSC resource is used to enable or disable Windows Developer Mode.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Developer.psd1", + "schema": { + "embedded": { + "description": "The `DeveloperMode` DSC resource is used to enable or disable Windows Developer Mode.", + "type": "object", + "required": ["SID"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + }, + "Ensure": { + "type": "string", + "enum": ["Absent", "Present"], + "title": "Ensure", + "description": "Specifies whether Developer Mode should be enabled (`Present`) or disabled (`Absent`).\r\n Defaults to `Present`." + }, + "IsEnabled": { + "type": "boolean", + "title": "IsEnabled", + "readOnly": true, + "description": "A read-only property indicating whether Developer Mode is currently enabled.\r\n This property is not configurable." + } + }, + "title": "Microsoft.Windows.Developer/DeveloperMode" + } + } +} diff --git a/resources/Microsoft.Windows.Developer/EnableDarkMode.dsc.adaptedResource.json b/resources/Microsoft.Windows.Developer/EnableDarkMode.dsc.adaptedResource.json new file mode 100644 index 00000000..b4eb6733 --- /dev/null +++ b/resources/Microsoft.Windows.Developer/EnableDarkMode.dsc.adaptedResource.json @@ -0,0 +1,39 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Developer/EnableDarkMode", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `EnableDarkMode` DSC resource is used to enable or disable Windows dark mode.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Developer.psd1", + "schema": { + "embedded": { + "description": "The `EnableDarkMode` DSC resource is used to enable or disable Windows dark mode.", + "type": "object", + "required": ["SID"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + }, + "Ensure": { + "type": "string", + "enum": ["Absent", "Present"], + "title": "Ensure", + "description": "Specifies whether dark mode should be enabled (`Present`) or disabled (`Absent`).\r\n Defaults to `Present`." + }, + "RestartExplorer": { + "type": "boolean", + "title": "RestartExplorer", + "description": "Specifies whether to restart Windows Explorer to apply changes. Defaults to `$false`." + } + }, + "title": "Microsoft.Windows.Developer/EnableDarkMode" + } + } +} diff --git a/resources/Microsoft.Windows.Developer/EnableLongPathSupport.dsc.adaptedResource.json b/resources/Microsoft.Windows.Developer/EnableLongPathSupport.dsc.adaptedResource.json new file mode 100644 index 00000000..07fdef1e --- /dev/null +++ b/resources/Microsoft.Windows.Developer/EnableLongPathSupport.dsc.adaptedResource.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Developer/EnableLongPathSupport", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `EnableLongPathSupport` DSC resource is used to enable or disable Windows long path support.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Developer.psd1", + "schema": { + "embedded": { + "description": "The `EnableLongPathSupport` DSC resource is used to enable or disable Windows long path support.", + "type": "object", + "required": ["SID"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + }, + "Ensure": { + "type": "string", + "enum": ["Absent", "Present"], + "title": "Ensure", + "description": "Specifies whether long path support should be enabled (`Present`) or disabled (`Absent`).\r\n Defaults to `Present`." + } + }, + "title": "Microsoft.Windows.Developer/EnableLongPathSupport" + } + } +} diff --git a/resources/Microsoft.Windows.Developer/EnableRemoteDesktop.dsc.adaptedResource.json b/resources/Microsoft.Windows.Developer/EnableRemoteDesktop.dsc.adaptedResource.json new file mode 100644 index 00000000..a80afdaa --- /dev/null +++ b/resources/Microsoft.Windows.Developer/EnableRemoteDesktop.dsc.adaptedResource.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Developer/EnableRemoteDesktop", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `EnableRemoteDesktop` DSC resource is used to enable or disable Remote Desktop connections.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Developer.psd1", + "schema": { + "embedded": { + "description": "The `EnableRemoteDesktop` DSC resource is used to enable or disable Remote Desktop connections.", + "type": "object", + "required": ["SID"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + }, + "Ensure": { + "type": "string", + "enum": ["Absent", "Present"], + "title": "Ensure", + "description": "Specifies whether Remote Desktop should be enabled (`Present`) or disabled (`Absent`).\r\n Defaults to `Present`." + } + }, + "title": "Microsoft.Windows.Developer/EnableRemoteDesktop" + } + } +} diff --git a/resources/Microsoft.Windows.Developer/FirewallRule.dsc.adaptedResource.json b/resources/Microsoft.Windows.Developer/FirewallRule.dsc.adaptedResource.json new file mode 100644 index 00000000..7204b0db --- /dev/null +++ b/resources/Microsoft.Windows.Developer/FirewallRule.dsc.adaptedResource.json @@ -0,0 +1,82 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Developer/FirewallRule", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `FirewallRule` DSC resource is used to create, modify, or remove Windows Firewall rules.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Developer.psd1", + "schema": { + "embedded": { + "description": "The `FirewallRule` DSC resource is used to create, modify, or remove Windows Firewall rules.", + "type": "object", + "required": ["Name"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "Name": { + "type": "string", + "title": "Name", + "description": "The unique name of the firewall rule. This is a key and mandatory property." + }, + "DisplayName": { + "type": "string", + "title": "DisplayName", + "description": "The display name of the firewall rule." + }, + "Action": { + "type": "string", + "enum": ["NotConfigured", "Allow", "Block"], + "title": "Action", + "description": "The action for the firewall rule. Accepted values are `NotConfigured`, `Allow`, or `Block`." + }, + "Description": { + "type": "string", + "title": "Description", + "description": "A description for the firewall rule." + }, + "Direction": { + "type": "string", + "enum": ["Inbound", "Outbound"], + "title": "Direction", + "description": "The direction of the firewall rule. Accepted values are `Inbound` or `Outbound`." + }, + "Enabled": { + "type": "boolean", + "title": "Enabled", + "description": "Specifies whether the firewall rule is enabled." + }, + "Ensure": { + "type": "string", + "enum": ["Absent", "Present"], + "title": "Ensure", + "description": "Specifies whether the firewall rule should be present or absent. Defaults to `Present`." + }, + "LocalPort": { + "items": { + "type": "string" + }, + "type": "array", + "title": "LocalPort", + "description": "The local ports to which the rule applies." + }, + "Profiles": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Profiles", + "description": "The network profiles to which the rule applies (e.g., `Domain`, `Private`, `Public`)." + }, + "Protocol": { + "type": "string", + "title": "Protocol", + "description": "The protocol for the firewall rule (e.g., `TCP`, `UDP`)." + } + }, + "title": "Microsoft.Windows.Developer/FirewallRule" + } + } +} diff --git a/resources/Microsoft.Windows.Developer/NetConnectionProfile.dsc.adaptedResource.json b/resources/Microsoft.Windows.Developer/NetConnectionProfile.dsc.adaptedResource.json new file mode 100644 index 00000000..e48fde87 --- /dev/null +++ b/resources/Microsoft.Windows.Developer/NetConnectionProfile.dsc.adaptedResource.json @@ -0,0 +1,38 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Developer/NetConnectionProfile", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `NetConnectionProfile` DSC resource is used to manage the network connection profile for a network adapter.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Developer.psd1", + "schema": { + "embedded": { + "description": "The `NetConnectionProfile` DSC resource is used to manage the network connection profile for a network adapter.", + "type": "object", + "required": ["SID", "InterfaceAlias", "NetworkCategory"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + }, + "InterfaceAlias": { + "type": "string", + "title": "InterfaceAlias", + "description": "The alias of the network interface to configure. This is a mandatory property." + }, + "NetworkCategory": { + "type": "string", + "title": "NetworkCategory", + "description": "The network category to assign. Accepted values are `Public`, `Private`, or `DomainAuthenticated`.\r\n This is a mandatory property." + } + }, + "title": "Microsoft.Windows.Developer/NetConnectionProfile" + } + } +} diff --git a/resources/Microsoft.Windows.Developer/OsVersion.dsc.adaptedResource.json b/resources/Microsoft.Windows.Developer/OsVersion.dsc.adaptedResource.json new file mode 100644 index 00000000..259db8a1 --- /dev/null +++ b/resources/Microsoft.Windows.Developer/OsVersion.dsc.adaptedResource.json @@ -0,0 +1,39 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Developer/OsVersion", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `OsVersion` DSC resource is used to assert a minimum Windows operating system version requirement.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Developer.psd1", + "schema": { + "embedded": { + "description": "The `OsVersion` DSC resource is used to assert a minimum Windows operating system version requirement.", + "type": "object", + "required": ["SID", "MinVersion"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + }, + "MinVersion": { + "type": "string", + "title": "MinVersion", + "description": "The minimum required version of the operating system. This is a mandatory property." + }, + "OsVersion": { + "type": "string", + "title": "OsVersion", + "readOnly": true, + "description": "A read-only property indicating the current operating system version.\r\n This property is not configurable." + } + }, + "title": "Microsoft.Windows.Developer/OsVersion" + } + } +} diff --git a/resources/Microsoft.Windows.Developer/PowerPlanSetting.dsc.adaptedResource.json b/resources/Microsoft.Windows.Developer/PowerPlanSetting.dsc.adaptedResource.json new file mode 100644 index 00000000..327d253f --- /dev/null +++ b/resources/Microsoft.Windows.Developer/PowerPlanSetting.dsc.adaptedResource.json @@ -0,0 +1,52 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Developer/PowerPlanSetting", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `PowerPlanSetting` DSC resource is used to manage Windows power plan settings.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Developer.psd1", + "schema": { + "embedded": { + "description": "The `PowerPlanSetting` DSC resource is used to manage Windows power plan settings.", + "type": "object", + "required": ["Name", "PowerSource", "SettingValue"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "Name": { + "type": "string", + "enum": ["DisplayTimeout", "SleepTimeout"], + "title": "Name", + "description": "The name of the power plan setting to configure. Accepted values are `DisplayTimeout`\r\n or `SleepTimeout`. This is a key and mandatory property." + }, + "PowerSource": { + "type": "string", + "enum": ["PluggedIn", "Battery", "All"], + "title": "PowerSource", + "description": "The power source for the setting. Accepted values are `PluggedIn`, `Battery`, or `All`.\r\n This is a mandatory property." + }, + "SettingValue": { + "type": "integer", + "title": "SettingValue", + "description": "The timeout value in seconds. This is a mandatory property." + }, + "PluggedInValue": { + "type": "integer", + "title": "PluggedInValue", + "readOnly": true, + "description": "A read-only property indicating the current plugged-in timeout value. This property is not configurable." + }, + "BatteryValue": { + "type": "integer", + "title": "BatteryValue", + "readOnly": true, + "description": "A read-only property indicating the current battery timeout value. This property is not configurable." + } + }, + "title": "Microsoft.Windows.Developer/PowerPlanSetting" + } + } +} diff --git a/resources/Microsoft.Windows.Developer/ShowSecondsInClock.dsc.adaptedResource.json b/resources/Microsoft.Windows.Developer/ShowSecondsInClock.dsc.adaptedResource.json new file mode 100644 index 00000000..b515b62b --- /dev/null +++ b/resources/Microsoft.Windows.Developer/ShowSecondsInClock.dsc.adaptedResource.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Developer/ShowSecondsInClock", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `ShowSecondsInClock` DSC resource is used to show or hide seconds in the taskbar clock.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Developer.psd1", + "schema": { + "embedded": { + "description": "The `ShowSecondsInClock` DSC resource is used to show or hide seconds in the taskbar clock.", + "type": "object", + "required": ["SID"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + }, + "Ensure": { + "type": "string", + "enum": ["Absent", "Present"], + "title": "Ensure", + "description": "Specifies whether seconds should be shown (`Present`) or hidden (`Absent`) in the clock.\r\n Defaults to `Present`." + } + }, + "title": "Microsoft.Windows.Developer/ShowSecondsInClock" + } + } +} diff --git a/resources/Microsoft.Windows.Developer/Taskbar.dsc.adaptedResource.json b/resources/Microsoft.Windows.Developer/Taskbar.dsc.adaptedResource.json new file mode 100644 index 00000000..cd186a91 --- /dev/null +++ b/resources/Microsoft.Windows.Developer/Taskbar.dsc.adaptedResource.json @@ -0,0 +1,69 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Developer/Taskbar", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `Taskbar` DSC resource is used to manage Windows taskbar settings.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Developer.psd1", + "schema": { + "embedded": { + "description": "The `Taskbar` DSC resource is used to manage Windows taskbar settings.", + "type": "object", + "required": ["SID"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "Alignment": { + "type": "string", + "enum": ["KeepCurrentValue", "Left", "Middle"], + "title": "Alignment", + "description": "Sets the taskbar alignment. Accepted values are `Left` or `Middle`.\r\n Defaults to `KeepCurrentValue`." + }, + "HideLabelsMode": { + "type": "string", + "enum": ["KeepCurrentValue", "Always", "WhenFull", "Never"], + "title": "HideLabelsMode", + "description": "Sets the taskbar button label hide behavior. Accepted values are `Always`, `WhenFull`, or `Never`.\r\n Defaults to `KeepCurrentValue`." + }, + "SearchboxMode": { + "type": "string", + "enum": [ + "KeepCurrentValue", + "Hide", + "ShowIconOnly", + "SearchBox", + "ShowIconAndLabel" + ], + "title": "SearchboxMode", + "description": "Sets the search box display mode. Accepted values are `Hide`, `ShowIconOnly`, `SearchBox`, or `ShowIconAndLabel`.\r\n Defaults to `KeepCurrentValue`." + }, + "TaskViewButton": { + "type": "string", + "enum": ["KeepCurrentValue", "Hide", "Show"], + "title": "TaskViewButton", + "description": "Shows or hides the Task View button on the taskbar.\r\n Defaults to `KeepCurrentValue`." + }, + "WidgetsButton": { + "type": "string", + "enum": ["KeepCurrentValue", "Hide", "Show"], + "title": "WidgetsButton", + "description": "Shows or hides the Widgets button on the taskbar.\r\n Defaults to `KeepCurrentValue`." + }, + "RestartExplorer": { + "type": "boolean", + "title": "RestartExplorer", + "description": "Specifies whether to restart Windows Explorer to apply changes. Defaults to `$false`." + }, + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + } + }, + "title": "Microsoft.Windows.Developer/Taskbar" + } + } +} diff --git a/resources/Microsoft.Windows.Developer/UserAccessControl.dsc.adaptedResource.json b/resources/Microsoft.Windows.Developer/UserAccessControl.dsc.adaptedResource.json new file mode 100644 index 00000000..0ee927ce --- /dev/null +++ b/resources/Microsoft.Windows.Developer/UserAccessControl.dsc.adaptedResource.json @@ -0,0 +1,42 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Developer/UserAccessControl", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `UserAccessControl` DSC resource is used to manage the User Account Control (UAC) prompt behavior.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Developer.psd1", + "schema": { + "embedded": { + "description": "The `UserAccessControl` DSC resource is used to manage the User Account Control (UAC) prompt behavior.", + "type": "object", + "required": ["SID"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + }, + "AdminConsentPromptBehavior": { + "type": "string", + "enum": [ + "KeepCurrentValue", + "NoCredOrConsentRequired", + "RequireCredOnSecureDesktop", + "RequireConsentOnSecureDesktop", + "RequireCred", + "RequireConsent", + "RequireConsentForNonWindowsBinaries" + ], + "title": "AdminConsentPromptBehavior", + "description": "Specifies the UAC admin consent prompt behavior. Accepted values are `NoCredOrConsentRequired`,\r\n `RequireCredOnSecureDesktop`, `RequireConsentOnSecureDesktop`, `RequireCred`,\r\n `RequireConsent`, or `RequireConsentForNonWindowsBinaries`. Defaults to `KeepCurrentValue`." + } + }, + "title": "Microsoft.Windows.Developer/UserAccessControl" + } + } +} diff --git a/resources/Microsoft.Windows.Developer/WindowsCapability.dsc.adaptedResource.json b/resources/Microsoft.Windows.Developer/WindowsCapability.dsc.adaptedResource.json new file mode 100644 index 00000000..acf16606 --- /dev/null +++ b/resources/Microsoft.Windows.Developer/WindowsCapability.dsc.adaptedResource.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Developer/WindowsCapability", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `WindowsCapability` DSC resource is used to install or remove Windows optional features.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Developer.psd1", + "schema": { + "embedded": { + "description": "The `WindowsCapability` DSC resource is used to install or remove Windows optional features.", + "type": "object", + "required": ["Name"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "Name": { + "type": "string", + "title": "Name", + "description": "The name of the Windows capability to manage. This is a key and mandatory property." + }, + "Ensure": { + "type": "string", + "enum": ["Absent", "Present"], + "title": "Ensure", + "description": "Specifies whether the capability should be installed (`Present`) or removed (`Absent`).\r\n Defaults to `Present`." + } + }, + "title": "Microsoft.Windows.Developer/WindowsCapability" + } + } +} diff --git a/resources/Microsoft.Windows.Developer/WindowsExplorer.dsc.adaptedResource.json b/resources/Microsoft.Windows.Developer/WindowsExplorer.dsc.adaptedResource.json new file mode 100644 index 00000000..071530d5 --- /dev/null +++ b/resources/Microsoft.Windows.Developer/WindowsExplorer.dsc.adaptedResource.json @@ -0,0 +1,51 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Developer/WindowsExplorer", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `WindowsExplorer` DSC resource is used to manage Windows Explorer settings.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Developer.psd1", + "schema": { + "embedded": { + "description": "The `WindowsExplorer` DSC resource is used to manage Windows Explorer settings.", + "type": "object", + "required": ["SID"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "FileExtensions": { + "type": "string", + "enum": ["KeepCurrentValue", "Hide", "Show"], + "title": "FileExtensions", + "description": "Shows or hides file extensions in File Explorer. Defaults to `KeepCurrentValue`." + }, + "HiddenFiles": { + "type": "string", + "enum": ["KeepCurrentValue", "Hide", "Show"], + "title": "HiddenFiles", + "description": "Shows or hides hidden files and folders in File Explorer. Defaults to `KeepCurrentValue`." + }, + "ItemCheckBoxes": { + "type": "string", + "enum": ["KeepCurrentValue", "Hide", "Show"], + "title": "ItemCheckBoxes", + "description": "Shows or hides item checkboxes in File Explorer. Defaults to `KeepCurrentValue`." + }, + "RestartExplorer": { + "type": "boolean", + "title": "RestartExplorer", + "description": "Specifies whether to restart Windows Explorer to apply changes. Defaults to `$false`." + }, + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + } + }, + "title": "Microsoft.Windows.Developer/WindowsExplorer" + } + } +} diff --git a/resources/Microsoft.Windows.Developer/microsoftwindowsdeveloper.dsc.manifests.json b/resources/Microsoft.Windows.Developer/microsoftwindowsdeveloper.dsc.manifests.json deleted file mode 100644 index 9b066409..00000000 --- a/resources/Microsoft.Windows.Developer/microsoftwindowsdeveloper.dsc.manifests.json +++ /dev/null @@ -1,638 +0,0 @@ -{ - "adaptedResources": [ - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Developer/DeveloperMode", - "author": "Microsoft Corporation", - "description": "The `DeveloperMode` DSC resource is used to enable or disable Windows Developer Mode.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - }, - "Ensure": { - "type": "string", - "enum": ["Absent", "Present"], - "title": "Ensure", - "description": "Specifies whether Developer Mode should be enabled (`Present`) or disabled (`Absent`).\r\n Defaults to `Present`." - }, - "IsEnabled": { - "type": "boolean", - "title": "IsEnabled", - "readOnly": true, - "description": "A read-only property indicating whether Developer Mode is currently enabled.\r\n This property is not configurable." - } - }, - "description": "The `DeveloperMode` DSC resource is used to enable or disable Windows Developer Mode.", - "title": "Microsoft.Windows.Developer/DeveloperMode" - } - }, - "path": "Microsoft.Windows.Developer.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Developer/OsVersion", - "author": "Microsoft Corporation", - "description": "The `OsVersion` DSC resource is used to assert a minimum Windows operating system version requirement.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID", "MinVersion"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - }, - "MinVersion": { - "type": "string", - "title": "MinVersion", - "description": "The minimum required version of the operating system. This is a mandatory property." - }, - "OsVersion": { - "type": "string", - "title": "OsVersion", - "readOnly": true, - "description": "A read-only property indicating the current operating system version.\r\n This property is not configurable." - } - }, - "description": "The `OsVersion` DSC resource is used to assert a minimum Windows operating system version requirement.", - "title": "Microsoft.Windows.Developer/OsVersion" - } - }, - "path": "Microsoft.Windows.Developer.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Developer/Taskbar", - "author": "Microsoft Corporation", - "description": "The `Taskbar` DSC resource is used to manage Windows taskbar settings.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string", - "enum": ["KeepCurrentValue", "Left", "Middle"], - "title": "Alignment", - "description": "Sets the taskbar alignment. Accepted values are `Left` or `Middle`.\r\n Defaults to `KeepCurrentValue`." - }, - "HideLabelsMode": { - "type": "string", - "enum": ["KeepCurrentValue", "Always", "WhenFull", "Never"], - "title": "HideLabelsMode", - "description": "Sets the taskbar button label hide behavior. Accepted values are `Always`, `WhenFull`, or `Never`.\r\n Defaults to `KeepCurrentValue`." - }, - "SearchboxMode": { - "type": "string", - "enum": [ - "KeepCurrentValue", - "Hide", - "ShowIconOnly", - "SearchBox", - "ShowIconAndLabel" - ], - "title": "SearchboxMode", - "description": "Sets the search box display mode. Accepted values are `Hide`, `ShowIconOnly`, `SearchBox`, or `ShowIconAndLabel`.\r\n Defaults to `KeepCurrentValue`." - }, - "TaskViewButton": { - "type": "string", - "enum": ["KeepCurrentValue", "Hide", "Show"], - "title": "TaskViewButton", - "description": "Shows or hides the Task View button on the taskbar.\r\n Defaults to `KeepCurrentValue`." - }, - "WidgetsButton": { - "type": "string", - "enum": ["KeepCurrentValue", "Hide", "Show"], - "title": "WidgetsButton", - "description": "Shows or hides the Widgets button on the taskbar.\r\n Defaults to `KeepCurrentValue`." - }, - "RestartExplorer": { - "type": "boolean", - "title": "RestartExplorer", - "description": "Specifies whether to restart Windows Explorer to apply changes. Defaults to `$false`." - }, - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - } - }, - "description": "The `Taskbar` DSC resource is used to manage Windows taskbar settings.", - "title": "Microsoft.Windows.Developer/Taskbar" - } - }, - "path": "Microsoft.Windows.Developer.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Developer/WindowsExplorer", - "author": "Microsoft Corporation", - "description": "The `WindowsExplorer` DSC resource is used to manage Windows Explorer settings.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "FileExtensions": { - "type": "string", - "enum": ["KeepCurrentValue", "Hide", "Show"], - "title": "FileExtensions", - "description": "Shows or hides file extensions in File Explorer. Defaults to `KeepCurrentValue`." - }, - "HiddenFiles": { - "type": "string", - "enum": ["KeepCurrentValue", "Hide", "Show"], - "title": "HiddenFiles", - "description": "Shows or hides hidden files and folders in File Explorer. Defaults to `KeepCurrentValue`." - }, - "ItemCheckBoxes": { - "type": "string", - "enum": ["KeepCurrentValue", "Hide", "Show"], - "title": "ItemCheckBoxes", - "description": "Shows or hides item checkboxes in File Explorer. Defaults to `KeepCurrentValue`." - }, - "RestartExplorer": { - "type": "boolean", - "title": "RestartExplorer", - "description": "Specifies whether to restart Windows Explorer to apply changes. Defaults to `$false`." - }, - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - } - }, - "description": "The `WindowsExplorer` DSC resource is used to manage Windows Explorer settings.", - "title": "Microsoft.Windows.Developer/WindowsExplorer" - } - }, - "path": "Microsoft.Windows.Developer.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Developer/UserAccessControl", - "author": "Microsoft Corporation", - "description": "The `UserAccessControl` DSC resource is used to manage the User Account Control (UAC) prompt behavior.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - }, - "AdminConsentPromptBehavior": { - "type": "string", - "enum": [ - "KeepCurrentValue", - "NoCredOrConsentRequired", - "RequireCredOnSecureDesktop", - "RequireConsentOnSecureDesktop", - "RequireCred", - "RequireConsent", - "RequireConsentForNonWindowsBinaries" - ], - "title": "AdminConsentPromptBehavior", - "description": "Specifies the UAC admin consent prompt behavior. Accepted values are `NoCredOrConsentRequired`,\r\n `RequireCredOnSecureDesktop`, `RequireConsentOnSecureDesktop`, `RequireCred`,\r\n `RequireConsent`, or `RequireConsentForNonWindowsBinaries`. Defaults to `KeepCurrentValue`." - } - }, - "description": "The `UserAccessControl` DSC resource is used to manage the User Account Control (UAC) prompt behavior.", - "title": "Microsoft.Windows.Developer/UserAccessControl" - } - }, - "path": "Microsoft.Windows.Developer.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Developer/EnableDarkMode", - "author": "Microsoft Corporation", - "description": "The `EnableDarkMode` DSC resource is used to enable or disable Windows dark mode.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - }, - "Ensure": { - "type": "string", - "enum": ["Absent", "Present"], - "title": "Ensure", - "description": "Specifies whether dark mode should be enabled (`Present`) or disabled (`Absent`).\r\n Defaults to `Present`." - }, - "RestartExplorer": { - "type": "boolean", - "title": "RestartExplorer", - "description": "Specifies whether to restart Windows Explorer to apply changes. Defaults to `$false`." - } - }, - "description": "The `EnableDarkMode` DSC resource is used to enable or disable Windows dark mode.", - "title": "Microsoft.Windows.Developer/EnableDarkMode" - } - }, - "path": "Microsoft.Windows.Developer.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Developer/ShowSecondsInClock", - "author": "Microsoft Corporation", - "description": "The `ShowSecondsInClock` DSC resource is used to show or hide seconds in the taskbar clock.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - }, - "Ensure": { - "type": "string", - "enum": ["Absent", "Present"], - "title": "Ensure", - "description": "Specifies whether seconds should be shown (`Present`) or hidden (`Absent`) in the clock.\r\n Defaults to `Present`." - } - }, - "description": "The `ShowSecondsInClock` DSC resource is used to show or hide seconds in the taskbar clock.", - "title": "Microsoft.Windows.Developer/ShowSecondsInClock" - } - }, - "path": "Microsoft.Windows.Developer.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Developer/EnableRemoteDesktop", - "author": "Microsoft Corporation", - "description": "The `EnableRemoteDesktop` DSC resource is used to enable or disable Remote Desktop connections.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - }, - "Ensure": { - "type": "string", - "enum": ["Absent", "Present"], - "title": "Ensure", - "description": "Specifies whether Remote Desktop should be enabled (`Present`) or disabled (`Absent`).\r\n Defaults to `Present`." - } - }, - "description": "The `EnableRemoteDesktop` DSC resource is used to enable or disable Remote Desktop connections.", - "title": "Microsoft.Windows.Developer/EnableRemoteDesktop" - } - }, - "path": "Microsoft.Windows.Developer.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Developer/EnableLongPathSupport", - "author": "Microsoft Corporation", - "description": "The `EnableLongPathSupport` DSC resource is used to enable or disable Windows long path support.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - }, - "Ensure": { - "type": "string", - "enum": ["Absent", "Present"], - "title": "Ensure", - "description": "Specifies whether long path support should be enabled (`Present`) or disabled (`Absent`).\r\n Defaults to `Present`." - } - }, - "description": "The `EnableLongPathSupport` DSC resource is used to enable or disable Windows long path support.", - "title": "Microsoft.Windows.Developer/EnableLongPathSupport" - } - }, - "path": "Microsoft.Windows.Developer.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Developer/PowerPlanSetting", - "author": "Microsoft Corporation", - "description": "The `PowerPlanSetting` DSC resource is used to manage Windows power plan settings.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["Name", "PowerSource", "SettingValue"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "Name": { - "type": "string", - "enum": ["DisplayTimeout", "SleepTimeout"], - "title": "Name", - "description": "The name of the power plan setting to configure. Accepted values are `DisplayTimeout`\r\n or `SleepTimeout`. This is a key and mandatory property." - }, - "PowerSource": { - "type": "string", - "enum": ["PluggedIn", "Battery", "All"], - "title": "PowerSource", - "description": "The power source for the setting. Accepted values are `PluggedIn`, `Battery`, or `All`.\r\n This is a mandatory property." - }, - "SettingValue": { - "type": "integer", - "title": "SettingValue", - "description": "The timeout value in seconds. This is a mandatory property." - }, - "PluggedInValue": { - "type": "integer", - "title": "PluggedInValue", - "readOnly": true, - "description": "A read-only property indicating the current plugged-in timeout value. This property is not configurable." - }, - "BatteryValue": { - "type": "integer", - "title": "BatteryValue", - "readOnly": true, - "description": "A read-only property indicating the current battery timeout value. This property is not configurable." - } - }, - "description": "The `PowerPlanSetting` DSC resource is used to manage Windows power plan settings.", - "title": "Microsoft.Windows.Developer/PowerPlanSetting" - } - }, - "path": "Microsoft.Windows.Developer.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Developer/WindowsCapability", - "author": "Microsoft Corporation", - "description": "The `WindowsCapability` DSC resource is used to install or remove Windows optional features.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["Name"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "Name": { - "type": "string", - "title": "Name", - "description": "The name of the Windows capability to manage. This is a key and mandatory property." - }, - "Ensure": { - "type": "string", - "enum": ["Absent", "Present"], - "title": "Ensure", - "description": "Specifies whether the capability should be installed (`Present`) or removed (`Absent`).\r\n Defaults to `Present`." - } - }, - "description": "The `WindowsCapability` DSC resource is used to install or remove Windows optional features.", - "title": "Microsoft.Windows.Developer/WindowsCapability" - } - }, - "path": "Microsoft.Windows.Developer.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Developer/NetConnectionProfile", - "author": "Microsoft Corporation", - "description": "The `NetConnectionProfile` DSC resource is used to manage the network connection profile for a network adapter.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID", "InterfaceAlias", "NetworkCategory"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - }, - "InterfaceAlias": { - "type": "string", - "title": "InterfaceAlias", - "description": "The alias of the network interface to configure. This is a mandatory property." - }, - "NetworkCategory": { - "type": "string", - "title": "NetworkCategory", - "description": "The network category to assign. Accepted values are `Public`, `Private`, or `DomainAuthenticated`.\r\n This is a mandatory property." - } - }, - "description": "The `NetConnectionProfile` DSC resource is used to manage the network connection profile for a network adapter.", - "title": "Microsoft.Windows.Developer/NetConnectionProfile" - } - }, - "path": "Microsoft.Windows.Developer.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Developer/AdvancedNetworkSharingSetting", - "author": "Microsoft Corporation", - "description": "The `AdvancedNetworkSharingSetting` DSC resource is used to manage Windows advanced network sharing settings.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["Name"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "Name": { - "type": "string", - "enum": ["NetworkDiscovery", "FileAndPrinterSharing"], - "title": "Name", - "description": "The advanced sharing setting to configure. Accepted values are `NetworkDiscovery`\r\n or `FileAndPrinterSharing`. This is a key and mandatory property." - }, - "Profiles": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Profiles", - "description": "The network profiles for which the setting should be enabled (e.g., `Domain`, `Private`, `Public`)." - }, - "EnabledProfiles": { - "items": { - "type": "string" - }, - "type": "array", - "title": "EnabledProfiles", - "readOnly": true, - "description": "A read-only property listing the profiles for which the setting is currently enabled.\r\n This property is not configurable." - } - }, - "description": "The `AdvancedNetworkSharingSetting` DSC resource is used to manage Windows advanced network sharing settings.", - "title": "Microsoft.Windows.Developer/AdvancedNetworkSharingSetting" - } - }, - "path": "Microsoft.Windows.Developer.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Developer/FirewallRule", - "author": "Microsoft Corporation", - "description": "The `FirewallRule` DSC resource is used to create, modify, or remove Windows Firewall rules.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["Name"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "Name": { - "type": "string", - "title": "Name", - "description": "The unique name of the firewall rule. This is a key and mandatory property." - }, - "DisplayName": { - "type": "string", - "title": "DisplayName", - "description": "The display name of the firewall rule." - }, - "Action": { - "type": "string", - "enum": ["NotConfigured", "Allow", "Block"], - "title": "Action", - "description": "The action for the firewall rule. Accepted values are `NotConfigured`, `Allow`, or `Block`." - }, - "Description": { - "type": "string", - "title": "Description", - "description": "A description for the firewall rule." - }, - "Direction": { - "type": "string", - "enum": ["Inbound", "Outbound"], - "title": "Direction", - "description": "The direction of the firewall rule. Accepted values are `Inbound` or `Outbound`." - }, - "Enabled": { - "type": "boolean", - "title": "Enabled", - "description": "Specifies whether the firewall rule is enabled." - }, - "Ensure": { - "type": "string", - "enum": ["Absent", "Present"], - "title": "Ensure", - "description": "Specifies whether the firewall rule should be present or absent. Defaults to `Present`." - }, - "LocalPort": { - "items": { - "type": "string" - }, - "type": "array", - "title": "LocalPort", - "description": "The local ports to which the rule applies." - }, - "Profiles": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Profiles", - "description": "The network profiles to which the rule applies (e.g., `Domain`, `Private`, `Public`)." - }, - "Protocol": { - "type": "string", - "title": "Protocol", - "description": "The protocol for the firewall rule (e.g., `TCP`, `UDP`)." - } - }, - "description": "The `FirewallRule` DSC resource is used to create, modify, or remove Windows Firewall rules.", - "title": "Microsoft.Windows.Developer/FirewallRule" - } - }, - "path": "Microsoft.Windows.Developer.psd1" - } - ] -} diff --git a/resources/Microsoft.Windows.Setting.Accessibility/Audio.dsc.adaptedResource.json b/resources/Microsoft.Windows.Setting.Accessibility/Audio.dsc.adaptedResource.json new file mode 100644 index 00000000..907554cc --- /dev/null +++ b/resources/Microsoft.Windows.Setting.Accessibility/Audio.dsc.adaptedResource.json @@ -0,0 +1,38 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Setting.Accessibility/Audio", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `Audio` DSC resource is used to manage Windows audio accessibility settings.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Setting.Accessibility.psd1", + "schema": { + "embedded": { + "description": "The `Audio` DSC resource is used to manage Windows audio accessibility settings.", + "type": "object", + "required": ["SID"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + }, + "EnableMonoAudio": { + "type": "boolean", + "title": "EnableMonoAudio", + "description": "Specifies whether mono audio should be enabled. Defaults to `$false`." + }, + "RestartService": { + "type": "boolean", + "title": "RestartService", + "description": "Specifies whether to restart the Windows Audio service after applying changes. Defaults to `$false`." + } + }, + "title": "Microsoft.Windows.Setting.Accessibility/Audio" + } + } +} diff --git a/resources/Microsoft.Windows.Setting.Accessibility/EyeControl.dsc.adaptedResource.json b/resources/Microsoft.Windows.Setting.Accessibility/EyeControl.dsc.adaptedResource.json new file mode 100644 index 00000000..3b329da8 --- /dev/null +++ b/resources/Microsoft.Windows.Setting.Accessibility/EyeControl.dsc.adaptedResource.json @@ -0,0 +1,29 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Setting.Accessibility/EyeControl", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `EyeControl` DSC resource is used to enable or disable the Windows Eye Control accessibility feature.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Setting.Accessibility.psd1", + "schema": { + "embedded": { + "description": "The `EyeControl` DSC resource is used to enable or disable the Windows Eye Control accessibility feature.", + "type": "object", + "required": ["Ensure"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "Ensure": { + "type": "string", + "enum": ["Absent", "Present"], + "title": "Ensure", + "description": "Specifies whether Eye Control should be enabled (`Present`) or disabled (`Absent`).\r\n This is a key property." + } + }, + "title": "Microsoft.Windows.Setting.Accessibility/EyeControl" + } + } +} diff --git a/resources/Microsoft.Windows.Setting.Accessibility/FilterKeys.dsc.adaptedResource.json b/resources/Microsoft.Windows.Setting.Accessibility/FilterKeys.dsc.adaptedResource.json new file mode 100644 index 00000000..6742fdfc --- /dev/null +++ b/resources/Microsoft.Windows.Setting.Accessibility/FilterKeys.dsc.adaptedResource.json @@ -0,0 +1,63 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Setting.Accessibility/FilterKeys", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `FilterKeys` DSC resource is used to manage the Windows Filter Keys accessibility feature.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Setting.Accessibility.psd1", + "schema": { + "embedded": { + "description": "The `FilterKeys` DSC resource is used to manage the Windows Filter Keys accessibility feature.", + "type": "object", + "required": ["SID"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + }, + "Active": { + "type": "string", + "title": "Active", + "description": "Specifies whether Filter Keys is currently active." + }, + "Available": { + "type": "string", + "title": "Available", + "description": "Specifies whether Filter Keys is available to be toggled." + }, + "HotkeyActive": { + "type": "string", + "title": "HotkeyActive", + "description": "Specifies whether the Filter Keys keyboard shortcut (holding Right Shift for 8 seconds) is active." + }, + "ConfirmOnHotkeyActivation": { + "type": "string", + "title": "ConfirmOnHotkeyActivation", + "description": "Specifies whether a confirmation dialog is shown when Filter Keys is activated via hotkey." + }, + "HotkeySound": { + "type": "string", + "title": "HotkeySound", + "description": "Specifies whether a sound plays when Filter Keys hotkey is used." + }, + "VisualIndicator": { + "type": "string", + "title": "VisualIndicator", + "description": "Specifies whether a visual indicator is shown when Filter Keys is active." + }, + "AudibleFeedback": { + "type": "string", + "title": "AudibleFeedback", + "description": "Specifies whether an audible tone plays when a key is pressed or accepted." + } + }, + "title": "Microsoft.Windows.Setting.Accessibility/FilterKeys" + } + } +} diff --git a/resources/Microsoft.Windows.Setting.Accessibility/Magnifier.dsc.adaptedResource.json b/resources/Microsoft.Windows.Setting.Accessibility/Magnifier.dsc.adaptedResource.json new file mode 100644 index 00000000..b75c77d5 --- /dev/null +++ b/resources/Microsoft.Windows.Setting.Accessibility/Magnifier.dsc.adaptedResource.json @@ -0,0 +1,51 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Setting.Accessibility/Magnifier", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `Magnifier` DSC resource is used to manage Windows Magnifier accessibility settings.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Setting.Accessibility.psd1", + "schema": { + "embedded": { + "description": "The `Magnifier` DSC resource is used to manage Windows Magnifier accessibility settings.", + "type": "object", + "required": ["Magnification", "ZoomIncrement"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "Magnification": { + "type": "string", + "enum": ["KeepCurrentValue", "None", "Low", "Medium", "High"], + "title": "Magnification", + "description": "The magnification preset to apply. Accepted values are `None`, `Low`, `Medium`, or `High`.\r\n This is a key property. Defaults to `KeepCurrentValue`." + }, + "ZoomIncrement": { + "type": "integer", + "title": "ZoomIncrement", + "description": "The zoom increment percentage. This is a mandatory property. Defaults to `25`." + }, + "StartMagnify": { + "type": "boolean", + "title": "StartMagnify", + "description": "Specifies whether to start the Magnifier application after applying settings. Defaults to `$false`." + }, + "MagnificationLevel": { + "type": "integer", + "title": "MagnificationLevel", + "readOnly": true, + "description": "A read-only property indicating the current magnification level in percent. This property is not configurable." + }, + "ZoomIncrementLevel": { + "type": "integer", + "title": "ZoomIncrementLevel", + "readOnly": true, + "description": "A read-only property indicating the current zoom increment value. This property is not configurable." + } + }, + "title": "Microsoft.Windows.Setting.Accessibility/Magnifier" + } + } +} diff --git a/resources/Microsoft.Windows.Setting.Accessibility/MousePointer.dsc.adaptedResource.json b/resources/Microsoft.Windows.Setting.Accessibility/MousePointer.dsc.adaptedResource.json new file mode 100644 index 00000000..93d0162e --- /dev/null +++ b/resources/Microsoft.Windows.Setting.Accessibility/MousePointer.dsc.adaptedResource.json @@ -0,0 +1,41 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Setting.Accessibility/MousePointer", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `MousePointer` DSC resource is used to manage the Windows mouse pointer size accessibility setting.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Setting.Accessibility.psd1", + "schema": { + "embedded": { + "description": "The `MousePointer` DSC resource is used to manage the Windows mouse pointer size accessibility setting.", + "type": "object", + "required": ["PointerSize"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "PointerSize": { + "type": "string", + "enum": [ + "KeepCurrentValue", + "Normal", + "Medium", + "Large", + "ExtraLarge" + ], + "title": "PointerSize", + "description": "The desired mouse pointer size. Accepted values are `Normal`, `Medium`, `Large`, or `ExtraLarge`.\r\n This is a key property. Defaults to `KeepCurrentValue`." + }, + "PointerSizeValue": { + "type": "string", + "title": "PointerSizeValue", + "readOnly": true, + "description": "A read-only property indicating the current pointer size value. This property is not configurable." + } + }, + "title": "Microsoft.Windows.Setting.Accessibility/MousePointer" + } + } +} diff --git a/resources/Microsoft.Windows.Setting.Accessibility/StickyKeys.dsc.adaptedResource.json b/resources/Microsoft.Windows.Setting.Accessibility/StickyKeys.dsc.adaptedResource.json new file mode 100644 index 00000000..b76676b1 --- /dev/null +++ b/resources/Microsoft.Windows.Setting.Accessibility/StickyKeys.dsc.adaptedResource.json @@ -0,0 +1,73 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Setting.Accessibility/StickyKeys", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `StickyKeys` DSC resource is used to manage the Windows Sticky Keys accessibility feature.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Setting.Accessibility.psd1", + "schema": { + "embedded": { + "description": "The `StickyKeys` DSC resource is used to manage the Windows Sticky Keys accessibility feature.", + "type": "object", + "required": ["SID"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + }, + "Active": { + "type": "string", + "title": "Active", + "description": "Specifies whether Sticky Keys is currently active." + }, + "Available": { + "type": "string", + "title": "Available", + "description": "Specifies whether Sticky Keys is available to be toggled." + }, + "HotkeyActive": { + "type": "string", + "title": "HotkeyActive", + "description": "Specifies whether the Sticky Keys keyboard shortcut (pressing Shift 5 times) is active." + }, + "ConfirmOnHotkeyActivation": { + "type": "string", + "title": "ConfirmOnHotkeyActivation", + "description": "Specifies whether a confirmation dialog is shown when Sticky Keys is activated via hotkey." + }, + "HotkeySound": { + "type": "string", + "title": "HotkeySound", + "description": "Specifies whether a sound plays when Sticky Keys hotkey is used." + }, + "VisualIndicator": { + "type": "string", + "title": "VisualIndicator", + "description": "Specifies whether a visual indicator is shown when Sticky Keys is active." + }, + "AudibleFeedback": { + "type": "string", + "title": "AudibleFeedback", + "description": "Specifies whether an audible tone plays when a modifier key is pressed." + }, + "TriState": { + "type": "string", + "title": "TriState", + "description": "Specifies whether modifier keys can be locked by pressing them twice." + }, + "TwoKeysOff": { + "type": "string", + "title": "TwoKeysOff", + "description": "Specifies whether Sticky Keys is turned off when two keys are pressed simultaneously." + } + }, + "title": "Microsoft.Windows.Setting.Accessibility/StickyKeys" + } + } +} diff --git a/resources/Microsoft.Windows.Setting.Accessibility/Text.dsc.adaptedResource.json b/resources/Microsoft.Windows.Setting.Accessibility/Text.dsc.adaptedResource.json new file mode 100644 index 00000000..660293f9 --- /dev/null +++ b/resources/Microsoft.Windows.Setting.Accessibility/Text.dsc.adaptedResource.json @@ -0,0 +1,41 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Setting.Accessibility/Text", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `Text` DSC resource is used to manage the Windows text size accessibility setting.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Setting.Accessibility.psd1", + "schema": { + "embedded": { + "description": "The `Text` DSC resource is used to manage the Windows text size accessibility setting.", + "type": "object", + "required": ["Size"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "Size": { + "type": "string", + "enum": [ + "KeepCurrentValue", + "Small", + "Medium", + "Large", + "ExtraLarge" + ], + "title": "Size", + "description": "The desired text size. Accepted values are `Small`, `Medium`, `Large`, or `ExtraLarge`.\r\n This is a key property. Defaults to `KeepCurrentValue`." + }, + "SizeValue": { + "type": "integer", + "title": "SizeValue", + "readOnly": true, + "description": "A read-only property indicating the current numeric text scale factor. This property is not configurable." + } + }, + "title": "Microsoft.Windows.Setting.Accessibility/Text" + } + } +} diff --git a/resources/Microsoft.Windows.Setting.Accessibility/TextCursor.dsc.adaptedResource.json b/resources/Microsoft.Windows.Setting.Accessibility/TextCursor.dsc.adaptedResource.json new file mode 100644 index 00000000..83f71e8f --- /dev/null +++ b/resources/Microsoft.Windows.Setting.Accessibility/TextCursor.dsc.adaptedResource.json @@ -0,0 +1,48 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Setting.Accessibility/TextCursor", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `TextCursor` DSC resource is used to manage Windows text cursor accessibility settings.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Setting.Accessibility.psd1", + "schema": { + "embedded": { + "description": "The `TextCursor` DSC resource is used to manage Windows text cursor accessibility settings.", + "type": "object", + "required": ["SID"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + }, + "IndicatorStatus": { + "type": "string", + "title": "IndicatorStatus", + "description": "Enables or disables the text cursor indicator accessibility feature." + }, + "IndicatorSize": { + "type": "integer", + "title": "IndicatorSize", + "description": "The size of the text cursor indicator. Must be between 1 and 20." + }, + "IndicatorColor": { + "type": "integer", + "title": "IndicatorColor", + "description": "The color of the text cursor indicator as an integer value." + }, + "Thickness": { + "type": "integer", + "title": "Thickness", + "description": "The thickness of the text cursor. Must be between 1 and 20." + } + }, + "title": "Microsoft.Windows.Setting.Accessibility/TextCursor" + } + } +} diff --git a/resources/Microsoft.Windows.Setting.Accessibility/ToggleKeys.dsc.adaptedResource.json b/resources/Microsoft.Windows.Setting.Accessibility/ToggleKeys.dsc.adaptedResource.json new file mode 100644 index 00000000..a24e51f9 --- /dev/null +++ b/resources/Microsoft.Windows.Setting.Accessibility/ToggleKeys.dsc.adaptedResource.json @@ -0,0 +1,58 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Setting.Accessibility/ToggleKeys", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `ToggleKeys` DSC resource is used to manage the Windows Toggle Keys accessibility feature.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Setting.Accessibility.psd1", + "schema": { + "embedded": { + "description": "The `ToggleKeys` DSC resource is used to manage the Windows Toggle Keys accessibility feature.", + "type": "object", + "required": ["SID"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + }, + "Active": { + "type": "string", + "title": "Active", + "description": "Specifies whether Toggle Keys is currently active." + }, + "Available": { + "type": "string", + "title": "Available", + "description": "Specifies whether Toggle Keys is available to be toggled." + }, + "HotkeyActive": { + "type": "string", + "title": "HotkeyActive", + "description": "Specifies whether the Toggle Keys keyboard shortcut (holding Num Lock for 5 seconds) is active." + }, + "ConfirmOnHotkeyActivation": { + "type": "string", + "title": "ConfirmOnHotkeyActivation", + "description": "Specifies whether a confirmation dialog is shown when Toggle Keys is activated via hotkey." + }, + "HotkeySound": { + "type": "string", + "title": "HotkeySound", + "description": "Specifies whether a sound plays when Toggle Keys hotkey is used." + }, + "VisualIndicator": { + "type": "string", + "title": "VisualIndicator", + "description": "Specifies whether a visual indicator is shown when Toggle Keys is active." + } + }, + "title": "Microsoft.Windows.Setting.Accessibility/ToggleKeys" + } + } +} diff --git a/resources/Microsoft.Windows.Setting.Accessibility/VisualEffect.dsc.adaptedResource.json b/resources/Microsoft.Windows.Setting.Accessibility/VisualEffect.dsc.adaptedResource.json new file mode 100644 index 00000000..c450da5b --- /dev/null +++ b/resources/Microsoft.Windows.Setting.Accessibility/VisualEffect.dsc.adaptedResource.json @@ -0,0 +1,43 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Setting.Accessibility/VisualEffect", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `VisualEffect` DSC resource is used to manage Windows visual accessibility settings.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Setting.Accessibility.psd1", + "schema": { + "embedded": { + "description": "The `VisualEffect` DSC resource is used to manage Windows visual accessibility settings.", + "type": "object", + "required": ["SID"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + }, + "AlwaysShowScrollbars": { + "type": "string", + "title": "AlwaysShowScrollbars", + "description": "Specifies whether scrollbars should always be visible." + }, + "TransparencyEffects": { + "type": "string", + "title": "TransparencyEffects", + "description": "Specifies whether transparency effects are disabled (set `$true` to disable transparency)." + }, + "MessageDurationInSeconds": { + "type": "integer", + "title": "MessageDurationInSeconds", + "description": "The duration in seconds that notification messages are displayed. Must be between 5 and 300." + } + }, + "title": "Microsoft.Windows.Setting.Accessibility/VisualEffect" + } + } +} diff --git a/resources/Microsoft.Windows.Setting.Accessibility/microsoftwindowssettingaccessibility.dsc.manifests.json b/resources/Microsoft.Windows.Setting.Accessibility/microsoftwindowssettingaccessibility.dsc.manifests.json deleted file mode 100644 index fa58bae3..00000000 --- a/resources/Microsoft.Windows.Setting.Accessibility/microsoftwindowssettingaccessibility.dsc.manifests.json +++ /dev/null @@ -1,489 +0,0 @@ -{ - "adaptedResources": [ - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Setting.Accessibility/Text", - "author": "Microsoft Corporation", - "description": "The `Text` DSC resource is used to manage the Windows text size accessibility setting.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["Size"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "Size": { - "type": "string", - "enum": [ - "KeepCurrentValue", - "Small", - "Medium", - "Large", - "ExtraLarge" - ], - "title": "Size", - "description": "The desired text size. Accepted values are `Small`, `Medium`, `Large`, or `ExtraLarge`.\r\n This is a key property. Defaults to `KeepCurrentValue`." - }, - "SizeValue": { - "type": "integer", - "title": "SizeValue", - "readOnly": true, - "description": "A read-only property indicating the current numeric text scale factor. This property is not configurable." - } - }, - "description": "The `Text` DSC resource is used to manage the Windows text size accessibility setting.", - "title": "Microsoft.Windows.Setting.Accessibility/Text" - } - }, - "path": "Microsoft.Windows.Setting.Accessibility.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Setting.Accessibility/Magnifier", - "author": "Microsoft Corporation", - "description": "The `Magnifier` DSC resource is used to manage Windows Magnifier accessibility settings.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["Magnification", "ZoomIncrement"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "Magnification": { - "type": "string", - "enum": ["KeepCurrentValue", "None", "Low", "Medium", "High"], - "title": "Magnification", - "description": "The magnification preset to apply. Accepted values are `None`, `Low`, `Medium`, or `High`.\r\n This is a key property. Defaults to `KeepCurrentValue`." - }, - "ZoomIncrement": { - "type": "integer", - "title": "ZoomIncrement", - "description": "The zoom increment percentage. This is a mandatory property. Defaults to `25`." - }, - "StartMagnify": { - "type": "boolean", - "title": "StartMagnify", - "description": "Specifies whether to start the Magnifier application after applying settings. Defaults to `$false`." - }, - "MagnificationLevel": { - "type": "integer", - "title": "MagnificationLevel", - "readOnly": true, - "description": "A read-only property indicating the current magnification level in percent. This property is not configurable." - }, - "ZoomIncrementLevel": { - "type": "integer", - "title": "ZoomIncrementLevel", - "readOnly": true, - "description": "A read-only property indicating the current zoom increment value. This property is not configurable." - } - }, - "description": "The `Magnifier` DSC resource is used to manage Windows Magnifier accessibility settings.", - "title": "Microsoft.Windows.Setting.Accessibility/Magnifier" - } - }, - "path": "Microsoft.Windows.Setting.Accessibility.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Setting.Accessibility/MousePointer", - "author": "Microsoft Corporation", - "description": "The `MousePointer` DSC resource is used to manage the Windows mouse pointer size accessibility setting.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["PointerSize"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "PointerSize": { - "type": "string", - "enum": [ - "KeepCurrentValue", - "Normal", - "Medium", - "Large", - "ExtraLarge" - ], - "title": "PointerSize", - "description": "The desired mouse pointer size. Accepted values are `Normal`, `Medium`, `Large`, or `ExtraLarge`.\r\n This is a key property. Defaults to `KeepCurrentValue`." - }, - "PointerSizeValue": { - "type": "string", - "title": "PointerSizeValue", - "readOnly": true, - "description": "A read-only property indicating the current pointer size value. This property is not configurable." - } - }, - "description": "The `MousePointer` DSC resource is used to manage the Windows mouse pointer size accessibility setting.", - "title": "Microsoft.Windows.Setting.Accessibility/MousePointer" - } - }, - "path": "Microsoft.Windows.Setting.Accessibility.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Setting.Accessibility/VisualEffect", - "author": "Microsoft Corporation", - "description": "The `VisualEffect` DSC resource is used to manage Windows visual accessibility settings.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - }, - "AlwaysShowScrollbars": { - "type": "string", - "title": "AlwaysShowScrollbars", - "description": "Specifies whether scrollbars should always be visible." - }, - "TransparencyEffects": { - "type": "string", - "title": "TransparencyEffects", - "description": "Specifies whether transparency effects are disabled (set `$true` to disable transparency)." - }, - "MessageDurationInSeconds": { - "type": "integer", - "title": "MessageDurationInSeconds", - "description": "The duration in seconds that notification messages are displayed. Must be between 5 and 300." - } - }, - "description": "The `VisualEffect` DSC resource is used to manage Windows visual accessibility settings.", - "title": "Microsoft.Windows.Setting.Accessibility/VisualEffect" - } - }, - "path": "Microsoft.Windows.Setting.Accessibility.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Setting.Accessibility/Audio", - "author": "Microsoft Corporation", - "description": "The `Audio` DSC resource is used to manage Windows audio accessibility settings.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - }, - "EnableMonoAudio": { - "type": "boolean", - "title": "EnableMonoAudio", - "description": "Specifies whether mono audio should be enabled. Defaults to `$false`." - }, - "RestartService": { - "type": "boolean", - "title": "RestartService", - "description": "Specifies whether to restart the Windows Audio service after applying changes. Defaults to `$false`." - } - }, - "description": "The `Audio` DSC resource is used to manage Windows audio accessibility settings.", - "title": "Microsoft.Windows.Setting.Accessibility/Audio" - } - }, - "path": "Microsoft.Windows.Setting.Accessibility.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Setting.Accessibility/TextCursor", - "author": "Microsoft Corporation", - "description": "The `TextCursor` DSC resource is used to manage Windows text cursor accessibility settings.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - }, - "IndicatorStatus": { - "type": "string", - "title": "IndicatorStatus", - "description": "Enables or disables the text cursor indicator accessibility feature." - }, - "IndicatorSize": { - "type": "integer", - "title": "IndicatorSize", - "description": "The size of the text cursor indicator. Must be between 1 and 20." - }, - "IndicatorColor": { - "type": "integer", - "title": "IndicatorColor", - "description": "The color of the text cursor indicator as an integer value." - }, - "Thickness": { - "type": "integer", - "title": "Thickness", - "description": "The thickness of the text cursor. Must be between 1 and 20." - } - }, - "description": "The `TextCursor` DSC resource is used to manage Windows text cursor accessibility settings.", - "title": "Microsoft.Windows.Setting.Accessibility/TextCursor" - } - }, - "path": "Microsoft.Windows.Setting.Accessibility.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Setting.Accessibility/StickyKeys", - "author": "Microsoft Corporation", - "description": "The `StickyKeys` DSC resource is used to manage the Windows Sticky Keys accessibility feature.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - }, - "Active": { - "type": "string", - "title": "Active", - "description": "Specifies whether Sticky Keys is currently active." - }, - "Available": { - "type": "string", - "title": "Available", - "description": "Specifies whether Sticky Keys is available to be toggled." - }, - "HotkeyActive": { - "type": "string", - "title": "HotkeyActive", - "description": "Specifies whether the Sticky Keys keyboard shortcut (pressing Shift 5 times) is active." - }, - "ConfirmOnHotkeyActivation": { - "type": "string", - "title": "ConfirmOnHotkeyActivation", - "description": "Specifies whether a confirmation dialog is shown when Sticky Keys is activated via hotkey." - }, - "HotkeySound": { - "type": "string", - "title": "HotkeySound", - "description": "Specifies whether a sound plays when Sticky Keys hotkey is used." - }, - "VisualIndicator": { - "type": "string", - "title": "VisualIndicator", - "description": "Specifies whether a visual indicator is shown when Sticky Keys is active." - }, - "AudibleFeedback": { - "type": "string", - "title": "AudibleFeedback", - "description": "Specifies whether an audible tone plays when a modifier key is pressed." - }, - "TriState": { - "type": "string", - "title": "TriState", - "description": "Specifies whether modifier keys can be locked by pressing them twice." - }, - "TwoKeysOff": { - "type": "string", - "title": "TwoKeysOff", - "description": "Specifies whether Sticky Keys is turned off when two keys are pressed simultaneously." - } - }, - "description": "The `StickyKeys` DSC resource is used to manage the Windows Sticky Keys accessibility feature.", - "title": "Microsoft.Windows.Setting.Accessibility/StickyKeys" - } - }, - "path": "Microsoft.Windows.Setting.Accessibility.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Setting.Accessibility/ToggleKeys", - "author": "Microsoft Corporation", - "description": "The `ToggleKeys` DSC resource is used to manage the Windows Toggle Keys accessibility feature.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - }, - "Active": { - "type": "string", - "title": "Active", - "description": "Specifies whether Toggle Keys is currently active." - }, - "Available": { - "type": "string", - "title": "Available", - "description": "Specifies whether Toggle Keys is available to be toggled." - }, - "HotkeyActive": { - "type": "string", - "title": "HotkeyActive", - "description": "Specifies whether the Toggle Keys keyboard shortcut (holding Num Lock for 5 seconds) is active." - }, - "ConfirmOnHotkeyActivation": { - "type": "string", - "title": "ConfirmOnHotkeyActivation", - "description": "Specifies whether a confirmation dialog is shown when Toggle Keys is activated via hotkey." - }, - "HotkeySound": { - "type": "string", - "title": "HotkeySound", - "description": "Specifies whether a sound plays when Toggle Keys hotkey is used." - }, - "VisualIndicator": { - "type": "string", - "title": "VisualIndicator", - "description": "Specifies whether a visual indicator is shown when Toggle Keys is active." - } - }, - "description": "The `ToggleKeys` DSC resource is used to manage the Windows Toggle Keys accessibility feature.", - "title": "Microsoft.Windows.Setting.Accessibility/ToggleKeys" - } - }, - "path": "Microsoft.Windows.Setting.Accessibility.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Setting.Accessibility/FilterKeys", - "author": "Microsoft Corporation", - "description": "The `FilterKeys` DSC resource is used to manage the Windows Filter Keys accessibility feature.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - }, - "Active": { - "type": "string", - "title": "Active", - "description": "Specifies whether Filter Keys is currently active." - }, - "Available": { - "type": "string", - "title": "Available", - "description": "Specifies whether Filter Keys is available to be toggled." - }, - "HotkeyActive": { - "type": "string", - "title": "HotkeyActive", - "description": "Specifies whether the Filter Keys keyboard shortcut (holding Right Shift for 8 seconds) is active." - }, - "ConfirmOnHotkeyActivation": { - "type": "string", - "title": "ConfirmOnHotkeyActivation", - "description": "Specifies whether a confirmation dialog is shown when Filter Keys is activated via hotkey." - }, - "HotkeySound": { - "type": "string", - "title": "HotkeySound", - "description": "Specifies whether a sound plays when Filter Keys hotkey is used." - }, - "VisualIndicator": { - "type": "string", - "title": "VisualIndicator", - "description": "Specifies whether a visual indicator is shown when Filter Keys is active." - }, - "AudibleFeedback": { - "type": "string", - "title": "AudibleFeedback", - "description": "Specifies whether an audible tone plays when a key is pressed or accepted." - } - }, - "description": "The `FilterKeys` DSC resource is used to manage the Windows Filter Keys accessibility feature.", - "title": "Microsoft.Windows.Setting.Accessibility/FilterKeys" - } - }, - "path": "Microsoft.Windows.Setting.Accessibility.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Setting.Accessibility/EyeControl", - "author": "Microsoft Corporation", - "description": "The `EyeControl` DSC resource is used to enable or disable the Windows Eye Control accessibility feature.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["Ensure"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "Ensure": { - "type": "string", - "enum": ["Absent", "Present"], - "title": "Ensure", - "description": "Specifies whether Eye Control should be enabled (`Present`) or disabled (`Absent`).\r\n This is a key property." - } - }, - "description": "The `EyeControl` DSC resource is used to enable or disable the Windows Eye Control accessibility feature.", - "title": "Microsoft.Windows.Setting.Accessibility/EyeControl" - } - }, - "path": "Microsoft.Windows.Setting.Accessibility.psd1" - } - ] -} diff --git a/resources/Microsoft.Windows.Settings/WindowsSettings.dsc.adaptedResource.json b/resources/Microsoft.Windows.Settings/WindowsSettings.dsc.adaptedResource.json new file mode 100644 index 00000000..dafc1b21 --- /dev/null +++ b/resources/Microsoft.Windows.Settings/WindowsSettings.dsc.adaptedResource.json @@ -0,0 +1,141 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.Windows.Settings/WindowsSettings", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `WindowsSettings` DSC resource is used to manage common Windows settings.", + "author": "Microsoft Corporation", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.Windows.Settings.psd1", + "schema": { + "embedded": { + "description": "The `WindowsSettings` DSC resource is used to manage common Windows settings.", + "type": "object", + "required": ["SID"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + }, + "TaskbarAlignment": { + "type": "string", + "title": "TaskbarAlignment", + "description": "Sets the taskbar alignment. Accepted values are `Left` or `Center`." + }, + "AppColorMode": { + "type": "string", + "title": "AppColorMode", + "description": "Sets the color mode for applications. Accepted values are `Dark` or `Light`." + }, + "SystemColorMode": { + "type": "string", + "title": "SystemColorMode", + "description": "Sets the color mode for the Windows system UI. Accepted values are `Dark` or `Light`." + }, + "DeveloperMode": { + "type": "string", + "title": "DeveloperMode", + "description": "Enables or disables Developer Mode. Requires Administrator privileges." + }, + "SetTimeZoneAutomatically": { + "type": "string", + "title": "SetTimeZoneAutomatically", + "description": "Enables or disables automatic time zone detection. Requires Administrator privileges." + }, + "TimeZone": { + "type": "string", + "title": "TimeZone", + "description": "Sets the system time zone. Requires Administrator privileges." + }, + "EnableTransparency": { + "type": "string", + "title": "EnableTransparency", + "description": "Enables or disables transparency effects in Windows." + }, + "ShowAccentColorOnStartAndTaskbar": { + "type": "string", + "title": "ShowAccentColorOnStartAndTaskbar", + "description": "Enables or disables showing the accent color on the Start menu and taskbar." + }, + "ShowAccentColorOnTitleBarsAndWindowBorders": { + "type": "string", + "title": "ShowAccentColorOnTitleBarsAndWindowBorders", + "description": "Enables or disables showing the accent color on title bars and window borders." + }, + "AutoColorization": { + "type": "string", + "title": "AutoColorization", + "description": "Enables or disables automatic colorization based on the desktop background." + }, + "StartFolders": { + "items": { + "type": "string" + }, + "type": "array", + "title": "StartFolders", + "description": "Specifies the folders to show in the Start menu." + }, + "ShowRecentList": { + "type": "string", + "title": "ShowRecentList", + "description": "Enables or disables the recently opened items list in the Start menu." + }, + "ShowRecommendedList": { + "type": "string", + "title": "ShowRecommendedList", + "description": "Enables or disables the recommended files list in the Start menu." + }, + "TaskbarBadges": { + "type": "string", + "title": "TaskbarBadges", + "description": "Enables or disables taskbar button badges." + }, + "DesktopTaskbarBadges": { + "type": "string", + "title": "DesktopTaskbarBadges", + "description": "Enables or disables taskbar button badges on the desktop taskbar." + }, + "TaskbarGroupingMode": { + "type": "string", + "title": "TaskbarGroupingMode", + "description": "Sets the taskbar grouping mode. Accepted values are `Always`, `WhenFull`, or `Never`." + }, + "TaskbarMultiMon": { + "type": "string", + "title": "TaskbarMultiMon", + "description": "Enables or disables the taskbar on multiple monitors." + }, + "DesktopTaskbarMultiMon": { + "type": "string", + "title": "DesktopTaskbarMultiMon", + "description": "Enables or disables the desktop taskbar on multiple monitors." + }, + "TaskbarMultiMonMode": { + "type": "string", + "title": "TaskbarMultiMonMode", + "description": "Sets the multi-monitor taskbar mode." + }, + "DesktopTaskbarMultiMonMode": { + "type": "string", + "title": "DesktopTaskbarMultiMonMode", + "description": "Sets the desktop multi-monitor taskbar mode." + }, + "NotifyOnUsbErrors": { + "type": "string", + "title": "NotifyOnUsbErrors", + "description": "Enables or disables USB error notifications." + }, + "NotifyOnWeakCharger": { + "type": "string", + "title": "NotifyOnWeakCharger", + "description": "Enables or disables weak charger notifications." + } + }, + "title": "Microsoft.Windows.Settings/WindowsSettings" + } + } +} diff --git a/resources/Microsoft.Windows.Settings/microsoftwindowssettings.dsc.manifests.json b/resources/Microsoft.Windows.Settings/microsoftwindowssettings.dsc.manifests.json deleted file mode 100644 index 239f2e16..00000000 --- a/resources/Microsoft.Windows.Settings/microsoftwindowssettings.dsc.manifests.json +++ /dev/null @@ -1,145 +0,0 @@ -{ - "adaptedResources": [ - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.Windows.Settings/WindowsSettings", - "author": "Microsoft Corporation", - "description": "The `WindowsSettings` DSC resource is used to manage common Windows settings.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - }, - "TaskbarAlignment": { - "type": "string", - "title": "TaskbarAlignment", - "description": "Sets the taskbar alignment. Accepted values are `Left` or `Center`." - }, - "AppColorMode": { - "type": "string", - "title": "AppColorMode", - "description": "Sets the color mode for applications. Accepted values are `Dark` or `Light`." - }, - "SystemColorMode": { - "type": "string", - "title": "SystemColorMode", - "description": "Sets the color mode for the Windows system UI. Accepted values are `Dark` or `Light`." - }, - "DeveloperMode": { - "type": "string", - "title": "DeveloperMode", - "description": "Enables or disables Developer Mode. Requires Administrator privileges." - }, - "SetTimeZoneAutomatically": { - "type": "string", - "title": "SetTimeZoneAutomatically", - "description": "Enables or disables automatic time zone detection. Requires Administrator privileges." - }, - "TimeZone": { - "type": "string", - "title": "TimeZone", - "description": "Sets the system time zone. Requires Administrator privileges." - }, - "EnableTransparency": { - "type": "string", - "title": "EnableTransparency", - "description": "Enables or disables transparency effects in Windows." - }, - "ShowAccentColorOnStartAndTaskbar": { - "type": "string", - "title": "ShowAccentColorOnStartAndTaskbar", - "description": "Enables or disables showing the accent color on the Start menu and taskbar." - }, - "ShowAccentColorOnTitleBarsAndWindowBorders": { - "type": "string", - "title": "ShowAccentColorOnTitleBarsAndWindowBorders", - "description": "Enables or disables showing the accent color on title bars and window borders." - }, - "AutoColorization": { - "type": "string", - "title": "AutoColorization", - "description": "Enables or disables automatic colorization based on the desktop background." - }, - "StartFolders": { - "items": { - "type": "string" - }, - "type": "array", - "title": "StartFolders", - "description": "Specifies the folders to show in the Start menu." - }, - "ShowRecentList": { - "type": "string", - "title": "ShowRecentList", - "description": "Enables or disables the recently opened items list in the Start menu." - }, - "ShowRecommendedList": { - "type": "string", - "title": "ShowRecommendedList", - "description": "Enables or disables the recommended files list in the Start menu." - }, - "TaskbarBadges": { - "type": "string", - "title": "TaskbarBadges", - "description": "Enables or disables taskbar button badges." - }, - "DesktopTaskbarBadges": { - "type": "string", - "title": "DesktopTaskbarBadges", - "description": "Enables or disables taskbar button badges on the desktop taskbar." - }, - "TaskbarGroupingMode": { - "type": "string", - "title": "TaskbarGroupingMode", - "description": "Sets the taskbar grouping mode. Accepted values are `Always`, `WhenFull`, or `Never`." - }, - "TaskbarMultiMon": { - "type": "string", - "title": "TaskbarMultiMon", - "description": "Enables or disables the taskbar on multiple monitors." - }, - "DesktopTaskbarMultiMon": { - "type": "string", - "title": "DesktopTaskbarMultiMon", - "description": "Enables or disables the desktop taskbar on multiple monitors." - }, - "TaskbarMultiMonMode": { - "type": "string", - "title": "TaskbarMultiMonMode", - "description": "Sets the multi-monitor taskbar mode." - }, - "DesktopTaskbarMultiMonMode": { - "type": "string", - "title": "DesktopTaskbarMultiMonMode", - "description": "Sets the desktop multi-monitor taskbar mode." - }, - "NotifyOnUsbErrors": { - "type": "string", - "title": "NotifyOnUsbErrors", - "description": "Enables or disables USB error notifications." - }, - "NotifyOnWeakCharger": { - "type": "string", - "title": "NotifyOnWeakCharger", - "description": "Enables or disables weak charger notifications." - } - }, - "description": "The `WindowsSettings` DSC resource is used to manage common Windows settings.", - "title": "Microsoft.Windows.Settings/WindowsSettings" - } - }, - "path": "Microsoft.Windows.Settings.psd1" - } - ] -} diff --git a/resources/Microsoft.WindowsSandbox.DSC/WindowsSandbox.dsc.adaptedResource.json b/resources/Microsoft.WindowsSandbox.DSC/WindowsSandbox.dsc.adaptedResource.json new file mode 100644 index 00000000..714309e7 --- /dev/null +++ b/resources/Microsoft.WindowsSandbox.DSC/WindowsSandbox.dsc.adaptedResource.json @@ -0,0 +1,94 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "Microsoft.WindowsSandbox.DSC/WindowsSandbox", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `WindowsSandbox` DSC resource is used to manage a Windows Sandbox instance.", + "author": "DscSamples", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "Microsoft.WindowsSandbox.DSC.psd1", + "schema": { + "embedded": { + "description": "The `WindowsSandbox` DSC resource is used to manage a Windows Sandbox instance.", + "type": "object", + "required": ["Ensure"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "Ensure": { + "type": "string", + "enum": ["Absent", "Present"], + "title": "Ensure", + "description": "Specifies whether the Windows Sandbox should be running or not. This is a key property.\r\n Defaults to `Present`." + }, + "WsbFilePath": { + "type": "string", + "title": "WsbFilePath", + "description": "The path to an existing `.wsb` configuration file to load." + }, + "HostFolder": { + "type": "string", + "title": "HostFolder", + "description": "The path to a host folder to map into the sandbox." + }, + "SandboxFolder": { + "type": "string", + "title": "SandboxFolder", + "description": "The path inside the sandbox to map the host folder to." + }, + "ReadOnly": { + "type": "string", + "title": "ReadOnly", + "description": "Specifies whether the mapped folder should be read-only." + }, + "LogonCommand": { + "type": "string", + "title": "LogonCommand", + "description": "A command to run when the sandbox starts." + }, + "MemoryInMB": { + "type": "string", + "title": "MemoryInMB", + "description": "The amount of memory in megabytes to allocate to the sandbox." + }, + "vGPU": { + "type": "string", + "title": "vGPU", + "description": "Enables or disables virtual GPU support." + }, + "AudioInput": { + "type": "string", + "title": "AudioInput", + "description": "Enables or disables audio input in the sandbox." + }, + "ClipboardRedirection": { + "type": "string", + "title": "ClipboardRedirection", + "description": "Enables or disables clipboard sharing between host and sandbox." + }, + "Networking": { + "type": "string", + "title": "Networking", + "description": "Enables or disables networking in the sandbox." + }, + "PrinterRedirection": { + "type": "string", + "title": "PrinterRedirection", + "description": "Enables or disables printer access in the sandbox." + }, + "ProtectedClient": { + "type": "string", + "title": "ProtectedClient", + "description": "Enables or disables protected client mode." + }, + "VideoInput": { + "type": "string", + "title": "VideoInput", + "description": "Enables or disables video input in the sandbox." + } + }, + "title": "Microsoft.WindowsSandbox.DSC/WindowsSandbox" + } + } +} diff --git a/resources/Microsoft.WindowsSandbox.DSC/microsoftwindowssandboxdsc.dsc.manifests.json b/resources/Microsoft.WindowsSandbox.DSC/microsoftwindowssandboxdsc.dsc.manifests.json deleted file mode 100644 index 81dd46fe..00000000 --- a/resources/Microsoft.WindowsSandbox.DSC/microsoftwindowssandboxdsc.dsc.manifests.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "adaptedResources": [ - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "Microsoft.WindowsSandbox.DSC/WindowsSandbox", - "author": "DscSamples", - "description": "The `WindowsSandbox` DSC resource is used to manage a Windows Sandbox instance.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["Ensure"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "Ensure": { - "type": "string", - "enum": ["Absent", "Present"], - "title": "Ensure", - "description": "Specifies whether the Windows Sandbox should be running or not. This is a key property.\r\n Defaults to `Present`." - }, - "WsbFilePath": { - "type": "string", - "title": "WsbFilePath", - "description": "The path to an existing `.wsb` configuration file to load." - }, - "HostFolder": { - "type": "string", - "title": "HostFolder", - "description": "The path to a host folder to map into the sandbox." - }, - "SandboxFolder": { - "type": "string", - "title": "SandboxFolder", - "description": "The path inside the sandbox to map the host folder to." - }, - "ReadOnly": { - "type": "string", - "title": "ReadOnly", - "description": "Specifies whether the mapped folder should be read-only." - }, - "LogonCommand": { - "type": "string", - "title": "LogonCommand", - "description": "A command to run when the sandbox starts." - }, - "MemoryInMB": { - "type": "string", - "title": "MemoryInMB", - "description": "The amount of memory in megabytes to allocate to the sandbox." - }, - "vGPU": { - "type": "string", - "title": "vGPU", - "description": "Enables or disables virtual GPU support." - }, - "AudioInput": { - "type": "string", - "title": "AudioInput", - "description": "Enables or disables audio input in the sandbox." - }, - "ClipboardRedirection": { - "type": "string", - "title": "ClipboardRedirection", - "description": "Enables or disables clipboard sharing between host and sandbox." - }, - "Networking": { - "type": "string", - "title": "Networking", - "description": "Enables or disables networking in the sandbox." - }, - "PrinterRedirection": { - "type": "string", - "title": "PrinterRedirection", - "description": "Enables or disables printer access in the sandbox." - }, - "ProtectedClient": { - "type": "string", - "title": "ProtectedClient", - "description": "Enables or disables protected client mode." - }, - "VideoInput": { - "type": "string", - "title": "VideoInput", - "description": "Enables or disables video input in the sandbox." - } - }, - "description": "The `WindowsSandbox` DSC resource is used to manage a Windows Sandbox instance.", - "title": "Microsoft.WindowsSandbox.DSC/WindowsSandbox" - } - }, - "path": "Microsoft.WindowsSandbox.DSC.psd1" - } - ] -} diff --git a/resources/NpmDsc/NpmInstall.dsc.adaptedResource.json b/resources/NpmDsc/NpmInstall.dsc.adaptedResource.json new file mode 100644 index 00000000..ea5fecaf --- /dev/null +++ b/resources/NpmDsc/NpmInstall.dsc.adaptedResource.json @@ -0,0 +1,49 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "NpmDsc/NpmInstall", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `NpmInstall` DSC resource is used to install all npm packages listed in a `package.json` file.", + "author": "DscSamples", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "NpmDsc.psd1", + "schema": { + "embedded": { + "description": "The `NpmInstall` DSC resource is used to install all npm packages listed in a `package.json` file.", + "type": "object", + "required": ["SID"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "Ensure": { + "type": "string", + "enum": ["Absent", "Present"], + "title": "Ensure", + "description": "Specifies whether the npm packages should be present or absent. Defaults to `Present`." + }, + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + }, + "Global": { + "type": "boolean", + "title": "Global", + "description": "Indicates whether to install packages globally." + }, + "PackageDirectory": { + "type": "string", + "title": "PackageDirectory", + "description": "The directory containing the `package.json` file. If not specified, the current directory is used." + }, + "Arguments": { + "type": "string", + "title": "Arguments", + "description": "Additional arguments to pass to `npm install`." + } + }, + "title": "NpmDsc/NpmInstall" + } + } +} diff --git a/resources/NpmDsc/NpmPackage.dsc.adaptedResource.json b/resources/NpmDsc/NpmPackage.dsc.adaptedResource.json new file mode 100644 index 00000000..202b137d --- /dev/null +++ b/resources/NpmDsc/NpmPackage.dsc.adaptedResource.json @@ -0,0 +1,54 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "NpmDsc/NpmPackage", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set", "export", "whatIf"], + "description": "The `NpmPackage` DSC Resource allows you to manage the installation, update, and removal of npm packages. This resource ensures that the specified npm package is in the desired state.", + "author": "DscSamples", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "NpmDsc.psd1", + "schema": { + "embedded": { + "description": "The `NpmPackage` DSC Resource allows you to manage the installation, update, and removal of npm packages. This resource ensures that the specified npm package is in the desired state.", + "type": "object", + "required": ["Name"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "Ensure": { + "type": "string", + "enum": ["Absent", "Present"], + "title": "Ensure", + "description": "Specifies whether the npm package should be present or absent. The default value is `Present`." + }, + "Name": { + "type": "string", + "title": "Name", + "description": "The name of the npm package to manage. This is a key property." + }, + "Version": { + "type": "string", + "title": "Version", + "description": "The version of the npm package to install. If not specified, the latest version will be installed." + }, + "PackageDirectory": { + "type": "string", + "title": "PackageDirectory", + "description": "The directory where the npm package should be installed. If not specified, the package will be installed in the current directory." + }, + "Global": { + "type": "boolean", + "title": "Global", + "description": "Indicates whether the npm package should be installed globally." + }, + "Arguments": { + "type": "string", + "title": "Arguments", + "description": "Additional arguments to pass to `npm install` or `npm uninstall`." + } + }, + "title": "NpmDsc/NpmPackage" + } + } +} diff --git a/resources/NpmDsc/npmdsc.dsc.manifests.json b/resources/NpmDsc/npmdsc.dsc.manifests.json deleted file mode 100644 index fb788b2e..00000000 --- a/resources/NpmDsc/npmdsc.dsc.manifests.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "adaptedResources": [ - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "NpmDsc/NpmInstall", - "author": "DscSamples", - "description": "The `NpmInstall` DSC resource is used to install all npm packages listed in a `package.json` file.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "Ensure": { - "type": "string", - "enum": ["Absent", "Present"], - "title": "Ensure", - "description": "Specifies whether the npm packages should be present or absent. Defaults to `Present`." - }, - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - }, - "Global": { - "type": "boolean", - "title": "Global", - "description": "Indicates whether to install packages globally." - }, - "PackageDirectory": { - "type": "string", - "title": "PackageDirectory", - "description": "The directory containing the `package.json` file. If not specified, the current directory is used." - }, - "Arguments": { - "type": "string", - "title": "Arguments", - "description": "Additional arguments to pass to `npm install`." - } - }, - "description": "The `NpmInstall` DSC resource is used to install all npm packages listed in a `package.json` file.", - "title": "NpmDsc/NpmInstall" - } - }, - "path": "NpmDsc.psd1" - }, - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "NpmDsc/NpmPackage", - "author": "DscSamples", - "description": "The `NpmPackage` DSC Resource allows you to manage the installation, update, and removal of npm packages. This resource ensures that the specified npm package is in the desired state.", - "capabilities": ["get", "test", "set", "export", "whatIf"], - "schema": { - "embedded": { - "type": "object", - "required": ["Name"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "Ensure": { - "type": "string", - "enum": ["Absent", "Present"], - "title": "Ensure", - "description": "Specifies whether the npm package should be present or absent. The default value is `Present`." - }, - "Name": { - "type": "string", - "title": "Name", - "description": "The name of the npm package to manage. This is a key property." - }, - "Version": { - "type": "string", - "title": "Version", - "description": "The version of the npm package to install. If not specified, the latest version will be installed." - }, - "PackageDirectory": { - "type": "string", - "title": "PackageDirectory", - "description": "The directory where the npm package should be installed. If not specified, the package will be installed in the current directory." - }, - "Global": { - "type": "boolean", - "title": "Global", - "description": "Indicates whether the npm package should be installed globally." - }, - "Arguments": { - "type": "string", - "title": "Arguments", - "description": "Additional arguments to pass to `npm install` or `npm uninstall`." - } - }, - "description": "The `NpmPackage` DSC Resource allows you to manage the installation, update, and removal of npm packages. This resource ensures that the specified npm package is in the desired state.", - "title": "NpmDsc/NpmPackage" - } - }, - "path": "NpmDsc.psd1" - } - ] -} diff --git a/resources/PythonPip3Dsc/Pip3Package.dsc.adaptedResource.json b/resources/PythonPip3Dsc/Pip3Package.dsc.adaptedResource.json new file mode 100644 index 00000000..d6166138 --- /dev/null +++ b/resources/PythonPip3Dsc/Pip3Package.dsc.adaptedResource.json @@ -0,0 +1,52 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "PythonPip3Dsc/Pip3Package", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set", "whatIf", "export"], + "description": "The `Pip3Package` DSC Resource allows you to install, update, and uninstall Python packages using pip3.", + "author": "DscSamples", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "PythonPip3Dsc.psd1", + "schema": { + "embedded": { + "description": "The `Pip3Package` DSC Resource allows you to install, update, and uninstall Python packages using pip3.", + "type": "object", + "required": ["PackageName"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "PackageName": { + "type": "string", + "title": "PackageName", + "description": "The name of the Python package to manage. This is a key and mandatory property." + }, + "Version": { + "type": "string", + "title": "Version", + "description": "The version of the Python package to manage. If not specified, the latest version will be used." + }, + "Arguments": { + "type": "string", + "title": "Arguments", + "description": "Additional arguments to pass to pip3." + }, + "Exist": { + "type": "boolean", + "title": "Exist", + "description": "Indicates whether the package should exist. Defaults to $true." + }, + "InstalledPackages": { + "items": { + "type": "object" + }, + "type": "array", + "title": "InstalledPackages", + "readOnly": true, + "description": "A list of installed packages. This property is not configurable." + } + }, + "title": "PythonPip3Dsc/Pip3Package" + } + } +} diff --git a/resources/PythonPip3Dsc/pythonpip3dsc.dsc.manifests.json b/resources/PythonPip3Dsc/pythonpip3dsc.dsc.manifests.json deleted file mode 100644 index 6a6941b3..00000000 --- a/resources/PythonPip3Dsc/pythonpip3dsc.dsc.manifests.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "adaptedResources": [ - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "PythonPip3Dsc/Pip3Package", - "author": "DscSamples", - "description": "The `Pip3Package` DSC Resource allows you to install, update, and uninstall Python packages using pip3.", - "capabilities": ["get", "test", "set", "whatIf", "export"], - "schema": { - "embedded": { - "type": "object", - "required": ["PackageName"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "PackageName": { - "type": "string", - "title": "PackageName", - "description": "The name of the Python package to manage. This is a key and mandatory property." - }, - "Version": { - "type": "string", - "title": "Version", - "description": "The version of the Python package to manage. If not specified, the latest version will be used." - }, - "Arguments": { - "type": "string", - "title": "Arguments", - "description": "Additional arguments to pass to pip3." - }, - "Exist": { - "type": "boolean", - "title": "Exist", - "description": "Indicates whether the package should exist. Defaults to $true." - }, - "InstalledPackages": { - "items": { - "type": "object" - }, - "type": "array", - "title": "InstalledPackages", - "readOnly": true, - "description": "A list of installed packages. This property is not configurable." - } - }, - "description": "The `Pip3Package` DSC Resource allows you to install, update, and uninstall Python packages using pip3.", - "title": "PythonPip3Dsc/Pip3Package" - } - }, - "path": "PythonPip3Dsc.psd1" - } - ] -} diff --git a/resources/RustDsc/CargoToolInstall.dsc.adaptedResource.json b/resources/RustDsc/CargoToolInstall.dsc.adaptedResource.json new file mode 100644 index 00000000..0bc00a6c --- /dev/null +++ b/resources/RustDsc/CargoToolInstall.dsc.adaptedResource.json @@ -0,0 +1,57 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "RustDsc/CargoToolInstall", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set", "export"], + "description": "The `CargoToolInstall` DSC Resource allows you to manage the installation and removal of Rust crates using Cargo. This resource ensures that the specified Rust crate is in the desired state.", + "author": "DscSamples", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "RustDsc.psd1", + "schema": { + "embedded": { + "description": "The `CargoToolInstall` DSC Resource allows you to manage the installation and removal of Rust crates using Cargo. This resource ensures that the specified Rust crate is in the desired state.", + "type": "object", + "required": ["CrateName"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "Exist": { + "type": "boolean", + "title": "Exist", + "description": "Specifies whether the Rust crate should exist (be installed) or not. The default value is $true." + }, + "CrateName": { + "type": "string", + "title": "CrateName", + "description": "The name of the Rust crate to manage. This is a key property." + }, + "Version": { + "type": "string", + "title": "Version", + "description": "The version of the Rust crate to install. If not specified, the latest version will be installed." + }, + "Features": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Features", + "description": "A list of features to enable when installing the crate. If not specified, all features will be enabled using --all-features." + }, + "Force": { + "type": "boolean", + "title": "Force", + "description": "Force overwriting existing crates or binaries. The default value is $false." + }, + "InstalledVersion": { + "type": "string", + "title": "InstalledVersion", + "readOnly": true, + "description": "A read-only property indicating the currently installed version of the crate. This property is not configurable." + } + }, + "title": "RustDsc/CargoToolInstall" + } + } +} diff --git a/resources/RustDsc/rustdsc.dsc.manifests.json b/resources/RustDsc/rustdsc.dsc.manifests.json deleted file mode 100644 index 7b76f7b1..00000000 --- a/resources/RustDsc/rustdsc.dsc.manifests.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "adaptedResources": [ - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "RustDsc/CargoToolInstall", - "author": "DscSamples", - "description": "The `CargoToolInstall` DSC Resource allows you to manage the installation and removal of Rust crates using Cargo. This resource ensures that the specified Rust crate is in the desired state.", - "capabilities": ["get", "test", "set", "export"], - "schema": { - "embedded": { - "type": "object", - "required": ["CrateName"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "Exist": { - "type": "boolean", - "title": "Exist", - "description": "Specifies whether the Rust crate should exist (be installed) or not. The default value is $true." - }, - "CrateName": { - "type": "string", - "title": "CrateName", - "description": "The name of the Rust crate to manage. This is a key property." - }, - "Version": { - "type": "string", - "title": "Version", - "description": "The version of the Rust crate to install. If not specified, the latest version will be installed." - }, - "Features": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Features", - "description": "A list of features to enable when installing the crate. If not specified, all features will be enabled using --all-features." - }, - "Force": { - "type": "boolean", - "title": "Force", - "description": "Force overwriting existing crates or binaries. The default value is $false." - }, - "InstalledVersion": { - "type": "string", - "title": "InstalledVersion", - "readOnly": true, - "description": "A read-only property indicating the currently installed version of the crate. This property is not configurable." - } - }, - "description": "The `CargoToolInstall` DSC Resource allows you to manage the installation and removal of Rust crates using Cargo. This resource ensures that the specified Rust crate is in the desired state.", - "title": "RustDsc/CargoToolInstall" - } - }, - "path": "RustDsc.psd1" - } - ] -} diff --git a/resources/YarnDsc/YarnInstall.dsc.adaptedResource.json b/resources/YarnDsc/YarnInstall.dsc.adaptedResource.json new file mode 100644 index 00000000..8f3dae6b --- /dev/null +++ b/resources/YarnDsc/YarnInstall.dsc.adaptedResource.json @@ -0,0 +1,47 @@ +{ + "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", + "type": "YarnDsc/YarnInstall", + "kind": "resource", + "version": "0.1.0", + "capabilities": ["get", "test", "set"], + "description": "The `YarnInstall` DSC resource is used to install all Yarn packages listed in a `package.json` file.", + "author": "DscSamples", + "requireAdapter": "Microsoft.Adapter/PowerShell", + "path": "YarnDsc.psd1", + "schema": { + "embedded": { + "description": "The `YarnInstall` DSC resource is used to install all Yarn packages listed in a `package.json` file.", + "type": "object", + "required": ["SID"], + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "SID": { + "type": "string", + "title": "SID", + "description": "The security identifier. This is a key property and should not be set manually." + }, + "Arguments": { + "type": "string", + "title": "Arguments", + "description": "Additional arguments to pass to `yarn install`." + }, + "PackageDirectory": { + "type": "string", + "title": "PackageDirectory", + "description": "The directory containing the `package.json` file. If not specified, the current directory is used." + }, + "Dependencies": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Dependencies", + "readOnly": true, + "description": "A read-only list of currently installed package dependencies. This property is not configurable." + } + }, + "title": "YarnDsc/YarnInstall" + } + } +} diff --git a/resources/YarnDsc/yarndsc.dsc.manifests.json b/resources/YarnDsc/yarndsc.dsc.manifests.json deleted file mode 100644 index 53b77ad9..00000000 --- a/resources/YarnDsc/yarndsc.dsc.manifests.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "adaptedResources": [ - { - "requireAdapter": "Microsoft.Adapter/PowerShell", - "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", - "kind": "resource", - "version": "0.1.0", - "type": "YarnDsc/YarnInstall", - "author": "DscSamples", - "description": "The `YarnInstall` DSC resource is used to install all Yarn packages listed in a `package.json` file.", - "capabilities": ["get", "test", "set"], - "schema": { - "embedded": { - "type": "object", - "required": ["SID"], - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "SID": { - "type": "string", - "title": "SID", - "description": "The security identifier. This is a key property and should not be set manually." - }, - "Arguments": { - "type": "string", - "title": "Arguments", - "description": "Additional arguments to pass to `yarn install`." - }, - "PackageDirectory": { - "type": "string", - "title": "PackageDirectory", - "description": "The directory containing the `package.json` file. If not specified, the current directory is used." - }, - "Dependencies": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Dependencies", - "readOnly": true, - "description": "A read-only list of currently installed package dependencies. This property is not configurable." - } - }, - "description": "The `YarnInstall` DSC resource is used to install all Yarn packages listed in a `package.json` file.", - "title": "YarnDsc/YarnInstall" - } - }, - "path": "YarnDsc.psd1" - } - ] -}