SiteNetworkServiceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. hybridnetwork. fluent. models. SiteNetworkServiceInner
- com.
- com.
- com.
public final class SiteNetworkServiceInner
extends Resource
Site network service resource.
Constructor Summary
| Constructor | Description |
|---|---|
| SiteNetworkServiceInner() |
Creates an instance of Site |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Site |
fromJson(JsonReader jsonReader)
Reads an instance of Site |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Managed |
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. |
|
Site |
properties()
Get the properties property: Site network service properties. |
| Sku |
sku()
Get the sku property: Sku of the site network service. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Site |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: The managed identity of the Site network service, if configured. |
|
Site |
withLocation(String location) |
|
Site |
withProperties(SiteNetworkServicePropertiesFormat properties)
Set the properties property: Site network service properties. |
|
Site |
withSku(Sku sku)
Set the sku property: Sku of the site network service. |
|
Site |
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:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SiteNetworkServiceInner.id()Returns:
identity
public ManagedServiceIdentity identity()
Get the identity property: The managed identity of the Site network service, if configured.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SiteNetworkServiceInner.name()Returns:
properties
public SiteNetworkServicePropertiesFormat properties()
Get the properties property: Site network service properties.
Returns:
sku
public Sku sku()
Get the sku property: Sku of the site network service.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SiteNetworkServiceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SiteNetworkServiceInner.type()Returns:
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:
Returns:
withLocation
public SiteNetworkServiceInner withLocation(String location)
Overrides:
SiteNetworkServiceInner.withLocation(String location)Parameters:
withProperties
public SiteNetworkServiceInner withProperties(SiteNetworkServicePropertiesFormat properties)
Set the properties property: Site network service properties.
Parameters:
Returns:
withSku
public SiteNetworkServiceInner withSku(Sku sku)
Set the sku property: Sku of the site network service.
Parameters:
Returns:
withTags
public SiteNetworkServiceInner withTags(Map<String,String> tags)
Overrides:
SiteNetworkServiceInner.withTags(Map<String,String> tags)Parameters: