StaticSiteUserProvidedFunctionApp Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. models. StaticSiteUserProvidedFunctionApp
- com.
- com.
- com.
public final class StaticSiteUserProvidedFunctionApp
extends ProxyOnlyResource
A static site user provided function.
Constructor Summary
Constructor | Description |
---|---|
StaticSiteUserProvidedFunctionApp() |
Creates an instance of Static |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
createdOn()
Get the created |
static
Static |
fromJson(JsonReader jsonReader)
Reads an instance of Static |
String |
functionAppRegion()
Get the function |
String |
functionAppResourceId()
Get the function |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Static |
withFunctionAppRegion(String functionAppRegion)
Set the function |
Static |
withFunctionAppResourceId(String functionAppResourceId)
Set the function |
Static |
withKind(String kind)
Set the kind property: Kind of resource. |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
StaticSiteUserProvidedFunctionApp
public StaticSiteUserProvidedFunctionApp()
Creates an instance of StaticSiteUserProvidedFunctionApp class.
Method Details
createdOn
public OffsetDateTime createdOn()
Get the createdOn property: The date and time on which the function app was registered with the static site.
Returns:
fromJson
public static StaticSiteUserProvidedFunctionApp fromJson(JsonReader jsonReader)
Reads an instance of StaticSiteUserProvidedFunctionApp from the JsonReader.
Parameters:
Returns:
Throws:
functionAppRegion
public String functionAppRegion()
Get the functionAppRegion property: The region of the function app registered with the static site.
Returns:
functionAppResourceId
public String functionAppResourceId()
Get the functionAppResourceId property: The resource id of the function app registered with the static site.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
StaticSiteUserProvidedFunctionApp.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
StaticSiteUserProvidedFunctionApp.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
StaticSiteUserProvidedFunctionApp.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
StaticSiteUserProvidedFunctionApp.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
StaticSiteUserProvidedFunctionApp.validate()withFunctionAppRegion
public StaticSiteUserProvidedFunctionApp withFunctionAppRegion(String functionAppRegion)
Set the functionAppRegion property: The region of the function app registered with the static site.
Parameters:
Returns:
withFunctionAppResourceId
public StaticSiteUserProvidedFunctionApp withFunctionAppResourceId(String functionAppResourceId)
Set the functionAppResourceId property: The resource id of the function app registered with the static site.
Parameters:
Returns:
withKind
public StaticSiteUserProvidedFunctionApp withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
StaticSiteUserProvidedFunctionApp.withKind(String kind)Parameters:
Applies to
Azure SDK for Java