ServerAdministratorsClient Interface

public interface ServerAdministratorsClient

An instance of this class provides access to all the operations defined in ServerAdministratorsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ServerAdministratorResourceInner>,ServerAdministratorResourceInner> beginCreateOrUpdate(String resourceGroupName, String serverName, ServerAdministratorResourceInner properties)

Creates or update active directory administrator on an existing server.

abstract SyncPoller<PollResult<ServerAdministratorResourceInner>,ServerAdministratorResourceInner> beginCreateOrUpdate(String resourceGroupName, String serverName, ServerAdministratorResourceInner properties, Context context)

Creates or update active directory administrator on an existing server.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName)

Deletes server active directory administrator.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, Context context)

Deletes server active directory administrator.

abstract ServerAdministratorResourceInner createOrUpdate(String resourceGroupName, String serverName, ServerAdministratorResourceInner properties)

Creates or update active directory administrator on an existing server.

abstract ServerAdministratorResourceInner createOrUpdate(String resourceGroupName, String serverName, ServerAdministratorResourceInner properties, Context context)

Creates or update active directory administrator on an existing server.

abstract void delete(String resourceGroupName, String serverName)

Deletes server active directory administrator.

abstract void delete(String resourceGroupName, String serverName, Context context)

Deletes server active directory administrator.

abstract ServerAdministratorResourceInner get(String resourceGroupName, String serverName)

Gets information about a AAD server administrator.

abstract Response<ServerAdministratorResourceInner> getWithResponse(String resourceGroupName, String serverName, Context context)

Gets information about a AAD server administrator.

abstract PagedIterable<ServerAdministratorResourceInner> list(String resourceGroupName, String serverName)

Returns a list of server Administrators.

abstract PagedIterable<ServerAdministratorResourceInner> list(String resourceGroupName, String serverName, Context context)

Returns a list of server Administrators.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<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 Response<T> on successful completion of Mono.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ServerAdministratorResourceInner>,ServerAdministratorResourceInner> beginCreateOrUpdate(String resourceGroupName, String serverName, ServerAdministratorResourceInner properties, 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 Response<T> on successful completion of Mono.

beginDelete

public abstract SyncPoller<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 Response<T> on successful completion of Mono.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, 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 Response<T> on successful completion of Mono.

createOrUpdate

public abstract 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.

createOrUpdate

public abstract ServerAdministratorResourceInner createOrUpdate(String resourceGroupName, String serverName, ServerAdministratorResourceInner properties, 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.

delete

public abstract 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.

delete

public abstract void delete(String resourceGroupName, String serverName, 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.

get

public abstract 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.

getWithResponse

public abstract Response<ServerAdministratorResourceInner> getWithResponse(String resourceGroupName, String serverName, 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<T>.

list

public abstract 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.

list

public abstract PagedIterable<ServerAdministratorResourceInner> list(String resourceGroupName, String serverName, 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.

Applies to