public static VirtualNetwork GetVirtualNetwork(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         VirtualNetwork.ValidateResourceId(id);
         return new VirtualNetwork(client, id);
     }
                             ));
 }
示例#2
0
 public static VirtualNetwork GetVirtualNetwork(this ArmClient armClient, ResourceIdentifier id)
 {
     VirtualNetwork.ValidateResourceId(id);
     return(new VirtualNetwork(armClient, id));
 }