Workspaces Interface
public interface Workspaces
Resource collection API of Workspaces.
Method Summary
Method Details
define
public abstract Workspace.DefinitionStages.Blank define(String name)
Begins definition for a new Workspace resource.
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:
deleteById
public abstract void deleteById(String id)
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:
deleteByIdWithResponse
public abstract void deleteByIdWithResponse(String id, 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:
getById
public abstract Workspace getById(String id)
Gets a workspace instance.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<Workspace> getByIdWithResponse(String id, Context context)
Gets a workspace instance.
Parameters:
Returns:
getByResourceGroup
public abstract Workspace getByResourceGroup(String resourceGroupName, String workspaceName)
Gets a workspace instance.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<Workspace> getByResourceGroupWithResponse(String resourceGroupName, String workspaceName, Context context)
Gets a workspace instance.
Parameters:
Returns:
getNsp
public abstract NetworkSecurityPerimeterConfiguration getNsp(String resourceGroupName, String workspaceName, String networkSecurityPerimeterConfigurationName)
Gets a network security perimeter configuration.
Parameters:
Returns:
getNspWithResponse
public abstract Response<NetworkSecurityPerimeterConfiguration> getNspWithResponse(String resourceGroupName, String workspaceName, String networkSecurityPerimeterConfigurationName, Context context)
Gets a network security perimeter configuration.
Parameters:
Returns:
list
public abstract PagedIterable<Workspace> list()
Gets the workspaces in a subscription.
Returns:
list
public abstract PagedIterable<Workspace> list(Context context)
Gets the workspaces in a subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<Workspace> listByResourceGroup(String resourceGroupName)
Gets workspaces in a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<Workspace> listByResourceGroup(String resourceGroupName, Context context)
Gets workspaces in a resource group.
Parameters:
Returns:
listNsp
public abstract PagedIterable<NetworkSecurityPerimeterConfiguration> listNsp(String resourceGroupName, String workspaceName)
Gets a list of NSP configurations for specified workspace.
Parameters:
Returns:
listNsp
public abstract PagedIterable<NetworkSecurityPerimeterConfiguration> 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: