DSCResources/MicrosoftAzure_xSqlEndpoint/MicrosoftAzure_xSqlEndpoint.schema.mof

#pragma namespace("\\\\.\\root\\microsoft\\windows\\DesiredStateConfiguration")
 
[ClassVersion("1.0.0"), FriendlyName("xSqlEndpoint")]
class MicrosoftAzure_xSqlEndpoint : OMI_BaseResource
{
    [key, Description("Name of the database mirroring endpoint.")]
    string Name;
 
    [key, Description("The name of the SQL Server instance.")]
    string InstanceName;
 
    [write, Description("Port number of the endpoint.")]
    uint32 PortNumber;
 
    [required, Description("Name of an account to which permissions should be granted for the endpoint.")]
    string AllowedUser;
 
    [required, EmbeddedInstance("MSFT_Credential"), Description("Credentials for a user that is a member of the sysadmin role.")]
    string SqlAdministratorCredential;
};