mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-20 09:35:38 -05:00
Agent Proxy and Credential request handlers (#637)
* Agent Proxy account WIP * Fixup Credential create\update\delete handlers * Use current user for test credential * Cleanup and delete code * Convert tabs to spaces
This commit is contained in:
@@ -4341,6 +4341,38 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
}
|
||||
}
|
||||
|
||||
public static string UnexpectedRunType
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.UnexpectedRunType);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CredentialNoLongerExists
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CredentialNoLongerExists);
|
||||
}
|
||||
}
|
||||
|
||||
public static string TargetServerNotSelected
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.TargetServerNotSelected);
|
||||
}
|
||||
}
|
||||
|
||||
public static string SysadminAccount
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.SysadminAccount);
|
||||
}
|
||||
}
|
||||
|
||||
public static string JobStepNameCannotBeBlank
|
||||
{
|
||||
get
|
||||
@@ -4656,6 +4688,26 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
return Keys.GetString(Keys.OperatorProperties, operatorName);
|
||||
}
|
||||
|
||||
public static string UnknownSizeUnit(string unit)
|
||||
{
|
||||
return Keys.GetString(Keys.UnknownSizeUnit, unit);
|
||||
}
|
||||
|
||||
public static string UnknownServerType(string serverTypeName)
|
||||
{
|
||||
return Keys.GetString(Keys.UnknownServerType, serverTypeName);
|
||||
}
|
||||
|
||||
public static string SetOwnerFailed(string ownerName)
|
||||
{
|
||||
return Keys.GetString(Keys.SetOwnerFailed, ownerName);
|
||||
}
|
||||
|
||||
public static string ProxyAccountNotFound(string proxyName)
|
||||
{
|
||||
return Keys.GetString(Keys.ProxyAccountNotFound, proxyName);
|
||||
}
|
||||
|
||||
public static string JobAlreadyExists(string jobName)
|
||||
{
|
||||
return Keys.GetString(Keys.JobAlreadyExists, jobName);
|
||||
@@ -6437,6 +6489,30 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string CategoryDataCollector = "CategoryDataCollector";
|
||||
|
||||
|
||||
public const string UnknownSizeUnit = "UnknownSizeUnit";
|
||||
|
||||
|
||||
public const string UnexpectedRunType = "UnexpectedRunType";
|
||||
|
||||
|
||||
public const string CredentialNoLongerExists = "CredentialNoLongerExists";
|
||||
|
||||
|
||||
public const string UnknownServerType = "UnknownServerType";
|
||||
|
||||
|
||||
public const string SetOwnerFailed = "SetOwnerFailed";
|
||||
|
||||
|
||||
public const string TargetServerNotSelected = "TargetServerNotSelected";
|
||||
|
||||
|
||||
public const string ProxyAccountNotFound = "ProxyAccountNotFound";
|
||||
|
||||
|
||||
public const string SysadminAccount = "SysadminAccount";
|
||||
|
||||
|
||||
public const string JobAlreadyExists = "JobAlreadyExists";
|
||||
|
||||
|
||||
|
||||
@@ -2508,6 +2508,42 @@
|
||||
<value>Data Collector</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="UnknownSizeUnit" xml:space="preserve">
|
||||
<value>Unknown size unit {0} </value>
|
||||
<comment>.
|
||||
Parameters: 0 - unit (string) </comment>
|
||||
</data>
|
||||
<data name="UnexpectedRunType" xml:space="preserve">
|
||||
<value>Unexpected run type.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CredentialNoLongerExists" xml:space="preserve">
|
||||
<value>The object does no longer exist on server.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="UnknownServerType" xml:space="preserve">
|
||||
<value>Unknown server type '{0}'.</value>
|
||||
<comment>.
|
||||
Parameters: 0 - serverTypeName (string) </comment>
|
||||
</data>
|
||||
<data name="SetOwnerFailed" xml:space="preserve">
|
||||
<value>The current login does not have permissions to set the database owner to '{0}' The database was created successfully however.</value>
|
||||
<comment>.
|
||||
Parameters: 0 - ownerName (string) </comment>
|
||||
</data>
|
||||
<data name="TargetServerNotSelected" xml:space="preserve">
|
||||
<value>You must specify the Target Servers on which this multi server job will execute.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="ProxyAccountNotFound" xml:space="preserve">
|
||||
<value>Proxy account '{0}' does not exist on the server.</value>
|
||||
<comment>.
|
||||
Parameters: 0 - proxyName (string) </comment>
|
||||
</data>
|
||||
<data name="SysadminAccount" xml:space="preserve">
|
||||
<value>SQL Server Agent Service Account</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="JobAlreadyExists" xml:space="preserve">
|
||||
<value>A job named '{0}' already exists. Enter a unique name for the job.</value>
|
||||
<comment>.
|
||||
|
||||
@@ -1052,6 +1052,14 @@ CategoryLogShipping = Log Shipping
|
||||
CategoryDBEngineTuningAdvisor = Database Engine Tuning Advisor
|
||||
CategoryDataCollector = Data Collector
|
||||
|
||||
UnknownSizeUnit(unit) = Unknown size unit {0}
|
||||
UnexpectedRunType = Unexpected run type.
|
||||
CredentialNoLongerExists = The object does no longer exist on server.
|
||||
UnknownServerType(string serverTypeName) = Unknown server type '{0}'.
|
||||
SetOwnerFailed(string ownerName) = The current login does not have permissions to set the database owner to '{0}' The database was created successfully however.
|
||||
TargetServerNotSelected = You must specify the Target Servers on which this multi server job will execute.
|
||||
ProxyAccountNotFound(string proxyName) = Proxy account '{0}' does not exist on the server.
|
||||
SysadminAccount = SQL Server Agent Service Account
|
||||
JobAlreadyExists(string jobName) = A job named '{0}' already exists. Enter a unique name for the job.
|
||||
JobStepNameCannotBeBlank = The name of the job step cannot be blank.
|
||||
JobStepNameAlreadyExists(string jobName) = There is already a step named '{0}' for this job. You must specify a different name.
|
||||
|
||||
@@ -3046,6 +3046,50 @@
|
||||
<note>.
|
||||
Parameters: 0 - scheduleName (string) </note>
|
||||
</trans-unit>
|
||||
<trans-unit id="SysadminAccount">
|
||||
<source>SQL Server Agent Service Account</source>
|
||||
<target state="new">SQL Server Agent Service Account</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="ProxyAccountNotFound">
|
||||
<source>Proxy account '{0}' does not exist on the server.</source>
|
||||
<target state="new">Proxy account '{0}' does not exist on the server.</target>
|
||||
<note>.
|
||||
Parameters: 0 - proxyName (string) </note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CredentialNoLongerExists">
|
||||
<source>The object does no longer exist on server.</source>
|
||||
<target state="new">The object does no longer exist on server.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="UnknownServerType">
|
||||
<source>Unknown server type '{0}'.</source>
|
||||
<target state="new">Unknown server type '{0}'.</target>
|
||||
<note>.
|
||||
Parameters: 0 - serverTypeName (string) </note>
|
||||
</trans-unit>
|
||||
<trans-unit id="SetOwnerFailed">
|
||||
<source>The current login does not have permissions to set the database owner to '{0}' The database was created successfully however.</source>
|
||||
<target state="new">The current login does not have permissions to set the database owner to '{0}' The database was created successfully however.</target>
|
||||
<note>.
|
||||
Parameters: 0 - ownerName (string) </note>
|
||||
</trans-unit>
|
||||
<trans-unit id="TargetServerNotSelected">
|
||||
<source>You must specify the Target Servers on which this multi server job will execute.</source>
|
||||
<target state="new">You must specify the Target Servers on which this multi server job will execute.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="UnexpectedRunType">
|
||||
<source>Unexpected run type.</source>
|
||||
<target state="new">Unexpected run type.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="UnknownSizeUnit">
|
||||
<source>Unknown size unit {0} </source>
|
||||
<target state="new">Unknown size unit {0} </target>
|
||||
<note>.
|
||||
Parameters: 0 - unit (string) </note>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
Reference in New Issue
Block a user