ArmAppContainersModelFactory.ContainerAppSourceControlData Method

Definition

Initializes a new instance of ContainerAppSourceControlData.

public static Azure.ResourceManager.AppContainers.ContainerAppSourceControlData ContainerAppSourceControlData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.AppContainers.Models.ContainerAppSourceControlOperationState? operationState = default, Uri repoUri = default, string branch = default, Azure.ResourceManager.AppContainers.Models.ContainerAppGitHubActionConfiguration gitHubActionConfiguration = default);
static member ContainerAppSourceControlData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.AppContainers.Models.ContainerAppSourceControlOperationState> * Uri * string * Azure.ResourceManager.AppContainers.Models.ContainerAppGitHubActionConfiguration -> Azure.ResourceManager.AppContainers.ContainerAppSourceControlData
Public Shared Function ContainerAppSourceControlData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional operationState As Nullable(Of ContainerAppSourceControlOperationState) = Nothing, Optional repoUri As Uri = Nothing, Optional branch As String = Nothing, Optional gitHubActionConfiguration As ContainerAppGitHubActionConfiguration = Nothing) As ContainerAppSourceControlData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

operationState
Nullable<ContainerAppSourceControlOperationState>

Current provisioning State of the operation.

repoUri
Uri

The repo url which will be integrated to ContainerApp.

branch
String

The branch which will trigger the auto deployment.

gitHubActionConfiguration
ContainerAppGitHubActionConfiguration

Container App Revision Template with all possible settings and the defaults if user did not provide them. The defaults are populated as they were at the creation time

Returns

A new ContainerAppSourceControlData instance for mocking.

Applies to