Interface WorkspaceAadAdmins
-
public interface WorkspaceAadAdmins
Resource collection API of WorkspaceAadAdmins.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkspaceAadAdminInfo
createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceAadAdminInfoInner aadAdminInfo)
Creates or updates a workspace active directory admin.WorkspaceAadAdminInfo
createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceAadAdminInfoInner aadAdminInfo, com.azure.core.util.Context context)
Creates or updates a workspace active directory admin.void
delete(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
Deletes a workspace active directory admin.void
deleteByResourceGroup(String resourceGroupName, String workspaceName)
Deletes a workspace active directory admin.WorkspaceAadAdminInfo
get(String resourceGroupName, String workspaceName)
Gets a workspace active directory admin.com.azure.core.http.rest.Response<WorkspaceAadAdminInfo>
getWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
Gets a workspace active directory admin.
-
-
-
Method Detail
-
get
WorkspaceAadAdminInfo get(String resourceGroupName, String workspaceName)
Gets a workspace active directory admin.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.- Returns:
- a workspace active directory admin.
- 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<WorkspaceAadAdminInfo> getWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
Gets a workspace active directory admin.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.context
- The context to associate with this operation.- Returns:
- a workspace active directory admin 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.
-
createOrUpdate
WorkspaceAadAdminInfo createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceAadAdminInfoInner aadAdminInfo)
Creates or updates a workspace active directory admin.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.aadAdminInfo
- Workspace active directory administrator properties.- Returns:
- workspace 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.
-
createOrUpdate
WorkspaceAadAdminInfo createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceAadAdminInfoInner aadAdminInfo, com.azure.core.util.Context context)
Creates or updates a workspace active directory admin.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.aadAdminInfo
- Workspace active directory administrator properties.context
- The context to associate with this operation.- Returns:
- workspace 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.
-
deleteByResourceGroup
void deleteByResourceGroup(String resourceGroupName, String workspaceName)
Deletes a workspace active directory admin.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.- 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 workspaceName, com.azure.core.util.Context context)
Deletes a workspace active directory admin.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.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.
-
-