HciVmVirtualNetworkResource.GetHciVmVirtualNetworkSubnet Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The operation to get a virtual network subnet.
public virtual Azure.Response<Azure.ResourceManager.Hci.Vm.HciVmVirtualNetworkSubnetResource> GetHciVmVirtualNetworkSubnet(string subnetName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetHciVmVirtualNetworkSubnet : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Hci.Vm.HciVmVirtualNetworkSubnetResource>
override this.GetHciVmVirtualNetworkSubnet : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Hci.Vm.HciVmVirtualNetworkSubnetResource>
Public Overridable Function GetHciVmVirtualNetworkSubnet (subnetName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of HciVmVirtualNetworkSubnetResource)
Parameters
- subnetName
- String
Name of the virtual network subnet.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
subnetName is null.
subnetName is an empty string, and was expected to be non-empty.