public final class StaticSitePatchResource extends ProxyOnlyResource
| Constructor and Description |
|---|
StaticSitePatchResource() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
allowConfigFileUpdates()
Get the allowConfigFileUpdates property: <code>false</code> if config file is locked for this static
web app; otherwise, <code>true</code>.
|
String |
branch()
Get the branch property: The target branch in the repository.
|
StaticSiteBuildProperties |
buildProperties()
Get the buildProperties property: Build properties to configure on the repository.
|
String |
contentDistributionEndpoint()
Get the contentDistributionEndpoint property: The content distribution endpoint for the static site.
|
List<String> |
customDomains()
Get the customDomains property: The custom domains associated with this static site.
|
String |
defaultHostname()
Get the defaultHostname property: The default autogenerated hostname for the static site.
|
String |
keyVaultReferenceIdentity()
Get the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.
|
List<ResponseMessageEnvelopeRemotePrivateEndpointConnection> |
privateEndpointConnections()
Get the privateEndpointConnections property: Private endpoint connections.
|
String |
provider()
Get the provider property: The provider that submitted the last deployment to the primary environment of the
static site.
|
String |
repositoryToken()
Get the repositoryToken property: A user's github repository token.
|
String |
repositoryUrl()
Get the repositoryUrl property: URL for the repository of the static site.
|
StagingEnvironmentPolicy |
stagingEnvironmentPolicy()
Get the stagingEnvironmentPolicy property: State indicating whether staging environments are allowed or not
allowed for a static web app.
|
StaticSiteTemplateOptions |
templateProperties()
Get the templateProperties property: Template options for generating a new repository.
|
List<StaticSiteUserProvidedFunctionApp> |
userProvidedFunctionApps()
Get the userProvidedFunctionApps property: User provided function apps registered with the static site.
|
void |
validate()
Validates the instance.
|
StaticSitePatchResource |
withAllowConfigFileUpdates(Boolean allowConfigFileUpdates)
Set the allowConfigFileUpdates property: <code>false</code> if config file is locked for this static
web app; otherwise, <code>true</code>.
|
StaticSitePatchResource |
withBranch(String branch)
Set the branch property: The target branch in the repository.
|
StaticSitePatchResource |
withBuildProperties(StaticSiteBuildProperties buildProperties)
Set the buildProperties property: Build properties to configure on the repository.
|
StaticSitePatchResource |
withKind(String kind)
Set the kind property: Kind of resource.
|
StaticSitePatchResource |
withRepositoryToken(String repositoryToken)
Set the repositoryToken property: A user's github repository token.
|
StaticSitePatchResource |
withRepositoryUrl(String repositoryUrl)
Set the repositoryUrl property: URL for the repository of the static site.
|
StaticSitePatchResource |
withStagingEnvironmentPolicy(StagingEnvironmentPolicy stagingEnvironmentPolicy)
Set the stagingEnvironmentPolicy property: State indicating whether staging environments are allowed or not
allowed for a static web app.
|
StaticSitePatchResource |
withTemplateProperties(StaticSiteTemplateOptions templateProperties)
Set the templateProperties property: Template options for generating a new repository.
|
kindpublic StaticSitePatchResource withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public String defaultHostname()
public String repositoryUrl()
public StaticSitePatchResource withRepositoryUrl(String repositoryUrl)
repositoryUrl - the repositoryUrl value to set.public String branch()
public StaticSitePatchResource withBranch(String branch)
branch - the branch value to set.public List<String> customDomains()
public String repositoryToken()
public StaticSitePatchResource withRepositoryToken(String repositoryToken)
repositoryToken - the repositoryToken value to set.public StaticSiteBuildProperties buildProperties()
public StaticSitePatchResource withBuildProperties(StaticSiteBuildProperties buildProperties)
buildProperties - the buildProperties value to set.public List<ResponseMessageEnvelopeRemotePrivateEndpointConnection> privateEndpointConnections()
public StagingEnvironmentPolicy stagingEnvironmentPolicy()
public StaticSitePatchResource withStagingEnvironmentPolicy(StagingEnvironmentPolicy stagingEnvironmentPolicy)
stagingEnvironmentPolicy - the stagingEnvironmentPolicy value to set.public Boolean allowConfigFileUpdates()
public StaticSitePatchResource withAllowConfigFileUpdates(Boolean allowConfigFileUpdates)
allowConfigFileUpdates - the allowConfigFileUpdates value to set.public StaticSiteTemplateOptions templateProperties()
public StaticSitePatchResource withTemplateProperties(StaticSiteTemplateOptions templateProperties)
templateProperties - the templateProperties value to set.public String contentDistributionEndpoint()
public String keyVaultReferenceIdentity()
public List<StaticSiteUserProvidedFunctionApp> userProvidedFunctionApps()
public String provider()
public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.