ServerDnsAliases interface
Interface representing a ServerDnsAliases.
Methods
Method Details
beginAcquire(string, string, string, ServerDnsAliasAcquisition, ServerDnsAliasesAcquireOptionalParams)
Acquires server DNS alias from another server.
function beginAcquire(resourceGroupName: string, serverName: string, dnsAliasName: string, parameters: ServerDnsAliasAcquisition, options?: ServerDnsAliasesAcquireOptionalParams): Promise<SimplePollerLike<OperationState<ServerDnsAlias>, ServerDnsAlias>>
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 that the alias is pointing to.
- dnsAliasName
-
string
The name of the server dns alias.
- parameters
- ServerDnsAliasAcquisition
A server dns alias acquisition request.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ServerDnsAlias>, ServerDnsAlias>>
beginAcquireAndWait(string, string, string, ServerDnsAliasAcquisition, ServerDnsAliasesAcquireOptionalParams)
Acquires server DNS alias from another server.
function beginAcquireAndWait(resourceGroupName: string, serverName: string, dnsAliasName: string, parameters: ServerDnsAliasAcquisition, options?: ServerDnsAliasesAcquireOptionalParams): Promise<ServerDnsAlias>
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 that the alias is pointing to.
- dnsAliasName
-
string
The name of the server dns alias.
- parameters
- ServerDnsAliasAcquisition
A server dns alias acquisition request.
The options parameters.
Returns
Promise<ServerDnsAlias>
beginCreateOrUpdate(string, string, string, ServerDnsAliasesCreateOrUpdateOptionalParams)
Creates a server DNS alias.
function beginCreateOrUpdate(resourceGroupName: string, serverName: string, dnsAliasName: string, options?: ServerDnsAliasesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServerDnsAlias>, ServerDnsAlias>>
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 that the alias is pointing to.
- dnsAliasName
-
string
The name of the server dns alias.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ServerDnsAlias>, ServerDnsAlias>>
beginCreateOrUpdateAndWait(string, string, string, ServerDnsAliasesCreateOrUpdateOptionalParams)
Creates a server DNS alias.
function beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, dnsAliasName: string, options?: ServerDnsAliasesCreateOrUpdateOptionalParams): Promise<ServerDnsAlias>
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 that the alias is pointing to.
- dnsAliasName
-
string
The name of the server dns alias.
The options parameters.
Returns
Promise<ServerDnsAlias>
beginDelete(string, string, string, ServerDnsAliasesDeleteOptionalParams)
Deletes the server DNS alias with the given name.
function beginDelete(resourceGroupName: string, serverName: string, dnsAliasName: string, options?: ServerDnsAliasesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
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 that the alias is pointing to.
- dnsAliasName
-
string
The name of the server dns alias.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, ServerDnsAliasesDeleteOptionalParams)
Deletes the server DNS alias with the given name.
function beginDeleteAndWait(resourceGroupName: string, serverName: string, dnsAliasName: string, options?: ServerDnsAliasesDeleteOptionalParams): Promise<void>
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 that the alias is pointing to.
- dnsAliasName
-
string
The name of the server dns alias.
The options parameters.
Returns
Promise<void>
get(string, string, string, ServerDnsAliasesGetOptionalParams)
Gets a server DNS alias.
function get(resourceGroupName: string, serverName: string, dnsAliasName: string, options?: ServerDnsAliasesGetOptionalParams): Promise<ServerDnsAlias>
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 that the alias is pointing to.
- dnsAliasName
-
string
The name of the server dns alias.
The options parameters.
Returns
Promise<ServerDnsAlias>
listByServer(string, string, ServerDnsAliasesListByServerOptionalParams)
Gets a list of server DNS aliases for a server.
function listByServer(resourceGroupName: string, serverName: string, options?: ServerDnsAliasesListByServerOptionalParams): PagedAsyncIterableIterator<ServerDnsAlias, ServerDnsAlias[], 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 that the alias is pointing to.
The options parameters.