DSCResources/MSFT_SPOSearchResultSource/MSFT_SPOSearchResultSource.schema.mof

[ClassVersion("1.0.0.0"), FriendlyName("SPOSearchResultSource")]
class MSFT_SPOSearchResultSource : OMI_BaseResource
{
    [Key, Description("The Name of the Result Source.")] string Name;
    [Write, Description("Description of the Result Source.")] string Description;
    [Required, Description("The protocol of the Result Source."), ValueMap{"Local","Remote","OpenSearch","Exchange"}, Values{"Local","Remote","OpenSearch","Exchange"}] string Protocol;
    [Write, Description("Address of the root site collection of the remote SharePoint farm or Exchange server.")] string SourceURL;
    [Write, Description("Select SharePoint Search Results to search over the entire index. Select People Search Results to enable query processing specific to People Search, such as phonetic name matching or nickname matching. Only people profiles will be returned from a People Search source."), ValueMap{"SharePoint","People"}, Values{"SharePoint","People"}] string Type;
    [Write, Description("Change incoming queries to use this new query text instead. Include the incoming query in the new text by using the query variable '{searchTerms}'.")] string QueryTransform;
    [Write, Description("Show partial search or not")] boolean ShowPartialSearch;
    [Write, Description("Specifies if AutoDiscover should be used for the Exchange Source URL")] boolean UseAutoDiscover;
    [Write, Description("Present ensures the Search Result Source exists."), ValueMap{"Present"}, Values{"Present"}] string Ensure;
    [Write, Description("Credentials of the account to authenticate with."), EmbeddedInstance("MSFT_Credential")] string Credential;
    [Write, Description("Id of the Azure Active Directory application to authenticate with.")] String ApplicationId;
    [Write, Description("Secret of the Azure Active Directory application to authenticate with."), EmbeddedInstance("MSFT_Credential")] String ApplicationSecret;
    [Write, Description("Name of the Azure Active Directory tenant used for authentication. Format contoso.onmicrosoft.com")] String TenantId;
    [Write, Description("Username can be made up to anything but password will be used for certificatePassword"), EmbeddedInstance("MSFT_Credential")] String CertificatePassword;
    [Write, Description("Path to certificate used in service principal usually a PFX file.")] String CertificatePath;
    [Write, Description("Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication.")] String CertificateThumbprint;
    [Write, Description("Managed ID being used for authentication.")] Boolean ManagedIdentity;
};