public class NetworkInterface extends TopLevelResource
| Constructor and Description |
|---|
NetworkInterface()
Initializes a new instance of the NetworkInterface class.
|
NetworkInterface(String location)
Initializes a new instance of the NetworkInterface class with required
arguments.
|
getEtag, setEtaggetId, getName, getType, setId, setName, setTypegetLocation, getTags, setLocation, setTagspublic NetworkInterface()
public NetworkInterface(String location)
location - Gets or sets the location of the resource.public NetworkInterfaceDnsSettings getDnsSettings()
public void setDnsSettings(NetworkInterfaceDnsSettings dnsSettingsValue)
dnsSettingsValue - The DnsSettings value.public boolean isEnableIPForwarding()
public void setEnableIPForwarding(boolean enableIPForwardingValue)
enableIPForwardingValue - The EnableIPForwarding value.public ArrayList<NetworkInterfaceIpConfiguration> getIpConfigurations()
public void setIpConfigurations(ArrayList<NetworkInterfaceIpConfiguration> ipConfigurationsValue)
ipConfigurationsValue - The IpConfigurations value.public String getMacAddress()
public void setMacAddress(String macAddressValue)
macAddressValue - The MacAddress value.public ResourceId getNetworkSecurityGroup()
public void setNetworkSecurityGroup(ResourceId networkSecurityGroupValue)
networkSecurityGroupValue - The NetworkSecurityGroup value.public Boolean isPrimary()
public void setPrimary(Boolean primaryValue)
primaryValue - The Primary value.public String getProvisioningState()
public void setProvisioningState(String provisioningStateValue)
provisioningStateValue - The ProvisioningState value.public String getResourceGuid()
public void setResourceGuid(String resourceGuidValue)
resourceGuidValue - The ResourceGuid value.public ResourceId getVirtualMachine()
public void setVirtualMachine(ResourceId virtualMachineValue)
virtualMachineValue - The VirtualMachine value./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/