ServerConnectionPolicies interface
Interface representing a ServerConnectionPolicies.
Methods
begin |
Updates a server connection policy |
begin |
Updates a server connection policy |
get(string, string, string, Server |
Gets a server connection policy |
list |
Lists connection policy |
Method Details
beginCreateOrUpdate(string, string, string, ServerConnectionPolicy, ServerConnectionPoliciesCreateOrUpdateOptionalParams)
Updates a server connection policy
function beginCreateOrUpdate(resourceGroupName: string, serverName: string, connectionPolicyName: string, parameters: ServerConnectionPolicy, options?: ServerConnectionPoliciesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServerConnectionPolicy>, ServerConnectionPolicy>>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- connectionPolicyName
-
string
The name of the connection policy.
- parameters
- ServerConnectionPolicy
The required parameters for updating a server connection policy.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ServerConnectionPolicy>, ServerConnectionPolicy>>
beginCreateOrUpdateAndWait(string, string, string, ServerConnectionPolicy, ServerConnectionPoliciesCreateOrUpdateOptionalParams)
Updates a server connection policy
function beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, connectionPolicyName: string, parameters: ServerConnectionPolicy, options?: ServerConnectionPoliciesCreateOrUpdateOptionalParams): Promise<ServerConnectionPolicy>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- connectionPolicyName
-
string
The name of the connection policy.
- parameters
- ServerConnectionPolicy
The required parameters for updating a server connection policy.
The options parameters.
Returns
Promise<ServerConnectionPolicy>
get(string, string, string, ServerConnectionPoliciesGetOptionalParams)
Gets a server connection policy
function get(resourceGroupName: string, serverName: string, connectionPolicyName: string, options?: ServerConnectionPoliciesGetOptionalParams): Promise<ServerConnectionPolicy>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- connectionPolicyName
-
string
The name of the connection policy.
The options parameters.
Returns
Promise<ServerConnectionPolicy>
listByServer(string, string, ServerConnectionPoliciesListByServerOptionalParams)
Lists connection policy
function listByServer(resourceGroupName: string, serverName: string, options?: ServerConnectionPoliciesListByServerOptionalParams): PagedAsyncIterableIterator<ServerConnectionPolicy, ServerConnectionPolicy[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
The options parameters.