Interface AdministratorsMicrosoftEntrasClient
public interface AdministratorsMicrosoftEntrasClient
An instance of this class provides access to all the operations defined in AdministratorsMicrosoftEntrasClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AdministratorMicrosoftEntraInner>, AdministratorMicrosoftEntraInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String objectId, AdministratorMicrosoftEntraAdd parameters) Creates a new server administrator associated to a Microsoft Entra principal.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AdministratorMicrosoftEntraInner>, AdministratorMicrosoftEntraInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String objectId, AdministratorMicrosoftEntraAdd parameters, com.azure.core.util.Context context) Creates a new server administrator associated to a Microsoft Entra principal.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AdministratorMicrosoftEntraInner>, AdministratorMicrosoftEntraInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String objectId, AdministratorMicrosoftEntraAdd parameters) Creates a new server administrator associated to a Microsoft Entra principal.beginDelete(String resourceGroupName, String serverName, String objectId) Deletes an existing server administrator associated to a Microsoft Entra principal.beginDelete(String resourceGroupName, String serverName, String objectId, com.azure.core.util.Context context) Deletes an existing server administrator associated to a Microsoft Entra principal.beginDeleteAsync(String resourceGroupName, String serverName, String objectId) Deletes an existing server administrator associated to a Microsoft Entra principal.createOrUpdate(String resourceGroupName, String serverName, String objectId, AdministratorMicrosoftEntraAdd parameters) Creates a new server administrator associated to a Microsoft Entra principal.createOrUpdate(String resourceGroupName, String serverName, String objectId, AdministratorMicrosoftEntraAdd parameters, com.azure.core.util.Context context) Creates a new server administrator associated to a Microsoft Entra principal.createOrUpdateAsync(String resourceGroupName, String serverName, String objectId, AdministratorMicrosoftEntraAdd parameters) Creates a new server administrator associated to a Microsoft Entra principal.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String objectId, AdministratorMicrosoftEntraAdd parameters) Creates a new server administrator associated to a Microsoft Entra principal.voidDeletes an existing server administrator associated to a Microsoft Entra principal.voiddelete(String resourceGroupName, String serverName, String objectId, com.azure.core.util.Context context) Deletes an existing server administrator associated to a Microsoft Entra principal.deleteAsync(String resourceGroupName, String serverName, String objectId) Deletes an existing server administrator associated to a Microsoft Entra principal.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String objectId) Deletes an existing server administrator associated to a Microsoft Entra principal.Gets information about a server administrator associated to a Microsoft Entra principal.Gets information about a server administrator associated to a Microsoft Entra principal.com.azure.core.http.rest.Response<AdministratorMicrosoftEntraInner> getWithResponse(String resourceGroupName, String serverName, String objectId, com.azure.core.util.Context context) Gets information about a server administrator associated to a Microsoft Entra principal.Mono<com.azure.core.http.rest.Response<AdministratorMicrosoftEntraInner>> getWithResponseAsync(String resourceGroupName, String serverName, String objectId) Gets information about a server administrator associated to a Microsoft Entra principal.com.azure.core.http.rest.PagedIterable<AdministratorMicrosoftEntraInner> listByServer(String resourceGroupName, String serverName) List all server administrators associated to a Microsoft Entra principal.com.azure.core.http.rest.PagedIterable<AdministratorMicrosoftEntraInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) List all server administrators associated to a Microsoft Entra principal.com.azure.core.http.rest.PagedFlux<AdministratorMicrosoftEntraInner> listByServerAsync(String resourceGroupName, String serverName) List all server administrators associated to a Microsoft Entra principal.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String objectId, AdministratorMicrosoftEntraAdd parameters) Creates a new server administrator associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Object identifier of the Microsoft Entra principal.parameters- Required parameters for adding a server administrator associated to a Microsoft Entra principal.- Returns:
- server administrator associated to a Microsoft Entra principal 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<AdministratorMicrosoftEntraInner>, AdministratorMicrosoftEntraInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String objectId, AdministratorMicrosoftEntraAdd parameters) Creates a new server administrator associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Object identifier of the Microsoft Entra principal.parameters- Required parameters for adding a server administrator associated to a Microsoft Entra principal.- Returns:
- the
PollerFluxfor polling of server administrator associated to a Microsoft Entra principal. - 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<AdministratorMicrosoftEntraInner>, AdministratorMicrosoftEntraInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String objectId, AdministratorMicrosoftEntraAdd parameters) Creates a new server administrator associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Object identifier of the Microsoft Entra principal.parameters- Required parameters for adding a server administrator associated to a Microsoft Entra principal.- Returns:
- the
SyncPollerfor polling of server administrator associated to a Microsoft Entra principal. - 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<AdministratorMicrosoftEntraInner>, AdministratorMicrosoftEntraInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String objectId, AdministratorMicrosoftEntraAdd parameters, com.azure.core.util.Context context) Creates a new server administrator associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Object identifier of the Microsoft Entra principal.parameters- Required parameters for adding a server administrator associated to a Microsoft Entra principal.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of server administrator associated to a Microsoft Entra principal. - 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<AdministratorMicrosoftEntraInner> createOrUpdateAsync(String resourceGroupName, String serverName, String objectId, AdministratorMicrosoftEntraAdd parameters) Creates a new server administrator associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Object identifier of the Microsoft Entra principal.parameters- Required parameters for adding a server administrator associated to a Microsoft Entra principal.- Returns:
- server administrator associated to a Microsoft Entra principal 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
AdministratorMicrosoftEntraInner createOrUpdate(String resourceGroupName, String serverName, String objectId, AdministratorMicrosoftEntraAdd parameters) Creates a new server administrator associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Object identifier of the Microsoft Entra principal.parameters- Required parameters for adding a server administrator associated to a Microsoft Entra principal.- Returns:
- server administrator associated to a Microsoft Entra principal.
- 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
AdministratorMicrosoftEntraInner createOrUpdate(String resourceGroupName, String serverName, String objectId, AdministratorMicrosoftEntraAdd parameters, com.azure.core.util.Context context) Creates a new server administrator associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Object identifier of the Microsoft Entra principal.parameters- Required parameters for adding a server administrator associated to a Microsoft Entra principal.context- The context to associate with this operation.- Returns:
- server administrator associated to a Microsoft Entra principal.
- 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 existing server administrator associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Object identifier of the Microsoft Entra principal.- 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 existing server administrator associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Object identifier of the Microsoft Entra principal.- 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 existing server administrator associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Object identifier of the Microsoft Entra principal.- 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 existing server administrator associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Object identifier of the Microsoft Entra principal.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 existing server administrator associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Object identifier of the Microsoft Entra principal.- 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 existing server administrator associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Object identifier of the Microsoft Entra principal.- 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 existing server administrator associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Object identifier of the Microsoft Entra principal.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<AdministratorMicrosoftEntraInner>> getWithResponseAsync(String resourceGroupName, String serverName, String objectId) Gets information about a server administrator associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Object identifier of the Microsoft Entra principal.- Returns:
- information about a server administrator associated to a Microsoft Entra principal 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<AdministratorMicrosoftEntraInner> getAsync(String resourceGroupName, String serverName, String objectId) Gets information about a server administrator associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Object identifier of the Microsoft Entra principal.- Returns:
- information about a server administrator associated to a Microsoft Entra principal 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<AdministratorMicrosoftEntraInner> getWithResponse(String resourceGroupName, String serverName, String objectId, com.azure.core.util.Context context) Gets information about a server administrator associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Object identifier of the Microsoft Entra principal.context- The context to associate with this operation.- Returns:
- information about a server administrator associated to a Microsoft Entra principal 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 administrator associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.objectId- Object identifier of the Microsoft Entra principal.- Returns:
- information about a server administrator associated to a Microsoft Entra principal.
- 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<AdministratorMicrosoftEntraInner> listByServerAsync(String resourceGroupName, String serverName) List all server administrators associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.- Returns:
- list of server administrators associated to Microsoft Entra principals 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<AdministratorMicrosoftEntraInner> listByServer(String resourceGroupName, String serverName) List all server administrators associated to a Microsoft Entra principal.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.- Returns:
- list of server administrators associated to Microsoft Entra principals 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<AdministratorMicrosoftEntraInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) List all server administrators associated to a Microsoft Entra principal.- 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:
- list of server administrators associated to Microsoft Entra principals 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.
-