Class PlatformProperties

java.lang.Object
com.microsoft.azure.management.containerregistry.PlatformProperties

public class PlatformProperties extends Object
The platform properties against which the run has to happen.
  • Constructor Details

    • PlatformProperties

      public PlatformProperties()
  • Method Details

    • os

      public OS os()
      Get the operating system type required for the run. Possible values include: 'Windows', 'Linux'.
      Returns:
      the os value
    • withOs

      public PlatformProperties withOs(OS os)
      Set the operating system type required for the run. Possible values include: 'Windows', 'Linux'.
      Parameters:
      os - the os value to set
      Returns:
      the PlatformProperties object itself.
    • architecture

      public Architecture architecture()
      Get the OS architecture. Possible values include: 'amd64', 'x86', 'arm'.
      Returns:
      the architecture value
    • withArchitecture

      public PlatformProperties withArchitecture(Architecture architecture)
      Set the OS architecture. Possible values include: 'amd64', 'x86', 'arm'.
      Parameters:
      architecture - the architecture value to set
      Returns:
      the PlatformProperties object itself.
    • variant

      public Variant variant()
      Get variant of the CPU. Possible values include: 'v6', 'v7', 'v8'.
      Returns:
      the variant value
    • withVariant

      public PlatformProperties withVariant(Variant variant)
      Set variant of the CPU. Possible values include: 'v6', 'v7', 'v8'.
      Parameters:
      variant - the variant value to set
      Returns:
      the PlatformProperties object itself.