Interface ServiceTagsClient
public interface ServiceTagsClient
An instance of this class provides access to all the operations defined in ServiceTagsClient.
-
Method Summary
Modifier and TypeMethodDescriptionGets a list of service tag information resources.Gets a list of service tag information resources.com.azure.core.http.rest.Response<ServiceTagsListResultInner> listWithResponse(String location, com.azure.core.util.Context context) Gets a list of service tag information resources.Mono<com.azure.core.http.rest.Response<ServiceTagsListResultInner>> listWithResponseAsync(String location) Gets a list of service tag information resources.
-
Method Details
-
listWithResponseAsync
Mono<com.azure.core.http.rest.Response<ServiceTagsListResultInner>> listWithResponseAsync(String location) Gets a list of service tag information resources.- Parameters:
location- The location that will be used as a reference for version (not as a filter based on location, you will get the list of service tags with prefix details across all regions but limited to the cloud that your subscription belongs to).- Returns:
- a list of service tag information resources along with
Responseon successful completion ofMono. - 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.
-
listAsync
Gets a list of service tag information resources.- Parameters:
location- The location that will be used as a reference for version (not as a filter based on location, you will get the list of service tags with prefix details across all regions but limited to the cloud that your subscription belongs to).- Returns:
- a list of service tag information resources on successful completion of
Mono. - 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.
-
listWithResponse
com.azure.core.http.rest.Response<ServiceTagsListResultInner> listWithResponse(String location, com.azure.core.util.Context context) Gets a list of service tag information resources.- Parameters:
location- The location that will be used as a reference for version (not as a filter based on location, you will get the list of service tags with prefix details across all regions but limited to the cloud that your subscription belongs to).context- The context to associate with this operation.- Returns:
- a list of service tag information resources 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.
-
list
Gets a list of service tag information resources.- Parameters:
location- The location that will be used as a reference for version (not as a filter based on location, you will get the list of service tags with prefix details across all regions but limited to the cloud that your subscription belongs to).- Returns:
- a list of service tag information resources.
- 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.
-