ServerAdministrators Interface

public interface ServerAdministrators

Resource collection API of ServerAdministrators.

Method Summary

Modifier and Type Method and Description
abstract ServerAdministratorResource createOrUpdate(String resourceGroupName, String serverName, ServerAdministratorResourceInner properties)

Creates or update active directory administrator on an existing server.

abstract ServerAdministratorResource 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, Context context)

Deletes server active directory administrator.

abstract void deleteByResourceGroup(String resourceGroupName, String serverName)

Deletes server active directory administrator.

abstract ServerAdministratorResource get(String resourceGroupName, String serverName)

Gets information about a AAD server administrator.

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

Gets information about a AAD server administrator.

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

Returns a list of server Administrators.

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

Returns a list of server Administrators.

Method Details

createOrUpdate

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

deleteByResourceGroup

public abstract void deleteByResourceGroup(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.

get

public abstract ServerAdministratorResource 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<ServerAdministratorResource> 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<ServerAdministratorResource> 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 as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ServerAdministratorResource> 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 as paginated response with PagedIterable<T>.

Applies to