Interface VideoAnalyzers


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

      • list

        VideoAnalyzerCollection list​(String resourceGroupName)
        Lists the Video Analyzer accounts in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        Returns:
        a collection of VideoAnalyzer items.
        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<VideoAnalyzerCollection> listWithResponse​(String resourceGroupName,
                                                                                    com.azure.core.util.Context context)
        Lists the Video Analyzer accounts in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        context - The context to associate with this operation.
        Returns:
        a collection of VideoAnalyzer items 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.
      • getByResourceGroup

        VideoAnalyzer getByResourceGroup​(String resourceGroupName,
                                         String accountName)
        Get the details of the specified Video Analyzer account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - The Video Analyzer account name.
        Returns:
        the details of the specified Video Analyzer account.
        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.
      • getByResourceGroupWithResponse

        com.azure.core.http.rest.Response<VideoAnalyzer> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                        String accountName,
                                                                                        com.azure.core.util.Context context)
        Get the details of the specified Video Analyzer account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - The Video Analyzer account name.
        context - The context to associate with this operation.
        Returns:
        the details of the specified Video Analyzer account 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.
      • deleteByResourceGroup

        void deleteByResourceGroup​(String resourceGroupName,
                                   String accountName)
        Delete the specified Video Analyzer account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - The Video Analyzer account 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 accountName,
                                                                   com.azure.core.util.Context context)
        Delete the specified Video Analyzer account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - The Video Analyzer account 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.
      • listBySubscription

        VideoAnalyzerCollection listBySubscription()
        List all Video Analyzer accounts in the specified subscription.
        Returns:
        a collection of VideoAnalyzer items.
        Throws:
        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.
      • listBySubscriptionWithResponse

        com.azure.core.http.rest.Response<VideoAnalyzerCollection> listBySubscriptionWithResponse​(com.azure.core.util.Context context)
        List all Video Analyzer accounts in the specified subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        a collection of VideoAnalyzer items 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.
      • getById

        VideoAnalyzer getById​(String id)
        Get the details of the specified Video Analyzer account.
        Parameters:
        id - the resource ID.
        Returns:
        the details of the specified Video Analyzer account 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<VideoAnalyzer> getByIdWithResponse​(String id,
                                                                             com.azure.core.util.Context context)
        Get the details of the specified Video Analyzer account.
        Parameters:
        id - the resource ID.
        context - The context to associate with this operation.
        Returns:
        the details of the specified Video Analyzer account 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 the specified Video Analyzer account.
        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 the specified Video Analyzer account.
        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

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