WorkspacesClient Interface
public interface WorkspacesClient
An instance of this class provides access to all the operations defined in WorkspacesClient.
Method Summary
Method Details
beginCreateOrUpdate
public abstract SyncPoller<PollResult<WorkspaceInner>,WorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters)
Create or update a workspace.
Parameters:
Returns:
beginCreateOrUpdate
public abstract SyncPoller<PollResult<WorkspaceInner>,WorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters, Context context)
Create or update a workspace.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName)
Deletes a workspace resource. To recover the workspace, create it again with the same name, in the same subscription, resource group and location. The name is kept for 14 days and cannot be used for another workspace. To remove the workspace completely and release the name, use the force flag.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, Boolean force, Context context)
Deletes a workspace resource. To recover the workspace, create it again with the same name, in the same subscription, resource group and location. The name is kept for 14 days and cannot be used for another workspace. To remove the workspace completely and release the name, use the force flag.
Parameters:
Returns:
beginFailback
public abstract SyncPoller<PollResult<Void>,Void> beginFailback(String resourceGroupName, String workspaceName)
Deactivates failover for the specified workspace. The failback operation is asynchronous and can take up to 30 minutes to complete. The status of the operation can be checked using the operationId returned in the response.
Parameters:
Returns:
beginFailback
public abstract SyncPoller<PollResult<Void>,Void> beginFailback(String resourceGroupName, String workspaceName, Context context)
Deactivates failover for the specified workspace. The failback operation is asynchronous and can take up to 30 minutes to complete. The status of the operation can be checked using the operationId returned in the response.
Parameters:
Returns:
beginFailover
public abstract SyncPoller<PollResult<Void>,Void> beginFailover(String resourceGroupName, String location, String workspaceName)
Activates failover for the specified workspace. The specified replication location must match the location of the enabled replication for this workspace. The failover operation is asynchronous and can take up to 30 minutes to complete. The status of the operation can be checked using the operationId returned in the response.
Parameters:
Returns:
beginFailover
public abstract SyncPoller<PollResult<Void>,Void> beginFailover(String resourceGroupName, String location, String workspaceName, Context context)
Activates failover for the specified workspace. The specified replication location must match the location of the enabled replication for this workspace. The failover operation is asynchronous and can take up to 30 minutes to complete. The status of the operation can be checked using the operationId returned in the response.
Parameters:
Returns:
beginReconcileNsp
public abstract SyncPoller<PollResult<Void>,Void> beginReconcileNsp(String resourceGroupName, String workspaceName, String networkSecurityPerimeterConfigurationName)
Reconcile network security perimeter configuration for Workspace resource.
Parameters:
Returns:
beginReconcileNsp
public abstract SyncPoller<PollResult<Void>,Void> beginReconcileNsp(String resourceGroupName, String workspaceName, String networkSecurityPerimeterConfigurationName, Context context)
Reconcile network security perimeter configuration for Workspace resource.
Parameters:
Returns:
createOrUpdate
public abstract WorkspaceInner createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters)
Create or update a workspace.
Parameters:
Returns:
createOrUpdate
public abstract WorkspaceInner createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters, Context context)
Create or update a workspace.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String workspaceName)
Deletes a workspace resource. To recover the workspace, create it again with the same name, in the same subscription, resource group and location. The name is kept for 14 days and cannot be used for another workspace. To remove the workspace completely and release the name, use the force flag.
Parameters:
delete
public abstract void delete(String resourceGroupName, String workspaceName, Boolean force, Context context)
Deletes a workspace resource. To recover the workspace, create it again with the same name, in the same subscription, resource group and location. The name is kept for 14 days and cannot be used for another workspace. To remove the workspace completely and release the name, use the force flag.
Parameters:
failback
public abstract void failback(String resourceGroupName, String workspaceName)
Deactivates failover for the specified workspace. The failback operation is asynchronous and can take up to 30 minutes to complete. The status of the operation can be checked using the operationId returned in the response.
Parameters:
failback
public abstract void failback(String resourceGroupName, String workspaceName, Context context)
Deactivates failover for the specified workspace. The failback operation is asynchronous and can take up to 30 minutes to complete. The status of the operation can be checked using the operationId returned in the response.
Parameters:
failover
public abstract void failover(String resourceGroupName, String location, String workspaceName)
Activates failover for the specified workspace. The specified replication location must match the location of the enabled replication for this workspace. The failover operation is asynchronous and can take up to 30 minutes to complete. The status of the operation can be checked using the operationId returned in the response.
Parameters:
failover
public abstract void failover(String resourceGroupName, String location, String workspaceName, Context context)
Activates failover for the specified workspace. The specified replication location must match the location of the enabled replication for this workspace. The failover operation is asynchronous and can take up to 30 minutes to complete. The status of the operation can be checked using the operationId returned in the response.
Parameters:
getByResourceGroup
public abstract WorkspaceInner getByResourceGroup(String resourceGroupName, String workspaceName)
Gets a workspace instance.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<WorkspaceInner> getByResourceGroupWithResponse(String resourceGroupName, String workspaceName, Context context)
Gets a workspace instance.
Parameters:
Returns:
getNsp
public abstract NetworkSecurityPerimeterConfigurationInner getNsp(String resourceGroupName, String workspaceName, String networkSecurityPerimeterConfigurationName)
Gets a network security perimeter configuration.
Parameters:
Returns:
getNspWithResponse
public abstract Response<NetworkSecurityPerimeterConfigurationInner> getNspWithResponse(String resourceGroupName, String workspaceName, String networkSecurityPerimeterConfigurationName, Context context)
Gets a network security perimeter configuration.
Parameters:
Returns:
list
public abstract PagedIterable<WorkspaceInner> list()
Gets the workspaces in a subscription.
Returns:
list
public abstract PagedIterable<WorkspaceInner> list(Context context)
Gets the workspaces in a subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<WorkspaceInner> listByResourceGroup(String resourceGroupName)
Gets workspaces in a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<WorkspaceInner> listByResourceGroup(String resourceGroupName, Context context)
Gets workspaces in a resource group.
Parameters:
Returns:
listNsp
public abstract PagedIterable<NetworkSecurityPerimeterConfigurationInner> listNsp(String resourceGroupName, String workspaceName)
Gets a list of NSP configurations for specified workspace.
Parameters:
Returns:
listNsp
public abstract PagedIterable<NetworkSecurityPerimeterConfigurationInner> listNsp(String resourceGroupName, String workspaceName, Context context)
Gets a list of NSP configurations for specified workspace.
Parameters:
Returns:
reconcileNsp
public abstract void reconcileNsp(String resourceGroupName, String workspaceName, String networkSecurityPerimeterConfigurationName)
Reconcile network security perimeter configuration for Workspace resource.
Parameters:
reconcileNsp
public abstract void reconcileNsp(String resourceGroupName, String workspaceName, String networkSecurityPerimeterConfigurationName, Context context)
Reconcile network security perimeter configuration for Workspace resource.
Parameters:
update
public abstract WorkspaceInner update(String resourceGroupName, String workspaceName, WorkspacePatch parameters)
Updates a workspace.
Parameters:
Returns:
updateWithResponse
public abstract Response<WorkspaceInner> updateWithResponse(String resourceGroupName, String workspaceName, WorkspacePatch parameters, Context context)
Updates a workspace.
Parameters:
Returns: