Partilhar via


StaticSiteUserProvidedFunctionApp Class

public final class StaticSiteUserProvidedFunctionApp
extends ProxyOnlyResource

A static site user provided function.

Method Summary

Modifier and Type Method and Description
OffsetDateTime createdOn()

Get the createdOn property: The date and time on which the function app was registered with the static site.

static StaticSiteUserProvidedFunctionApp fromJson(JsonReader jsonReader)

Reads an instance of StaticSiteUserProvidedFunctionApp from the JsonReader.

String functionAppRegion()

Get the functionAppRegion property: The region of the function app registered with the static site.

String functionAppResourceId()

Get the functionAppResourceId property: The resource id of the function app registered with the static site.

String id()

Get the id property: Resource Id.

String name()

Get the name property: Resource Name.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

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:

the createdOn value.

fromJson

public static StaticSiteUserProvidedFunctionApp fromJson(JsonReader jsonReader)

Reads an instance of StaticSiteUserProvidedFunctionApp from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StaticSiteUserProvidedFunctionApp if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the StaticSiteUserProvidedFunctionApp.

functionAppRegion

public String functionAppRegion()

Get the functionAppRegion property: The region of the function app registered with the static site.

Returns:

the functionAppRegion value.

functionAppResourceId

public String functionAppResourceId()

Get the functionAppResourceId property: The resource id of the function app registered with the static site.

Returns:

the functionAppResourceId value.

id

public String id()

Get the id property: Resource Id.

Overrides:

StaticSiteUserProvidedFunctionApp.id()

Returns:

the id value.

name

public String name()

Get the name property: Resource Name.

Overrides:

StaticSiteUserProvidedFunctionApp.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StaticSiteUserProvidedFunctionApp.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Overrides:

StaticSiteUserProvidedFunctionApp.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

StaticSiteUserProvidedFunctionApp.validate()

Applies to