Interface MetadatasClient
public interface MetadatasClient
An instance of this class provides access to all the operations defined in MetadatasClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String resourceGroupName, String workspaceName, String metadataName, MetadataModelInner metadata) Create a Metadata.com.azure.core.http.rest.Response<MetadataModelInner>
createWithResponse
(String resourceGroupName, String workspaceName, String metadataName, MetadataModelInner metadata, com.azure.core.util.Context context) Create a Metadata.void
Delete a Metadata.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String workspaceName, String metadataName, com.azure.core.util.Context context) Delete a Metadata.Get a Metadata.com.azure.core.http.rest.Response<MetadataModelInner>
getWithResponse
(String resourceGroupName, String workspaceName, String metadataName, com.azure.core.util.Context context) Get a Metadata.com.azure.core.http.rest.PagedIterable<MetadataModelInner>
List of all metadata.com.azure.core.http.rest.PagedIterable<MetadataModelInner>
list
(String resourceGroupName, String workspaceName, String filter, String orderby, Integer top, Integer skip, com.azure.core.util.Context context) List of all metadata.update
(String resourceGroupName, String workspaceName, String metadataName, MetadataPatch metadataPatch) Update an existing Metadata.com.azure.core.http.rest.Response<MetadataModelInner>
updateWithResponse
(String resourceGroupName, String workspaceName, String metadataName, MetadataPatch metadataPatch, com.azure.core.util.Context context) Update an existing Metadata.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<MetadataModelInner> list(String resourceGroupName, String workspaceName) List of all metadata.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.- Returns:
- list of all the metadata 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.
-
list
com.azure.core.http.rest.PagedIterable<MetadataModelInner> list(String resourceGroupName, String workspaceName, String filter, String orderby, Integer top, Integer skip, com.azure.core.util.Context context) List of all metadata.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.filter
- Filters the results, based on a Boolean condition. Optional.orderby
- Sorts the results. Optional.top
- Returns only the first n results. Optional.skip
- Used to skip n elements in the OData query (offset). Returns a nextLink to the next page of results if there are any left.context
- The context to associate with this operation.- Returns:
- list of all the metadata 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.
-
get
Get a Metadata.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.metadataName
- The Metadata name.- Returns:
- a Metadata.
- 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<MetadataModelInner> getWithResponse(String resourceGroupName, String workspaceName, String metadataName, com.azure.core.util.Context context) Get a Metadata.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.metadataName
- The Metadata name.context
- The context to associate with this operation.- Returns:
- a Metadata 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.
-
delete
Delete a Metadata.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.metadataName
- The Metadata name.- 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 workspaceName, String metadataName, com.azure.core.util.Context context) Delete a Metadata.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.metadataName
- The Metadata name.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.
-
create
MetadataModelInner create(String resourceGroupName, String workspaceName, String metadataName, MetadataModelInner metadata) Create a Metadata.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.metadataName
- The Metadata name.metadata
- Metadata resource.- Returns:
- metadata resource definition.
- 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.
-
createWithResponse
com.azure.core.http.rest.Response<MetadataModelInner> createWithResponse(String resourceGroupName, String workspaceName, String metadataName, MetadataModelInner metadata, com.azure.core.util.Context context) Create a Metadata.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.metadataName
- The Metadata name.metadata
- Metadata resource.context
- The context to associate with this operation.- Returns:
- metadata resource definition 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.
-
update
MetadataModelInner update(String resourceGroupName, String workspaceName, String metadataName, MetadataPatch metadataPatch) Update an existing Metadata.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.metadataName
- The Metadata name.metadataPatch
- Partial metadata request.- Returns:
- metadata resource definition.
- 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.
-
updateWithResponse
com.azure.core.http.rest.Response<MetadataModelInner> updateWithResponse(String resourceGroupName, String workspaceName, String metadataName, MetadataPatch metadataPatch, com.azure.core.util.Context context) Update an existing Metadata.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.metadataName
- The Metadata name.metadataPatch
- Partial metadata request.context
- The context to associate with this operation.- Returns:
- metadata resource definition 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.
-