Share via


GitHubActionConfiguration Class

Definition

The GitHub action configuration.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.GitHubActionConfigurationTypeConverter))]
public class GitHubActionConfiguration : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IGitHubActionConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.GitHubActionConfigurationTypeConverter))>]
type GitHubActionConfiguration = class
    interface IGitHubActionConfiguration
    interface IJsonSerializable
Public Class GitHubActionConfiguration
Implements IGitHubActionConfiguration
Inheritance
GitHubActionConfiguration
Attributes
Implements

Constructors

GitHubActionConfiguration()

Creates an new GitHubActionConfiguration instance.

Properties

CodeConfigurationRuntimeStack

Runtime stack is used to determine the workflow file content for code base apps.

CodeConfigurationRuntimeVersion

Runtime version is used to determine what build version to set in the workflow file.

ContainerConfigurationImageName

The image name for the build.

ContainerConfigurationPassword

The password used to upload the image to the container registry.

ContainerConfigurationServerUrl

The server URL for the container registry where the build will be hosted.

ContainerConfigurationUsername

The username used to upload the image to the container registry.

GenerateWorkflowFile

Workflow option to determine whether the workflow file should be generated and written to the repository.

IsLinux

This will help determine the workflow configuration to select.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GitHubActionConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GitHubActionConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IGitHubActionConfiguration.

FromJsonString(String)

Creates a new instance of GitHubActionConfiguration, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of GitHubActionConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to