Interface RuntimeBindings
public interface RuntimeBindings
Resource collection API of RuntimeBindings.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new RuntimeBinding resource.voidDeletes a runtime binding without deleting customer-owned referenced resources.voiddelete(String resourceGroupName, String spaceName, String bindingName, com.azure.core.util.Context context) Deletes a runtime binding without deleting customer-owned referenced resources.voiddeleteById(String id) Deletes a runtime binding without deleting customer-owned referenced resources.voiddeleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes a runtime binding without deleting customer-owned referenced resources.Gets a runtime binding.Gets a runtime binding.com.azure.core.http.rest.Response<RuntimeBinding> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets a runtime binding.com.azure.core.http.rest.Response<RuntimeBinding> getWithResponse(String resourceGroupName, String spaceName, String bindingName, com.azure.core.util.Context context) Gets a runtime binding.com.azure.core.http.rest.PagedIterable<RuntimeBinding> listByWorkloadSpace(String resourceGroupName, String spaceName) Lists runtime bindings in a workload space.com.azure.core.http.rest.PagedIterable<RuntimeBinding> listByWorkloadSpace(String resourceGroupName, String spaceName, com.azure.core.util.Context context) Lists runtime bindings in a workload space.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<RuntimeBinding> getWithResponse(String resourceGroupName, String spaceName, String bindingName, com.azure.core.util.Context context) Gets a runtime binding.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.bindingName- The name of the RuntimeBinding.context- The context to associate with this operation.- Returns:
- a runtime binding 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 runtime binding.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.bindingName- The name of the RuntimeBinding.- Returns:
- a runtime binding.
- 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
Deletes a runtime binding without deleting customer-owned referenced resources.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.bindingName- The name of the RuntimeBinding.- 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 bindingName, com.azure.core.util.Context context) Deletes a runtime binding without deleting customer-owned referenced resources.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.spaceName- The name of the WorkloadSpace.bindingName- The name of the RuntimeBinding.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<RuntimeBinding> listByWorkloadSpace(String resourceGroupName, String spaceName) Lists runtime bindings 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 RuntimeBinding 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<RuntimeBinding> listByWorkloadSpace(String resourceGroupName, String spaceName, com.azure.core.util.Context context) Lists runtime bindings 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 RuntimeBinding 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.
-
getById
Gets a runtime binding.- Parameters:
id- the resource ID.- Returns:
- a runtime binding 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<RuntimeBinding> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets a runtime binding.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Returns:
- a runtime binding 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.
-
deleteById
Deletes a runtime binding without deleting customer-owned referenced resources.- Parameters:
id- the resource ID.- 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.
-
deleteByIdWithResponse
Deletes a runtime binding without deleting customer-owned referenced resources.- Parameters:
id- the resource ID.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.
-
define
Begins definition for a new RuntimeBinding resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new RuntimeBinding definition.
-