public interface TagOperationsClient
| Modifier and Type | Method and Description |
|---|---|
TagDetailsInner |
createOrUpdate(String tagName)
This operation allows adding a name to the list of predefined tag names for the given subscription.
|
Mono<TagDetailsInner> |
createOrUpdateAsync(String tagName)
This operation allows adding a name to the list of predefined tag names for the given subscription.
|
TagsResourceInner |
createOrUpdateAtScope(String scope,
Tags properties)
This operation allows adding or replacing the entire set of tags on the specified resource or subscription.
|
Mono<TagsResourceInner> |
createOrUpdateAtScopeAsync(String scope,
Tags properties)
This operation allows adding or replacing the entire set of tags on the specified resource or subscription.
|
com.azure.core.http.rest.Response<TagsResourceInner> |
createOrUpdateAtScopeWithResponse(String scope,
Tags properties,
com.azure.core.util.Context context)
This operation allows adding or replacing the entire set of tags on the specified resource or subscription.
|
Mono<com.azure.core.http.rest.Response<TagsResourceInner>> |
createOrUpdateAtScopeWithResponseAsync(String scope,
Tags properties)
This operation allows adding or replacing the entire set of tags on the specified resource or subscription.
|
TagValueInner |
createOrUpdateValue(String tagName,
String tagValue)
This operation allows adding a value to the list of predefined values for an existing predefined tag name.
|
Mono<TagValueInner> |
createOrUpdateValueAsync(String tagName,
String tagValue)
This operation allows adding a value to the list of predefined values for an existing predefined tag name.
|
com.azure.core.http.rest.Response<TagValueInner> |
createOrUpdateValueWithResponse(String tagName,
String tagValue,
com.azure.core.util.Context context)
This operation allows adding a value to the list of predefined values for an existing predefined tag name.
|
Mono<com.azure.core.http.rest.Response<TagValueInner>> |
createOrUpdateValueWithResponseAsync(String tagName,
String tagValue)
This operation allows adding a value to the list of predefined values for an existing predefined tag name.
|
com.azure.core.http.rest.Response<TagDetailsInner> |
createOrUpdateWithResponse(String tagName,
com.azure.core.util.Context context)
This operation allows adding a name to the list of predefined tag names for the given subscription.
|
Mono<com.azure.core.http.rest.Response<TagDetailsInner>> |
createOrUpdateWithResponseAsync(String tagName)
This operation allows adding a name to the list of predefined tag names for the given subscription.
|
void |
delete(String tagName)
This operation allows deleting a name from the list of predefined tag names for the given subscription.
|
Mono<Void> |
deleteAsync(String tagName)
This operation allows deleting a name from the list of predefined tag names for the given subscription.
|
void |
deleteAtScope(String scope)
Deletes the entire set of tags on a resource or subscription.
|
Mono<Void> |
deleteAtScopeAsync(String scope)
Deletes the entire set of tags on a resource or subscription.
|
com.azure.core.http.rest.Response<Void> |
deleteAtScopeWithResponse(String scope,
com.azure.core.util.Context context)
Deletes the entire set of tags on a resource or subscription.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteAtScopeWithResponseAsync(String scope)
Deletes the entire set of tags on a resource or subscription.
|
void |
deleteValue(String tagName,
String tagValue)
This operation allows deleting a value from the list of predefined values for an existing predefined tag name.
|
Mono<Void> |
deleteValueAsync(String tagName,
String tagValue)
This operation allows deleting a value from the list of predefined values for an existing predefined tag name.
|
com.azure.core.http.rest.Response<Void> |
deleteValueWithResponse(String tagName,
String tagValue,
com.azure.core.util.Context context)
This operation allows deleting a value from the list of predefined values for an existing predefined tag name.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteValueWithResponseAsync(String tagName,
String tagValue)
This operation allows deleting a value from the list of predefined values for an existing predefined tag name.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String tagName,
com.azure.core.util.Context context)
This operation allows deleting a name from the list of predefined tag names for the given subscription.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteWithResponseAsync(String tagName)
This operation allows deleting a name from the list of predefined tag names for the given subscription.
|
TagsResourceInner |
getAtScope(String scope)
Gets the entire set of tags on a resource or subscription.
|
Mono<TagsResourceInner> |
getAtScopeAsync(String scope)
Gets the entire set of tags on a resource or subscription.
|
com.azure.core.http.rest.Response<TagsResourceInner> |
getAtScopeWithResponse(String scope,
com.azure.core.util.Context context)
Gets the entire set of tags on a resource or subscription.
|
Mono<com.azure.core.http.rest.Response<TagsResourceInner>> |
getAtScopeWithResponseAsync(String scope)
Gets the entire set of tags on a resource or subscription.
|
com.azure.core.http.rest.PagedIterable<TagDetailsInner> |
list()
This operation performs a union of predefined tags, resource tags, resource group tags and subscription tags, and
returns a summary of usage for each tag name and value under the given subscription.
|
com.azure.core.http.rest.PagedIterable<TagDetailsInner> |
list(com.azure.core.util.Context context)
This operation performs a union of predefined tags, resource tags, resource group tags and subscription tags, and
returns a summary of usage for each tag name and value under the given subscription.
|
com.azure.core.http.rest.PagedFlux<TagDetailsInner> |
listAsync()
This operation performs a union of predefined tags, resource tags, resource group tags and subscription tags, and
returns a summary of usage for each tag name and value under the given subscription.
|
TagsResourceInner |
updateAtScope(String scope,
TagsPatchResource parameters)
This operation allows replacing, merging or selectively deleting tags on the specified resource or subscription.
|
Mono<TagsResourceInner> |
updateAtScopeAsync(String scope,
TagsPatchResource parameters)
This operation allows replacing, merging or selectively deleting tags on the specified resource or subscription.
|
com.azure.core.http.rest.Response<TagsResourceInner> |
updateAtScopeWithResponse(String scope,
TagsPatchResource parameters,
com.azure.core.util.Context context)
This operation allows replacing, merging or selectively deleting tags on the specified resource or subscription.
|
Mono<com.azure.core.http.rest.Response<TagsResourceInner>> |
updateAtScopeWithResponseAsync(String scope,
TagsPatchResource parameters)
This operation allows replacing, merging or selectively deleting tags on the specified resource or subscription.
|
Mono<com.azure.core.http.rest.Response<Void>> deleteValueWithResponseAsync(String tagName, String tagValue)
tagName - The name of the tag.tagValue - The value of the tag to delete.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.Mono<Void> deleteValueAsync(String tagName, String tagValue)
tagName - The name of the tag.tagValue - The value of the tag to delete.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.void deleteValue(String tagName, String tagValue)
tagName - The name of the tag.tagValue - The value of the tag to delete.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<Void> deleteValueWithResponse(String tagName, String tagValue, com.azure.core.util.Context context)
tagName - The name of the tag.tagValue - The value of the tag to delete.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.Mono<com.azure.core.http.rest.Response<TagValueInner>> createOrUpdateValueWithResponseAsync(String tagName, String tagValue)
tagName - The name of the tag.tagValue - The value of the tag to create.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.Mono<TagValueInner> createOrUpdateValueAsync(String tagName, String tagValue)
tagName - The name of the tag.tagValue - The value of the tag to create.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.TagValueInner createOrUpdateValue(String tagName, String tagValue)
tagName - The name of the tag.tagValue - The value of the tag to create.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<TagValueInner> createOrUpdateValueWithResponse(String tagName, String tagValue, com.azure.core.util.Context context)
tagName - The name of the tag.tagValue - The value of the tag to create.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.Mono<com.azure.core.http.rest.Response<TagDetailsInner>> createOrUpdateWithResponseAsync(String tagName)
tagName - The name of the tag to create.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.Mono<TagDetailsInner> createOrUpdateAsync(String tagName)
tagName - The name of the tag to create.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.TagDetailsInner createOrUpdate(String tagName)
tagName - The name of the tag to create.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<TagDetailsInner> createOrUpdateWithResponse(String tagName, com.azure.core.util.Context context)
tagName - The name of the tag to create.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.Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String tagName)
tagName - The name of the tag.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.Mono<Void> deleteAsync(String tagName)
tagName - The name of the tag.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.void delete(String tagName)
tagName - The name of the tag.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<Void> deleteWithResponse(String tagName, com.azure.core.util.Context context)
tagName - The name of the tag.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.PagedFlux<TagDetailsInner> listAsync()
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<TagDetailsInner> 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<TagDetailsInner> 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.Mono<com.azure.core.http.rest.Response<TagsResourceInner>> createOrUpdateAtScopeWithResponseAsync(String scope, Tags properties)
scope - The resource scope.properties - The set of tags.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.Mono<TagsResourceInner> createOrUpdateAtScopeAsync(String scope, Tags properties)
scope - The resource scope.properties - The set of tags.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.TagsResourceInner createOrUpdateAtScope(String scope, Tags properties)
scope - The resource scope.properties - The set of tags.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<TagsResourceInner> createOrUpdateAtScopeWithResponse(String scope, Tags properties, com.azure.core.util.Context context)
scope - The resource scope.properties - The set of tags.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.Mono<com.azure.core.http.rest.Response<TagsResourceInner>> updateAtScopeWithResponseAsync(String scope, TagsPatchResource parameters)
scope - The resource scope.parameters - Wrapper resource for tags patch API request only.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.Mono<TagsResourceInner> updateAtScopeAsync(String scope, TagsPatchResource parameters)
scope - The resource scope.parameters - Wrapper resource for tags patch API request only.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.TagsResourceInner updateAtScope(String scope, TagsPatchResource parameters)
scope - The resource scope.parameters - Wrapper resource for tags patch API request only.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<TagsResourceInner> updateAtScopeWithResponse(String scope, TagsPatchResource parameters, com.azure.core.util.Context context)
scope - The resource scope.parameters - Wrapper resource for tags patch API request only.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.Mono<com.azure.core.http.rest.Response<TagsResourceInner>> getAtScopeWithResponseAsync(String scope)
scope - The resource scope.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.Mono<TagsResourceInner> getAtScopeAsync(String scope)
scope - The resource scope.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.TagsResourceInner getAtScope(String scope)
scope - The resource scope.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<TagsResourceInner> getAtScopeWithResponse(String scope, com.azure.core.util.Context context)
scope - The resource scope.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.Mono<com.azure.core.http.rest.Response<Void>> deleteAtScopeWithResponseAsync(String scope)
scope - The resource scope.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.Mono<Void> deleteAtScopeAsync(String scope)
scope - The resource scope.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.void deleteAtScope(String scope)
scope - The resource scope.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<Void> deleteAtScopeWithResponse(String scope, com.azure.core.util.Context context)
scope - The resource scope.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.Copyright © 2021 Microsoft Corporation. All rights reserved.