Class GithubActionConfiguration
java.lang.Object
com.azure.resourcemanager.appcontainers.models.GithubActionConfiguration
Configuration properties that define the mutable settings of a Container App SourceControl.
-
Constructor Summary
ConstructorDescriptionCreates an instance of GithubActionConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the azureCredentials property: AzureCredentials configurations.Get the contextPath property: Context path.image()
Get the image property: Image name.os()
Get the os property: Operation system.Get the publishType property: Code or Image.Get the registryInfo property: Registry configurations.Get the runtimeStack property: Runtime stack.Get the runtimeVersion property: Runtime version.void
validate()
Validates the instance.withAzureCredentials
(AzureCredentials azureCredentials) Set the azureCredentials property: AzureCredentials configurations.withContextPath
(String contextPath) Set the contextPath property: Context path.Set the image property: Image name.Set the os property: Operation system.withPublishType
(String publishType) Set the publishType property: Code or Image.withRegistryInfo
(RegistryInfo registryInfo) Set the registryInfo property: Registry configurations.withRuntimeStack
(String runtimeStack) Set the runtimeStack property: Runtime stack.withRuntimeVersion
(String runtimeVersion) Set the runtimeVersion property: Runtime version.
-
Constructor Details
-
GithubActionConfiguration
public GithubActionConfiguration()Creates an instance of GithubActionConfiguration class.
-
-
Method Details
-
registryInfo
Get the registryInfo property: Registry configurations.- Returns:
- the registryInfo value.
-
withRegistryInfo
Set the registryInfo property: Registry configurations.- Parameters:
registryInfo
- the registryInfo value to set.- Returns:
- the GithubActionConfiguration object itself.
-
azureCredentials
Get the azureCredentials property: AzureCredentials configurations.- Returns:
- the azureCredentials value.
-
withAzureCredentials
Set the azureCredentials property: AzureCredentials configurations.- Parameters:
azureCredentials
- the azureCredentials value to set.- Returns:
- the GithubActionConfiguration object itself.
-
contextPath
Get the contextPath property: Context path.- Returns:
- the contextPath value.
-
withContextPath
Set the contextPath property: Context path.- Parameters:
contextPath
- the contextPath value to set.- Returns:
- the GithubActionConfiguration object itself.
-
image
Get the image property: Image name.- Returns:
- the image value.
-
withImage
Set the image property: Image name.- Parameters:
image
- the image value to set.- Returns:
- the GithubActionConfiguration object itself.
-
publishType
Get the publishType property: Code or Image.- Returns:
- the publishType value.
-
withPublishType
Set the publishType property: Code or Image.- Parameters:
publishType
- the publishType value to set.- Returns:
- the GithubActionConfiguration object itself.
-
os
Get the os property: Operation system.- Returns:
- the os value.
-
withOs
Set the os property: Operation system.- Parameters:
os
- the os value to set.- Returns:
- the GithubActionConfiguration object itself.
-
runtimeStack
Get the runtimeStack property: Runtime stack.- Returns:
- the runtimeStack value.
-
withRuntimeStack
Set the runtimeStack property: Runtime stack.- Parameters:
runtimeStack
- the runtimeStack value to set.- Returns:
- the GithubActionConfiguration object itself.
-
runtimeVersion
Get the runtimeVersion property: Runtime version.- Returns:
- the runtimeVersion value.
-
withRuntimeVersion
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.
-