Interface ManagedServerDnsAliasesClient
public interface ManagedServerDnsAliasesClient
An instance of this class provides access to all the operations defined in ManagedServerDnsAliasesClient.
-
Method Summary
Modifier and TypeMethodDescriptionacquire(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasAcquisition parameters) Acquires managed server DNS alias from another managed server.acquire(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasAcquisition parameters, com.azure.core.util.Context context) Acquires managed server DNS alias from another managed server.acquireAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasAcquisition parameters) Acquires managed server DNS alias from another managed server.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>acquireWithResponseAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasAcquisition parameters) Acquires managed server DNS alias from another managed server.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedServerDnsAliasInner>,ManagedServerDnsAliasInner> beginAcquire(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasAcquisition parameters) Acquires managed server DNS alias from another managed server.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedServerDnsAliasInner>,ManagedServerDnsAliasInner> beginAcquire(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasAcquisition parameters, com.azure.core.util.Context context) Acquires managed server DNS alias from another managed server.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedServerDnsAliasInner>,ManagedServerDnsAliasInner> beginAcquireAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasAcquisition parameters) Acquires managed server DNS alias from another managed server.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedServerDnsAliasInner>,ManagedServerDnsAliasInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasCreation parameters) Creates a managed server DNS alias.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedServerDnsAliasInner>,ManagedServerDnsAliasInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasCreation parameters, com.azure.core.util.Context context) Creates a managed server DNS alias.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedServerDnsAliasInner>,ManagedServerDnsAliasInner> beginCreateOrUpdateAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasCreation parameters) Creates a managed server DNS alias.beginDelete(String resourceGroupName, String managedInstanceName, String dnsAliasName) Deletes the managed server DNS alias with the given name.beginDelete(String resourceGroupName, String managedInstanceName, String dnsAliasName, com.azure.core.util.Context context) Deletes the managed server DNS alias with the given name.beginDeleteAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName) Deletes the managed server DNS alias with the given name.createOrUpdate(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasCreation parameters) Creates a managed server DNS alias.createOrUpdate(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasCreation parameters, com.azure.core.util.Context context) Creates a managed server DNS alias.createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasCreation parameters) Creates a managed server DNS alias.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasCreation parameters) Creates a managed server DNS alias.voidDeletes the managed server DNS alias with the given name.voiddelete(String resourceGroupName, String managedInstanceName, String dnsAliasName, com.azure.core.util.Context context) Deletes the managed server DNS alias with the given name.deleteAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName) Deletes the managed server DNS alias with the given name.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName) Deletes the managed server DNS alias with the given name.Gets a server DNS alias.Gets a server DNS alias.com.azure.core.http.rest.Response<ManagedServerDnsAliasInner>getWithResponse(String resourceGroupName, String managedInstanceName, String dnsAliasName, com.azure.core.util.Context context) Gets a server DNS alias.Mono<com.azure.core.http.rest.Response<ManagedServerDnsAliasInner>>getWithResponseAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName) Gets a server DNS alias.com.azure.core.http.rest.PagedIterable<ManagedServerDnsAliasInner>listByManagedInstance(String resourceGroupName, String managedInstanceName) Gets a list of managed server DNS aliases for a managed server.com.azure.core.http.rest.PagedIterable<ManagedServerDnsAliasInner>listByManagedInstance(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context) Gets a list of managed server DNS aliases for a managed server.com.azure.core.http.rest.PagedFlux<ManagedServerDnsAliasInner>listByManagedInstanceAsync(String resourceGroupName, String managedInstanceName) Gets a list of managed server DNS aliases for a managed server.
-
Method Details
-
listByManagedInstanceAsync
com.azure.core.http.rest.PagedFlux<ManagedServerDnsAliasInner> listByManagedInstanceAsync(String resourceGroupName, String managedInstanceName) Gets a list of managed server DNS aliases for a managed server.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.- Returns:
- a list of managed server DNS aliases for a managed server as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByManagedInstance
com.azure.core.http.rest.PagedIterable<ManagedServerDnsAliasInner> listByManagedInstance(String resourceGroupName, String managedInstanceName) Gets a list of managed server DNS aliases for a managed server.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.- Returns:
- a list of managed server DNS aliases for a managed server as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByManagedInstance
com.azure.core.http.rest.PagedIterable<ManagedServerDnsAliasInner> listByManagedInstance(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context) Gets a list of managed server DNS aliases for a managed server.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.context- The context to associate with this operation.- Returns:
- a list of managed server DNS aliases for a managed server as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ManagedServerDnsAliasInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName) Gets a server DNS alias.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.- Returns:
- a server DNS alias along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<ManagedServerDnsAliasInner> getAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName) Gets a server DNS alias.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.- Returns:
- a server DNS alias on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<ManagedServerDnsAliasInner> getWithResponse(String resourceGroupName, String managedInstanceName, String dnsAliasName, com.azure.core.util.Context context) Gets a server DNS alias.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.context- The context to associate with this operation.- Returns:
- a server DNS alias along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
ManagedServerDnsAliasInner get(String resourceGroupName, String managedInstanceName, String dnsAliasName) Gets a server DNS alias.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.- Returns:
- a server DNS alias.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasCreation parameters) Creates a managed server DNS alias.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.parameters- A managed server dns alias creation request.- Returns:
- a managed server DNS alias along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedServerDnsAliasInner>,ManagedServerDnsAliasInner> beginCreateOrUpdateAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasCreation parameters) Creates a managed server DNS alias.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.parameters- A managed server dns alias creation request.- Returns:
- the
PollerFluxfor polling of a managed server DNS alias. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedServerDnsAliasInner>,ManagedServerDnsAliasInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasCreation parameters) Creates a managed server DNS alias.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.parameters- A managed server dns alias creation request.- Returns:
- the
SyncPollerfor polling of a managed server DNS alias. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedServerDnsAliasInner>,ManagedServerDnsAliasInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasCreation parameters, com.azure.core.util.Context context) Creates a managed server DNS alias.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.parameters- A managed server dns alias creation request.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of a managed server DNS alias. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<ManagedServerDnsAliasInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasCreation parameters) Creates a managed server DNS alias.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.parameters- A managed server dns alias creation request.- Returns:
- a managed server DNS alias on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ManagedServerDnsAliasInner createOrUpdate(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasCreation parameters) Creates a managed server DNS alias.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.parameters- A managed server dns alias creation request.- Returns:
- a managed server DNS alias.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ManagedServerDnsAliasInner createOrUpdate(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasCreation parameters, com.azure.core.util.Context context) Creates a managed server DNS alias.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.parameters- A managed server dns alias creation request.context- The context to associate with this operation.- Returns:
- a managed server DNS alias.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName) Deletes the managed server DNS alias with the given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName) Deletes the managed server DNS alias with the given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String managedInstanceName, String dnsAliasName) Deletes the managed server DNS alias with the given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String managedInstanceName, String dnsAliasName, com.azure.core.util.Context context) Deletes the managed server DNS alias with the given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes the managed server DNS alias with the given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes the managed server DNS alias with the given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String managedInstanceName, String dnsAliasName, com.azure.core.util.Context context) Deletes the managed server DNS alias with the given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
acquireWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> acquireWithResponseAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasAcquisition parameters) Acquires managed server DNS alias from another managed server.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.parameters- A managed server DNS alias acquisition request.- Returns:
- a managed server DNS alias along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginAcquireAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedServerDnsAliasInner>,ManagedServerDnsAliasInner> beginAcquireAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasAcquisition parameters) Acquires managed server DNS alias from another managed server.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.parameters- A managed server DNS alias acquisition request.- Returns:
- the
PollerFluxfor polling of a managed server DNS alias. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginAcquire
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedServerDnsAliasInner>,ManagedServerDnsAliasInner> beginAcquire(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasAcquisition parameters) Acquires managed server DNS alias from another managed server.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.parameters- A managed server DNS alias acquisition request.- Returns:
- the
SyncPollerfor polling of a managed server DNS alias. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginAcquire
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedServerDnsAliasInner>,ManagedServerDnsAliasInner> beginAcquire(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasAcquisition parameters, com.azure.core.util.Context context) Acquires managed server DNS alias from another managed server.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.parameters- A managed server DNS alias acquisition request.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of a managed server DNS alias. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
acquireAsync
Mono<ManagedServerDnsAliasInner> acquireAsync(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasAcquisition parameters) Acquires managed server DNS alias from another managed server.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.parameters- A managed server DNS alias acquisition request.- Returns:
- a managed server DNS alias on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
acquire
ManagedServerDnsAliasInner acquire(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasAcquisition parameters) Acquires managed server DNS alias from another managed server.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.parameters- A managed server DNS alias acquisition request.- Returns:
- a managed server DNS alias.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
acquire
ManagedServerDnsAliasInner acquire(String resourceGroupName, String managedInstanceName, String dnsAliasName, ManagedServerDnsAliasAcquisition parameters, com.azure.core.util.Context context) Acquires managed server DNS alias from another managed server.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.dnsAliasName- The dnsAliasName parameter.parameters- A managed server DNS alias acquisition request.context- The context to associate with this operation.- Returns:
- a managed server DNS alias.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-