ArmAppPlatformModelFactory.AppPlatformBuildProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of AppPlatformBuildProperties.
public static Azure.ResourceManager.AppPlatform.Models.AppPlatformBuildProperties AppPlatformBuildProperties (string relativePath = default, string builder = default, string agentPool = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformBuildProvisioningState? provisioningState = default, System.Collections.Generic.IDictionary<string,string> env = default, Azure.Core.ResourceIdentifier triggeredBuildResultId = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformBuildResourceRequirements resourceRequests = default);
static member AppPlatformBuildProperties : string * string * string * Nullable<Azure.ResourceManager.AppPlatform.Models.AppPlatformBuildProvisioningState> * System.Collections.Generic.IDictionary<string, string> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.AppPlatform.Models.AppPlatformBuildResourceRequirements -> Azure.ResourceManager.AppPlatform.Models.AppPlatformBuildProperties
Public Shared Function AppPlatformBuildProperties (Optional relativePath As String = Nothing, Optional builder As String = Nothing, Optional agentPool As String = Nothing, Optional provisioningState As Nullable(Of AppPlatformBuildProvisioningState) = Nothing, Optional env As IDictionary(Of String, String) = Nothing, Optional triggeredBuildResultId As ResourceIdentifier = Nothing, Optional resourceRequests As AppPlatformBuildResourceRequirements = Nothing) As AppPlatformBuildProperties
Parameters
- relativePath
- String
The relative path of source code.
- builder
- String
The resource id of builder to build the source code.
- agentPool
- String
The resource id of agent pool.
- provisioningState
- Nullable<AppPlatformBuildProvisioningState>
Provisioning state of the KPack build result.
- env
- IDictionary<String,String>
The environment variables for this build.
- triggeredBuildResultId
- ResourceIdentifier
The build result triggered by this build.
- resourceRequests
- AppPlatformBuildResourceRequirements
The customized build resource for this build.
Returns
A new AppPlatformBuildProperties instance for mocking.