Interface CapabilitiesClient
public interface CapabilitiesClient
An instance of this class provides access to all the operations defined in CapabilitiesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CapabilityInner>, CapabilityInner> beginCreateOrUpdate(String resourceGroupName, String spaceName, String capabilityName, CapabilityInner resource) Creates or replaces a capability.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CapabilityInner>, CapabilityInner> beginCreateOrUpdate(String resourceGroupName, String spaceName, String capabilityName, CapabilityInner resource, com.azure.core.util.Context context) Creates or replaces a capability.beginDelete(String resourceGroupName, String spaceName, String capabilityName) Disables and deletes a capability.beginDelete(String resourceGroupName, String spaceName, String capabilityName, com.azure.core.util.Context context) Disables and deletes a capability.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CapabilityInner>, CapabilityInner> beginUpdate(String resourceGroupName, String spaceName, String capabilityName, CapabilityUpdate properties) Updates mutable capability properties.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CapabilityInner>, CapabilityInner> beginUpdate(String resourceGroupName, String spaceName, String capabilityName, CapabilityUpdate properties, com.azure.core.util.Context context) Updates mutable capability properties.createOrUpdate(String resourceGroupName, String spaceName, String capabilityName, CapabilityInner resource) Creates or replaces a capability.createOrUpdate(String resourceGroupName, String spaceName, String capabilityName, CapabilityInner resource, com.azure.core.util.Context context) Creates or replaces a capability.voidDisables and deletes a capability.voiddelete(String resourceGroupName, String spaceName, String capabilityName, com.azure.core.util.Context context) Disables and deletes a capability.Gets a capability.com.azure.core.http.rest.Response<CapabilityInner> getWithResponse(String resourceGroupName, String spaceName, String capabilityName, com.azure.core.util.Context context) Gets a capability.com.azure.core.http.rest.PagedIterable<CapabilityInner> listByWorkloadSpace(String resourceGroupName, String spaceName) Lists capabilities in a workload space.com.azure.core.http.rest.PagedIterable<CapabilityInner> listByWorkloadSpace(String resourceGroupName, String spaceName, com.azure.core.util.Context context) Lists capabilities in a workload space.update(String resourceGroupName, String spaceName, String capabilityName, CapabilityUpdate properties) Updates mutable capability properties.update(String resourceGroupName, String spaceName, String capabilityName, CapabilityUpdate properties, com.azure.core.util.Context context) Updates mutable capability properties.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<CapabilityInner> getWithResponse(String resourceGroupName, String spaceName, String capabilityName, com.azure.core.util.Context context) Gets a capability.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.capabilityName- The name of the Capability.context- The context to associate with this operation.- Returns:
- a capability 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 capability.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.capabilityName- The name of the Capability.- Returns:
- a capability.
- 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<CapabilityInner>, CapabilityInner> beginCreateOrUpdate(String resourceGroupName, String spaceName, String capabilityName, CapabilityInner resource) Creates or replaces a capability.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.capabilityName- The name of the Capability.resource- Resource create parameters.- Returns:
- the
SyncPollerfor polling of a capability enabled for a workload space. - 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<CapabilityInner>, CapabilityInner> beginCreateOrUpdate(String resourceGroupName, String spaceName, String capabilityName, CapabilityInner resource, com.azure.core.util.Context context) Creates or replaces a capability.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.capabilityName- The name of the Capability.resource- Resource create parameters.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of a capability enabled for a workload space. - 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
CapabilityInner createOrUpdate(String resourceGroupName, String spaceName, String capabilityName, CapabilityInner resource) Creates or replaces a capability.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.capabilityName- The name of the Capability.resource- Resource create parameters.- Returns:
- a capability enabled for a workload space.
- 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
CapabilityInner createOrUpdate(String resourceGroupName, String spaceName, String capabilityName, CapabilityInner resource, com.azure.core.util.Context context) Creates or replaces a capability.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.capabilityName- The name of the Capability.resource- Resource create parameters.context- The context to associate with this operation.- Returns:
- a capability enabled for a workload space.
- 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CapabilityInner>, CapabilityInner> beginUpdate(String resourceGroupName, String spaceName, String capabilityName, CapabilityUpdate properties) Updates mutable capability properties.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.capabilityName- The name of the Capability.properties- The resource properties to be updated.- Returns:
- the
SyncPollerfor polling of a capability enabled for a workload space. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CapabilityInner>, CapabilityInner> beginUpdate(String resourceGroupName, String spaceName, String capabilityName, CapabilityUpdate properties, com.azure.core.util.Context context) Updates mutable capability properties.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.capabilityName- The name of the Capability.properties- The resource properties to be updated.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of a capability enabled for a workload space. - 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.
-
update
CapabilityInner update(String resourceGroupName, String spaceName, String capabilityName, CapabilityUpdate properties) Updates mutable capability properties.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.capabilityName- The name of the Capability.properties- The resource properties to be updated.- Returns:
- a capability enabled for a workload space.
- 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.
-
update
CapabilityInner update(String resourceGroupName, String spaceName, String capabilityName, CapabilityUpdate properties, com.azure.core.util.Context context) Updates mutable capability properties.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.capabilityName- The name of the Capability.properties- The resource properties to be updated.context- The context to associate with this operation.- Returns:
- a capability enabled for a workload space.
- 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 spaceName, String capabilityName) Disables and deletes a capability.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.capabilityName- The name of the Capability.- Returns:
- the
SyncPollerfor 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 spaceName, String capabilityName, com.azure.core.util.Context context) Disables and deletes a capability.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.capabilityName- The name of the Capability.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor 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
Disables and deletes a capability.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.capabilityName- The name of the Capability.- 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 spaceName, String capabilityName, com.azure.core.util.Context context) Disables and deletes a capability.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.capabilityName- The name of the Capability.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.
-
listByWorkloadSpace
com.azure.core.http.rest.PagedIterable<CapabilityInner> listByWorkloadSpace(String resourceGroupName, String spaceName) Lists capabilities in a workload space.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.- Returns:
- the response of a Capability list operation as paginated response with
PagedIterable. - 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.
-
listByWorkloadSpace
com.azure.core.http.rest.PagedIterable<CapabilityInner> listByWorkloadSpace(String resourceGroupName, String spaceName, com.azure.core.util.Context context) Lists capabilities in a workload space.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.context- The context to associate with this operation.- Returns:
- the response of a Capability list operation as paginated response with
PagedIterable. - 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.
-