StaticSiteUserProvidedFunctionApp Class

public final class StaticSiteUserProvidedFunctionApp
extends ProxyOnlyResource

A static site user provided function.

Constructor Summary

Constructor Description
StaticSiteUserProvidedFunctionApp()

Creates an instance of StaticSiteUserProvidedFunctionApp class.

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: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

StaticSiteUserProvidedFunctionApp withFunctionAppRegion(String functionAppRegion)

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

StaticSiteUserProvidedFunctionApp withFunctionAppResourceId(String functionAppResourceId)

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

StaticSiteUserProvidedFunctionApp 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:

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 the deserialized JSON object was missing any required properties.

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: Fully qualified resource Id for the resource.

Overrides:

StaticSiteUserProvidedFunctionApp.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

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: The type of the resource.

Overrides:

StaticSiteUserProvidedFunctionApp.type()

Returns:

the type value.

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:

functionAppRegion - the functionAppRegion value to set.

Returns:

the StaticSiteUserProvidedFunctionApp object itself.

withFunctionAppResourceId

public StaticSiteUserProvidedFunctionApp withFunctionAppResourceId(String functionAppResourceId)

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

Parameters:

functionAppResourceId - the functionAppResourceId value to set.

Returns:

the StaticSiteUserProvidedFunctionApp object itself.

withKind

public StaticSiteUserProvidedFunctionApp withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

StaticSiteUserProvidedFunctionApp.withKind(String kind)

Parameters:

kind

Applies to