ServerlessEndpointInner Class

public final class ServerlessEndpointInner
extends Resource

The ServerlessEndpoint model.

Constructor Summary

Constructor Description
ServerlessEndpointInner()

Creates an instance of ServerlessEndpointInner class.

Method Summary

Modifier and Type Method and Description
static ServerlessEndpointInner fromJson(JsonReader jsonReader)

Reads an instance of ServerlessEndpointInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

ManagedServiceIdentity identity()

Get the identity property: Managed service identity (system assigned and/or user assigned identities).

String kind()

Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.

String name()

Get the name property: The name of the resource.

ServerlessEndpointProperties properties()

Get the properties property: [Required] Additional attributes of the entity.

Sku sku()

Get the sku property: Sku details required for ARM contract for Autoscaling.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ServerlessEndpointInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed service identity (system assigned and/or user assigned identities).

ServerlessEndpointInner withKind(String kind)

Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.

ServerlessEndpointInner withLocation(String location)
ServerlessEndpointInner withProperties(ServerlessEndpointProperties properties)

Set the properties property: [Required] Additional attributes of the entity.

ServerlessEndpointInner withSku(Sku sku)

Set the sku property: Sku details required for ARM contract for Autoscaling.

ServerlessEndpointInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ServerlessEndpointInner

public ServerlessEndpointInner()

Creates an instance of ServerlessEndpointInner class.

Method Details

fromJson

public static ServerlessEndpointInner fromJson(JsonReader jsonReader)

Reads an instance of ServerlessEndpointInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ServerlessEndpointInner 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.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ServerlessEndpointInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: Managed service identity (system assigned and/or user assigned identities).

Returns:

the identity value.

kind

public String kind()

Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.

Returns:

the kind value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ServerlessEndpointInner.name()

Returns:

the name value.

properties

public ServerlessEndpointProperties properties()

Get the properties property: [Required] Additional attributes of the entity.

Returns:

the properties value.

sku

public Sku sku()

Get the sku property: Sku details required for ARM contract for Autoscaling.

Returns:

the sku value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ServerlessEndpointInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ServerlessEndpointInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withIdentity

public ServerlessEndpointInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed service identity (system assigned and/or user assigned identities).

Parameters:

identity - the identity value to set.

Returns:

the ServerlessEndpointInner object itself.

withKind

public ServerlessEndpointInner withKind(String kind)

Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.

Parameters:

kind - the kind value to set.

Returns:

the ServerlessEndpointInner object itself.

withLocation

public ServerlessEndpointInner withLocation(String location)

Overrides:

ServerlessEndpointInner.withLocation(String location)

Parameters:

location

withProperties

public ServerlessEndpointInner withProperties(ServerlessEndpointProperties properties)

Set the properties property: [Required] Additional attributes of the entity.

Parameters:

properties - the properties value to set.

Returns:

the ServerlessEndpointInner object itself.

withSku

public ServerlessEndpointInner withSku(Sku sku)

Set the sku property: Sku details required for ARM contract for Autoscaling.

Parameters:

sku - the sku value to set.

Returns:

the ServerlessEndpointInner object itself.

withTags

public ServerlessEndpointInner withTags(Map<String,String> tags)

Overrides:

ServerlessEndpointInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to