NetworkInterfaceResourceSettings Class
- java.
lang. Object - com.
azure. resourcemanager. resourcemover. models. ResourceSettings - com.
azure. resourcemanager. resourcemover. models. NetworkInterfaceResourceSettings
- com.
- com.
public final class NetworkInterfaceResourceSettings
extends ResourceSettings
Defines the network interface resource settings.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkInterfaceResourceSettings() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
enableAcceleratedNetworking()
Get the enable |
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
|
List<Nic |
ipConfigurations()
Get the ip |
| String |
resourceType()
Get the resource |
| Map<String,String> |
tags()
Get the tags property: Gets or sets the Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Network |
withEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking)
Set the enable |
|
Network |
withIpConfigurations(List<NicIpConfigurationResourceSettings> ipConfigurations)
Set the ip |
|
Network |
withTags(Map<String,String> tags)
Set the tags property: Gets or sets the Resource tags. |
|
Network |
withTargetResourceGroupName(String targetResourceGroupName)
Set the target |
|
Network |
withTargetResourceName(String targetResourceName)
Set the target |
Methods inherited from ResourceSettings
Methods inherited from java.lang.Object
Constructor Details
NetworkInterfaceResourceSettings
public NetworkInterfaceResourceSettings()
Creates an instance of NetworkInterfaceResourceSettings class.
Method Details
enableAcceleratedNetworking
public Boolean enableAcceleratedNetworking()
Get the enableAcceleratedNetworking property: Gets or sets a value indicating whether accelerated networking is enabled.
Returns:
fromJson
public static NetworkInterfaceResourceSettings fromJson(JsonReader jsonReader)
Reads an instance of NetworkInterfaceResourceSettings from the JsonReader.
Parameters:
Returns:
Throws:
ipConfigurations
public List<NicIpConfigurationResourceSettings> ipConfigurations()
Get the ipConfigurations property: Gets or sets the IP configurations of the NIC.
Returns:
resourceType
public String resourceType()
Get the resourceType property: The resource type. For example, the value can be Microsoft.Compute/virtualMachines.
Overrides:
NetworkInterfaceResourceSettings.resourceType()Returns:
tags
public Map<String,String> tags()
Get the tags property: Gets or sets the Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
NetworkInterfaceResourceSettings.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
NetworkInterfaceResourceSettings.validate()withEnableAcceleratedNetworking
public NetworkInterfaceResourceSettings withEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking)
Set the enableAcceleratedNetworking property: Gets or sets a value indicating whether accelerated networking is enabled.
Parameters:
Returns:
withIpConfigurations
public NetworkInterfaceResourceSettings withIpConfigurations(List<NicIpConfigurationResourceSettings> ipConfigurations)
Set the ipConfigurations property: Gets or sets the IP configurations of the NIC.
Parameters:
Returns:
withTags
public NetworkInterfaceResourceSettings withTags(Map<String,String> tags)
Set the tags property: Gets or sets the Resource tags.
Parameters:
Returns:
withTargetResourceGroupName
public NetworkInterfaceResourceSettings withTargetResourceGroupName(String targetResourceGroupName)
Set the targetResourceGroupName property: Gets or sets the target resource group name.
Overrides:
NetworkInterfaceResourceSettings.withTargetResourceGroupName(String targetResourceGroupName)Parameters:
withTargetResourceName
public NetworkInterfaceResourceSettings withTargetResourceName(String targetResourceName)
Set the targetResourceName property: Gets or sets the target Resource name.
Overrides:
NetworkInterfaceResourceSettings.withTargetResourceName(String targetResourceName)Parameters: