Interface Metadatas


  • public interface Metadatas
    Resource collection API of Metadatas.
    • Method Detail

      • list

        com.azure.core.http.rest.PagedIterable<MetadataModel> 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<MetadataModel> 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

        MetadataModel get​(String resourceGroupName,
                          String workspaceName,
                          String metadataName)
        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<MetadataModel> 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

        void delete​(String resourceGroupName,
                    String workspaceName,
                    String metadataName)
        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.
      • getById

        MetadataModel getById​(String id)
        Get a Metadata.
        Parameters:
        id - the resource ID.
        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.
      • getByIdWithResponse

        com.azure.core.http.rest.Response<MetadataModel> getByIdWithResponse​(String id,
                                                                             com.azure.core.util.Context context)
        Get a Metadata.
        Parameters:
        id - the resource ID.
        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.
      • deleteById

        void deleteById​(String id)
        Delete a Metadata.
        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)
        Delete a Metadata.
        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

        MetadataModel.DefinitionStages.Blank define​(String name)
        Begins definition for a new MetadataModel resource.
        Parameters:
        name - resource name.
        Returns:
        the first stage of the new MetadataModel definition.