Interface ArmTemplatesClient


public interface ArmTemplatesClient
An instance of this class provides access to all the operations defined in ArmTemplatesClient.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<ArmTemplateInner> list(String resourceGroupName, String labName, String artifactSourceName)
      List azure resource manager templates in a given artifact source.
      Parameters:
      resourceGroupName - The name of the resource group.
      labName - The name of the lab.
      artifactSourceName - The name of the artifact source.
      Returns:
      the response of a list operation 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<ArmTemplateInner> list(String resourceGroupName, String labName, String artifactSourceName, String expand, String filter, Integer top, String orderby, com.azure.core.util.Context context)
      List azure resource manager templates in a given artifact source.
      Parameters:
      resourceGroupName - The name of the resource group.
      labName - The name of the lab.
      artifactSourceName - The name of the artifact source.
      expand - Specify the $expand query. Example: 'properties($select=displayName)'.
      filter - The filter to apply to the operation. Example: '$filter=contains(name,'myName').
      top - The maximum number of resources to return from the operation. Example: '$top=10'.
      orderby - The ordering expression for the results, using OData notation. Example: '$orderby=name desc'.
      context - The context to associate with this operation.
      Returns:
      the response of a list operation 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<ArmTemplateInner> getWithResponse(String resourceGroupName, String labName, String artifactSourceName, String name, String expand, com.azure.core.util.Context context)
      Get azure resource manager template.
      Parameters:
      resourceGroupName - The name of the resource group.
      labName - The name of the lab.
      artifactSourceName - The name of the artifact source.
      name - The name of the azure resource manager template.
      expand - Specify the $expand query. Example: 'properties($select=displayName)'.
      context - The context to associate with this operation.
      Returns:
      azure resource manager template 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

      ArmTemplateInner get(String resourceGroupName, String labName, String artifactSourceName, String name)
      Get azure resource manager template.
      Parameters:
      resourceGroupName - The name of the resource group.
      labName - The name of the lab.
      artifactSourceName - The name of the artifact source.
      name - The name of the azure resource manager template.
      Returns:
      azure resource manager template.
      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.