GithubHelp home page GithubHelp logo

Comments (4)

camiloborges avatar camiloborges commented on June 12, 2024

Hey. Check what I came up with. This should allow addressing all the Web Application related items.

[ClassVersion("1.0.0")]
Class MSFT_xSPFilesTypes
{
    [write]String EnsureBlocked[];
    [write]String EnsureAllowed[];
};

[ClassVersion("1.0.0")]
Class MSFT_xSPOutgoingEmailSettings
{
    [Write] string SMTPServer;
    [Write] string FromAddress;
    [Write] string ReplyToAddress;
    [Write] string CharacterSet;
};

[ClassVersion("1.0.0")]
Class MSFT_xSPWebApplicationThrottling
{
    [write]String ListViewThreshold;
    [write]String AllowObjectModelOverride;
    [write]String AdminThreshold;
    [write]String ListViewLookupThreshold;
    [write]String HappyHour;
    [write]String UniquePermissionThreshold;
    [write]String RequestThrottling;
    [write]String ChangeLog;
};

[ClassVersion("1.0.0")]
Class MSFT_xSPWebApplicationExtension
{
    [write]String ApplicationPool;
    [write]String AllowAnonymous;
    [write]String AuthenticationMethod;
    [write]String HostHeader;
    [write]String Port;
    [write]String SSL;
    [write]String Zone;
};

[ClassVersion("1.0.0")]
Class MSFT_xSPWebApplicationWorkflowSettings
{
    [write]String ExternalWorkflowParticipantsEnabled;
    [write]String UserDefinedWorkflowsEnabled;
    [write]String EmailToNoPermissionWorkflowParticipantsEnable;
};

[ClassVersion("1.0.0")]
Class MSFT_xSPWebApplicationSettings
{
    [write]String TimeZone;
    [write]String UserDefinedWorkflowsEnabled;
    [write]String EmailToNoPermissionWorkflowParticipantsEnable;
    [write]String DefaultQuotaTemplate;
    [write]String Alerts;
    [write]String AlertsLimit;
    [write]String RSS;
    [write]String BlogAPI;
    [write]String BrowserFileHandling;
    [write]String SecurityValidation;
    [write]String RecycleBin;
    [write]String MaximumUploadSize;
    [write]String CustomerExperienceProgram;
    [write]String Usage ;
};

[ClassVersion("1.0.0.0"), FriendlyName("xSPWebApplication")]
class MSFT_xSPWebApplication : OMI_BaseResource
{
    [Key] string Name;
    [Required] string ApplicationPool;
    [Required] string ApplicationPoolAccount;
    [Required] string Url;
    [Write] boolean AllowAnonymous;
    [Write, ValueMap{"NTLM","Kerberos"}, Values{"NTLM","Kerberos"}] string AuthenticationMethod;
    [Write] string DatabaseName;
    [Write] string DatabaseServer;
    [Write] string HostHeader;
    [Write] string Path;
    [Write] string Port;
    [Write, EmbeddedInstance("MSFT_Credential")] String InstallAccount;
    [Write, EmbeddedInstance("MSFT_xSPWebApplicationSettings")] String GeneralSettings;
    [Write, EmbeddedInstance("MSFT_xSPWebApplicationWorkflowSettings")] String WorkflowSettings;
    [Write, EmbeddedInstance("MSFT_xSPWebApplicationExtension")] String Extensions;
    [Write, EmbeddedInstance("MSFT_xSPWebApplicationThrottling")] String Throttling;
    [Write, EmbeddedInstance("MSFT_xSPOutgoingEmailSettings")] String OutgoingEmailSettings;
    [Write, EmbeddedInstance("MSFT_xSPBlockedFilesTypes")] String FileTypes;
};



from sharepointdsc.

camiloborges avatar camiloborges commented on June 12, 2024

(please don't be too concerned with the data types as I didn't really paid attention to them. idea was to show the concept

from sharepointdsc.

BrianFarnhill avatar BrianFarnhill commented on June 12, 2024

This is part of PR #96 and will be closed when this is merged to dev

from sharepointdsc.

BrianFarnhill avatar BrianFarnhill commented on June 12, 2024

This has been merged to dev in PR #96 and will be released in v0.8 - closing this issue

from sharepointdsc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.