Interface GlobalParameters


public interface GlobalParameters
Resource collection API of GlobalParameters.
  • Method Details

    • listByFactory

      com.azure.core.http.rest.PagedIterable<GlobalParameterResource> listByFactory(String resourceGroupName, String factoryName)
      Lists Global parameters.
      Parameters:
      resourceGroupName - The resource group name.
      factoryName - The factory name.
      Returns:
      a list of Global parameters 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.
    • listByFactory

      com.azure.core.http.rest.PagedIterable<GlobalParameterResource> listByFactory(String resourceGroupName, String factoryName, com.azure.core.util.Context context)
      Lists Global parameters.
      Parameters:
      resourceGroupName - The resource group name.
      factoryName - The factory name.
      context - The context to associate with this operation.
      Returns:
      a list of Global parameters 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.
    • getWithResponse

      com.azure.core.http.rest.Response<GlobalParameterResource> getWithResponse(String resourceGroupName, String factoryName, String globalParameterName, com.azure.core.util.Context context)
      Gets a Global parameter.
      Parameters:
      resourceGroupName - The resource group name.
      factoryName - The factory name.
      globalParameterName - The global parameter name.
      context - The context to associate with this operation.
      Returns:
      a Global parameter 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.
    • get

      GlobalParameterResource get(String resourceGroupName, String factoryName, String globalParameterName)
      Gets a Global parameter.
      Parameters:
      resourceGroupName - The resource group name.
      factoryName - The factory name.
      globalParameterName - The global parameter name.
      Returns:
      a Global parameter.
      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 factoryName, String globalParameterName, com.azure.core.util.Context context)
      Deletes a Global parameter.
      Parameters:
      resourceGroupName - The resource group name.
      factoryName - The factory name.
      globalParameterName - The global parameter 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.
    • delete

      void delete(String resourceGroupName, String factoryName, String globalParameterName)
      Deletes a Global parameter.
      Parameters:
      resourceGroupName - The resource group name.
      factoryName - The factory name.
      globalParameterName - The global parameter 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.
    • getById

      Gets a Global parameter.
      Parameters:
      id - the resource ID.
      Returns:
      a Global parameter 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<GlobalParameterResource> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets a Global parameter.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      a Global parameter 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)
      Deletes a Global parameter.
      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)
      Deletes a Global parameter.
      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

      Begins definition for a new GlobalParameterResource resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new GlobalParameterResource definition.