public interface WorkspacesClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceInner>,WorkspaceInner> |
beginCreateOrUpdate(String resourceGroupName,
String workspaceName,
WorkspaceInner workspaceInfo)
Creates or updates a workspace.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceInner>,WorkspaceInner> |
beginCreateOrUpdate(String resourceGroupName,
String workspaceName,
WorkspaceInner workspaceInfo,
com.azure.core.util.Context context)
Creates or updates a workspace.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> |
beginDelete(String resourceGroupName,
String workspaceName)
Deletes a workspace.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> |
beginDelete(String resourceGroupName,
String workspaceName,
com.azure.core.util.Context context)
Deletes a workspace.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceInner>,WorkspaceInner> |
beginUpdate(String resourceGroupName,
String workspaceName,
WorkspacePatchInfo workspacePatchInfo)
Updates a workspace.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceInner>,WorkspaceInner> |
beginUpdate(String resourceGroupName,
String workspaceName,
WorkspacePatchInfo workspacePatchInfo,
com.azure.core.util.Context context)
Updates a workspace.
|
WorkspaceInner |
createOrUpdate(String resourceGroupName,
String workspaceName,
WorkspaceInner workspaceInfo)
Creates or updates a workspace.
|
WorkspaceInner |
createOrUpdate(String resourceGroupName,
String workspaceName,
WorkspaceInner workspaceInfo,
com.azure.core.util.Context context)
Creates or updates a workspace.
|
Object |
delete(String resourceGroupName,
String workspaceName)
Deletes a workspace.
|
Object |
delete(String resourceGroupName,
String workspaceName,
com.azure.core.util.Context context)
Deletes a workspace.
|
WorkspaceInner |
getByResourceGroup(String resourceGroupName,
String workspaceName)
Gets a workspace.
|
com.azure.core.http.rest.Response<WorkspaceInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String workspaceName,
com.azure.core.util.Context context)
Gets a workspace.
|
com.azure.core.http.rest.PagedIterable<WorkspaceInner> |
list()
Returns a list of workspaces in a subscription.
|
com.azure.core.http.rest.PagedIterable<WorkspaceInner> |
list(com.azure.core.util.Context context)
Returns a list of workspaces in a subscription.
|
com.azure.core.http.rest.PagedIterable<WorkspaceInner> |
listByResourceGroup(String resourceGroupName)
Returns a list of workspaces in a resource group.
|
com.azure.core.http.rest.PagedIterable<WorkspaceInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Returns a list of workspaces in a resource group.
|
WorkspaceInner |
update(String resourceGroupName,
String workspaceName,
WorkspacePatchInfo workspacePatchInfo)
Updates a workspace.
|
WorkspaceInner |
update(String resourceGroupName,
String workspaceName,
WorkspacePatchInfo workspacePatchInfo,
com.azure.core.util.Context context)
Updates a workspace.
|
com.azure.core.http.rest.PagedIterable<WorkspaceInner> listByResourceGroup(String resourceGroupName)
resourceGroupName
- The name of the resource group. The name is case insensitive.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.com.azure.core.http.rest.PagedIterable<WorkspaceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.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.WorkspaceInner getByResourceGroup(String resourceGroupName, String workspaceName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.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.com.azure.core.http.rest.Response<WorkspaceInner> getByResourceGroupWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
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.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceInner>,WorkspaceInner> beginUpdate(String resourceGroupName, String workspaceName, WorkspacePatchInfo workspacePatchInfo)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.workspacePatchInfo
- Workspace patch request properties.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceInner>,WorkspaceInner> beginUpdate(String resourceGroupName, String workspaceName, WorkspacePatchInfo workspacePatchInfo, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.workspacePatchInfo
- Workspace patch request properties.context
- The context to associate with this operation.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.WorkspaceInner update(String resourceGroupName, String workspaceName, WorkspacePatchInfo workspacePatchInfo)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.workspacePatchInfo
- Workspace patch request properties.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.WorkspaceInner update(String resourceGroupName, String workspaceName, WorkspacePatchInfo workspacePatchInfo, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.workspacePatchInfo
- Workspace patch request properties.context
- The context to associate with this operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceInner>,WorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner workspaceInfo)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.workspaceInfo
- Workspace create or update request properties.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceInner>,WorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner workspaceInfo, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.workspaceInfo
- Workspace create or update request properties.context
- The context to associate with this operation.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.WorkspaceInner createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner workspaceInfo)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.workspaceInfo
- Workspace create or update request properties.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.WorkspaceInner createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner workspaceInfo, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.workspaceInfo
- Workspace create or update request properties.context
- The context to associate with this operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> beginDelete(String resourceGroupName, String workspaceName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> beginDelete(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
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.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.Object delete(String resourceGroupName, String workspaceName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.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.Object delete(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
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.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.com.azure.core.http.rest.PagedIterable<WorkspaceInner> list()
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.com.azure.core.http.rest.PagedIterable<WorkspaceInner> list(com.azure.core.util.Context context)
context
- The context to associate with this operation.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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.