SiteNetworkServiceInner Class

public final class SiteNetworkServiceInner
extends Resource

Site network service resource.

Constructor Summary

Constructor Description
SiteNetworkServiceInner()

Creates an instance of SiteNetworkServiceInner class.

Method Summary

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

Reads an instance of SiteNetworkServiceInner from the JsonReader.

String id()

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

ManagedServiceIdentity identity()

Get the identity property: The managed identity of the Site network service, if configured.

String name()

Get the name property: The name of the resource.

SiteNetworkServicePropertiesFormat properties()

Get the properties property: Site network service properties.

Sku sku()

Get the sku property: Sku of the site network service.

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.

SiteNetworkServiceInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The managed identity of the Site network service, if configured.

SiteNetworkServiceInner withLocation(String location)
SiteNetworkServiceInner withProperties(SiteNetworkServicePropertiesFormat properties)

Set the properties property: Site network service properties.

SiteNetworkServiceInner withSku(Sku sku)

Set the sku property: Sku of the site network service.

SiteNetworkServiceInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

SiteNetworkServiceInner

public SiteNetworkServiceInner()

Creates an instance of SiteNetworkServiceInner class.

Method Details

fromJson

public static SiteNetworkServiceInner fromJson(JsonReader jsonReader)

Reads an instance of SiteNetworkServiceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SiteNetworkServiceInner 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:

SiteNetworkServiceInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: The managed identity of the Site network service, if configured.

Returns:

the identity value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SiteNetworkServiceInner.name()

Returns:

the name value.

properties

public SiteNetworkServicePropertiesFormat properties()

Get the properties property: Site network service properties.

Returns:

the properties value.

sku

public Sku sku()

Get the sku property: Sku of the site network service.

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:

SiteNetworkServiceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SiteNetworkServiceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withIdentity

public SiteNetworkServiceInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The managed identity of the Site network service, if configured.

Parameters:

identity - the identity value to set.

Returns:

the SiteNetworkServiceInner object itself.

withLocation

public SiteNetworkServiceInner withLocation(String location)

Overrides:

SiteNetworkServiceInner.withLocation(String location)

Parameters:

location

withProperties

public SiteNetworkServiceInner withProperties(SiteNetworkServicePropertiesFormat properties)

Set the properties property: Site network service properties.

Parameters:

properties - the properties value to set.

Returns:

the SiteNetworkServiceInner object itself.

withSku

public SiteNetworkServiceInner withSku(Sku sku)

Set the sku property: Sku of the site network service.

Parameters:

sku - the sku value to set.

Returns:

the SiteNetworkServiceInner object itself.

withTags

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

Overrides:

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

Parameters:

tags

Applies to