Interface WorkspaceAadAdmins
public interface WorkspaceAadAdmins
Resource collection API of WorkspaceAadAdmins.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String workspaceName, WorkspaceAadAdminInfoInner aadAdminInfo) Creates or updates a workspace active directory admin.createOrUpdate
(String resourceGroupName, String workspaceName, WorkspaceAadAdminInfoInner aadAdminInfo, com.azure.core.util.Context context) Creates or updates a workspace active directory admin.void
Deletes a workspace active directory admin.void
deleteByResourceGroup
(String resourceGroupName, String workspaceName) Deletes a workspace active directory admin.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 Details
-
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.
-
get
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.
-
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
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
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.
-