Interface AdministratorsClient
public interface AdministratorsClient
An instance of this class provides access to all the operations defined in AdministratorsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ActiveDirectoryAdministratorInner>,ActiveDirectoryAdministratorInner> beginCreate(String resourceGroupName, String serverName, String objectId, ActiveDirectoryAdministratorAdd parameters) Creates a new server.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ActiveDirectoryAdministratorInner>,ActiveDirectoryAdministratorInner> beginCreate(String resourceGroupName, String serverName, String objectId, ActiveDirectoryAdministratorAdd parameters, com.azure.core.util.Context context) Creates a new server.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ActiveDirectoryAdministratorInner>,ActiveDirectoryAdministratorInner> beginCreateAsync(String resourceGroupName, String serverName, String objectId, ActiveDirectoryAdministratorAdd parameters) Creates a new server.beginDelete(String resourceGroupName, String serverName, String objectId) Deletes an Active Directory Administrator associated with the server.beginDelete(String resourceGroupName, String serverName, String objectId, com.azure.core.util.Context context) Deletes an Active Directory Administrator associated with the server.beginDeleteAsync(String resourceGroupName, String serverName, String objectId) Deletes an Active Directory Administrator associated with the server.create(String resourceGroupName, String serverName, String objectId, ActiveDirectoryAdministratorAdd parameters) Creates a new server.create(String resourceGroupName, String serverName, String objectId, ActiveDirectoryAdministratorAdd parameters, com.azure.core.util.Context context) Creates a new server.createAsync(String resourceGroupName, String serverName, String objectId, ActiveDirectoryAdministratorAdd parameters) Creates a new server.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createWithResponseAsync(String resourceGroupName, String serverName, String objectId, ActiveDirectoryAdministratorAdd parameters) Creates a new server.voidDeletes an Active Directory Administrator associated with the server.voiddelete(String resourceGroupName, String serverName, String objectId, com.azure.core.util.Context context) Deletes an Active Directory Administrator associated with the server.deleteAsync(String resourceGroupName, String serverName, String objectId) Deletes an Active Directory Administrator associated with the server.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String serverName, String objectId) Deletes an Active Directory Administrator associated with the server.Gets information about a server.Gets information about a server.com.azure.core.http.rest.Response<ActiveDirectoryAdministratorInner>getWithResponse(String resourceGroupName, String serverName, String objectId, com.azure.core.util.Context context) Gets information about a server.Mono<com.azure.core.http.rest.Response<ActiveDirectoryAdministratorInner>>getWithResponseAsync(String resourceGroupName, String serverName, String objectId) Gets information about a server.com.azure.core.http.rest.PagedIterable<ActiveDirectoryAdministratorInner>listByServer(String resourceGroupName, String serverName) List all the AAD administrators for a given server.com.azure.core.http.rest.PagedIterable<ActiveDirectoryAdministratorInner>listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) List all the AAD administrators for a given server.com.azure.core.http.rest.PagedFlux<ActiveDirectoryAdministratorInner>listByServerAsync(String resourceGroupName, String serverName) List all the AAD administrators for a given server.
-
Method Details
-
createWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String serverName, String objectId, ActiveDirectoryAdministratorAdd parameters) Creates a new server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Guid of the objectId for the administrator.parameters- The required parameters for adding an active directory administrator for a server.- Returns:
- represents an Active Directory administrator 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.
-
beginCreateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ActiveDirectoryAdministratorInner>,ActiveDirectoryAdministratorInner> beginCreateAsync(String resourceGroupName, String serverName, String objectId, ActiveDirectoryAdministratorAdd parameters) Creates a new server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Guid of the objectId for the administrator.parameters- The required parameters for adding an active directory administrator for a server.- Returns:
- the
PollerFluxfor polling of represents an Active Directory administrator. - 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ActiveDirectoryAdministratorInner>,ActiveDirectoryAdministratorInner> beginCreate(String resourceGroupName, String serverName, String objectId, ActiveDirectoryAdministratorAdd parameters) Creates a new server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Guid of the objectId for the administrator.parameters- The required parameters for adding an active directory administrator for a server.- Returns:
- the
SyncPollerfor polling of represents an Active Directory administrator. - 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ActiveDirectoryAdministratorInner>,ActiveDirectoryAdministratorInner> beginCreate(String resourceGroupName, String serverName, String objectId, ActiveDirectoryAdministratorAdd parameters, com.azure.core.util.Context context) Creates a new server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Guid of the objectId for the administrator.parameters- The required parameters for adding an active directory administrator for a server.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of represents an Active Directory administrator. - 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.
-
createAsync
Mono<ActiveDirectoryAdministratorInner> createAsync(String resourceGroupName, String serverName, String objectId, ActiveDirectoryAdministratorAdd parameters) Creates a new server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Guid of the objectId for the administrator.parameters- The required parameters for adding an active directory administrator for a server.- Returns:
- represents an Active Directory administrator 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.
-
create
ActiveDirectoryAdministratorInner create(String resourceGroupName, String serverName, String objectId, ActiveDirectoryAdministratorAdd parameters) Creates a new server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Guid of the objectId for the administrator.parameters- The required parameters for adding an active directory administrator for a server.- Returns:
- represents an Active Directory administrator.
- 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.
-
create
ActiveDirectoryAdministratorInner create(String resourceGroupName, String serverName, String objectId, ActiveDirectoryAdministratorAdd parameters, com.azure.core.util.Context context) Creates a new server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Guid of the objectId for the administrator.parameters- The required parameters for adding an active directory administrator for a server.context- The context to associate with this operation.- Returns:
- represents an Active Directory administrator.
- 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 serverName, String objectId) Deletes an Active Directory Administrator associated with the server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Guid of the objectId for the administrator.- 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 serverName, String objectId) Deletes an Active Directory Administrator associated with the server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Guid of the objectId for the administrator.- 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 serverName, String objectId) Deletes an Active Directory Administrator associated with the server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Guid of the objectId for the administrator.- 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 serverName, String objectId, com.azure.core.util.Context context) Deletes an Active Directory Administrator associated with the server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Guid of the objectId for the administrator.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 an Active Directory Administrator associated with the server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Guid of the objectId for the administrator.- 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 an Active Directory Administrator associated with the server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Guid of the objectId for the administrator.- 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 serverName, String objectId, com.azure.core.util.Context context) Deletes an Active Directory Administrator associated with the server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Guid of the objectId for the administrator.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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ActiveDirectoryAdministratorInner>> getWithResponseAsync(String resourceGroupName, String serverName, String objectId) Gets information about a server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Guid of the objectId for the administrator.- Returns:
- information about a server 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<ActiveDirectoryAdministratorInner> getAsync(String resourceGroupName, String serverName, String objectId) Gets information about a server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Guid of the objectId for the administrator.- Returns:
- information about a server 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<ActiveDirectoryAdministratorInner> getWithResponse(String resourceGroupName, String serverName, String objectId, com.azure.core.util.Context context) Gets information about a server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Guid of the objectId for the administrator.context- The context to associate with this operation.- Returns:
- information about a server 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
Gets information about a server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Guid of the objectId for the administrator.- Returns:
- information about a server.
- 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.
-
listByServerAsync
com.azure.core.http.rest.PagedFlux<ActiveDirectoryAdministratorInner> listByServerAsync(String resourceGroupName, String serverName) List all the AAD administrators for a given server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.- Returns:
- a list of active directory administrators 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.
-
listByServer
com.azure.core.http.rest.PagedIterable<ActiveDirectoryAdministratorInner> listByServer(String resourceGroupName, String serverName) List all the AAD administrators for a given server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.- Returns:
- a list of active directory administrators 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.
-
listByServer
com.azure.core.http.rest.PagedIterable<ActiveDirectoryAdministratorInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) List all the AAD administrators for a given server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.context- The context to associate with this operation.- Returns:
- a list of active directory administrators 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.
-