StaticSiteArmResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. appservice. fluent. models. StaticSiteArmResourceInner
- com.
- com.
- com.
public final class StaticSiteArmResourceInner
extends Resource
Static Site ARM resource.
Constructor Summary
Constructor | Description |
---|---|
StaticSiteArmResourceInner() |
Creates an instance of Static |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
allowConfigFileUpdates()
Get the allow |
String |
branch()
Get the branch property: The target branch in the repository. |
Static |
buildProperties()
Get the build |
String |
contentDistributionEndpoint()
Get the content |
List<String> |
customDomains()
Get the custom |
List<Database |
databaseConnections()
Get the database |
String |
defaultHostname()
Get the default |
Enterprise |
enterpriseGradeCdnStatus()
Get the enterprise |
static
Static |
fromJson(JsonReader jsonReader)
Reads an instance of Static |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Managed |
identity()
Get the identity property: Managed service identity. |
String |
keyVaultReferenceIdentity()
Get the key |
String |
kind()
Get the kind property: Kind of resource. |
List<Static |
linkedBackends()
Get the linked |
String |
name()
Get the name property: The name of the resource. |
List<Response |
privateEndpointConnections()
Get the private |
String |
provider()
Get the provider property: The provider that submitted the last deployment to the primary environment of the static site. |
String |
publicNetworkAccess()
Get the public |
String |
repositoryToken()
Get the repository |
String |
repositoryUrl()
Get the repository |
Sku |
sku()
Get the sku property: Description of a SKU for a scalable resource. |
Staging |
stagingEnvironmentPolicy()
Get the staging |
Static |
templateProperties()
Get the template |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
List<Static |
userProvidedFunctionApps()
Get the user |
void |
validate()
Validates the instance. |
Static |
withAllowConfigFileUpdates(Boolean allowConfigFileUpdates)
Set the allow |
Static |
withBranch(String branch)
Set the branch property: The target branch in the repository. |
Static |
withBuildProperties(StaticSiteBuildProperties buildProperties)
Set the build |
Static |
withEnterpriseGradeCdnStatus(EnterpriseGradeCdnStatus enterpriseGradeCdnStatus)
Set the enterprise |
Static |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed service identity. |
Static |
withKind(String kind)
Set the kind property: Kind of resource. |
Static |
withLocation(String location) |
Static |
withProvider(String provider)
Set the provider property: The provider that submitted the last deployment to the primary environment of the static site. |
Static |
withPublicNetworkAccess(String publicNetworkAccess)
Set the public |
Static |
withRepositoryToken(String repositoryToken)
Set the repository |
Static |
withRepositoryUrl(String repositoryUrl)
Set the repository |
Static |
withSku(SkuDescription sku)
Set the sku property: Description of a SKU for a scalable resource. |
Static |
withStagingEnvironmentPolicy(StagingEnvironmentPolicy stagingEnvironmentPolicy)
Set the staging |
Static |
withTags(Map<String,String> tags) |
Static |
withTemplateProperties(StaticSiteTemplateOptions templateProperties)
Set the template |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
StaticSiteArmResourceInner
public StaticSiteArmResourceInner()
Creates an instance of StaticSiteArmResourceInner class.
Method Details
allowConfigFileUpdates
public Boolean allowConfigFileUpdates()
Get the allowConfigFileUpdates property: false
if config file is locked for this static web app; otherwise, true
.
Returns:
branch
public String branch()
Get the branch property: The target branch in the repository.
Returns:
buildProperties
public StaticSiteBuildProperties buildProperties()
Get the buildProperties property: Build properties to configure on the repository.
Returns:
contentDistributionEndpoint
public String contentDistributionEndpoint()
Get the contentDistributionEndpoint property: The content distribution endpoint for the static site.
Returns:
customDomains
public List
Get the customDomains property: The custom domains associated with this static site.
Returns:
databaseConnections
public List
Get the databaseConnections property: Database connections for the static site.
Returns:
defaultHostname
public String defaultHostname()
Get the defaultHostname property: The default autogenerated hostname for the static site.
Returns:
enterpriseGradeCdnStatus
public EnterpriseGradeCdnStatus enterpriseGradeCdnStatus()
Get the enterpriseGradeCdnStatus property: State indicating the status of the enterprise grade CDN serving traffic to the static web app.
Returns:
fromJson
public static StaticSiteArmResourceInner fromJson(JsonReader jsonReader)
Reads an instance of StaticSiteArmResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
StaticSiteArmResourceInner.id()Returns:
identity
public ManagedServiceIdentity identity()
Get the identity property: Managed service identity.
Returns:
keyVaultReferenceIdentity
public String keyVaultReferenceIdentity()
Get the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.
Returns:
kind
public String kind()
Get the kind property: Kind of resource.
Returns:
linkedBackends
public List
Get the linkedBackends property: Backends linked to the static side.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
StaticSiteArmResourceInner.name()Returns:
privateEndpointConnections
public List
Get the privateEndpointConnections property: Private endpoint connections.
Returns:
provider
public String provider()
Get the provider property: The provider that submitted the last deployment to the primary environment of the static site.
Returns:
publicNetworkAccess
public String publicNetworkAccess()
Get the publicNetworkAccess property: State indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled' or an empty string.
Returns:
repositoryToken
public String repositoryToken()
Get the repositoryToken property: A user's github repository token. This is used to setup the Github Actions workflow file and API secrets.
Returns:
repositoryUrl
public String repositoryUrl()
Get the repositoryUrl property: URL for the repository of the static site.
Returns:
sku
public SkuDescription sku()
Get the sku property: Description of a SKU for a scalable resource.
Returns:
stagingEnvironmentPolicy
public StagingEnvironmentPolicy stagingEnvironmentPolicy()
Get the stagingEnvironmentPolicy property: State indicating whether staging environments are allowed or not allowed for a static web app.
Returns:
templateProperties
public StaticSiteTemplateOptions templateProperties()
Get the templateProperties property: Template options for generating a new repository.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
StaticSiteArmResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
StaticSiteArmResourceInner.type()Returns:
userProvidedFunctionApps
public List
Get the userProvidedFunctionApps property: User provided function apps registered with the static site.
Returns:
validate
public void validate()
Validates the instance.
withAllowConfigFileUpdates
public StaticSiteArmResourceInner withAllowConfigFileUpdates(Boolean allowConfigFileUpdates)
Set the allowConfigFileUpdates property: false
if config file is locked for this static web app; otherwise, true
.
Parameters:
Returns:
withBranch
public StaticSiteArmResourceInner withBranch(String branch)
Set the branch property: The target branch in the repository.
Parameters:
Returns:
withBuildProperties
public StaticSiteArmResourceInner withBuildProperties(StaticSiteBuildProperties buildProperties)
Set the buildProperties property: Build properties to configure on the repository.
Parameters:
Returns:
withEnterpriseGradeCdnStatus
public StaticSiteArmResourceInner withEnterpriseGradeCdnStatus(EnterpriseGradeCdnStatus enterpriseGradeCdnStatus)
Set the enterpriseGradeCdnStatus property: State indicating the status of the enterprise grade CDN serving traffic to the static web app.
Parameters:
Returns:
withIdentity
public StaticSiteArmResourceInner withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed service identity.
Parameters:
Returns:
withKind
public StaticSiteArmResourceInner withKind(String kind)
Set the kind property: Kind of resource.
Parameters:
Returns:
withLocation
public StaticSiteArmResourceInner withLocation(String location)
Overrides:
StaticSiteArmResourceInner.withLocation(String location)Parameters:
withProvider
public StaticSiteArmResourceInner withProvider(String provider)
Set the provider property: The provider that submitted the last deployment to the primary environment of the static site.
Parameters:
Returns:
withPublicNetworkAccess
public StaticSiteArmResourceInner withPublicNetworkAccess(String publicNetworkAccess)
Set the publicNetworkAccess property: State indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled' or an empty string.
Parameters:
Returns:
withRepositoryToken
public StaticSiteArmResourceInner withRepositoryToken(String repositoryToken)
Set the repositoryToken property: A user's github repository token. This is used to setup the Github Actions workflow file and API secrets.
Parameters:
Returns:
withRepositoryUrl
public StaticSiteArmResourceInner withRepositoryUrl(String repositoryUrl)
Set the repositoryUrl property: URL for the repository of the static site.
Parameters:
Returns:
withSku
public StaticSiteArmResourceInner withSku(SkuDescription sku)
Set the sku property: Description of a SKU for a scalable resource.
Parameters:
Returns:
withStagingEnvironmentPolicy
public StaticSiteArmResourceInner withStagingEnvironmentPolicy(StagingEnvironmentPolicy stagingEnvironmentPolicy)
Set the stagingEnvironmentPolicy property: State indicating whether staging environments are allowed or not allowed for a static web app.
Parameters:
Returns:
withTags
public StaticSiteArmResourceInner withTags(Map
Overrides:
StaticSiteArmResourceInner.withTags(Map<String,String> tags)Parameters:
withTemplateProperties
public StaticSiteArmResourceInner withTemplateProperties(StaticSiteTemplateOptions templateProperties)
Set the templateProperties property: Template options for generating a new repository.
Parameters:
Returns:
Applies to
Azure SDK for Java