public class Subnet extends ChildResource
| Constructor and Description |
|---|
Subnet()
Initializes a new instance of the Subnet class.
|
Subnet(String addressPrefix)
Initializes a new instance of the Subnet class with required arguments.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAddressPrefix()
Required.
|
ArrayList<ResourceId> |
getIpConfigurations()
Optional.
|
ResourceId |
getNetworkSecurityGroup()
Optional.
|
String |
getProvisioningState()
Optional.
|
ResourceId |
getRouteTable()
Optional.
|
void |
setAddressPrefix(String addressPrefixValue)
Required.
|
void |
setIpConfigurations(ArrayList<ResourceId> ipConfigurationsValue)
Optional.
|
void |
setNetworkSecurityGroup(ResourceId networkSecurityGroupValue)
Optional.
|
void |
setProvisioningState(String provisioningStateValue)
Optional.
|
void |
setRouteTable(ResourceId routeTableValue)
Optional.
|
getEtag, getName, setEtag, setNamegetId, setIdpublic Subnet()
public Subnet(String addressPrefix)
addressPrefix - Gets or sets Address prefix for the subnet.public String getAddressPrefix()
public void setAddressPrefix(String addressPrefixValue)
addressPrefixValue - The AddressPrefix value.public ArrayList<ResourceId> getIpConfigurations()
public void setIpConfigurations(ArrayList<ResourceId> ipConfigurationsValue)
ipConfigurationsValue - The IpConfigurations value.public ResourceId getNetworkSecurityGroup()
public void setNetworkSecurityGroup(ResourceId networkSecurityGroupValue)
networkSecurityGroupValue - The NetworkSecurityGroup value.public String getProvisioningState()
public void setProvisioningState(String provisioningStateValue)
provisioningStateValue - The ProvisioningState value.public ResourceId getRouteTable()
public void setRouteTable(ResourceId routeTableValue)
routeTableValue - The RouteTable 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.
*/