Interface ServerAdministratorsClient
-
public interface ServerAdministratorsClientAn instance of this class provides access to all the operations defined in ServerAdministratorsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerAdministratorResourceInner>,ServerAdministratorResourceInner>beginCreateOrUpdate(String resourceGroupName, String serverName, ServerAdministratorResourceInner properties)Creates or update active directory administrator on an existing server.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerAdministratorResourceInner>,ServerAdministratorResourceInner>beginCreateOrUpdate(String resourceGroupName, String serverName, ServerAdministratorResourceInner properties, com.azure.core.util.Context context)Creates or update active directory administrator on an existing server.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String serverName)Deletes server active directory administrator.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String serverName, com.azure.core.util.Context context)Deletes server active directory administrator.ServerAdministratorResourceInnercreateOrUpdate(String resourceGroupName, String serverName, ServerAdministratorResourceInner properties)Creates or update active directory administrator on an existing server.ServerAdministratorResourceInnercreateOrUpdate(String resourceGroupName, String serverName, ServerAdministratorResourceInner properties, com.azure.core.util.Context context)Creates or update active directory administrator on an existing server.voiddelete(String resourceGroupName, String serverName)Deletes server active directory administrator.voiddelete(String resourceGroupName, String serverName, com.azure.core.util.Context context)Deletes server active directory administrator.ServerAdministratorResourceInnerget(String resourceGroupName, String serverName)Gets information about a AAD server administrator.com.azure.core.http.rest.Response<ServerAdministratorResourceInner>getWithResponse(String resourceGroupName, String serverName, com.azure.core.util.Context context)Gets information about a AAD server administrator.com.azure.core.http.rest.PagedIterable<ServerAdministratorResourceInner>list(String resourceGroupName, String serverName)Returns a list of server Administrators.com.azure.core.http.rest.PagedIterable<ServerAdministratorResourceInner>list(String resourceGroupName, String serverName, com.azure.core.util.Context context)Returns a list of server Administrators.
-
-
-
Method Detail
-
get
ServerAdministratorResourceInner get(String resourceGroupName, String serverName)
Gets information about a AAD server administrator.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.- Returns:
- information about a AAD server 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.
-
getWithResponse
com.azure.core.http.rest.Response<ServerAdministratorResourceInner> getWithResponse(String resourceGroupName, String serverName, com.azure.core.util.Context context)
Gets information about a AAD server administrator.- 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:
- information about a AAD server administrator 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerAdministratorResourceInner>,ServerAdministratorResourceInner> beginCreateOrUpdate(String resourceGroupName, String serverName, ServerAdministratorResourceInner properties)
Creates or update active directory administrator on an existing server. The update action will overwrite the existing administrator.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.properties- The required parameters for creating or updating an AAD server administrator.- Returns:
- represents a and external administrator to be created 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerAdministratorResourceInner>,ServerAdministratorResourceInner> beginCreateOrUpdate(String resourceGroupName, String serverName, ServerAdministratorResourceInner properties, com.azure.core.util.Context context)
Creates or update active directory administrator on an existing server. The update action will overwrite the existing administrator.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.properties- The required parameters for creating or updating an AAD server administrator.context- The context to associate with this operation.- Returns:
- represents a and external administrator to be created 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.
-
createOrUpdate
ServerAdministratorResourceInner createOrUpdate(String resourceGroupName, String serverName, ServerAdministratorResourceInner properties)
Creates or update active directory administrator on an existing server. The update action will overwrite the existing administrator.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.properties- The required parameters for creating or updating an AAD server administrator.- Returns:
- represents a and external administrator to be created.
- 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
ServerAdministratorResourceInner createOrUpdate(String resourceGroupName, String serverName, ServerAdministratorResourceInner properties, com.azure.core.util.Context context)
Creates or update active directory administrator on an existing server. The update action will overwrite the existing administrator.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.properties- The required parameters for creating or updating an AAD server administrator.context- The context to associate with this operation.- Returns:
- represents a and external administrator to be created.
- 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)
Deletes server active directory administrator.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.- 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, com.azure.core.util.Context context)
Deletes server active directory administrator.- 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:
- 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.
-
delete
void delete(String resourceGroupName, String serverName)
Deletes server active directory administrator.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the 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.
-
delete
void delete(String resourceGroupName, String serverName, com.azure.core.util.Context context)
Deletes server active directory administrator.- 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.- 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.
-
list
com.azure.core.http.rest.PagedIterable<ServerAdministratorResourceInner> list(String resourceGroupName, String serverName)
Returns a list of server Administrators.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.- Returns:
- the response to a list Active Directory Administrators request.
- 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.
-
list
com.azure.core.http.rest.PagedIterable<ServerAdministratorResourceInner> list(String resourceGroupName, String serverName, com.azure.core.util.Context context)
Returns a list of server Administrators.- 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:
- the response to a list Active Directory Administrators request.
- 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.
-
-