Delen via


MockableNetworkArmClient.GetSubnetResource(ResourceIdentifier) Method

Definition

Gets an object representing a SubnetResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a SubnetResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Network.SubnetResource GetSubnetResource (Azure.Core.ResourceIdentifier id);
abstract member GetSubnetResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.SubnetResource
override this.GetSubnetResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.SubnetResource
Public Overridable Function GetSubnetResource (id As ResourceIdentifier) As SubnetResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SubnetResource object.

Applies to