Interface WorkspaceAadAdminsClient
-
public interface WorkspaceAadAdminsClient
An instance of this class provides access to all the operations defined in WorkspaceAadAdminsClient.
-
-
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<WorkspaceAadAdminInfoInner>,WorkspaceAadAdminInfoInner>
beginCreateOrUpdate(String resourceGroupName, String workspaceName, WorkspaceAadAdminInfoInner aadAdminInfo)
Creates or updates a workspace active directory admin.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceAadAdminInfoInner>,WorkspaceAadAdminInfoInner>
beginCreateOrUpdate(String resourceGroupName, String workspaceName, WorkspaceAadAdminInfoInner aadAdminInfo, com.azure.core.util.Context context)
Creates or updates a workspace active directory admin.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String workspaceName)
Deletes a workspace active directory admin.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
Deletes a workspace active directory admin.WorkspaceAadAdminInfoInner
createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceAadAdminInfoInner aadAdminInfo)
Creates or updates a workspace active directory admin.WorkspaceAadAdminInfoInner
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)
Deletes a workspace active directory admin.void
delete(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
Deletes a workspace active directory admin.WorkspaceAadAdminInfoInner
get(String resourceGroupName, String workspaceName)
Gets a workspace active directory admin.com.azure.core.http.rest.Response<WorkspaceAadAdminInfoInner>
getWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
Gets a workspace active directory admin.
-
-
-
Method Detail
-
get
WorkspaceAadAdminInfoInner 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<WorkspaceAadAdminInfoInner> 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceAadAdminInfoInner>,WorkspaceAadAdminInfoInner> beginCreateOrUpdate(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:
- the
SyncPoller
for polling of 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceAadAdminInfoInner>,WorkspaceAadAdminInfoInner> beginCreateOrUpdate(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:
- the
SyncPoller
for polling of 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
WorkspaceAadAdminInfoInner 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
WorkspaceAadAdminInfoInner 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
delete
void delete(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.
-
-