Class GithubActionConfiguration

java.lang.Object
com.azure.resourcemanager.appcontainers.models.GithubActionConfiguration

public final class GithubActionConfiguration extends Object
Configuration properties that define the mutable settings of a Container App SourceControl.
  • Constructor Details

    • GithubActionConfiguration

      public GithubActionConfiguration()
      Creates an instance of GithubActionConfiguration class.
  • Method Details

    • registryInfo

      public RegistryInfo registryInfo()
      Get the registryInfo property: Registry configurations.
      Returns:
      the registryInfo value.
    • withRegistryInfo

      public GithubActionConfiguration withRegistryInfo(RegistryInfo registryInfo)
      Set the registryInfo property: Registry configurations.
      Parameters:
      registryInfo - the registryInfo value to set.
      Returns:
      the GithubActionConfiguration object itself.
    • azureCredentials

      public AzureCredentials azureCredentials()
      Get the azureCredentials property: AzureCredentials configurations.
      Returns:
      the azureCredentials value.
    • withAzureCredentials

      public GithubActionConfiguration withAzureCredentials(AzureCredentials azureCredentials)
      Set the azureCredentials property: AzureCredentials configurations.
      Parameters:
      azureCredentials - the azureCredentials value to set.
      Returns:
      the GithubActionConfiguration object itself.
    • contextPath

      public String contextPath()
      Get the contextPath property: Context path.
      Returns:
      the contextPath value.
    • withContextPath

      public GithubActionConfiguration withContextPath(String contextPath)
      Set the contextPath property: Context path.
      Parameters:
      contextPath - the contextPath value to set.
      Returns:
      the GithubActionConfiguration object itself.
    • image

      public String image()
      Get the image property: Image name.
      Returns:
      the image value.
    • withImage

      public GithubActionConfiguration withImage(String image)
      Set the image property: Image name.
      Parameters:
      image - the image value to set.
      Returns:
      the GithubActionConfiguration object itself.
    • publishType

      public String publishType()
      Get the publishType property: Code or Image.
      Returns:
      the publishType value.
    • withPublishType

      public GithubActionConfiguration withPublishType(String publishType)
      Set the publishType property: Code or Image.
      Parameters:
      publishType - the publishType value to set.
      Returns:
      the GithubActionConfiguration object itself.
    • os

      public String os()
      Get the os property: Operation system.
      Returns:
      the os value.
    • withOs

      public GithubActionConfiguration withOs(String os)
      Set the os property: Operation system.
      Parameters:
      os - the os value to set.
      Returns:
      the GithubActionConfiguration object itself.
    • runtimeStack

      public String runtimeStack()
      Get the runtimeStack property: Runtime stack.
      Returns:
      the runtimeStack value.
    • withRuntimeStack

      public GithubActionConfiguration withRuntimeStack(String runtimeStack)
      Set the runtimeStack property: Runtime stack.
      Parameters:
      runtimeStack - the runtimeStack value to set.
      Returns:
      the GithubActionConfiguration object itself.
    • runtimeVersion

      public String runtimeVersion()
      Get the runtimeVersion property: Runtime version.
      Returns:
      the runtimeVersion value.
    • withRuntimeVersion

      public GithubActionConfiguration withRuntimeVersion(String runtimeVersion)
      Set the runtimeVersion property: Runtime version.
      Parameters:
      runtimeVersion - the runtimeVersion value to set.
      Returns:
      the GithubActionConfiguration object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.