VMSubnets

System Center
 

Updated: June 27, 2017

Applies To: System Center 2016 - Service Provider Foundation, System Center Technical Preview

Reads, creates, and deletes virtual network subnets.

GETPOSTPUTDELETE
YesYesNoYes

GET

Reads all subnet objects that are associated with the specified stamp.

If you supply the ID property, the subnet with that identifier is returned.

If you supply the Subnet property, all subnets whose value matches the specified subnet are returned.

If you supply the Name property, the subnet with that name is returned.

Entity Properties

NameTypeMandatoryDescription
NameEdm.StringNoThe name of a subnet
SubnetEdm.StringNoThe IP subnet (IPv4 or IPv6) in Classless Inter-Domain Routing (CIDR) notation

Example format for an IPv4 subnet: 192.168.0.1/24

Example format for an IPv6 subnet: FD4A:29CD:184F:3A2C::/64
StampIdEdm.GuidYesThe identifier of the stamp to restrict the query to
IDEdm.GuidNoThe identifier of a specific subnet object

POST

Creates a new subnet for a virtual network.

Entity Properties

NameTypeMandatoryDescription
StampIdEdm.GuidYesThe identifier of the stamp to restrict the query to
NameEdm.StringYesThe name of the subnet
SubnetEdm.StringYesThe IP subnet (IPv4 or IPv6) in Classless Inter-Domain Routing (CIDR) notation

Example format for an IPv4 subnet: 192.168.0.1/24

Example format for an IPv6 subnet: FD4A:29CD:184F:3A2C::/64
VMNetworkIdEdm.GuidYesThe virtual network to assign he subnet to

DELETE

Deletes the specified subnet.

Entity Properties

NameTypeMandatoryDescription
StampIdEdm.GuidYesThe identifier of the stamp to restrict the query to
IDEdm.GuidYesThe identifier of the subnet object to delete

VMM Collections Reference

Show: