DSCResources/MSFT_SPWebApplicationExtension/MSFT_SPWebApplicationExtension.schema.mof

[ClassVersion("1.1.0.0"), FriendlyName("SPWebApplicationExtension")]
class MSFT_SPWebApplicationExtension : OMI_BaseResource
{
    [Key, Description("The URL of the parent web application")] string WebAppUrl;
    [Required, Description("The name of the web application extension")] string Name;
    [Required, Description("The URL of the web application extension")] string Url;
    [Key, Description("Specifies one of the five zones with which the internal URL of this new extension is to be associated."),ValueMap{"Default","Intranet","Internet","Extranet","Custom"}, Values{"Default","Intranet","Internet","Extranet","Custom"}] string Zone;
    [Write, Description("The port to run the site on")] string Port;
    [Write, Description("The host header to use for the web app extension")] string HostHeader;
    [Write, Description("Specifies the certificate thumbprint of the SSL certificate to be used. Make sure the certificate is added to Certificate Management (SPSE only)")] String CertificateThumbprint;
    [Write, Description("Specifies that the Secure Sockets Layer (SSL) binding of this IIS website should use Server Name Indication (SNI) (SPSE only)")] Boolean UseServerNameIndication;
    [Write, Description("Specifies that older SSL and TLS protocol versions and cipher suites are allowed to be used with this IIS website (SPSE only and requires Windows Server 2022)")] Boolean AllowLegacyEncryption;
    [Write, Description("The path on the local servers to host the IIS web site from")] string Path;
    [Write, Description("Should anonymous access be enabled for this web app extension")] boolean AllowAnonymous;
    [Write, Description("Present if the web app should exist, absent if it should not"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure;
};