StaticSiteBuildProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. StaticSiteBuildProperties
- com.
Implements
public final class StaticSiteBuildProperties
implements JsonSerializable<StaticSiteBuildProperties>
Build properties for the static site.
Constructor Summary
Constructor | Description |
---|---|
StaticSiteBuildProperties() |
Creates an instance of Static |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
apiBuildCommand()
Get the api |
String |
apiLocation()
Get the api |
String |
appArtifactLocation()
Get the app |
String |
appBuildCommand()
Get the app |
String |
appLocation()
Get the app |
static
Static |
fromJson(JsonReader jsonReader)
Reads an instance of Static |
String |
githubActionSecretNameOverride()
Get the github |
String |
outputLocation()
Get the output |
Boolean |
skipGithubActionWorkflowGeneration()
Get the skip |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Static |
withApiBuildCommand(String apiBuildCommand)
Set the api |
Static |
withApiLocation(String apiLocation)
Set the api |
Static |
withAppArtifactLocation(String appArtifactLocation)
Set the app |
Static |
withAppBuildCommand(String appBuildCommand)
Set the app |
Static |
withAppLocation(String appLocation)
Set the app |
Static |
withGithubActionSecretNameOverride(String githubActionSecretNameOverride)
Set the github |
Static |
withOutputLocation(String outputLocation)
Set the output |
Static |
withSkipGithubActionWorkflowGeneration(Boolean skipGithubActionWorkflowGeneration)
Set the skip |
Methods inherited from java.lang.Object
Constructor Details
StaticSiteBuildProperties
public StaticSiteBuildProperties()
Creates an instance of StaticSiteBuildProperties class.
Method Details
apiBuildCommand
public String apiBuildCommand()
Get the apiBuildCommand property: A custom command to run during deployment of the Azure Functions API application.
Returns:
apiLocation
public String apiLocation()
Get the apiLocation property: The path to the api code within the repository.
Returns:
appArtifactLocation
public String appArtifactLocation()
Get the appArtifactLocation property: Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation).
Returns:
appBuildCommand
public String appBuildCommand()
Get the appBuildCommand property: A custom command to run during deployment of the static content application.
Returns:
appLocation
public String appLocation()
Get the appLocation property: The path to the app code within the repository.
Returns:
fromJson
public static StaticSiteBuildProperties fromJson(JsonReader jsonReader)
Reads an instance of StaticSiteBuildProperties from the JsonReader.
Parameters:
Returns:
Throws:
githubActionSecretNameOverride
public String githubActionSecretNameOverride()
Get the githubActionSecretNameOverride property: Github Action secret name override.
Returns:
outputLocation
public String outputLocation()
Get the outputLocation property: The output path of the app after building.
Returns:
skipGithubActionWorkflowGeneration
public Boolean skipGithubActionWorkflowGeneration()
Get the skipGithubActionWorkflowGeneration property: Skip Github Action workflow generation.
Returns:
toJson
validate
public void validate()
Validates the instance.
withApiBuildCommand
public StaticSiteBuildProperties withApiBuildCommand(String apiBuildCommand)
Set the apiBuildCommand property: A custom command to run during deployment of the Azure Functions API application.
Parameters:
Returns:
withApiLocation
public StaticSiteBuildProperties withApiLocation(String apiLocation)
Set the apiLocation property: The path to the api code within the repository.
Parameters:
Returns:
withAppArtifactLocation
public StaticSiteBuildProperties withAppArtifactLocation(String appArtifactLocation)
Set the appArtifactLocation property: Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation).
Parameters:
Returns:
withAppBuildCommand
public StaticSiteBuildProperties withAppBuildCommand(String appBuildCommand)
Set the appBuildCommand property: A custom command to run during deployment of the static content application.
Parameters:
Returns:
withAppLocation
public StaticSiteBuildProperties withAppLocation(String appLocation)
Set the appLocation property: The path to the app code within the repository.
Parameters:
Returns:
withGithubActionSecretNameOverride
public StaticSiteBuildProperties withGithubActionSecretNameOverride(String githubActionSecretNameOverride)
Set the githubActionSecretNameOverride property: Github Action secret name override.
Parameters:
Returns:
withOutputLocation
public StaticSiteBuildProperties withOutputLocation(String outputLocation)
Set the outputLocation property: The output path of the app after building.
Parameters:
Returns:
withSkipGithubActionWorkflowGeneration
public StaticSiteBuildProperties withSkipGithubActionWorkflowGeneration(Boolean skipGithubActionWorkflowGeneration)
Set the skipGithubActionWorkflowGeneration property: Skip Github Action workflow generation.
Parameters:
Returns:
Applies to
Azure SDK for Java