GithubActionConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. appcontainers. models. GithubActionConfiguration
- com.
Implements
public final class GithubActionConfiguration
implements JsonSerializable<GithubActionConfiguration>
Configuration properties that define the mutable settings of a Container App SourceControl.
Constructor Summary
| Constructor | Description |
|---|---|
| GithubActionConfiguration() |
Creates an instance of Github |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Azure |
azureCredentials()
Get the azure |
| String |
contextPath()
Get the context |
|
static
Github |
fromJson(JsonReader jsonReader)
Reads an instance of Github |
| String |
githubPersonalAccessToken()
Get the github |
| String |
image()
Get the image property: Image name. |
| String |
os()
Get the os property: Operation system. |
| String |
publishType()
Get the publish |
|
Registry |
registryInfo()
Get the registry |
| String |
runtimeStack()
Get the runtime |
| String |
runtimeVersion()
Get the runtime |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Github |
withAzureCredentials(AzureCredentials azureCredentials)
Set the azure |
|
Github |
withContextPath(String contextPath)
Set the context |
|
Github |
withGithubPersonalAccessToken(String githubPersonalAccessToken)
Set the github |
|
Github |
withImage(String image)
Set the image property: Image name. |
|
Github |
withOs(String os)
Set the os property: Operation system. |
|
Github |
withPublishType(String publishType)
Set the publish |
|
Github |
withRegistryInfo(RegistryInfo registryInfo)
Set the registry |
|
Github |
withRuntimeStack(String runtimeStack)
Set the runtime |
|
Github |
withRuntimeVersion(String runtimeVersion)
Set the runtime |
Methods inherited from java.lang.Object
Constructor Details
GithubActionConfiguration
public GithubActionConfiguration()
Creates an instance of GithubActionConfiguration class.
Method Details
azureCredentials
public AzureCredentials azureCredentials()
Get the azureCredentials property: AzureCredentials configurations.
Returns:
contextPath
public String contextPath()
Get the contextPath property: Context path.
Returns:
fromJson
public static GithubActionConfiguration fromJson(JsonReader jsonReader)
Reads an instance of GithubActionConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
githubPersonalAccessToken
public String githubPersonalAccessToken()
Get the githubPersonalAccessToken property: One time Github PAT to configure github environment.
Returns:
image
public String image()
Get the image property: Image name.
Returns:
os
public String os()
Get the os property: Operation system.
Returns:
publishType
public String publishType()
Get the publishType property: Code or Image.
Returns:
registryInfo
public RegistryInfo registryInfo()
Get the registryInfo property: Registry configurations.
Returns:
runtimeStack
public String runtimeStack()
Get the runtimeStack property: Runtime stack.
Returns:
runtimeVersion
public String runtimeVersion()
Get the runtimeVersion property: Runtime version.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAzureCredentials
public GithubActionConfiguration withAzureCredentials(AzureCredentials azureCredentials)
Set the azureCredentials property: AzureCredentials configurations.
Parameters:
Returns:
withContextPath
public GithubActionConfiguration withContextPath(String contextPath)
Set the contextPath property: Context path.
Parameters:
Returns:
withGithubPersonalAccessToken
public GithubActionConfiguration withGithubPersonalAccessToken(String githubPersonalAccessToken)
Set the githubPersonalAccessToken property: One time Github PAT to configure github environment.
Parameters:
Returns:
withImage
public GithubActionConfiguration withImage(String image)
Set the image property: Image name.
Parameters:
Returns:
withOs
public GithubActionConfiguration withOs(String os)
Set the os property: Operation system.
Parameters:
Returns:
withPublishType
public GithubActionConfiguration withPublishType(String publishType)
Set the publishType property: Code or Image.
Parameters:
Returns:
withRegistryInfo
public GithubActionConfiguration withRegistryInfo(RegistryInfo registryInfo)
Set the registryInfo property: Registry configurations.
Parameters:
Returns:
withRuntimeStack
public GithubActionConfiguration withRuntimeStack(String runtimeStack)
Set the runtimeStack property: Runtime stack.
Parameters:
Returns:
withRuntimeVersion
public GithubActionConfiguration withRuntimeVersion(String runtimeVersion)
Set the runtimeVersion property: Runtime version.
Parameters:
Returns: