public final class StaticSiteArmResourceInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
StaticSiteArmResourceInner() |
| 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.
|
ManagedServiceIdentity |
identity()
Get the identity property: Managed service identity.
|
String |
keyVaultReferenceIdentity()
Get the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.
|
String |
kind()
Get the kind property: Kind of resource.
|
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.
|
SkuDescription |
sku()
Get the sku property: Description of a SKU for a scalable resource.
|
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.
|
StaticSiteArmResourceInner |
withAllowConfigFileUpdates(Boolean allowConfigFileUpdates)
Set the allowConfigFileUpdates property: <code>false</code> if config file is locked for this static
web app; otherwise, <code>true</code>.
|
StaticSiteArmResourceInner |
withBranch(String branch)
Set the branch property: The target branch in the repository.
|
StaticSiteArmResourceInner |
withBuildProperties(StaticSiteBuildProperties buildProperties)
Set the buildProperties property: Build properties to configure on the repository.
|
StaticSiteArmResourceInner |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed service identity.
|
StaticSiteArmResourceInner |
withKind(String kind)
Set the kind property: Kind of resource.
|
StaticSiteArmResourceInner |
withLocation(String location) |
StaticSiteArmResourceInner |
withRepositoryToken(String repositoryToken)
Set the repositoryToken property: A user's github repository token.
|
StaticSiteArmResourceInner |
withRepositoryUrl(String repositoryUrl)
Set the repositoryUrl property: URL for the repository of the static site.
|
StaticSiteArmResourceInner |
withSku(SkuDescription sku)
Set the sku property: Description of a SKU for a scalable resource.
|
StaticSiteArmResourceInner |
withStagingEnvironmentPolicy(StagingEnvironmentPolicy stagingEnvironmentPolicy)
Set the stagingEnvironmentPolicy property: State indicating whether staging environments are allowed or not
allowed for a static web app.
|
StaticSiteArmResourceInner |
withTags(Map<String,String> tags) |
StaticSiteArmResourceInner |
withTemplateProperties(StaticSiteTemplateOptions templateProperties)
Set the templateProperties property: Template options for generating a new repository.
|
public SkuDescription sku()
public StaticSiteArmResourceInner withSku(SkuDescription sku)
sku - the sku value to set.public ManagedServiceIdentity identity()
public StaticSiteArmResourceInner withIdentity(ManagedServiceIdentity identity)
identity - the identity value to set.public String kind()
public StaticSiteArmResourceInner withKind(String kind)
kind - the kind value to set.public StaticSiteArmResourceInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic StaticSiteArmResourceInner withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic String defaultHostname()
public String repositoryUrl()
public StaticSiteArmResourceInner withRepositoryUrl(String repositoryUrl)
repositoryUrl - the repositoryUrl value to set.public String branch()
public StaticSiteArmResourceInner withBranch(String branch)
branch - the branch value to set.public List<String> customDomains()
public String repositoryToken()
public StaticSiteArmResourceInner withRepositoryToken(String repositoryToken)
repositoryToken - the repositoryToken value to set.public StaticSiteBuildProperties buildProperties()
public StaticSiteArmResourceInner withBuildProperties(StaticSiteBuildProperties buildProperties)
buildProperties - the buildProperties value to set.public List<ResponseMessageEnvelopeRemotePrivateEndpointConnection> privateEndpointConnections()
public StagingEnvironmentPolicy stagingEnvironmentPolicy()
public StaticSiteArmResourceInner withStagingEnvironmentPolicy(StagingEnvironmentPolicy stagingEnvironmentPolicy)
stagingEnvironmentPolicy - the stagingEnvironmentPolicy value to set.public Boolean allowConfigFileUpdates()
public StaticSiteArmResourceInner withAllowConfigFileUpdates(Boolean allowConfigFileUpdates)
allowConfigFileUpdates - the allowConfigFileUpdates value to set.public StaticSiteTemplateOptions templateProperties()
public StaticSiteArmResourceInner 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()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.