Interface TagOperationLinks
public interface TagOperationLinks
Resource collection API of TagOperationLinks.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new TagOperationLinkContract resource.voidDeletes the specified operation from the specified tag.voiddeleteById(String id) Deletes the specified operation from the specified tag.com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes the specified operation from the specified tag.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String serviceName, String tagId, String operationLinkId, com.azure.core.util.Context context) Deletes the specified operation from the specified tag.Gets the operation link for the tag.Gets the operation link for the tag.com.azure.core.http.rest.Response<TagOperationLinkContract> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets the operation link for the tag.com.azure.core.http.rest.Response<TagOperationLinkContract> getWithResponse(String resourceGroupName, String serviceName, String tagId, String operationLinkId, com.azure.core.util.Context context) Gets the operation link for the tag.com.azure.core.http.rest.PagedIterable<TagOperationLinkContract> listByProduct(String resourceGroupName, String serviceName, String tagId) Lists a collection of the operation links associated with a tag.com.azure.core.http.rest.PagedIterable<TagOperationLinkContract> listByProduct(String resourceGroupName, String serviceName, String tagId, String filter, Integer top, Integer skip, com.azure.core.util.Context context) Lists a collection of the operation links associated with a tag.
-
Method Details
-
listByProduct
com.azure.core.http.rest.PagedIterable<TagOperationLinkContract> listByProduct(String resourceGroupName, String serviceName, String tagId) Lists a collection of the operation links associated with a tag.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceName- The name of the API Management service.tagId- Tag identifier. Must be unique in the current API Management service instance.- Returns:
- paged Tag-operation link list representation 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.
-
listByProduct
com.azure.core.http.rest.PagedIterable<TagOperationLinkContract> listByProduct(String resourceGroupName, String serviceName, String tagId, String filter, Integer top, Integer skip, com.azure.core.util.Context context) Lists a collection of the operation links associated with a tag.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceName- The name of the API Management service.tagId- Tag identifier. Must be unique in the current API Management service instance.filter- | Field | Usage | Supported operators | Supported functions |</br>|-------------|-------------|-------------|-------------|</br>| operationId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>.top- Number of records to return.skip- Number of records to skip.context- The context to associate with this operation.- Returns:
- paged Tag-operation link list representation 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.
-
getWithResponse
com.azure.core.http.rest.Response<TagOperationLinkContract> getWithResponse(String resourceGroupName, String serviceName, String tagId, String operationLinkId, com.azure.core.util.Context context) Gets the operation link for the tag.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceName- The name of the API Management service.tagId- Tag identifier. Must be unique in the current API Management service instance.operationLinkId- Tag-operation link identifier. Must be unique in the current API Management service instance.context- The context to associate with this operation.- Returns:
- the operation link for the tag.
- 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
TagOperationLinkContract get(String resourceGroupName, String serviceName, String tagId, String operationLinkId) Gets the operation link for the tag.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceName- The name of the API Management service.tagId- Tag identifier. Must be unique in the current API Management service instance.operationLinkId- Tag-operation link identifier. Must be unique in the current API Management service instance.- Returns:
- the operation link for the tag.
- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String serviceName, String tagId, String operationLinkId, com.azure.core.util.Context context) Deletes the specified operation from the specified tag.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceName- The name of the API Management service.tagId- Tag identifier. Must be unique in the current API Management service instance.operationLinkId- Tag-operation link identifier. Must be unique in the current API Management service instance.context- The context to associate with this operation.- Returns:
- the
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.
-
delete
Deletes the specified operation from the specified tag.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceName- The name of the API Management service.tagId- Tag identifier. Must be unique in the current API Management service instance.operationLinkId- Tag-operation link identifier. Must be unique in the current API Management service instance.- 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 the operation link for the tag.- Parameters:
id- the resource ID.- Returns:
- the operation link for the tag.
- 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<TagOperationLinkContract> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets the operation link for the tag.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Returns:
- the operation link for the tag.
- 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 the specified operation from the specified tag.- 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
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes the specified operation from the specified tag.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Returns:
- the
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.
-
define
Begins definition for a new TagOperationLinkContract resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new TagOperationLinkContract definition.
-