Class StaticSiteBuildProperties
java.lang.Object
com.azure.resourcemanager.appservice.models.StaticSiteBuildProperties
Build properties for the static site.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the apiBuildCommand property: A custom command to run during deployment of the Azure Functions API application.Get the apiLocation property: The path to the api code within the repository.Get the appArtifactLocation property: Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation).Get the appBuildCommand property: A custom command to run during deployment of the static content application.Get the appLocation property: The path to the app code within the repository.Get the githubActionSecretNameOverride property: Github Action secret name override.Get the outputLocation property: The output path of the app after building.Get the skipGithubActionWorkflowGeneration property: Skip Github Action workflow generation.void
validate()
Validates the instance.withApiBuildCommand
(String apiBuildCommand) Set the apiBuildCommand property: A custom command to run during deployment of the Azure Functions API application.withApiLocation
(String apiLocation) Set the apiLocation property: The path to the api code within the repository.withAppArtifactLocation
(String appArtifactLocation) Set the appArtifactLocation property: Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation).withAppBuildCommand
(String appBuildCommand) Set the appBuildCommand property: A custom command to run during deployment of the static content application.withAppLocation
(String appLocation) Set the appLocation property: The path to the app code within the repository.withGithubActionSecretNameOverride
(String githubActionSecretNameOverride) Set the githubActionSecretNameOverride property: Github Action secret name override.withOutputLocation
(String outputLocation) Set the outputLocation property: The output path of the app after building.withSkipGithubActionWorkflowGeneration
(Boolean skipGithubActionWorkflowGeneration) Set the skipGithubActionWorkflowGeneration property: Skip Github Action workflow generation.
-
Constructor Details
-
StaticSiteBuildProperties
public StaticSiteBuildProperties()
-
-
Method Details
-
appLocation
Get the appLocation property: The path to the app code within the repository.- Returns:
- the appLocation value.
-
withAppLocation
Set the appLocation property: The path to the app code within the repository.- Parameters:
appLocation
- the appLocation value to set.- Returns:
- the StaticSiteBuildProperties object itself.
-
apiLocation
Get the apiLocation property: The path to the api code within the repository.- Returns:
- the apiLocation value.
-
withApiLocation
Set the apiLocation property: The path to the api code within the repository.- Parameters:
apiLocation
- the apiLocation value to set.- Returns:
- the StaticSiteBuildProperties object itself.
-
appArtifactLocation
Get the appArtifactLocation property: Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation).- Returns:
- the appArtifactLocation value.
-
withAppArtifactLocation
Set the appArtifactLocation property: Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation).- Parameters:
appArtifactLocation
- the appArtifactLocation value to set.- Returns:
- the StaticSiteBuildProperties object itself.
-
outputLocation
Get the outputLocation property: The output path of the app after building.- Returns:
- the outputLocation value.
-
withOutputLocation
Set the outputLocation property: The output path of the app after building.- Parameters:
outputLocation
- the outputLocation value to set.- Returns:
- the StaticSiteBuildProperties object itself.
-
appBuildCommand
Get the appBuildCommand property: A custom command to run during deployment of the static content application.- Returns:
- the appBuildCommand value.
-
withAppBuildCommand
Set the appBuildCommand property: A custom command to run during deployment of the static content application.- Parameters:
appBuildCommand
- the appBuildCommand value to set.- Returns:
- the StaticSiteBuildProperties object itself.
-
apiBuildCommand
Get the apiBuildCommand property: A custom command to run during deployment of the Azure Functions API application.- Returns:
- the apiBuildCommand value.
-
withApiBuildCommand
Set the apiBuildCommand property: A custom command to run during deployment of the Azure Functions API application.- Parameters:
apiBuildCommand
- the apiBuildCommand value to set.- Returns:
- the StaticSiteBuildProperties object itself.
-
skipGithubActionWorkflowGeneration
Get the skipGithubActionWorkflowGeneration property: Skip Github Action workflow generation.- Returns:
- the skipGithubActionWorkflowGeneration value.
-
withSkipGithubActionWorkflowGeneration
public StaticSiteBuildProperties withSkipGithubActionWorkflowGeneration(Boolean skipGithubActionWorkflowGeneration) Set the skipGithubActionWorkflowGeneration property: Skip Github Action workflow generation.- Parameters:
skipGithubActionWorkflowGeneration
- the skipGithubActionWorkflowGeneration value to set.- Returns:
- the StaticSiteBuildProperties object itself.
-
githubActionSecretNameOverride
Get the githubActionSecretNameOverride property: Github Action secret name override.- Returns:
- the githubActionSecretNameOverride value.
-
withGithubActionSecretNameOverride
public StaticSiteBuildProperties withGithubActionSecretNameOverride(String githubActionSecretNameOverride) Set the githubActionSecretNameOverride property: Github Action secret name override.- Parameters:
githubActionSecretNameOverride
- the githubActionSecretNameOverride value to set.- Returns:
- the StaticSiteBuildProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-