Interface ContainerGroups

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<ContainerInstanceManager>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation<ContainerGroup>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion, com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<ContainerGroup.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<ContainerGroup>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup<ContainerGroup>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing<ContainerGroup>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsListingByResourceGroup<ContainerGroup>

public interface ContainerGroups extends com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<ContainerGroup.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<ContainerInstanceManager>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation<ContainerGroup>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup<ContainerGroup>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<ContainerGroup>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsListingByResourceGroup<ContainerGroup>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing<ContainerGroup>
Entry point to the container instance management API.
  • Method Summary

    Modifier and Type
    Method
    Description
    attachOutputStream(String resourceGroupName, String containerGroupName, String containerName)
    Attaches to the output stream of a specific container instance in a specified container group.
    attachOutputStreamAsync(String resourceGroupName, String containerGroupName, String containerName)
    Attaches to the output stream of a specific container instance in a specified container group.
    getLogContent(String resourceGroupName, String containerGroupName, String containerName)
    Get the log content for the specified container instance within a container group.
    getLogContent(String resourceGroupName, String containerGroupName, String containerName, int tailLineCount)
    Get the log content for the specified container instance within a container group.
    getLogContentAsync(String resourceGroupName, String containerGroupName, String containerName)
    Get the log content for the specified container instance within a container group.
    getLogContentAsync(String resourceGroupName, String containerGroupName, String containerName, int tailLineCount)
    Get the log content for the specified container instance within a container group.
    com.azure.core.http.rest.PagedIterable<CachedImages>
    Lists cached images for a subscription in a region.
    com.azure.core.http.rest.PagedFlux<CachedImages>
    Lists cached images for a subscription in a region.
    com.azure.core.http.rest.PagedIterable<Capabilities>
    Lists the capabilities of a location.
    com.azure.core.http.rest.PagedFlux<Capabilities>
    Lists the capabilities of a location.
    com.azure.core.http.rest.PagedIterable<Operation>
    Lists all operations for Azure Container Instance service.
    com.azure.core.http.rest.PagedFlux<Operation>
    Lists all operations for Azure Container Instance service.
    void
    start(String resourceGroupName, String containerGroupName)
    Starts all containers in a container group.
    startAsync(String resourceGroupName, String containerGroupName)
    Starts all containers in a container group.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager

    manager

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation

    create, create, createAsync, createAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion

    deleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating

    define

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById

    deleteById, deleteByIdAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup

    deleteByResourceGroup, deleteByResourceGroupAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById

    getById, getByIdAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup

    getByResourceGroup, getByResourceGroupAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing

    list, listAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsListingByResourceGroup

    listByResourceGroup, listByResourceGroupAsync
  • Method Details

    • getLogContent

      String getLogContent(String resourceGroupName, String containerGroupName, String containerName)
      Get the log content for the specified container instance within a container group.
      Parameters:
      resourceGroupName - the Azure resource group name
      containerGroupName - the container group name
      containerName - the container instance name
      Returns:
      all available log lines
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • getLogContent

      String getLogContent(String resourceGroupName, String containerGroupName, String containerName, int tailLineCount)
      Get the log content for the specified container instance within a container group.
      Parameters:
      resourceGroupName - the Azure resource group name
      containerGroupName - the container group name
      containerName - the container instance name
      tailLineCount - only get the last log lines up to this
      Returns:
      the log lines from the end, up to the number specified
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • getLogContentAsync

      Mono<String> getLogContentAsync(String resourceGroupName, String containerGroupName, String containerName)
      Get the log content for the specified container instance within a container group.
      Parameters:
      resourceGroupName - the Azure resource group name
      containerGroupName - the container group name
      containerName - the container instance name
      Returns:
      a representation of the future computation of this call
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • getLogContentAsync

      Mono<String> getLogContentAsync(String resourceGroupName, String containerGroupName, String containerName, int tailLineCount)
      Get the log content for the specified container instance within a container group.
      Parameters:
      resourceGroupName - the Azure resource group name
      containerGroupName - the container group name
      containerName - the container instance name
      tailLineCount - only get the last log lines up to this
      Returns:
      a representation of the future computation of this call
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation
    • listOperations

      com.azure.core.http.rest.PagedIterable<Operation> listOperations()
      Lists all operations for Azure Container Instance service.
      Returns:
      all operations for Azure Container Instance service
    • listOperationsAsync

      com.azure.core.http.rest.PagedFlux<Operation> listOperationsAsync()
      Lists all operations for Azure Container Instance service.
      Returns:
      a representation of the future computation of this call
    • listCachedImages

      com.azure.core.http.rest.PagedIterable<CachedImages> listCachedImages(String location)
      Lists cached images for a subscription in a region.
      Parameters:
      location - the identifier for the physical azure location.
      Returns:
      all cached images from the specified location
    • listCachedImagesAsync

      com.azure.core.http.rest.PagedFlux<CachedImages> listCachedImagesAsync(String location)
      Lists cached images for a subscription in a region.
      Parameters:
      location - the identifier for the physical azure location.
      Returns:
      a representation of the future computation of this call
    • listCapabilities

      com.azure.core.http.rest.PagedIterable<Capabilities> listCapabilities(String location)
      Lists the capabilities of a location.
      Parameters:
      location - the identifier for the physical azure location
      Returns:
      a list of all of the capabilities of the given location
    • listCapabilitiesAsync

      com.azure.core.http.rest.PagedFlux<Capabilities> listCapabilitiesAsync(String location)
      Lists the capabilities of a location.
      Parameters:
      location - the identifier for the physical azure location
      Returns:
      a representation of the future computation of this call
    • start

      void start(String resourceGroupName, String containerGroupName)
      Starts all containers in a container group.
      Parameters:
      resourceGroupName - the name of the resource group of the container group
      containerGroupName - the name of the container group
    • startAsync

      Mono<Void> startAsync(String resourceGroupName, String containerGroupName)
      Starts all containers in a container group.
      Parameters:
      resourceGroupName - the name of the resource group of the container group
      containerGroupName - the name of the container group
      Returns:
      a representation of the future computation of this call
    • attachOutputStream

      ContainerAttachResult attachOutputStream(String resourceGroupName, String containerGroupName, String containerName)
      Attaches to the output stream of a specific container instance in a specified container group.
      Parameters:
      resourceGroupName - the name of the resource group
      containerGroupName - the name of the container group
      containerName - the name of the container instance
      Returns:
      the information for the output stream
    • attachOutputStreamAsync

      Mono<ContainerAttachResult> attachOutputStreamAsync(String resourceGroupName, String containerGroupName, String containerName)
      Attaches to the output stream of a specific container instance in a specified container group.
      Parameters:
      resourceGroupName - the name of the resource group
      containerGroupName - the name of the container group
      containerName - the name of the container instance
      Returns:
      the information for the output stream